{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpmt-com/json-schema/agentpmt-com-oauth-client-registration-response-schema.json",
  "title": "OAuthClientRegistrationResponse",
  "description": "RFC 7591 Dynamic Client Registration response.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpmt-com-openapi.json#/components/schemas/OAuthClientRegistrationResponse",
  "properties": {
    "client_id": {
      "type": "string",
      "title": "Client Id",
      "description": "Issued OAuth client identifier."
    },
    "client_id_issued_at": {
      "type": "integer",
      "title": "Client Id Issued At",
      "description": "Unix timestamp (seconds) when the client_id was issued."
    },
    "token_endpoint_auth_method": {
      "type": "string",
      "title": "Token Endpoint Auth Method",
      "description": "Auth method the client must use when calling `/oauth/token`."
    },
    "redirect_uris": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Redirect Uris",
      "description": "Redirect URIs registered for this client."
    },
    "grant_types": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Grant Types",
      "description": "Grant types the client is authorized to use."
    },
    "response_types": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Response Types",
      "description": "OAuth response types the client may request."
    },
    "client_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Secret",
      "description": "Client secret returned when `token_endpoint_auth_method` is not `none`. Store this securely - it is not retrievable later."
    },
    "client_secret_expires_at": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Secret Expires At",
      "description": "Unix timestamp (seconds) when the secret expires; `0` indicates no expiration."
    }
  },
  "type": "object",
  "required": [
    "client_id",
    "client_id_issued_at",
    "token_endpoint_auth_method",
    "redirect_uris",
    "grant_types",
    "response_types"
  ]
}