{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ydb-qdrant-tech/json-schema/ydb-qdrant-tech-oauth-protected-resource-metadata-schema.json",
  "title": "OAuthProtectedResourceMetadata",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pets-openapi.json#/components/schemas/OAuthProtectedResourceMetadata",
  "type": "object",
  "required": [
    "resource",
    "resource_name",
    "resource_documentation",
    "resource_policy_uri",
    "resource_tos_uri",
    "oauth_unsupported",
    "scopes_supported",
    "bearer_methods_supported"
  ],
  "properties": {
    "resource": {
      "type": "string",
      "format": "uri"
    },
    "resource_name": {
      "type": "string"
    },
    "resource_documentation": {
      "type": "string",
      "format": "uri"
    },
    "resource_policy_uri": {
      "type": "string",
      "format": "uri"
    },
    "resource_tos_uri": {
      "type": "string",
      "format": "uri"
    },
    "oauth_unsupported": {
      "type": "boolean",
      "const": true
    },
    "scopes_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 0
    },
    "bearer_methods_supported": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 0
    }
  },
  "additionalProperties": true
}