{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-pricing-schema.json",
  "title": "Pricing",
  "description": "Public pricing catalogue from `GET /billing/pricing`. Includes per-tier monthly\nprices, free-tier pool sizes, per-tier $/minute rates (including `s2s`),\ncapacity-pack pricing, and labels for the AVE family. Shape is open\n(`additionalProperties: true`) because the underlying pricing config can grow\nadditively over time.\n",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-billing-api-openapi.yml#/components/schemas/Pricing",
  "type": "object",
  "required": [
    "tiers",
    "rates",
    "labels"
  ],
  "properties": {
    "tiers": {
      "type": "object",
      "description": "Per-tier monthly subscription metadata.",
      "additionalProperties": true
    },
    "rates": {
      "type": "object",
      "description": "Per-tier rate map. `rates[tier][usageType]` returns the $/minute rate for that\n(tier, usage-type) pair. `usageType` includes `testing`, `loadTesting`, `mapping`,\n`s2s`, `s2stest`, etc.\n",
      "additionalProperties": {
        "type": "object",
        "additionalProperties": {
          "type": "number"
        }
      }
    },
    "rateUnit": {
      "type": "string",
      "description": "Unit the rates are quoted in."
    },
    "billingUnit": {
      "type": "string",
      "description": "Unit calls are billed in, after the per-call minimum."
    },
    "callMinimumSeconds": {
      "type": "integer",
      "description": "Minimum billed seconds per connected voice call (DTMF, load, mapping, AVE,\nmission and compliance). Calls are billed this minimum, then per second. A call\nthat never connected bills nothing.\n"
    },
    "labels": {
      "type": "object",
      "description": "Customer-facing labels for AVE family billing keys.",
      "properties": {
        "s2s": {
          "type": "string"
        },
        "s2stest": {
          "type": "string"
        }
      }
    },
    "baseRates": {
      "type": "object",
      "description": "Per-product base $/minute rates.",
      "additionalProperties": {
        "type": "number"
      }
    },
    "s2sPacks": {
      "type": "object",
      "description": "s2s capacity pack catalogue.",
      "additionalProperties": true
    },
    "s2sConcurrentLimits": {
      "type": "object",
      "description": "Per-tier s2s concurrent-call caps.",
      "additionalProperties": true
    },
    "freeMinutes": {
      "type": "object",
      "description": "Per-tier free-minute pool sizes by product.",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}