{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "HydraToken",
"description": "HydraToken schema from Public API (Otter Public API).",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-hydra-token-schema.json",
"type": "object",
"properties": {
"access_token": {
"type": "string",
"description": "The auth token used when consuming the API endpoints.",
"example": "oMahtBwBbnZeh4Q66mSuLFmk2V0_CLCKVt0aYcNJlcg.yditzjwCP7yp0PgR6AzQR3wQ1rTdCjkcPeAMuyfK-NU"
},
"expires_in": {
"type": "integer",
"format": "int64",
"description": "The token expiration time in seconds.",
"example": 2627999
},
"scope": {
"type": "string",
"description": "The scopes available for the token.",
"example": "ping orders.create"
},
"token_type": {
"type": "string",
"description": "The token type is always \"bearer\".",
"example": "bearer"
}
}
}