{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dumpstercontrols-io/json-schema/dumpstercontrols-io-size-schema.json",
  "title": "Size",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dumpstercontrols-io-openapi.json#/components/schemas/Size",
  "type": "object",
  "properties": {
    "label": {
      "type": "string"
    },
    "yards": {
      "type": "number"
    },
    "base_price": {
      "type": "number"
    },
    "max_weight_tons": {
      "type": [
        "number",
        "null"
      ]
    },
    "overage_price_per_ton": {
      "type": [
        "number",
        "null"
      ]
    },
    "is_active": {
      "type": "boolean"
    },
    "prices": {
      "type": "object",
      "description": "Flat rates by rental length. Each d<N> key (d3, d5, d7, d10, d14, d30) is the price for rentals of up to N days; null means the company does not offer that tier. extra_day is the per-day charge beyond the longest tier.",
      "properties": {
        "d3": {
          "type": [
            "number",
            "null"
          ]
        },
        "d5": {
          "type": [
            "number",
            "null"
          ]
        },
        "d7": {
          "type": [
            "number",
            "null"
          ]
        },
        "d10": {
          "type": [
            "number",
            "null"
          ]
        },
        "d14": {
          "type": [
            "number",
            "null"
          ]
        },
        "d30": {
          "type": [
            "number",
            "null"
          ]
        },
        "extra_day": {
          "type": "number"
        }
      },
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      }
    }
  }
}