{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/primecutsnursery-com/json-schema/primecutsnursery-com-business-schema.json",
  "title": "Business",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/primecutsnursery-com-openapi.yml#/components/schemas/Business",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "schema.org Organization @id",
      "format": "uri"
    },
    "name": {
      "type": "string"
    },
    "alternate_name": {
      "type": "string",
      "description": "Historic long-form trade name (same entity)"
    },
    "legal_name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "founded": {
      "type": "string",
      "description": "Founding year"
    },
    "url": {
      "type": "string",
      "description": "Site root",
      "format": "uri"
    },
    "phone": {
      "type": "object",
      "properties": {
        "e164": {
          "type": "string",
          "description": "E.164, e.g. +17074945197"
        },
        "display": {
          "type": "string"
        }
      },
      "required": [
        "e164",
        "display"
      ]
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "address": {
      "type": "object",
      "properties": {
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "region": {
          "type": "string",
          "description": "US state code"
        },
        "postal_code": {
          "type": "string"
        },
        "country": {
          "type": "string",
          "description": "ISO country code"
        },
        "display": {
          "type": "string",
          "description": "One-line mailing address"
        },
        "geo": {
          "type": "object",
          "properties": {
            "latitude": {
              "type": "number"
            },
            "longitude": {
              "type": "number"
            }
          },
          "required": [
            "latitude",
            "longitude"
          ]
        }
      },
      "required": [
        "street",
        "city",
        "region",
        "postal_code",
        "country",
        "display"
      ]
    },
    "hours": {
      "type": "object",
      "properties": {
        "days": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "opens": {
          "type": "string",
          "description": "HH:MM"
        },
        "closes": {
          "type": "string",
          "description": "HH:MM"
        },
        "timezone": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "note": {
          "type": "string",
          "description": "Visit policy (appointment only)"
        }
      },
      "required": [
        "days",
        "opens",
        "closes",
        "timezone",
        "display"
      ]
    },
    "licensing": {
      "type": "object",
      "description": "State nursery licence facts",
      "additionalProperties": true
    },
    "service_area": {
      "type": "object",
      "description": "Where the nursery sells and delivers",
      "additionalProperties": true
    },
    "customers": {
      "type": "string",
      "description": "Who may buy"
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "clones",
              "teens",
              "teens_4in",
              "talls",
              "snips"
            ]
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "description": "Canonical HTML page for this resource",
            "format": "uri"
          },
          "minimum_order": {
            "type": "integer"
          },
          "minimum_per_strain": {
            "type": "integer"
          },
          "pricing_usd": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "description": "Quantity tier"
                },
                "min": {
                  "type": "integer",
                  "description": "Order quantity at which the tier starts"
                },
                "price": {
                  "type": "number",
                  "description": "USD per plant"
                }
              },
              "required": [
                "label",
                "min",
                "price"
              ]
            },
            "description": "Published per-plant volume tiers in force today"
          },
          "height": {
            "type": "string",
            "description": "Typical plant height for this format (e.g. \"6–8 in\", \"12–18 in, untopped\")"
          },
          "pricing_season": {
            "type": "string",
            "description": "Fresh clones only: which seasonal ladder pricing_usd reflects (January–June or July–December, Pacific time)"
          },
          "pricing_by_season": {
            "type": "object",
            "properties": {
              "january_to_june": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/PriceTier"
                }
              },
              "july_to_december": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/PriceTier"
                }
              }
            },
            "required": [
              "january_to_june",
              "july_to_december"
            ],
            "description": "Fresh clones only: both seasonal ladders"
          },
          "free_delivery_from": {
            "type": "integer",
            "description": "Order quantity (plants) at which delivery is free for this format"
          }
        },
        "required": [
          "type",
          "name",
          "url"
        ]
      }
    },
    "ordering": {
      "type": "object",
      "description": "Minimums, tiers, deposit and delivery terms exactly as published on the site",
      "additionalProperties": true
    },
    "testing": {
      "type": "object",
      "description": "Pathogen testing policy summary (see /testing)",
      "additionalProperties": true
    },
    "social": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "format": "uri"
      }
    },
    "key_resources": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "counts": {
      "type": "object",
      "properties": {
        "menu_strains": {
          "type": "integer"
        },
        "encyclopedia_strains": {
          "type": "integer"
        },
        "breeders": {
          "type": "integer"
        },
        "articles": {
          "type": "integer"
        }
      },
      "required": [
        "menu_strains",
        "encyclopedia_strains",
        "breeders",
        "articles"
      ]
    }
  },
  "required": [
    "id",
    "name",
    "url",
    "phone",
    "email",
    "address",
    "hours",
    "ordering",
    "counts"
  ],
  "$defs": {
    "PriceTier": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string",
          "description": "Quantity tier"
        },
        "min": {
          "type": "integer",
          "description": "Order quantity at which the tier starts"
        },
        "price": {
          "type": "number",
          "description": "USD per plant"
        }
      },
      "required": [
        "label",
        "min",
        "price"
      ]
    }
  }
}