{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-add-bom-component-dto-schema.json",
  "title": "AddBomComponentDto",
  "description": "Datastructure to represent the input model to add a BOM component.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-bom-api-api-openapi.yml#/components/schemas/AddBomComponentDto",
  "type": "object",
  "properties": {
    "partOperationId": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the Part Operation for which the BOM component is being created."
    },
    "componentId": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the Part or the Supply Item for which the BOM component is being created."
    },
    "quantity": {
      "type": "number",
      "format": "double",
      "description": "Required quantity of the component to produce the end product."
    },
    "minimumQuantity": {
      "type": "number",
      "format": "double",
      "description": "Minimum quantity required to produce the end product."
    },
    "maximumQuantity": {
      "type": "number",
      "format": "double",
      "description": "Maximum quantity required to produce the end product."
    },
    "quantityFixed": {
      "type": "boolean",
      "description": "Boolean flag to identify that regardless of the amount being produced, the quantity is a fixed required amount."
    },
    "depletionUnitOfMeasure": {
      "type": "string",
      "description": "Consumption unit of the BOM component to aid readability."
    },
    "depletionConversionFactor": {
      "type": "number",
      "format": "double",
      "description": "Conversion factor to be used if DepletionUnitOfMeasure is set."
    },
    "sortOrder": {
      "type": "number",
      "format": "double",
      "description": "The order to display BOM Components."
    },
    "position": {
      "type": "string",
      "description": "Position to describe something physically present at the workcenter during production."
    },
    "side": {
      "type": "string",
      "description": "Side to determine relationships between BOM source components and multi-out parts."
    },
    "scaling": {
      "type": "boolean",
      "description": "Boolean flag to set scaling."
    },
    "validate": {
      "type": "boolean",
      "description": "Boolean flag to ensure that BOM material is present and loaded before allowing production to run."
    },
    "autoDeplete": {
      "type": "boolean",
      "description": "Boolean flag to determine if the BOM material should be auto depleted as production is recorded."
    },
    "transferHeat": {
      "type": "boolean",
      "description": "Boolean flag to indicate the heat number should be transferred from the BOM material to an output container."
    },
    "note": {
      "type": "string",
      "description": "Any note about the BOM Component."
    }
  },
  "required": [
    "partOperationId",
    "componentId",
    "quantity"
  ]
}