{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/roku/json-schema/roku-oidctoken-response-model-schema.json",
  "title": "OIDCTokenResponseModel",
  "description": "OIDC Token response model",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roku-service-accounts-api-openapi.yml#/components/schemas/OIDCTokenResponseModel",
  "properties": {
    "access_token": {
      "type": "string",
      "title": "Access Token"
    },
    "refresh_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Refresh Token"
    },
    "expires_in": {
      "type": "integer",
      "title": "Expires In"
    },
    "refresh_expires_in": {
      "type": "integer",
      "title": "Refresh Expires In"
    },
    "token_type": {
      "type": "string",
      "title": "Token Type"
    },
    "scope": {
      "type": "string",
      "title": "Scope"
    }
  },
  "type": "object",
  "required": [
    "access_token",
    "expires_in",
    "refresh_expires_in",
    "token_type",
    "scope"
  ]
}