{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xestando-com/json-schema/xestando-com-usage-plan-draft-v1-schema.json",
  "title": "UsagePlanDraftV1",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xestando-com-openapi.json#/components/schemas/UsagePlanDraftV1",
  "type": "object",
  "properties": {
    "autoCharge": {
      "type": "boolean"
    },
    "autoIssue": {
      "type": "boolean"
    },
    "clientRef": {
      "type": "string",
      "format": "uuid"
    },
    "concept": {
      "type": "string",
      "maxLength": 200,
      "minLength": 0
    },
    "currency": {
      "type": "string",
      "maxLength": 3,
      "minLength": 0
    },
    "emisorId": {
      "type": "string"
    },
    "externalRef": {
      "type": "string",
      "maxLength": 100,
      "minLength": 0
    },
    "periodCapCents": {
      "type": "integer",
      "format": "int64",
      "minimum": 0
    },
    "seriesId": {
      "type": "string",
      "format": "uuid"
    },
    "taxRate": {
      "type": "number",
      "format": "double",
      "maximum": 100.0,
      "minimum": 0.0
    }
  },
  "required": [
    "clientRef"
  ]
}