{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-tool-server-oauth2-login-links-schema.json",
  "title": "AiGatewayToolServerOauth2LoginLinks",
  "description": "Links for completing OAuth consent for a tool-server endpoint.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-api-management-subscriptions-api-openapi.yml#/components/schemas/AiGatewayToolServerOauth2LoginLinks",
  "type": "object",
  "properties": {
    "loginLink": {
      "type": "string",
      "format": "password",
      "description": "Gateway URL to open to begin consent; includes an expiring signed capability.",
      "x-ms-secret": true
    },
    "redirectUri": {
      "type": "string",
      "format": "uri",
      "description": "Gateway callback URI to register with the identity provider."
    },
    "expiresUtc": {
      "type": "string",
      "format": "date-time",
      "description": "UTC expiry of the signed start capability."
    }
  },
  "required": [
    "expiresUtc"
  ]
}