{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/run402-com/json-schema/run402-com-ai-usage-response-schema.json",
  "title": "AiUsageResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/run402-com-ai-api-openapi.yml#/components/schemas/AiUsageResponse",
  "type": "object",
  "required": [
    "translation"
  ],
  "properties": {
    "translation": {
      "type": "object",
      "required": [
        "active",
        "used_words",
        "included_words",
        "remaining_words",
        "billing_cycle_start"
      ],
      "properties": {
        "active": {
          "type": "boolean"
        },
        "used_words": {
          "type": "integer"
        },
        "included_words": {
          "type": "integer"
        },
        "remaining_words": {
          "type": "integer"
        },
        "billing_cycle_start": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    }
  }
}