{
  "properties": {
    "connectionParameters": {
      "host": {
        "type": "string",
        "uiDefinition": {
          "displayName": "Server",
          "description": "The host name of your Oomplo server, e.g. oomplo.company.example",
          "tooltip": "The host name only, without https:// and without a path",
          "constraints": {
            "tabIndex": 1,
            "required": "true"
          }
        }
      },
      "api_key": {
        "type": "securestring",
        "uiDefinition": {
          "displayName": "API key",
          "description": "Bearer oomplo_… (Oomplo → API keys)",
          "tooltip": "Enter \"Bearer \" followed by the key",
          "constraints": {
            "tabIndex": 2,
            "clearText": false,
            "required": "true"
          }
        }
      }
    },
    "policyTemplateInstances": [
      {
        "templateId": "dynamichosturl",
        "title": "Oomplo server",
        "parameters": {
          "x-ms-apimTemplateParameter.urlTemplate": "https://@connectionParameters('host')"
        }
      }
    ],
    "iconBrandColor": "#2563eb",
    "capabilities": [],
    "publisher": "Oomplo",
    "stackOwner": "Oomplo"
  }
}
