{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/united-states-steel/json-schema/united-states-steel-inventory-list-schema.json",
  "title": "InventoryList",
  "description": "Paginated list of inventory items.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/united-states-steel-inventory-api-openapi.yml#/components/schemas/InventoryList",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "description": "Total number of inventory items."
    },
    "items": {
      "type": "array",
      "description": "List of inventory items.",
      "items": {
        "$ref": "#/$defs/InventoryItem"
      }
    }
  },
  "$defs": {
    "InventoryItem": {
      "type": "object",
      "description": "An inventory item available to the customer.",
      "properties": {
        "itemId": {
          "type": "string",
          "description": "Unique inventory item identifier."
        },
        "customerId": {
          "type": "string",
          "description": "Customer account identifier."
        },
        "orderId": {
          "type": "string",
          "description": "Associated order identifier."
        },
        "product": {
          "type": "string",
          "description": "Steel product type."
        },
        "grade": {
          "type": "string",
          "description": "Steel grade designation."
        },
        "coilId": {
          "type": "string",
          "description": "Individual coil identifier."
        },
        "weight": {
          "type": "number",
          "description": "Item weight."
        },
        "weightUnit": {
          "type": "string",
          "description": "Weight unit."
        },
        "location": {
          "type": "string",
          "description": "Storage or production facility location."
        },
        "status": {
          "type": "string",
          "description": "Inventory item availability status.",
          "enum": [
            "AVAILABLE",
            "RESERVED",
            "IN_TRANSIT",
            "ON_HOLD"
          ]
        }
      }
    }
  }
}