{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SalesOrderItemCreate",
  "title": "SalesOrderItemCreate",
  "type": "object",
  "description": "Request payload for creating a new sales order item",
  "properties": {
    "Material": {
      "type": "string",
      "maxLength": 40,
      "description": "Material number",
      "example": "example_value"
    },
    "RequestedQuantity": {
      "type": "string",
      "description": "Requested quantity",
      "example": "example_value"
    },
    "RequestedQuantityUnit": {
      "type": "string",
      "maxLength": 3,
      "description": "Unit of measure",
      "example": "example_value"
    },
    "Plant": {
      "type": "string",
      "maxLength": 4,
      "description": "Plant",
      "example": "example_value"
    },
    "SalesOrderItemCategory": {
      "type": "string",
      "maxLength": 4,
      "description": "Item category",
      "example": "example_value"
    },
    "SalesOrderItemText": {
      "type": "string",
      "maxLength": 40,
      "description": "Item description",
      "example": "example_value"
    },
    "PurchaseOrderByCustomer": {
      "type": "string",
      "maxLength": 35,
      "description": "Customer PO number at item level",
      "example": "example_value"
    },
    "PricingDate": {
      "type": "string",
      "format": "date",
      "description": "Pricing date",
      "example": "2026-01-15"
    },
    "CustomerPaymentTerms": {
      "type": "string",
      "maxLength": 4,
      "description": "Payment terms",
      "example": "example_value"
    },
    "MaterialByCustomer": {
      "type": "string",
      "maxLength": 35,
      "description": "Customer material number",
      "example": "example_value"
    },
    "Batch": {
      "type": "string",
      "maxLength": 10,
      "description": "Batch number",
      "example": "example_value"
    },
    "ProductionPlant": {
      "type": "string",
      "maxLength": 4,
      "description": "Production plant",
      "example": "example_value"
    },
    "StorageLocation": {
      "type": "string",
      "maxLength": 4,
      "description": "Storage location",
      "example": "example_value"
    },
    "DeliveryPriority": {
      "type": "string",
      "maxLength": 2,
      "description": "Delivery priority",
      "example": "example_value"
    },
    "IncotermsClassification": {
      "type": "string",
      "maxLength": 3,
      "description": "Incoterms classification",
      "example": "example_value"
    },
    "IncotermsTransferLocation": {
      "type": "string",
      "maxLength": 28,
      "description": "Incoterms location",
      "example": "example_value"
    },
    "to_PricingElement": {
      "type": "array",
      "description": "Pricing elements (deep insert)",
      "items": {
        "$ref": "#/components/schemas/SalesOrderItemPrcgElmnt"
      },
      "example": []
    },
    "to_ScheduleLine": {
      "type": "array",
      "description": "Schedule lines (deep insert)",
      "items": {
        "$ref": "#/components/schemas/SalesOrderScheduleLine"
      },
      "example": []
    },
    "to_Partner": {
      "type": "array",
      "description": "Partners (deep insert)",
      "items": {
        "$ref": "#/components/schemas/SalesOrderItemPartner"
      },
      "example": []
    },
    "to_Text": {
      "type": "array",
      "description": "Text records (deep insert)",
      "items": {
        "$ref": "#/components/schemas/SalesOrderItemText"
      },
      "example": []
    }
  }
}