{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crunchtime-information-systems/json-schema/crunchtime-information-systems-customer-order-enhanced-details-get-schema.json",
  "title": "CustomerOrderEnhancedDetailsGet",
  "description": "CustomerOrderEnhancedDetailsGet description",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crunchtime-information-systems-customer-order-enhanced-service-api-openapi.yml#/components/schemas/CustomerOrderEnhancedDetailsGet",
  "type": "object",
  "properties": {
    "customerOrderEnhancedDetailDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CustomerOrderEnhancedDetailGet"
      }
    },
    "customerOrderEnhancedHeaderDetails": {
      "$ref": "#/$defs/CustomerOrderEnhancedHeaderDtoGet"
    }
  },
  "$defs": {
    "CustomerOrderEnhancedDetailGet": {
      "type": "object",
      "required": [
        "completeTaxRate",
        "conversionInventoryIssueUnit",
        "inventoryUnit",
        "issueUnit",
        "orderQuantity",
        "productName",
        "productNumber",
        "storageLocation",
        "storageLocationCode",
        "taxCode",
        "taxDescription"
      ],
      "properties": {
        "completeTaxRate": {
          "type": "string",
          "description": "\"completeTaxRate\" from Customer Order setup screen"
        },
        "conversionInventoryIssueUnit": {
          "type": "string",
          "description": "\"conversionInventoryIssueUnit\" from Customer Order setup screen"
        },
        "fillQuantity": {
          "type": "number",
          "description": "\"fillQuantity\" from Customer Order setup screen"
        },
        "finalReconcileQuantity": {
          "type": "number",
          "description": "\"finalReconcileQuantity\" from Customer Order setup screen"
        },
        "inventoryPrice": {
          "type": "number",
          "description": "\"inventoryPrice\" from Customer Order setup screen"
        },
        "inventoryUnit": {
          "type": "string",
          "description": "\"inventoryUnit\" from Customer Order setup screen"
        },
        "invoiceQuantity": {
          "type": "number",
          "description": "\"invoiceQuantity\" from Customer Order setup screen"
        },
        "issueUnit": {
          "type": "string",
          "description": "\"issueUnit\" from Customer Order setup screen"
        },
        "orderQuantity": {
          "type": "number",
          "description": "\"orderQuantity\" from Customer Order setup screen"
        },
        "productName": {
          "type": "string",
          "description": "\"productName\" from Customer Order setup screen"
        },
        "productNumber": {
          "type": "string",
          "description": "\"productNumber\" from Customer Order setup screen"
        },
        "storageLocation": {
          "type": "string",
          "description": "\"storageLocation\" from Customer Order setup screen"
        },
        "storageLocationCode": {
          "type": "string",
          "description": "\"storageLocationCode\" from Customer Order setup screen"
        },
        "taxCode": {
          "type": "string",
          "description": "\"taxCode\" from Customer Order setup screen"
        },
        "taxDescription": {
          "type": "string",
          "description": "\"taxDescription\" from Customer Order setup screen"
        },
        "taxValue": {
          "type": "string",
          "description": "\"taxValue\" from Customer Order setup screen"
        },
        "unitPrice": {
          "type": "number",
          "description": "\"unitPrice\" from Customer Order setup screen"
        },
        "storageLocationName": {
          "type": "string",
          "description": "\"storageLocationName\" from Customer Order setup screen"
        }
      },
      "title": "CustomerOrderEnhancedDetailGet",
      "description": "CustomerOrderEnhancedDetailGet description"
    },
    "CustomerOrderEnhancedHeaderDtoGet": {
      "type": "object",
      "required": [
        "customerCode",
        "locationCode"
      ],
      "properties": {
        "cateringOrder": {
          "type": "string",
          "description": "\"cateringOrder\" from Customer Order setup screen"
        },
        "customerCode": {
          "type": "string",
          "description": "\"customerCode\" from Customer Order setup screen"
        },
        "customerName": {
          "type": "string",
          "description": "\"customerName\" from Customer Order setup screen"
        },
        "dailyPrepDate": {
          "type": "string",
          "description": "\"dailyPrepDate\" from Customer Order setup screen"
        },
        "dailyPrepDescription": {
          "type": "string",
          "description": "\"dailyPrepDescription\" from Customer Order setup screen"
        },
        "daypartCode": {
          "type": "integer",
          "format": "int64",
          "description": "\"daypartCode\" from Customer Order setup screen"
        },
        "daypartDescription": {
          "type": "string",
          "description": "\"daypartDescription\" from Customer Order setup screen"
        },
        "entryUser": {
          "type": "string",
          "description": "\"entryUser\" from Customer Order setup screen"
        },
        "expectedDeliveryDate": {
          "type": "string",
          "description": "\"expectedDeliveryDate\" from Customer Order setup screen"
        },
        "finalReconcileDate": {
          "type": "string",
          "description": "\"finalReconcileDate\" from Customer Order setup screen"
        },
        "finalReconcileUser": {
          "type": "string",
          "description": "\"finalReconcileUser\" from Customer Order setup screen"
        },
        "finalReconcileValue": {
          "type": "string",
          "description": "\"finalReconcileValue\" from Customer Order setup screen"
        },
        "invoiceDate": {
          "type": "string",
          "description": "\"invoiceDate\" from Customer Order setup screen"
        },
        "invoiceUser": {
          "type": "string",
          "description": "\"invoiceUser\" from Customer Order setup screen"
        },
        "invoiceValue": {
          "type": "string",
          "description": "\"invoiceValue\" from Customer Order setup screen"
        },
        "locationCode": {
          "type": "string",
          "description": "\"locationCode\" from Customer Order setup screen"
        },
        "locationName": {
          "type": "string",
          "description": "\"locationName\" from Customer Order setup screen"
        },
        "orderDate": {
          "type": "string",
          "description": "\"orderDate\" from Customer Order setup screen"
        },
        "orderNumber": {
          "type": "string",
          "description": "\"orderNumber\" from Customer Order setup screen"
        },
        "orderStatus": {
          "type": "string",
          "description": "\"orderStatus\" from Customer Order setup screen",
          "enum": [
            "CANCELED",
            "FINALRECONCILED",
            "INVOICED",
            "PICKLISTED",
            "SUBMITTED"
          ]
        },
        "postDate": {
          "type": "string",
          "description": "\"postDate\" from Customer Order setup screen"
        },
        "referenceNumber": {
          "type": "string",
          "description": "\"referenceNumber\" from Customer Order setup screen"
        },
        "revenueCenter": {
          "type": "string",
          "description": "\"revenueCenter\" from Customer Order setup screen"
        },
        "revenueCenterDescription": {
          "type": "string",
          "description": "\"revenueCenterDescription\" from Customer Order setup screen"
        },
        "grandTotal": {
          "type": "string",
          "description": "\"grandTotal\" from Customer Order setup screen"
        },
        "taxTotal": {
          "type": "string",
          "description": "\"taxTotal\" from Customer Order setup screen"
        }
      },
      "title": "CustomerOrderEnhancedHeaderDtoGet",
      "description": "CustomerOrderEnhancedHeaderDtoGet description"
    }
  }
}