{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-bom-component-dto-schema.json",
  "title": "BomComponentDto",
  "description": "The Bill Of Material (Bom) component model.",
  "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/BomComponentDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "A unique identifier for a Bom component."
    },
    "partId": {
      "type": "string",
      "format": "uuid",
      "description": "A unique identifier for a Part resource."
    },
    "partNumber": {
      "type": "string",
      "description": "Part number associated to a part."
    },
    "partRevision": {
      "type": "string",
      "description": "Part revision associated to a part."
    },
    "partNumberRevision": {
      "type": "string",
      "description": "Combination of PartNumber and PartRevision separated by the PCN specific separator."
    },
    "partOperationId": {
      "type": "string",
      "format": "uuid",
      "description": "A unique identifier for a PartOperation resource."
    },
    "partOperationCode": {
      "type": "string",
      "description": "Part operation code associated with the PartOperation."
    },
    "partOperationNumber": {
      "type": "integer",
      "format": "int32",
      "description": "Part operation number associated with the PartOperation."
    },
    "partOperationType": {
      "type": "string",
      "description": "Part operation type associated with the PartOperation."
    },
    "componentPartId": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the component part against which this Bom component is related. Will be null if the ComponentSupplyItemId is present."
    },
    "componentPartNumber": {
      "type": "string",
      "description": "Part number associated to the component part."
    },
    "componentPartRevision": {
      "type": "string",
      "description": "Part revision associated to the component part."
    },
    "componentPartNumberRevision": {
      "type": "string",
      "description": "Combination of ComponentPartNumber and ComponentPartRevision separated by the PCN specific separator."
    },
    "componentSupplyItemId": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the component supply-item against which this Bom component is related. Will be null if the ComponentPartId is present."
    },
    "componentSupplyItemNumber": {
      "type": "string",
      "description": "Supply item number associated with the component supply item."
    },
    "componentUnitOfMeasure": {
      "type": "string",
      "description": "The unit of measure for the component part or supply item."
    },
    "quantity": {
      "type": "number",
      "format": "double",
      "description": "The quantity being consumed."
    },
    "minimumQuantity": {
      "type": "number",
      "format": "double",
      "description": "For variable Boms where the consumption and batch size can vary, this is the minimum required quantity."
    },
    "maximumQuantity": {
      "type": "number",
      "format": "double",
      "description": "For variable Boms where the consumption and batch size can vary, this is the maximum required quantity."
    },
    "quantityFixed": {
      "type": "boolean",
      "description": "For variable Boms where the consumption and batch size can vary, this indicates that the component quantity is a fixed required amount regardless of the amount being produced."
    },
    "depletionUnitOfMeasure": {
      "type": "string",
      "description": "For variable Boms where the consumption unit is very different than the Boms material's inventory unit (eg. grams vs kg), this value defines the unit of measure for a variable bom."
    },
    "depletionConversionFactor": {
      "type": "number",
      "format": "double",
      "description": "The conversion factor to use if the DepletionUnitOfMeasure field is set."
    },
    "sortOrder": {
      "type": "number",
      "format": "double",
      "description": "The sort order of this Bom resource."
    },
    "active": {
      "type": "boolean",
      "description": "A flag that determines if the Bom is active."
    },
    "position": {
      "type": "string",
      "description": "Position of the Bom resource."
    },
    "side": {
      "type": "string",
      "description": "Side related to the Bom resource."
    },
    "scaling": {
      "type": "boolean",
      "description": "A flag that determines if the Bom is scaling."
    },
    "validate": {
      "type": "boolean",
      "description": "A flag that determines if the Bom is validate."
    },
    "autoDeplete": {
      "type": "boolean",
      "description": "A flag that determines if the Bom is set for auto depletion."
    },
    "transferHeat": {
      "type": "boolean",
      "description": "A flag that determines the value for transfer heat."
    },
    "note": {
      "type": "string",
      "description": "A note about the Bom Component."
    }
  }
}