{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcadiapower2/json-schema/arcadiapower2-access-token-response-schema.json",
  "title": "AccessTokenResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcadiapower2-auth-api-openapi.yml#/components/schemas/AccessTokenResponse",
  "required": [
    "access_token",
    "expires_in",
    "scope",
    "token_type",
    "created_at"
  ],
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The access token to be used for subsequent requests."
    },
    "expires_in": {
      "type": "integer",
      "description": "The number of seconds until the token expires."
    },
    "token_type": {
      "type": "string",
      "description": "The type of token. This will always be \"Bearer\".",
      "enum": [
        "Bearer"
      ]
    },
    "scope": {
      "type": "string",
      "description": "The scope of the token.",
      "enum": [
        "write",
        "connect_token"
      ]
    },
    "created_at": {
      "type": "integer",
      "description": "When the token was created. Provided in Unix timestamp format."
    }
  },
  "additionalProperties": false
}