{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/steadysteel-org/json-schema/steadysteel-org-product-schema.json",
  "title": "Product",
  "description": "A pre-designed product from the Steady Steel catalog. Tier prices\nare firm and before HST. Freight on a kit or a welded unit is quoted by\nSteady Steel after the order.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/steadysteel-org-openapi.yml#/components/schemas/Product",
  "additionalProperties": false,
  "properties": {
    "blurb": {
      "title": "Blurb",
      "type": "string"
    },
    "certification_note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Certification Note"
    },
    "division": {
      "title": "Division",
      "type": "string"
    },
    "image_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Image Url"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "object": {
      "const": "product",
      "default": "product",
      "title": "Object",
      "type": "string"
    },
    "product_url": {
      "title": "Product Url",
      "type": "string"
    },
    "slug": {
      "title": "Slug",
      "type": "string"
    },
    "tiers": {
      "items": {
        "$ref": "#/$defs/ProductTier"
      },
      "title": "Tiers",
      "type": "array"
    }
  },
  "required": [
    "slug",
    "name",
    "division",
    "blurb",
    "product_url",
    "tiers"
  ],
  "type": "object",
  "$defs": {
    "ProductTier": {
      "additionalProperties": false,
      "description": "One way to buy a product: design (the drawing package), kit (the\nsteel cut to the drawings) or welded (built in our shop).\nunit_amount_cents is before HST, and null when the price is given on\nrequest. orderable means it can be ordered on steadysteel.org today.",
      "properties": {
        "includes": {
          "items": {
            "type": "string"
          },
          "title": "Includes",
          "type": "array"
        },
        "kind": {
          "enum": [
            "design",
            "kit",
            "welded"
          ],
          "title": "Kind",
          "type": "string"
        },
        "label": {
          "title": "Label",
          "type": "string"
        },
        "lead_time_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Lead Time Days"
        },
        "orderable": {
          "title": "Orderable",
          "type": "boolean"
        },
        "unit_amount_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Unit Amount Cents"
        }
      },
      "required": [
        "kind",
        "label",
        "includes",
        "orderable"
      ],
      "title": "ProductTier",
      "type": "object"
    }
  }
}