{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crunchtime-information-systems/json-schema/crunchtime-information-systems-inventory-value-adjustment-details-list-schema.json",
  "title": "InventoryValueAdjustmentDetailsList",
  "description": "InventoryValueAdjustmentDetailsList 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/InventoryValueAdjustmentDetailsList",
  "type": "object",
  "required": [
    "locationCode"
  ],
  "properties": {
    "inventoryValueAdjustmentDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InventoryValueAdjustmentDetails"
      }
    },
    "locationCode": {
      "type": "string",
      "description": "The Code that identifies the Location in Crunchtime."
    }
  },
  "$defs": {
    "InventoryValueAdjustmentDetails": {
      "type": "object",
      "properties": {
        "inventoryValueAdjustmentDetailDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InventoryValueAdjustmentDetailsDto"
          }
        },
        "inventoryValueAdjustmentHeaderDetails": {
          "$ref": "#/$defs/InventoryValueAdjustmentHeaderDto"
        }
      },
      "title": "InventoryValueAdjustmentDetails",
      "description": "InventoryValueAdjustmentDetails description"
    },
    "InventoryValueAdjustmentDetailsDto": {
      "type": "object",
      "required": [
        "adjustmentValue",
        "productCode",
        "qualitativeJudgment",
        "receivingQuantity"
      ],
      "properties": {
        "adjustmentValue": {
          "type": "number",
          "description": "\"Adjustment Value\" from Inventory Value Adjustment"
        },
        "comments": {
          "type": "string",
          "description": "\"Memo\" from Inventory Value Adjustment"
        },
        "conditionalGl": {
          "type": "string",
          "description": "\"GL Description\" associated with the Qualitative Judgment, from Inventory Value Adjustment"
        },
        "productCode": {
          "type": "string",
          "description": "\"Product Number\" from Inventory Value Adjustment"
        },
        "qualitativeJudgment": {
          "type": "string",
          "description": "\"Qualitative Judgment\" from Inventory Value Adjustment"
        },
        "receivingQuantity": {
          "type": "number",
          "description": "\"Receiving Quantity\" (in Inventory Units) from Inventory Value Adjustment"
        }
      },
      "title": "InventoryValueAdjustmentDetailsDto",
      "description": "InventoryValueAdjustmentDetailsDto description"
    },
    "InventoryValueAdjustmentHeaderDto": {
      "type": "object",
      "properties": {
        "comments": {
          "type": "string",
          "description": "\"Memo\" from Inventory Value Adjustment"
        },
        "locationCode": {
          "type": "string",
          "description": "\"Location Code\" from Inventory Value Adjustment"
        },
        "source": {
          "type": "string",
          "description": "\"Source\" of the Inventory Value Adjustment"
        }
      },
      "title": "InventoryValueAdjustmentHeaderDto",
      "description": "InventoryValueAdjustmentHeaderDto description"
    }
  }
}