Skip to content

Commit

Permalink
Adding auto-generated artifacts for new models
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Nov 21, 2023
1 parent b2c8bb7 commit 98ff1f7
Show file tree
Hide file tree
Showing 6 changed files with 3,538 additions and 0 deletions.
1,639 changes: 1,639 additions & 0 deletions io.catenax.planned_production_output/1.0.0/gen/PlannedProductionOutput-aas.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
{
"$schema" : "http://json-schema.org/draft-04/schema",
"description" : "This aspect represents the remaining and planned production outputs of a supplier allocated to a customer. An allocated planned production output is described by a quantity, the site of the supplier and the date with time at which a production of a certain material for a certain customer is planned to be finished. The allocated planned production outputs may be linked to customer order position they have been scheduled for.",
"type" : "object",
"components" : {
"schemas" : {
"urn_samm_io.catenax.planned_production_output_1.0.0_OrderIdCharacteristic" : {
"type" : "string",
"description" : "This is a proprietary order ID, generated by either the supplier side or customer side."
},
"urn_samm_io.catenax.planned_production_output_1.0.0_OrderPositionIdCharacteristic" : {
"type" : "string",
"description" : "The position ID is unique for an order and used within business context to refer to a position."
},
"urn_samm_io.catenax.planned_production_output_1.0.0_OrderPositionReferenceCharacteristic" : {
"description" : "The order position reference includes reference numbers for the order and the position. As these information are meant for the customer, the customer reference numbers are mandatory.",
"type" : "object",
"properties" : {
"supplierOrderId" : {
"description" : "This is the order number on the supplier side that is given by e.g., the supplier's enterprise resource planning system.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_OrderIdCharacteristic"
},
"customerOrderId" : {
"description" : "This is the order number on the customer side that can be given by e.g., the customer's enterprise resource planning system.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_OrderIdCharacteristic"
},
"customerOrderPositionId" : {
"description" : "This is an identifier for the position of an order defined by the customer. It's not a technical identifier, such as an UUID. This identifier is used within the business context when talking about the position.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_OrderPositionIdCharacteristic"
}
},
"required" : [ "customerOrderId", "customerOrderPositionId" ]
},
"urn_samm_io.catenax.planned_production_output_1.0.0_DateTimeStamp" : {
"type" : "string",
"pattern" : "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?",
"description" : "The Date with the timezone."
},
"urn_samm_io.catenax.shared.quantity_1.0.0_QuantityValueCharacteristic" : {
"type" : "number",
"description" : "The quantity value associated with the unit expressed as float."
},
"urn_samm_io.catenax.shared.quantity_1.0.0_ItemUnitEnumeration" : {
"type" : "string",
"pattern" : "[a-zA-Z]*:[a-zA-Z]+",
"description" : "Enumeration for common item units.",
"enum" : [ "unit:piece", "unit:set", "unit:pair", "unit:page", "unit:cycle", "unit:kilowattHour", "unit:gram", "unit:kilogram", "unit:tonneMetricTon", "unit:tonUsOrShortTonUkorus", "unit:ounceAvoirdupois", "unit:pound", "unit:metre", "unit:centimetre", "unit:kilometre", "unit:inch", "unit:foot", "unit:yard", "unit:squareCentimetre", "unit:squareMetre", "unit:squareInch", "unit:squareFoot", "unit:squareYard", "unit:cubicCentimetre", "unit:cubicMetre", "unit:cubicInch", "unit:cubicFoot", "unit:cubicYard", "unit:litre", "unit:millilitre", "unit:hectolitre", "unit:secondUnitOfTime", "unit:minuteUnitOfTime", "unit:hourUnitOfTime", "unit:day" ]
},
"urn_samm_io.catenax.planned_production_output_1.0.0_QuantityCharacteristic" : {
"description" : "Describes the quantity and the unit of measure with which the planned and allocated production output is measured.",
"type" : "object",
"properties" : {
"value" : {
"description" : "The quantity value associated with the unit.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.shared.quantity_1.0.0_QuantityValueCharacteristic"
},
"unit" : {
"description" : "The unit of an item. Common units may be related to mass, count, linear, area, volume or misc.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.shared.quantity_1.0.0_ItemUnitEnumeration"
}
},
"required" : [ "value", "unit" ]
},
"urn_samm_io.catenax.shared.business_partner_number_1.0.0_BpnsTrait" : {
"type" : "string",
"description" : "The provided regular expression ensures that the BPNS is composed of prefix 'BPNS', 10 digits and two uppercase letters.",
"pattern" : "^BPNS[0-9]{8}[a-zA-Z0-9]{4}$"
},
"urn_samm_io.catenax.planned_production_output_1.0.0_AllocatedPlannedProductionOutput" : {
"description" : "Quantity, site of the supplier and date with time at which a production of a certain material for a certain customer is planned to be finished.",
"type" : "object",
"properties" : {
"plannedProductionQuantity" : {
"description" : "Quantity of a product that a supplier plans to produce on a certain date and time for a specific customer (that means that it will be allocated to a specific customer's \"allocated item stock\").\nQuantities that have already been produced are put on stock or are considered for delivery. Therefore those quantities MUST NOT be considered in the allocated production output to build a consistent view on the supply situation. ",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_QuantityCharacteristic"
},
"productionSiteBpns" : {
"description" : "One planned and allocated production output has always one site. The site is identified by the BPNS.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.shared.business_partner_number_1.0.0_BpnsTrait"
},
"estimatedTimeOfCompletion" : {
"description" : "Date and time on which the planned and allocated production output is estimated to be completed. Date and time are set according to a timezone.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_DateTimeStamp"
}
},
"required" : [ "plannedProductionQuantity", "productionSiteBpns", "estimatedTimeOfCompletion" ]
},
"urn_samm_io.catenax.planned_production_output_1.0.0_AllocatedPlannedProductionOutputCollection" : {
"description" : "Collection of planned and allocated production outputs that may relate to different production locations and estimated time of completions.",
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_AllocatedPlannedProductionOutput"
}
},
"urn_samm_io.catenax.planned_production_output_1.0.0_Position" : {
"description" : "The Position can be planned for production at several sites. A position may be anonymous or may reference a position within an order.",
"type" : "object",
"properties" : {
"orderPositionReference" : {
"description" : "The order position reference contains information to identify a position within an order.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_OrderPositionReferenceCharacteristic"
},
"lastUpdatedOnDateTime" : {
"description" : "Date and time at which the position has been updated by the supplier's systems. Date and time are set according to the timezone.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_DateTimeStamp"
},
"allocatedPlannedProductionOutputs" : {
"description" : "Planned Production Outputs already allocated to the customer.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_AllocatedPlannedProductionOutputCollection"
}
},
"required" : [ "lastUpdatedOnDateTime", "allocatedPlannedProductionOutputs" ]
},
"urn_samm_io.catenax.planned_production_output_1.0.0_PositionsCollection" : {
"description" : "If any production for the customer is planned, then there is at least one position. If the supplier does differentiate the planned production according to the order positions (an OrderPositionReference is set), then multiple positions can be given. Among the positions, there could be only one position without an OrderPositionReference to either report the planned production independently of orders or to report internal stock orders planned for the customer.",
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_Position"
}
},
"urn_samm_io.catenax.planned_production_output_1.0.0_MaterialNumberCharacteristic" : {
"type" : "string",
"description" : "The material number is a multi-character string, usually assigned by an ERP system."
},
"urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait" : {
"type" : "string",
"description" : "The provided regular expression ensures that the UUID is composed of five groups of characters separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 hexadecimal characters and 4 hyphens), optionally prefixed by \"urn:uuid:\" to make it an IRI.",
"pattern" : "(^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)|(^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)"
}
}
},
"properties" : {
"positions" : {
"description" : "The positions refer to positions within an order of the given product (see material number supplier, materialNumber customer and material global Asset Id) for which the production outputs are transferred. The positions can be differentiated by the order position reference. If no order position reference is given, then there is only one position containing all planned production outputs of the product.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_PositionsCollection"
},
"materialNumberCustomer" : {
"description" : "Material identifier as assigned by the customer. This material number identifies the material (as planned) in the customer's database. For standard parts (e.g. screws) for which a customer does not have an own number, the material number supplier should be set in this field, too.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_MaterialNumberCharacteristic"
},
"materialGlobalAssetId" : {
"description" : "Material identifier used uniquely to identify the Material (e.g. PartAsPlanned).",
"$ref" : "#/components/schemas/urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait"
},
"materialNumberSupplier" : {
"description" : "Material identifier as assigned by the supplier. This material number identifies the material (as planned) in the supplier's database.",
"$ref" : "#/components/schemas/urn_samm_io.catenax.planned_production_output_1.0.0_MaterialNumberCharacteristic"
}
},
"required" : [ "positions", "materialNumberCustomer" ]
}
Binary file not shown.
1,396 changes: 1,396 additions & 0 deletions io.catenax.planned_production_output/1.0.0/gen/PlannedProductionOutput.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"positions" : [ {
"lastUpdatedOnDateTime" : "2023-04-01T14:23:00+01:00",
"orderPositionReference" : {
"supplierOrderId" : "M-Nbr-4711",
"customerOrderId" : "C-Nbr-4711",
"customerOrderPositionId" : "PositionId-01"
},
"allocatedPlannedProductionOutputs" : [ {
"plannedProductionQuantity" : {
"value" : 20.5,
"unit" : "unit:piece"
},
"productionSiteBpns" : "BPNS0123456789ZZ",
"estimatedTimeOfCompletion" : "2023-04-01T14:23:00+01:00"
} ]
} ],
"materialGlobalAssetId" : "urn:uuid:48878d48-6f1d-47f5-8ded-a441d0d879df",
"materialNumberCustomer" : "MNR-7307-AU340474.002",
"materialNumberSupplier" : "MNR-8101-ID146955.001"
}
Loading

0 comments on commit 98ff1f7

Please sign in to comment.