diff --git a/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned-aas.xml b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned-aas.xml new file mode 100644 index 000000000..c9c776d7e --- /dev/null +++ b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned-aas.xml @@ -0,0 +1,972 @@ + + + + + id_defaultAdminShell + + + en + defaultAdminShell + + + + urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned] + + + + + + + + en + Part as Planned + + + + + EN + PartAsPlanned + + + + + en + A Part as Planned represents an item in the Catena-X Bill of Material(BOM) in As-Planned lifecycle status in a specific version. + + + + + + + + Type + + + + + + PartAsPlanned + + + en + A Part as Planned represents an item in the Catena-X Bill of Material(BOM) in As-Planned lifecycle status in a specific version. + + + + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned]/submodel + Template + + ModelReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned + + + + + + id_catenaXId + + + en + Catena-X ID + + + + + en + The fully anonymous Catena-X ID of the serialized part, valid for the Catena-X dataspace. + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#catenaXId + + + + xs:string + Unknown + + + id_PartTypeInformationEntity + + + en + Part Type Information Entity + + + + + en + Encapsulation for data related to the part type + + + + + id_manufacturerPartId + + + en + Manufacturer Part ID + + + + + en + Part ID as assigned by the manufacturer of the part. The Part ID identifies the part in the manufacturer`s dataspace. The Part ID references a specific version of a part. The version number must be included in the Part ID if it is available. + +The Part ID does not reference a specific instance of a part and must not be confused with the serial number. + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#manufacturerPartId + + + + xs:string + Unknown + + + id_nameAtManufacturer + + + en + Name at manufacturer + + + + + en + Name of the part as assigned by the manufacturer + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#nameAtManufacturer + + + + xs:string + Unknown + + + id_classification + + + en + Classification + + + + + en + The classification of the part type according to STEP standard definition + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#classification + + + + xs:string + Unknown + + + + + id_partSitesInformationAsPlanned + + + en + Part Sites Information as Planned + + + + + en + A site is a delimited geographical area where a legal entity does business(geographical address with geo coordinates).A site always has a primary physical address. It is possible that further physical addresses are specified for the site. P.O. box details are only possible in addition to the physical address. A site has a 1:n relation to addresses, means at least 1 address is necessary and multiple addresses are possible. + + + false + DataElement + + + id_partSitesInformationAsPlannedEntity + + + en + Part Sites Information as Planned Entity + + + + + en + Describes the ID, function and validity date of a site for the associated part in the AsPlanned context. + + + + + id_catenaXsiteId + + + en + Catena-X site identifier + + + + + en + The identifier of the site according to Catena-X BPDM. The catenaXsiteId must be a valid Catena-X BPN. The BPN is a unique, unchangeable identifier for Business Partners / company locations from foundation to closure, regardless of the different business relationships / structures between or within the Business Partners or company locations. + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#catenaXsiteId + + + + xs:string + Unknown + + + id_function + + + en + Function + + + + + en + The function of the site in relation to the part(i.e. the activity within the value chain of the part that is performed at the site) + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#function + + + + xs:string + Unknown + + + id_functionValidFrom + + + en + Function valid from + + + + + en + Timestamp, from when the site has the specified function for the given part + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#functionValidFrom + + + + xs:dateTime + Unknown + + + id_functionValidUntil + + + en + Function valid until + + + + + en + Timestamp, until when the site has the specified function for the given part + + + + ExternalReference + + + ConceptDescription + urn:samm:io.catenax.part_as_planned:2.0.0#functionValidUntil + + + + xs:dateTime + Unknown + + + + + + + + + + + APPLICATION_CLASS + id_PartAsPlanned + + + en + Part as Planned + + + + + en + A Part as Planned represents an item in the Catena-X Bill of Material(BOM) in As-Planned lifecycle status in a specific version. + + + urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned] + + + + + + + + en + Part as Planned + + + + + EN + PartAsPlanned + + + + + en + A Part as Planned represents an item in the Catena-X Bill of Material(BOM) in As-Planned lifecycle status in a specific version. + + + + + + + + + id_UuidV4Trait + + + en + Trait for UUIDs v4 + + + urn:samm:io.catenax.part_as_planned:2.0.0#catenaXId + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#catenaXId] + + + + + + + + en + Catena-X ID + + + + + EN + catenaXId + + + STRING + + + en + Trait to ensure UUID v4 data format. + + + + + + + + + id_PartIdCharacteristic + + + en + Part ID characteristic + + + urn:samm:io.catenax.part_as_planned:2.0.0#manufacturerPartId + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#manufacturerPartId] + + + + + + + + en + Manufacturer Part ID + + + + + EN + manufacturerPartId + + + STRING + + + en + The part ID is a multi-character string, usually assigned by an ERP system + + + + + + + + + id_PartNameCharacteristic + + + en + Part Name characteristic + + + urn:samm:io.catenax.part_as_planned:2.0.0#nameAtManufacturer + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#nameAtManufacturer] + + + + + + + + en + Name at manufacturer + + + + + EN + nameAtManufacturer + + + STRING + + + en + Part Name in string format from the respective system in the value chain + + + + + + + + + id_ClassificationEnumerationCharacteristic + + + en + Classification enumeration characteristic + + + urn:samm:io.catenax.part_as_planned:2.0.0#classification + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#classification] + + + + + + + + en + Classification + + + + + EN + classification + + + STRING + + + en + A part type must be placed into one of the following classes: 'component', 'product', 'software', ?assembly?, 'tool', or 'raw material'. + + + + + + DefaultScalarValue[value=product, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#ClassificationEnumerationCharacteristic:DefaultScalarValue[value=product, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + DefaultScalarValue[value=raw material, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#ClassificationEnumerationCharacteristic:DefaultScalarValue[value=raw material, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + DefaultScalarValue[value=software, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#ClassificationEnumerationCharacteristic:DefaultScalarValue[value=software, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + DefaultScalarValue[value=assembly, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#ClassificationEnumerationCharacteristic:DefaultScalarValue[value=assembly, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + DefaultScalarValue[value=tool, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#ClassificationEnumerationCharacteristic:DefaultScalarValue[value=tool, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + DefaultScalarValue[value=component, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#ClassificationEnumerationCharacteristic:DefaultScalarValue[value=component, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + + + + + + + + id_PartTypeInformationCharacteristic + + + en + Part Type Information Characteristic + + + urn:samm:io.catenax.part_as_planned:2.0.0#partTypeInformation + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#partTypeInformation] + + + + + + + + en + Part Type Information + + + + + EN + partTypeInformation + + + STRING + + + en + The characteristics of the part type + + + + + + + + + id_BpnsCharacteristic + + + en + Business Partner Number Site + + + urn:samm:io.catenax.part_as_planned:2.0.0#catenaXsiteId + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#catenaXsiteId] + + + + + + + + en + Catena-X site identifier + + + + + EN + catenaXsiteId + + + STRING + + + en + BPNS (Business Partner Number Site) represents a site which can be a production plant. A site can also be e.g. an office or a warehouse. An information related to a site is e.g. needed for reporting issues (How many sites does e.g. Beispiel AG have?), status of operation (out of operations due to environmental disaster), for certificates on site level (e.g. environment certificates) or for internal regulations on site level, (e.g. security topics, Corona rules,...). Several addresses (= BPNA with different streets and different gates) can belong to one site. A BPNS should be always linked to one BPNL via relationship 'belongs to legal entity'. + + + + + + + + + id_FunctionCharacteristic + + + en + Function characteristic + + + urn:samm:io.catenax.part_as_planned:2.0.0#function + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#function] + + + + + + + + en + Function + + + + + EN + function + + + STRING + + + en + Describes the characteristics of the function for a site related to the respective part + + + + + + DefaultScalarValue[value=production, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#FunctionCharacteristic:DefaultScalarValue[value=production, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + DefaultScalarValue[value=warehouse, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#FunctionCharacteristic:DefaultScalarValue[value=warehouse, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + DefaultScalarValue[value=spare part warehouse, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + ModelReference + + + DataElement + urn:samm:io.catenax.part_as_planned:2.0.0#FunctionCharacteristic:DefaultScalarValue[value=spare part warehouse, typeUri='DefaultScalar[metaModelVersion=SAMM_2_1_0, urn='http://www.w3.org/2001/XMLSchema#string']'] + + + + + + + + + + + + + id_Timestamp + + + en + Timestamp + + + urn:samm:io.catenax.part_as_planned:2.0.0#functionValidFrom + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#functionValidFrom] + + + + + + + + en + Function valid from + + + + + EN + functionValidFrom + + + STRING + + + en + Describes a Property which contains the date and time with an optional timezone. + + + + + + + + + id_Timestamp + + + en + Timestamp + + + urn:samm:io.catenax.part_as_planned:2.0.0#functionValidUntil + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#functionValidUntil] + + + + + + + + en + Function valid until + + + + + EN + functionValidUntil + + + STRING + + + en + Describes a Property which contains the date and time with an optional timezone. + + + + + + + + + id_partSitesInformationAsPlannedCharacteristic + + + en + Part Sites Information as Planned Characteristic + + + urn:samm:io.catenax.part_as_planned:2.0.0#partSitesInformationAsPlanned + + + + ExternalReference + + + GlobalReference + Optional[urn:samm:io.catenax.part_as_planned:2.0.0#partSitesInformationAsPlanned] + + + + + + + + en + Part Sites Information as Planned + + + + + EN + partSitesInformationAsPlanned + + + STRING + + + en + The characteristic of the part site information that represents a set of possible site to a repective part. + + + + + + + + + diff --git a/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned-schema.json b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned-schema.json new file mode 100644 index 000000000..af9b9a56e --- /dev/null +++ b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned-schema.json @@ -0,0 +1,106 @@ +{ + "$schema" : "http://json-schema.org/draft-04/schema", + "description" : "A Part as Planned represents an item in the Catena-X Bill of Material(BOM) in As-Planned lifecycle status in a specific version. ", + "type" : "object", + "components" : { + "schemas" : { + "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}$)" + }, + "urn_samm_io.catenax.part_as_planned_2.0.0_PartIdCharacteristic" : { + "type" : "string", + "description" : "The part ID is a multi-character string, usually assigned by an ERP system" + }, + "urn_samm_io.catenax.part_as_planned_2.0.0_PartNameCharacteristic" : { + "type" : "string", + "description" : "Part Name in string format from the respective system in the value chain" + }, + "urn_samm_io.catenax.part_as_planned_2.0.0_ClassificationEnumerationCharacteristic" : { + "type" : "string", + "description" : "A part type must be placed into one of the following classes: 'component', 'product', 'software', ?assembly?, 'tool', or 'raw material'.", + "enum" : [ "product", "raw material", "software", "assembly", "tool", "component" ] + }, + "urn_samm_io.catenax.part_as_planned_2.0.0_PartTypeInformationCharacteristic" : { + "description" : "The characteristics of the part type", + "type" : "object", + "properties" : { + "manufacturerPartId" : { + "description" : "Part ID as assigned by the manufacturer of the part. The Part ID identifies the part in the manufacturer`s dataspace. The Part ID references a specific version of a part. The version number must be included in the Part ID if it is available.\n\nThe Part ID does not reference a specific instance of a part and must not be confused with the serial number.", + "$ref" : "#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_PartIdCharacteristic" + }, + "nameAtManufacturer" : { + "description" : "Name of the part as assigned by the manufacturer", + "$ref" : "#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_PartNameCharacteristic" + }, + "classification" : { + "description" : "The classification of the part type according to STEP standard definition", + "$ref" : "#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_ClassificationEnumerationCharacteristic" + } + }, + "required" : [ "manufacturerPartId", "nameAtManufacturer", "classification" ] + }, + "urn_samm_io.catenax.shared.business_partner_number_1.0.0_BpnsCharacteristic" : { + "type" : "string", + "description" : "BPNS (Business Partner Number Site) represents a site which can be a production plant. A site can also be e.g. an office or a warehouse. An information related to a site is e.g. needed for reporting issues (How many sites does e.g. Beispiel AG have?), status of operation (out of operations due to environmental disaster), for certificates on site level (e.g. environment certificates) or for internal regulations on site level, (e.g. security topics, Corona rules,...). Several addresses (= BPNA with different streets and different gates) can belong to one site. A BPNS should be always linked to one BPNL via relationship 'belongs to legal entity'." + }, + "urn_samm_io.catenax.part_as_planned_2.0.0_FunctionCharacteristic" : { + "type" : "string", + "description" : "Describes the characteristics of the function for a site related to the respective part", + "enum" : [ "production", "warehouse", "spare part warehouse" ] + }, + "urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Timestamp" : { + "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" : "Describes a Property which contains the date and time with an optional timezone." + }, + "urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedEntity" : { + "description" : "Describes the ID, function and validity date of a site for the associated part in the AsPlanned context.", + "type" : "object", + "properties" : { + "catenaXsiteId" : { + "description" : "The identifier of the site according to Catena-X BPDM. The catenaXsiteId must be a valid Catena-X BPN. The BPN is a unique, unchangeable identifier for Business Partners / company locations from foundation to closure, regardless of the different business relationships / structures between or within the Business Partners or company locations.", + "$ref" : "#/components/schemas/urn_samm_io.catenax.shared.business_partner_number_1.0.0_BpnsCharacteristic" + }, + "function" : { + "description" : "The function of the site in relation to the part(i.e. the activity within the value chain of the part that is performed at the site)", + "$ref" : "#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_FunctionCharacteristic" + }, + "functionValidFrom" : { + "description" : "Timestamp, from when the site has the specified function for the given part", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Timestamp" + }, + "functionValidUntil" : { + "description" : "Timestamp, until when the site has the specified function for the given part", + "$ref" : "#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Timestamp" + } + }, + "required" : [ "catenaXsiteId", "function" ] + }, + "urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedCharacteristic" : { + "description" : "The characteristic of the part site information that represents a set of possible site to a repective part. ", + "type" : "array", + "items" : { + "$ref" : "#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedEntity" + }, + "uniqueItems" : true + } + } + }, + "properties" : { + "catenaXId" : { + "description" : "The fully anonymous Catena-X ID of the serialized part, valid for the Catena-X dataspace.", + "$ref" : "#/components/schemas/urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait" + }, + "partTypeInformation" : { + "description" : "The part type from which the serialized part has been instantiated", + "$ref" : "#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_PartTypeInformationCharacteristic" + }, + "partSitesInformationAsPlanned" : { + "description" : "A site is a delimited geographical area where a legal entity does business(geographical address with geo coordinates).A site always has a primary physical address. It is possible that further physical addresses are specified for the site. P.O. box details are only possible in addition to the physical address. A site has a 1:n relation to addresses, means at least 1 address is necessary and multiple addresses are possible.", + "$ref" : "#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedCharacteristic" + } + }, + "required" : [ "catenaXId", "partTypeInformation" ] +} \ No newline at end of file diff --git a/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.aasx b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.aasx new file mode 100644 index 000000000..2899acfc7 Binary files /dev/null and b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.aasx differ diff --git a/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.html b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.html new file mode 100644 index 000000000..285eb21ef --- /dev/null +++ b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.html @@ -0,0 +1,1005 @@ + + + + + + + + + + + + + + Documentation Part as Planned + + +
+
+
+
+

Aspect Model Part as Planned

+
urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned
+
+
+
+
+
+
+
+ +
+ + +
+ A Part as Planned represents an item in the Catena-X Bill of Material(BOM) in As-Planned lifecycle status in a specific version. +
+ + +
+

Overview

+
+
+
+
+ Aspect Model Diagram +
+
+
+ + +
+
+

Properties

+
+ +
+ +
+

Catena-X ID

+
+ +The fully anonymous Catena-X ID of the serialized part, valid for the Catena-X dataspace. + +
+
Name
+
catenaXId
+
+ + + +
+
Characteristic
+
+
+
+
Trait
+
+
+
+ Reference +
+
    +
  • https://tools.ietf.org/html/rfc4122
  • +
+
+
+
+ +
+
+
+ +
+
Example
+
580d3adf-1981-44a0-a214-13d6ceed9379
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
catenaXId
+
+ + +
+
Constraints
+
+
    +
  • +
    + +
    + UUID v4 Regular Expression +
    + +
    +
    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.
    +
    + +
    +
    Reference
    +
    +
    +
      +
    • https://datatracker.ietf.org/doc/html/rfc4122
    • +
    +
    +
    +
    + +
    +
    Regular expression
    +
    (^[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}$)
    +
    + +
  • +
+
+
+
+
+ +
+

Part Sites Information as Planned

+
+ +A site is a delimited geographical area where a legal entity does business(geographical address with geo coordinates).A site always has a primary physical address. It is possible that further physical addresses are specified for the site. P.O. box details are only possible in addition to the physical address. A site has a 1:n relation to addresses, means at least 1 address is necessary and multiple addresses are possible. + +
+
Name
+
partSitesInformationAsPlanned
+
+ + + +
+
Characteristic
+
+
+
+
Set
+
+
+
Has no order
+
+
+
Duplicates not allowed
+
+ +
+
+
+ + +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
partSitesInformationAsPlanned
+
+ +
+
Reference
+
+
    +
  • https://confluence.catena-x.net/x/QkBHAw
  • +
+
+
+ +
+
+ +
+

Part Type Information

+
+ +The part type from which the serialized part has been instantiated + +
+
Name
+
partTypeInformation
+
+ + + +
+
Characteristic
+ +
+ + +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
partTypeInformation
+
+ + +
+
+ + + +
+
+

Entities

+
+ +
+
+

Part Sites Information as Planned Entity

+
+
+ Describes the ID, function and validity date of a site for the associated part in the AsPlanned context. +
+ +
+

Properties

+
+
+ +
+
Catena-X site identifier
+
+ +The identifier of the site according to Catena-X BPDM. The catenaXsiteId must be a valid Catena-X BPN. The BPN is a unique, unchangeable identifier for Business Partners / company locations from foundation to closure, regardless of the different business relationships / structures between or within the Business Partners or company locations. + +
+
Name
+
catenaXsiteId
+
+ + + +
+
Characteristic
+
+
+
+
+ Reference +
+
    +
  • https://catena-x.net/fileadmin/user_upload/Standard-Bibliothek/Update_PDF_Maerz/5_BPDM/CX_-_0010_BUSINESS_PARTNER_NUMBER_PlatformCapabilityBPDM_v_1.0.1.pdf
  • +
+
+
+
+ +
+
+
+ +
+
Example
+
BPNS1234567890ZZ
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
catenaXsiteId
+
+ + +
+
+ +
+
Function
+
+ +The function of the site in relation to the part(i.e. the activity within the value chain of the part that is performed at the site) + +
+
Name
+
function
+
+ + + +
+
Characteristic
+
+
+
+
Enumeration
+
+
+
Values
+
+
+
+
    +
  • production
  • +
  • warehouse
  • +
  • spare part warehouse
  • +
+
+
+ +
+
+
+ +
+
Example
+
production
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
function
+
+ + +
+
+ +
+
Function valid from
+
+ +Timestamp, from when the site has the specified function for the given part + +
+
Name
+
functionValidFrom
+
+ + + +
+
Characteristic
+ +
+ + +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
functionValidFrom
+
+ + +
+
+ +
+
Function valid until
+
+ +Timestamp, until when the site has the specified function for the given part + +
+
Name
+
functionValidUntil
+
+ + + +
+
Characteristic
+ +
+ + +
+
Optional
+
+ Yes
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
functionValidUntil
+
+ + +
+
+
+
+

Part Type Information Entity

+
+
+ Encapsulation for data related to the part type +
+ +
+

Properties

+
+
+ +
+
Manufacturer Part ID
+
+ +Part ID as assigned by the manufacturer of the part. The Part ID identifies the part in the manufacturer`s dataspace. The Part ID references a specific version of a part. The version number must be included in the Part ID if it is available. + +The Part ID does not reference a specific instance of a part and must not be confused with the serial number. + +
+
Name
+
manufacturerPartId
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
123-0.740-3434-A
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
manufacturerPartId
+
+ + +
+
+ +
+
Name at manufacturer
+
+ +Name of the part as assigned by the manufacturer + +
+
Name
+
nameAtManufacturer
+
+ + + +
+
Characteristic
+ +
+ +
+
Example
+
Mirror left
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
nameAtManufacturer
+
+ + +
+
+ +
+
Classification
+
+ +The classification of the part type according to STEP standard definition + +
+
Name
+
classification
+
+ + + +
+
Characteristic
+
+
+
+
Enumeration
+
+
+
Values
+
+
+
+
    +
  • product
  • +
  • raw material
  • +
  • software
  • +
  • assembly
  • +
  • tool
  • +
  • component
  • +
+
+
+
+
+ Reference +
+
    +
  • http://private.pdm-if.org/web/pdm-if/recommended-practices1
  • +
+
+
+
+ +
+
+
+ +
+
Example
+
software
+
+ +
+
Optional
+
+ No
+
+ +
+
In payload
+
+ Yes
+
+ +
+
Payload key
+
classification
+
+ + +
+
+
+ +
+ Third party licenses + +
+ +
+ + +
+ + + \ No newline at end of file diff --git a/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.json b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.json new file mode 100644 index 000000000..fab03069b --- /dev/null +++ b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.json @@ -0,0 +1,14 @@ +{ + "partTypeInformation" : { + "classification" : "product", + "manufacturerPartId" : "123-0.740-3434-A", + "nameAtManufacturer" : "Mirror left" + }, + "partSitesInformationAsPlanned" : [ { + "functionValidUntil" : "2023-12-11T06:14:55.183Z", + "catenaXsiteId" : "BPNS1234567890ZZ", + "function" : "production", + "functionValidFrom" : "2023-12-11T06:14:55.181Z" + } ], + "catenaXId" : "580d3adf-1981-44a0-a214-13d6ceed9379" +} \ No newline at end of file diff --git a/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.yml b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.yml new file mode 100644 index 000000000..74d5097b6 --- /dev/null +++ b/io.catenax.part_as_planned/2.0.0/gen/PartAsPlanned.yml @@ -0,0 +1,252 @@ +--- +openapi: 3.0.3 +info: + title: Part as Planned + version: v2 +servers: +- url: catenax.io/api/v2 + variables: + api-version: + default: v2 +paths: + /{tenant-id}/part-as-planned: + get: + tags: + - PartAsPlanned + operationId: getPartAsPlanned + parameters: + - name: tenant-id + in: path + description: The ID of the tenant owning the requested Twin. + required: true + schema: + type: string + format: uuid + - name: start + in: query + description: Starting index which is starting by 0 + required: false + schema: + type: number + - name: count + in: query + description: Number of items to return per call. + required: false + schema: + type: number + - name: totalItemCount + in: query + description: Flag that indicates that the total counts should be returned. + required: false + schema: + type: boolean + responses: + "200": + $ref: '#/components/responses/PartAsPlanned' + "401": + $ref: '#/components/responses/ClientError' + "402": + $ref: '#/components/responses/Unauthorized' + "403": + $ref: '#/components/responses/Forbidden' + "404": + $ref: '#/components/responses/NotFoundError' +components: + schemas: + ErrorResponse: + type: object + required: + - error + properties: + error: + $ref: '#/components/schemas/Error' + Error: + type: object + required: + - details + properties: + message: + type: string + minLength: 1 + path: + type: string + minLength: 1 + details: + type: object + minLength: 1 + additionalProperties: + type: object + code: + type: string + nullable: true + PagingSchema: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/PartAsPlanned' + totalItems: + type: number + totalPages: + type: number + pageSize: + type: number + currentPage: + type: number + 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}$)" + urn_samm_io.catenax.part_as_planned_2.0.0_PartIdCharacteristic: + type: string + description: "The part ID is a multi-character string, usually assigned by an\ + \ ERP system" + urn_samm_io.catenax.part_as_planned_2.0.0_PartNameCharacteristic: + type: string + description: Part Name in string format from the respective system in the value + chain + urn_samm_io.catenax.part_as_planned_2.0.0_ClassificationEnumerationCharacteristic: + type: string + description: "A part type must be placed into one of the following classes:\ + \ 'component', 'product', 'software', ?assembly?, 'tool', or 'raw material'." + enum: + - product + - raw material + - software + - assembly + - tool + - component + urn_samm_io.catenax.part_as_planned_2.0.0_PartTypeInformationCharacteristic: + description: The characteristics of the part type + type: object + properties: + manufacturerPartId: + description: |- + Part ID as assigned by the manufacturer of the part. The Part ID identifies the part in the manufacturer`s dataspace. The Part ID references a specific version of a part. The version number must be included in the Part ID if it is available. + + The Part ID does not reference a specific instance of a part and must not be confused with the serial number. + $ref: '#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_PartIdCharacteristic' + nameAtManufacturer: + description: Name of the part as assigned by the manufacturer + $ref: '#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_PartNameCharacteristic' + classification: + description: The classification of the part type according to STEP standard + definition + $ref: '#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_ClassificationEnumerationCharacteristic' + required: + - manufacturerPartId + - nameAtManufacturer + - classification + urn_samm_io.catenax.shared.business_partner_number_1.0.0_BpnsCharacteristic: + type: string + description: "BPNS (Business Partner Number Site) represents a site which can\ + \ be a production plant. A site can also be e.g. an office or a warehouse.\ + \ An information related to a site is e.g. needed for reporting issues (How\ + \ many sites does e.g. Beispiel AG have?), status of operation (out of operations\ + \ due to environmental disaster), for certificates on site level (e.g. environment\ + \ certificates) or for internal regulations on site level, (e.g. security\ + \ topics, Corona rules,...). Several addresses (= BPNA with different streets\ + \ and different gates) can belong to one site. A BPNS should be always linked\ + \ to one BPNL via relationship 'belongs to legal entity'." + urn_samm_io.catenax.part_as_planned_2.0.0_FunctionCharacteristic: + type: string + description: Describes the characteristics of the function for a site related + to the respective part + enum: + - production + - warehouse + - spare part warehouse + urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Timestamp: + 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: Describes a Property which contains the date and time with an optional + timezone. + urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedEntity: + description: "Describes the ID, function and validity date of a site for the\ + \ associated part in the AsPlanned context." + type: object + properties: + catenaXsiteId: + description: "The identifier of the site according to Catena-X BPDM. The\ + \ catenaXsiteId must be a valid Catena-X BPN. The BPN is a unique, unchangeable\ + \ identifier for Business Partners / company locations from foundation\ + \ to closure, regardless of the different business relationships / structures\ + \ between or within the Business Partners or company locations." + $ref: '#/components/schemas/urn_samm_io.catenax.shared.business_partner_number_1.0.0_BpnsCharacteristic' + function: + description: The function of the site in relation to the part(i.e. the activity + within the value chain of the part that is performed at the site) + $ref: '#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_FunctionCharacteristic' + functionValidFrom: + description: "Timestamp, from when the site has the specified function for\ + \ the given part" + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Timestamp' + functionValidUntil: + description: "Timestamp, until when the site has the specified function\ + \ for the given part" + $ref: '#/components/schemas/urn_samm_org.eclipse.esmf.samm_characteristic_2.1.0_Timestamp' + required: + - catenaXsiteId + - function + urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedCharacteristic: + description: 'The characteristic of the part site information that represents + a set of possible site to a repective part. ' + type: array + items: + $ref: '#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedEntity' + uniqueItems: true + PartAsPlanned: + description: 'A Part as Planned represents an item in the Catena-X Bill of Material(BOM) + in As-Planned lifecycle status in a specific version. ' + type: object + properties: + catenaXId: + description: "The fully anonymous Catena-X ID of the serialized part, valid\ + \ for the Catena-X dataspace." + $ref: '#/components/schemas/urn_samm_io.catenax.shared.uuid_1.0.0_UuidV4Trait' + partTypeInformation: + description: The part type from which the serialized part has been instantiated + $ref: '#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_PartTypeInformationCharacteristic' + partSitesInformationAsPlanned: + description: "A site is a delimited geographical area where a legal entity\ + \ does business(geographical address with geo coordinates).A site always\ + \ has a primary physical address. It is possible that further physical\ + \ addresses are specified for the site. P.O. box details are only possible\ + \ in addition to the physical address. A site has a 1:n relation to addresses,\ + \ means at least 1 address is necessary and multiple addresses are possible." + $ref: '#/components/schemas/urn_samm_io.catenax.part_as_planned_2.0.0_partSitesInformationAsPlannedCharacteristic' + required: + - catenaXId + - partTypeInformation + responses: + Unauthorized: + description: The requesting user or client is not authenticated. + Forbidden: + description: The requesting user or client is not authorized to access resources + for the given tenant. + NotFoundError: + description: The requested Twin has not been found. + ClientError: + description: Payload or user input is invalid. See error details in the payload + for more. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + PartAsPlanned: + content: + application/json: + schema: + $ref: '#/components/schemas/PagingSchema' + description: The request was successful. + requestBodies: + PartAsPlanned: + content: + application/json: + schema: + $ref: '#/components/schemas/PartAsPlanned'