{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tightly-io/json-schema/tightly-io-get-product-payload-schema.json",
  "title": "GetProductPayload",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tightly-io-openapi.json#/components/schemas/GetProductPayload",
  "properties": {
    "brand_id": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "brand_name": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "category_id": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "country_of_origin": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "currency": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "department": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "family": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "family_id": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "forecast_model": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "gallery_images": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "health_cover_by_variant": {
      "default": null,
      "items": {},
      "type": [
        "array",
        "null"
      ]
    },
    "height": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    },
    "hs_code": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "image": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "image_url": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "in_current_season_plan": {
      "default": null,
      "type": [
        "boolean",
        "null"
      ]
    },
    "in_stock": {
      "type": "integer"
    },
    "incoming_stock": {
      "type": "integer"
    },
    "inventory_value": {
      "default": null,
      "type": [
        "number",
        "null"
      ]
    },
    "is_managed": {
      "type": "boolean"
    },
    "is_seasonal": {
      "default": null,
      "type": [
        "boolean",
        "null"
      ]
    },
    "last_updated_at": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "last_updated_by": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "launch_date": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "lead_time": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    },
    "length": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    },
    "min_order_quantity": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    },
    "num_variants": {
      "default": 0,
      "type": "integer"
    },
    "options": {
      "additionalProperties": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "type": [
        "object",
        "null"
      ]
    },
    "performance_category_by_location": {
      "default": null,
      "items": {
        "$ref": "#/$defs/PerformanceCategoryByLocation"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "pim_owned_fields": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "planning_attribute_sources": {
      "additionalProperties": {},
      "type": [
        "object",
        "null"
      ]
    },
    "planning_gaps": {
      "items": {
        "additionalProperties": {},
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "price_band": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "price_band_reason": {
      "additionalProperties": {},
      "default": null,
      "type": [
        "object",
        "null"
      ]
    },
    "price_band_source": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "product_id": {
      "type": "string"
    },
    "product_name": {
      "type": "string"
    },
    "product_status": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "product_title": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "published_at": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "published_status": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "replenishment_mode": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "replenishment_strategies": {
      "default": null,
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "sales_channels": {
      "items": {
        "$ref": "#/$defs/ProductSalesChannel"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "scoped_suppliers": {
      "items": {
        "additionalProperties": {},
        "type": "object"
      },
      "type": "array"
    },
    "sell_price": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    },
    "selling_window_end": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "selling_window_start": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "shopify_tags": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "shopify_url": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "size_curve": {
      "additionalProperties": {},
      "default": null,
      "type": [
        "object",
        "null"
      ]
    },
    "size_curve_declared": {
      "additionalProperties": {},
      "default": null,
      "type": [
        "object",
        "null"
      ]
    },
    "status": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "subcategory": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "subcategory_id": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "suppliers": {
      "default": null,
      "items": {
        "$ref": "#/$defs/ProductVariantSupplier"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "trading_partners": {
      "items": {
        "additionalProperties": {},
        "type": "object"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "unit_cost": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    },
    "uom": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "variant_count": {
      "default": 0,
      "type": "integer"
    },
    "variant_options": {
      "additionalProperties": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "type": [
        "object",
        "null"
      ]
    },
    "vendor": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "weight": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    },
    "weight_unit": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "width": {
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "in_stock",
    "incoming_stock",
    "is_managed",
    "product_id",
    "product_name"
  ],
  "type": "object",
  "$defs": {
    "PerformanceCategoryByLocation": {
      "additionalProperties": false,
      "properties": {
        "capital_quadrant": {
          "default": null,
          "type": [
            "string",
            "null"
          ]
        },
        "location": {
          "type": "string"
        },
        "performance_category": {
          "default": null,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "location"
      ],
      "type": "object"
    },
    "ProductSalesChannel": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "ProductVariantSupplier": {
      "additionalProperties": false,
      "properties": {
        "is_default": {
          "default": false,
          "type": [
            "boolean",
            "null"
          ]
        },
        "supplier_id": {
          "type": "string"
        },
        "supplier_name": {
          "default": null,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "supplier_id"
      ],
      "type": "object"
    }
  }
}