{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stackit/json-schema/stackit-create-short-lived-access-token-response-schema.json",
  "title": "TokenResponseBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stackit-token-api-openapi.yml#/components/schemas/CreateShortLivedAccessTokenResponse",
  "properties": {
    "access_token": {
      "description": "The short lived token that can be used for API access",
      "type": "string"
    },
    "expires_in": {
      "type": "integer"
    },
    "refresh_token": {
      "description": "Refresh token that can be used to request a new access token when it expires (and before refresh token expires). Tokens are rotated.",
      "type": "string"
    },
    "scope": {
      "description": "scope field of the self signed token",
      "type": "string"
    },
    "token_type": {
      "enum": [
        "Bearer"
      ],
      "type": "string"
    }
  },
  "required": [
    "access_token",
    "refresh_token",
    "scope",
    "token_type",
    "expires_in"
  ],
  "type": "object"
}