{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/specproof-ai/json-schema/specproof-ai-quota-check-response-schema.json",
  "title": "QuotaCheckResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/specproof-ai-openapi.json#/components/schemas/QuotaCheckResponse",
  "properties": {
    "allowed": {
      "type": "boolean",
      "title": "Allowed"
    },
    "org_id": {
      "type": "string",
      "title": "Org Id"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "used": {
      "type": "integer",
      "title": "Used"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "remaining": {
      "type": "integer",
      "title": "Remaining"
    },
    "reset_date": {
      "type": "string",
      "title": "Reset Date"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    }
  },
  "type": "object",
  "required": [
    "allowed",
    "org_id",
    "tier",
    "used",
    "limit",
    "remaining",
    "reset_date"
  ]
}