{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://olip.ai/spec/7.0-proposed/schemas/assistant-token.schema.json",
  "title": "assistant-token",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "maxLength": 100,
      "pattern": "^agt_"
    },
    "token_type": {
      "const": "Bearer"
    },
    "scope": {
      "const": "pay:read"
    },
    "expires_in": {
      "type": "integer",
      "maximum": 600
    }
  },
  "required": [
    "token",
    "token_type",
    "scope",
    "expires_in"
  ],
  "additionalProperties": false
}
