{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-plan-list-schema.json",
  "title": "PlanList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendly-now-billing-api-openapi.yml#/components/schemas/PlanList",
  "properties": {
    "plans": {
      "items": {
        "properties": {
          "id": {
            "enum": [
              "free",
              "payg",
              "pro"
            ],
            "type": "string"
          },
          "includes": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "purchasableVia": {
            "description": "`upgrade_plan` for a plan this API sells; `app_store` / `play_store` for the mobile Pro.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "tiers": {
            "description": "Volume bands, ordered; the last has no upper bound.",
            "items": {
              "properties": {
                "upToEmails": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "usdPerThousand": {
                  "type": "number"
                }
              },
              "required": [
                "upToEmails",
                "usdPerThousand"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "verificationPriceUsd": {
            "type": "number"
          }
        },
        "required": [
          "id",
          "name",
          "price",
          "purchasableVia"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "plans"
  ],
  "type": "object"
}