{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowspeech/json-schema/flowspeech-quota-schema.json",
  "title": "Quota",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowspeech-openapi.json#/components/schemas/Quota",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "minimum": 0
    },
    "remaining": {
      "type": "integer",
      "minimum": 0
    },
    "reserved": {
      "type": "integer",
      "minimum": 0
    },
    "available": {
      "type": "integer",
      "minimum": 0
    },
    "nextResetAt": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "total",
    "remaining",
    "reserved",
    "available"
  ]
}