{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/call2me-app/json-schema/call2me-app-mint-token-request-schema.json",
  "title": "MintTokenRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/call2me-app-end-users-api-openapi.yml#/components/schemas/MintTokenRequest",
  "properties": {
    "expires_in": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Expires In",
      "description": "Token lifetime in seconds (clamped to [60, 86400]).",
      "default": 3600
    },
    "scopes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Scopes"
    },
    "agent_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Ids",
      "description": "Restrict the token to these agents."
    }
  },
  "type": "object"
}