Payload Structure for OperationSkipped Events

OperationSkipped Event Schema Version 2

This is the original version.

JSON OperationSkipped Schema Version 2


{
  "schemaVersion": 1,
  "workOrderName": "WOID6-ROUTE-JSON-SNOWBIKES",
  <!-- Produced LotIdentifier Name &  Properties -->
  "lotIdentifier": {
    "name": "SERNUM1",
    "properties": [
      {
        "propertyName": "materialLot_Integer_Property",
        "propertyValue": "10"
      },
      {
        "propertyName": "materialLot_boolean_Property",
        "propertyValue": "false"
      }
    ]
  },
  <!-- Route Name &  Properties -->
  "routeInfo": {
    "name": "Route Level",
    "properties": [
      {
        "propertyName": "Some-Integer-Property-Name",
        "propertyValue": "10"
      },
      {
        "propertyName": "Some-Boolean-Property-Name",
        "propertyValue": "true"
      }
    ]
  },
  "operationInfo": {
    "name": "FrameAssembly",
    "skippedOnTime": "2021-04-12T09:02:05Z",
    "unitName": "FrameMountingStation",
    "productionLine": "Bikes_Assembly_Line",
    "status": "Skipped",
    "skippedBy": "mesadmin",
    "producedMaterial": "SNOWBIKE-NONSERIALIZED",
    "unitOfMeasure": "EA",
    "skippedQuantity": 10,
    "billOfMaterials": [],
    <!-- Operation Properties -->
    "properties": [
      {
        "propertyName": "work_order_import_prop_group_prop_2",
        "propertyValue": "workorderimportgroupproperty2"
      },
      {
        "propertyName": "work_order_import_prop_group_prop_3",
        "propertyValue": "workorderimportgroupproperty3"
      }    
    ]
  },
  "kafkaConsumerId": "00000178c5511118-02420a0006db0000",
  "publishedDate": "2021-04-12T07:29:07Z",
  "sddSchemaVersion": 8
}

B2MML OperationSkipped Schema Version 2


<ProductionPerformance
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:Extended="http://www.wbf.org/xml/B2MML-V0401-AllExtensions"
    xmlns:inp2="http://www.wbf.org/xml/B2MML-V0401"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:erp="http://sample.data"
    xmlns="http://www.wbf.org/xml/B2MML-V0401">
    <ID>00000178c5511118-02420a0006db0000</ID>
    <Description>ERP Export Service</Description>
    <PublishedDate>2021-04-12T07:29:07Z</PublishedDate>
    <ProductionResponse>
     <!-- workorder name -->
        <ID>WOID6-ROUTE-XML-SNOWBIKES</ID>
         <!-- route info-->
        <SegmentResponse>
            <ID>Route Level</ID>  
<!-- Route Level Properties -->         
            <ProductionData>
                <ID>Some-Integer-Property-Name</ID>
                <Value>
                    <ValueString>10</ValueString>
                    <DataType>string</DataType>
                    <UnitOfMeasure/>
                </Value>
            </ProductionData>
            <ProductionData>
                <ID>Some-Boolean-Property-Name</ID>
                <Value>
                    <ValueString>true</ValueString>
                    <DataType>string</DataType>
                    <UnitOfMeasure/>
                </Value>
            </ProductionData>               
        </SegmentResponse>
        <!-- operation Info-->
        <SegmentResponse>
        <!-- operation Name-->
            <ID>FrameAssembly</ID>
            <ProductionData>
                <ID>skippeddOnTime</ID>
                <Value>
                    <ValueString>2021-04-12T10:21:06Z</ValueString>
                    <DataType>string</DataType>
                    <UnitOfMeasure/>
                </Value>
            </ProductionData>
            <ProductionData>
                <ID>status</ID>
                <Value>
                    <ValueString>Skipped</ValueString>
                    <DataType>string</DataType>
                    <UnitOfMeasure/>
                </Value>
            </ProductionData>
            <ProductionData>
                <ID>skippedBy</ID>
                <Value>
                    <ValueString>mesadmin</ValueString>
                    <DataType>string</DataType>
                    <UnitOfMeasure/>
                </Value>
            </ProductionData>
<!-- operation properties-->
            <ProductionData>
                <ID>work_order_import_prop_group_prop_2</ID>
                <Value>
                    <ValueString>workorderimportgroupproperty2</ValueString>
                    <DataType>string</DataType>
                    <UnitOfMeasure/>
                </Value>
            </ProductionData>
            <ProductionData>
                <ID>work_order_import_prop_group_prop_3</ID>
                <Value>
                    <ValueString>workorderimportgroupproperty3</ValueString>
                    <DataType>string</DataType>
                    <UnitOfMeasure/>
                </Value>
            </ProductionData>
            <!-- producedMaterial details-->
            <MaterialProducedActual>
            <!--producedMaterial Name -->
                <MaterialDefinitionID>SNOWBIKE-NONSERIALIZED</MaterialDefinitionID>
                <!--producedMaterial Lot Name -->
                <MaterialLotID>SERNUM1</MaterialLotID>
                <Location>
                <!--production Line -->
                    <EquipmentID>Bikes_Assembly_Line</EquipmentID>
                    <EquipmentElementLevel>ProductionLine</EquipmentElementLevel>
                    <Location>
                    <!--production unitName -->
                        <EquipmentID>FrameMountingStation</EquipmentID>
                        <EquipmentElementLevel>Unit</EquipmentElementLevel>
                    </Location>
                </Location>
                 <!--skippedQuantity -->
                <Quantity>
                    <QuantityString>10</QuantityString>
                    <DataType>double</DataType>
                    <UnitOfMeasure>EA</UnitOfMeasure>
                </Quantity>
                <!--Produced Material Lot Properties -->
                <MaterialProducedActualProperty>
                    <ID>materialLot_Integer_Property</ID>
                    <Value>
                        <ValueString>10</ValueString>
                        <DataType>string</DataType>
                        <UnitOfMeasure/>
                    </Value>
                </MaterialProducedActualProperty>
                <MaterialProducedActualProperty>
                    <ID>materialLot_boolean_Property</ID>
                    <Value>
                        <ValueString>false</ValueString>
                        <DataType>string</DataType>
                        <UnitOfMeasure/>
                    </Value>
                </MaterialProducedActualProperty>
            </MaterialProducedActual>
        </SegmentResponse>
        <Extended:SchemaVersion>1</Extended:SchemaVersion>
        <Extended:SDDSchemaVersion>8</Extended:SDDSchemaVersion>
    </ProductionResponse>
</ProductionPerformance>