{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beel-es/json-schema/beel-es-provisioning-usage-schema.json",
  "title": "ProvisioningUsage",
  "description": "Provisioning usage for the calling provisioner. `nifs` is the billable count, and the billable unit is the **provisioned account**, not the real NIF: every account you provision counts as 1 — including empty/unclaimed ones (each provisioned account is born with a placeholder company row), whether or not the holder has registered a real NIF yet. So a newly provisioned empty account contributes 1 to `nifs`, not 0.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beel-es-accounts-api-openapi.yml#/components/schemas/ProvisioningUsage",
  "type": "object",
  "required": [
    "provisioned_accounts",
    "nifs"
  ],
  "properties": {
    "provisioned_accounts": {
      "type": "integer",
      "format": "int64",
      "description": "Total accounts provisioned by this provisioner."
    },
    "nifs": {
      "type": "integer",
      "format": "int64",
      "description": "Billable count: one per provisioned account (each has a company row, placeholder or real), including empty/unclaimed accounts. Equals `provisioned_accounts` unless an account holds more than one NIF."
    }
  }
}