{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/groundmail-dev/json-schema/groundmail-dev-oauth-client-registration-response-schema.json",
  "title": "OAuthClientRegistrationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/groundmail-dev-oauth-api-openapi.yml#/components/schemas/OAuthClientRegistrationResponse",
  "type": "object",
  "required": [
    "client_id",
    "client_id_issued_at",
    "client_name",
    "redirect_uris",
    "token_endpoint_auth_method",
    "grant_types"
  ],
  "properties": {
    "client_id": {
      "type": "string"
    },
    "client_secret": {
      "type": "string",
      "description": "Only for `client_secret_post` clients, shown once"
    },
    "client_id_issued_at": {
      "type": "integer"
    },
    "client_name": {
      "type": "string"
    },
    "redirect_uris": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "token_endpoint_auth_method": {
      "type": "string",
      "enum": [
        "none",
        "client_secret_post"
      ]
    },
    "grant_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "response_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}