{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/roku/refs/heads/main/json-structure/nabu-cloud-oidctoken-response-model-structure.json",
  "name": "OIDCTokenResponseModel",
  "description": "OIDC Token response model",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "title": "Access Token"
    },
    "refresh_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Refresh Token"
    },
    "expires_in": {
      "type": "int32",
      "title": "Expires In"
    },
    "refresh_expires_in": {
      "type": "int32",
      "title": "Refresh Expires In"
    },
    "token_type": {
      "type": "string",
      "title": "Token Type"
    },
    "scope": {
      "type": "string",
      "title": "Scope"
    }
  },
  "required": [
    "access_token",
    "expires_in",
    "refresh_expires_in",
    "token_type",
    "scope"
  ]
}