{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crunchtime-information-systems/json-schema/crunchtime-information-systems-physical-inventory-standard-details-list-schema.json",
  "title": "PhysicalInventoryStandardDetailsList",
  "description": "PhysicalInventoryStandardDetailsList description",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crunchtime-information-systems-inventory-service-api-openapi.yml#/components/schemas/PhysicalInventoryStandardDetailsList",
  "type": "object",
  "required": [
    "locationCode"
  ],
  "properties": {
    "locationCode": {
      "type": "string",
      "description": "The Code that identifies the Location in Crunchtime."
    },
    "physicalInventoryStandardDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PhysicalInventoryStandardDetails"
      }
    }
  },
  "$defs": {
    "PhysicalInventoryStandardDetails": {
      "type": "object",
      "properties": {
        "physicalInventoryStandardDetailDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PhysicalInventoryStandardDetails1"
          }
        }
      },
      "title": "PhysicalInventoryStandardDetails0",
      "description": "PhysicalInventoryStandardDetails description"
    },
    "PhysicalInventoryStandardDetails1": {
      "type": "object",
      "required": [
        "inventoryDate",
        "productNumber",
        "storageCode",
        "userId"
      ],
      "properties": {
        "altQuantity1": {
          "type": "number",
          "description": "\"Alt Unit 1\" Qty. from Physical Inventory"
        },
        "altQuantity2": {
          "type": "number",
          "description": "\"Alt Unit 2\" Qty. from Physical Inventory"
        },
        "altQuantity3": {
          "type": "number",
          "description": "\"Alt Unit 3\" Qty. from Physical Inventory"
        },
        "inventoryDate": {
          "type": "string",
          "description": "Inventory \"Date\" from Physical Inventory"
        },
        "productNumber": {
          "type": "string",
          "description": "\"Product #\" from Physical Inventory"
        },
        "quantity": {
          "type": "number",
          "description": "\"Quantity\" from Physical Inventory. Input required for Alt Unit 1 Qty, Alt Unit 2 Qty, or Alt Unit 3 Qty if not provided.\n"
        },
        "storageCode": {
          "type": "string",
          "description": "Storage Location \"Code\" from Physical Inventory"
        },
        "userId": {
          "type": "string",
          "description": "User ID for the user associated with the Physical Inventory"
        }
      },
      "title": "PhysicalInventoryStandardDetails",
      "description": "PhysicalInventoryStandardDetails description"
    }
  }
}