<?xml version="1.0" encoding="UTF-8"?>
<!-- Draftiro for Word: task-pane add-in manifest.
     Served verbatim at https://draftiro.com/word/manifest.xml and offered as a
     download on https://draftiro.com/microsoft-word. Install paths:
       - Word on the web: Home > Add-ins > More Settings > Upload My Add-in >
         Browse > Upload (a FILE, not a URL).
       - Microsoft 365 admin center: Settings > Integrated apps > Add-ins >
         Deploy Add-in (upload this file or give its URL).
     All URLs are HTTPS, same-origin with the Draftiro API, and extensionless:
     /word/taskpane.html would 308-redirect (vercel cleanUrls) on every open. -->
<OfficeApp
  xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
  xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
  xsi:type="TaskPaneApp">

  <Id>c4a1e2b8-3d5f-4a6b-9c7d-8e0f1a2b3c4d</Id>
  <!-- 1.2.0.0: correctly sized icons (the 331x331 logo failed production
       validation), extensionless URLs, Word-specific SupportUrl, truthful
       description. Sideloaded installs pick up pane changes automatically
       because SourceLocation is a live URL; a centrally deployed install needs
       this manifest re-uploaded, and the version bump is what tells Office it
       changed. Bump it on every manifest change. -->
  <Version>1.2.0.0</Version>
  <ProviderName>Draftiro</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Draftiro for Word" />
  <Description DefaultValue="Review contracts in Word and insert suggested edits as tracked changes, open and save Draftiro matter drafts, and ask about a matter. Requires a Draftiro account. Suggestions are for attorney review, not legal advice." />
  <IconUrl DefaultValue="https://draftiro.com/icons/draftiro-mark-32.png" />
  <HighResolutionIconUrl DefaultValue="https://draftiro.com/icons/draftiro-mark-64.png" />
  <SupportUrl DefaultValue="https://draftiro.com/microsoft-word#troubleshooting" />

  <AppDomains>
    <AppDomain>https://draftiro.com</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Document" />
  </Hosts>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://draftiro.com/word/taskpane" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Draftiro.Group">
                <Label resid="Draftiro.Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16" />
                  <bt:Image size="32" resid="Icon.32x32" />
                  <bt:Image size="80" resid="Icon.80x80" />
                </Icon>
                <Control xsi:type="Button" id="Draftiro.TaskpaneButton">
                  <Label resid="Draftiro.TaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="Draftiro.TaskpaneButton.Label" />
                    <Description resid="Draftiro.TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16" />
                    <bt:Image size="32" resid="Icon.32x32" />
                    <bt:Image size="80" resid="Icon.80x80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>DraftiroTaskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://draftiro.com/icons/draftiro-mark-16.png" />
        <bt:Image id="Icon.32x32" DefaultValue="https://draftiro.com/icons/draftiro-mark-32.png" />
        <bt:Image id="Icon.80x80" DefaultValue="https://draftiro.com/icons/draftiro-mark-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://draftiro.com/word/taskpane" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://draftiro.com/microsoft-word" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Draftiro for Word" />
        <bt:String id="Draftiro.Group.Label" DefaultValue="Draftiro" />
        <bt:String id="Draftiro.TaskpaneButton.Label" DefaultValue="Open Draftiro" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Draftiro is ready. Click Open Draftiro on the Home tab, then sign in with your Draftiro account." />
        <bt:String id="Draftiro.TaskpaneButton.Tooltip" DefaultValue="Suggest edits as tracked changes, open and save Draftiro drafts, and ask about a matter." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
