{
  "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.19/MicrosoftTeams.schema.json",
  "manifestVersion": "1.19",
  "version": "1.0.0",
  "id": "6f1c2d3e-4b5a-4c7d-9e8f-1a2b3c4d5e6f",
  "developer": {
    "name": "LEGALDIGM",
    "websiteUrl": "https://legaldigm.se",
    "privacyUrl": "https://legaldigm.se/integritetspolicy",
    "termsOfUseUrl": "https://legaldigm.se/villkor"
  },
  "name": { "short": "LEGALDIGM", "full": "LEGALDIGM – legal research for Swedish and EU law" },
  "description": {
    "short": "Verified statutes, case law and clause review in Copilot and Word.",
    "full": "LEGALDIGM gives Microsoft 365 Copilot and Word verified Swedish and EU legal sources: statutes section by section, court judgments and verbatim quotes with source references. Copilot writes the answer; LEGALDIGM supplies the legal sources. Legal information, not legal advice."
  },
  "icons": { "color": "color.png", "outline": "outline.png" },
  "accentColor": "#111111",
  "validDomains": ["legaldigm.se", "zdpjpohbmxiaykcdswsb.supabase.co", "token.botframework.com"],
  "webApplicationInfo": {
    "id": "3b4bd0a8-458a-4670-aa01-9e7c203a46cf",
    "resource": "api://3b4bd0a8-458a-4670-aa01-9e7c203a46cf"
  },
  "copilotAgents": {
    "declarativeAgents": [
      { "id": "legaldigmAgent", "file": "declarativeAgent.json" }
    ]
  },
  "authorization": {
    "permissions": { "resourceSpecific": [ { "name": "Document.ReadWrite.User", "type": "Delegated" } ] }
  },
  "extensions": [
    {
      "requirements": { "scopes": ["document"], "capabilities": [ { "name": "WordApi", "minVersion": "1.3" } ] },
      "runtimes": [
        {
          "id": "TaskPaneRuntime",
          "type": "general",
          "code": { "page": "https://legaldigm.se/word-addin" },
          "lifetime": "short",
          "actions": [ { "id": "OpenPane", "type": "openPage", "view": "dashboard" } ]
        }
      ],
      "ribbons": [
        {
          "contexts": ["default"],
          "tabs": [
            {
              "builtInTabId": "TabHome",
              "groups": [
                {
                  "id": "LegaldigmGroup",
                  "label": "LEGALDIGM",
                  "icons": [
                    { "size": 16, "url": "https://legaldigm.se/word-addin/icon-16.png" },
                    { "size": 32, "url": "https://legaldigm.se/word-addin/icon-32.png" },
                    { "size": 80, "url": "https://legaldigm.se/word-addin/icon-80.png" }
                  ],
                  "controls": [
                    {
                      "id": "OpenPaneButton",
                      "type": "button",
                      "label": "Granska klausul",
                      "icons": [
                        { "size": 16, "url": "https://legaldigm.se/word-addin/icon-16.png" },
                        { "size": 32, "url": "https://legaldigm.se/word-addin/icon-32.png" },
                        { "size": 80, "url": "https://legaldigm.se/word-addin/icon-80.png" }
                      ],
                      "supertip": { "title": "Granska klausul", "description": "Öppna LEGALDIGM och granska markerad text mot svensk rätt." },
                      "actionId": "OpenPane"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
