{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slidedrift-com/json-schema/slidedrift-com-protected-resource-metadata-schema.json",
  "title": "ProtectedResourceMetadata",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slidedrift-com-openapi.json#/components/schemas/ProtectedResourceMetadata",
  "type": "object",
  "required": [
    "resource",
    "authorization_servers",
    "slidedrift_permissions_supported"
  ],
  "properties": {
    "resource": {
      "type": "string",
      "format": "uri"
    },
    "authorization_servers": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "slidedrift_permissions_supported": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "carousels:read",
          "carousels:write",
          "covers:read",
          "covers:write",
          "brand_kits:read",
          "exports:create",
          "shares:write",
          "social:write"
        ]
      }
    }
  }
}