{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/componecat-ai/json-schema/componecat-ai-overage-resource-schema.json",
  "title": "OverageResource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/componecat-ai-licensing-api-openapi.yml#/components/schemas/OverageResource",
  "required": [
    "entitlementKey",
    "currentValue",
    "allowedValue",
    "label"
  ],
  "type": "object",
  "properties": {
    "entitlementKey": {
      "type": "string"
    },
    "currentValue": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "integer",
        "string"
      ],
      "format": "int32"
    },
    "allowedValue": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "integer",
        "string"
      ],
      "format": "int32"
    },
    "label": {
      "type": "string"
    }
  }
}