{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comingup-today/json-schema/comingup-today-oauth-dynamic-client-registration-response-schema.json",
  "title": "OAuthDynamicClientRegistrationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comingup-today-oauth-api-openapi.yml#/components/schemas/OAuthDynamicClientRegistrationResponse",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string"
    },
    "client_name": {
      "type": "string"
    },
    "client_uri": {
      "type": "string",
      "format": "uri"
    },
    "redirect_uris": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "token_endpoint_auth_method": {
      "type": "string",
      "enum": [
        "none"
      ]
    },
    "application_type": {
      "type": "string",
      "enum": [
        "web",
        "native"
      ]
    },
    "grant_types": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "authorization_code",
          "refresh_token"
        ]
      }
    },
    "response_types": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "code"
        ]
      }
    }
  },
  "required": [
    "client_id",
    "client_name",
    "redirect_uris",
    "token_endpoint_auth_method",
    "application_type",
    "grant_types",
    "response_types"
  ],
  "additionalProperties": false
}