{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tunnelpowered-com/json-schema/tunnelpowered-com-pricing-schema.json",
  "title": "Pricing",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tunnelpowered-com-openapi.json#/components/schemas/Pricing",
  "type": "object",
  "required": [
    "currency",
    "interval",
    "plans"
  ],
  "properties": {
    "currency": {
      "type": "string",
      "description": "ISO 4217. EUR — the initial market is Moldova and Romania."
    },
    "interval": {
      "type": "string",
      "enum": [
        "month"
      ]
    },
    "plans": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "amount",
          "currency"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "crawlerUpgrades": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "notes": {
      "type": "object",
      "description": "Facts that a price alone does not carry — notably that plans are not self-serve today.",
      "additionalProperties": true
    }
  }
}