{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/centrify/json-schema/centrify-oauth2-token-schema.json",
  "title": "OAuth2Token",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/centrify-authentication-api-openapi.yml#/components/schemas/OAuth2Token",
  "properties": {
    "ErrorID": {
      "type": "string",
      "description": "Unique support identifier for this occurrence of an error"
    },
    "Result": {
      "description": "The token",
      "type": "object",
      "properties": {
        "expires_in": {
          "type": "integer",
          "description": "How long is the token good."
        },
        "scope": {
          "type": "string",
          "description": "The scope of the token."
        },
        "access_token": {
          "type": "string",
          "description": "The token unique identifier."
        },
        "token_type": {
          "type": "string",
          "description": "The type of token."
        },
        "id_token": {
          "type": "string",
          "description": "The token id."
        },
        "refresh_token": {
          "type": "string",
          "description": "The token refresh."
        },
        "state": {
          "type": "string",
          "description": "The state of the token."
        }
      }
    },
    "Message": {
      "type": "string",
      "description": "Error message text on failure, may be null"
    },
    "success": {
      "type": "boolean",
      "description": "Indicates API success or failure"
    }
  },
  "type": "object"
}