{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/at-and-t/refs/heads/main/json-structure/sms-api-token-response-structure.json",
  "description": "TokenResponse schema from AT&T API",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "OAuth access token valid for 2 days (172800 seconds)",
      "example": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
    },
    "expires_in": {
      "type": "int32",
      "description": "Token expiration time in seconds (default 172800)",
      "example": 172800
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token valid for 90 days",
      "example": "f6e5d4c3b2a1f6e5d4c3b2a1f6e5d4c3"
    },
    "token_type": {
      "type": "string",
      "description": "Token type (always BEARER)",
      "example": "BEARER"
    }
  },
  "name": "TokenResponse"
}