{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autonet-work/json-schema/autonet-work-token-response-schema.json",
  "title": "TokenResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autonet-work-openapi.json#/components/schemas/TokenResponse",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "JWT, ES256, one hour"
    },
    "token_type": {
      "type": "string",
      "const": "Bearer"
    },
    "expires_in": {
      "type": "integer"
    },
    "refresh_token": {
      "type": "string",
      "description": "Opaque, single-use, rotates on refresh"
    },
    "scope": {
      "type": "string",
      "description": "Space-separated granted scopes"
    },
    "identity_assertion": {
      "type": "string",
      "description": "Claim grant only: the assertion for later jwt-bearer sign-ins"
    },
    "assertion_expires": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "access_token",
    "token_type",
    "expires_in"
  ]
}