{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/primecutsnursery-com/json-schema/primecutsnursery-com-locations-schema.json",
  "title": "Locations",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/primecutsnursery-com-openapi.yml#/components/schemas/Locations",
  "type": "object",
  "properties": {
    "nursery": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string"
        },
        "geo": {
          "type": "object",
          "additionalProperties": true
        },
        "visits": {
          "type": "string"
        },
        "hours": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "description": "Canonical HTML page for this resource",
          "format": "uri"
        }
      },
      "required": [
        "name",
        "address",
        "url"
      ]
    },
    "delivery": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "eligibility": {
          "type": "string"
        },
        "free_delivery_from": {
          "type": "object",
          "properties": {
            "fresh_clones": {
              "type": "integer",
              "description": "plants"
            },
            "talls": {
              "type": "integer",
              "description": "plants"
            },
            "teens": {
              "type": "integer",
              "description": "plants"
            }
          },
          "required": [
            "fresh_clones",
            "talls",
            "teens"
          ],
          "description": "Per-format order quantity at which delivery is free"
        },
        "fee_below_threshold": {
          "type": "string",
          "description": "How sub-threshold delivery is billed; exact figures come from /delivery-quote"
        },
        "quote_url": {
          "type": "string",
          "description": "Template URL for /delivery-quote"
        },
        "teens_delivery_fee_below_threshold": {
          "type": "string",
          "description": "Teen delivery charge for orders under the free-delivery quantity"
        },
        "url": {
          "type": "string",
          "description": "Canonical HTML page for this resource",
          "format": "uri"
        }
      },
      "required": [
        "summary",
        "state",
        "url"
      ]
    },
    "regions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "counties_or_cities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "type": "string",
            "description": "Canonical HTML page for this resource",
            "format": "uri"
          }
        },
        "required": [
          "name",
          "slug",
          "counties_or_cities",
          "url"
        ]
      }
    }
  },
  "required": [
    "nursery",
    "delivery",
    "regions"
  ]
}