{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/philidor-io/json-schema/philidor-io-user-chat-usage-schema.json",
  "title": "UserChatUsage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/philidor-io-user-chat-api-openapi.yml#/components/schemas/UserChatUsage",
  "type": "object",
  "properties": {
    "promptTokenCount": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "candidatesTokenCount": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "totalTokenCount": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    }
  },
  "required": [
    "promptTokenCount",
    "candidatesTokenCount",
    "totalTokenCount"
  ]
}