Skip to content

Commit

Permalink
Update SerialPart.ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
johannsvarela authored Feb 5, 2024
1 parent 48cca86 commit 60fc9a4
Showing 1 changed file with 42 additions and 30 deletions.
72 changes: 42 additions & 30 deletions io.catenax.serial_part/3.0.0/SerialPart.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix : <urn:samm:io.catenax.batch:3.0.0#>.
@prefix : <urn:samm:io.catenax.serial_part:3.0.0#>.
@prefix ext-built: <urn:samm:io.catenax.shared.part_site_information_as_built:2.0.0#>.
@prefix ext-classification: <urn:samm:io.catenax.shared.part_classification:1.0.0#>.
@prefix ext-uuid: <urn:samm:io.catenax.shared.uuid:2.0.0#>.

:Batch a samm:Aspect;
samm:preferredName "Batch"@en;
samm:description "A batch is a quantity of(semi-)finished products or(raw)material product that have been produced under the same circumstances(e.g. same production location), as specified groups or amounts, within a certain time frame. Every batch can differ in the number or amount of products. Different batches can have varied specifications, e.g., different colors. A batch is identified via a Batch ID."@en;
samm:properties( :catenaXId :localIdentifiers :manufacturingInformation :partTypeInformation);
samm:operations();
samm:events().
:SerialPart a samm:Aspect;
samm:preferredName "Serial Part"@en;
samm:description "A serialized part is an instantiation of a (design-)part, where the particular instantiation can be uniquely identified by means of a serial number or a similar identifier (e.g. VAN)or a combination of multiple identifiers (e.g. combination of manufacturer, date and number)"@en;
samm:properties (:catenaXId :localIdentifiers :manufacturingInformation :partTypeInformation);
samm:operations ();
samm:events ().

:catenaXId a samm:Property;
samm:preferredName "Catena-X Identifier"@en;
samm:description "The fully anonymous Catena-X ID of the batch, valid for the Catena-X dataspace."@en;
samm:preferredName "Catena-X ID"@en;
samm:description "The fully anonymous Catena-X ID of the serialized part, valid for the Catena-X dataspace."@en;
samm:characteristic ext-uuid:UuidV4Trait;
samm:exampleValue "580d3adf-1981-44a0-a214-13d6ceed9379".
samm:exampleValue "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed9379".

:localIdentifiers a samm:Property;
samm:preferredName "Local Identifiers"@en;
Expand All @@ -60,12 +60,12 @@

:partTypeInformation a samm:Property;
samm:preferredName "Part Type Information"@en;
samm:description "The part type of which the batch has been instantiated of."@en;
samm:description "The part type from which the serialized part has been instantiated"@en;
samm:characteristic :PartTypeInformationCharacteristic.

:LocalIdentifierCharacteristic a samm-c:Set;
samm:preferredName "Local Identifier Characteristic"@en;
samm:description "A batch may have multiple attributes, which uniquely identify that batch in a specific dataspace(e.g. the manufacturer`s dataspace)"@en;
samm:description "A single serialized part may have multiple attributes, that uniquely identify a that part in a specific dataspace (e.g. the manufacturer`s dataspace)"@en;
samm:dataType :KeyValueList.

:ManufacturingCharacteristic a samm:Characteristic;
Expand All @@ -81,34 +81,34 @@
:KeyValueList a samm:Entity;
samm:preferredName "Key Value List"@en;
samm:description "A list of key value pairs for local identifiers, which are composed of a key and a corresponding value."@en;
samm:properties( :key :value).
samm:properties (:key :value).

:ManufacturingEntity a samm:Entity;
samm:preferredName "Manufacturing Entity"@en;
samm:description "Encapsulates the manufacturing relevant attributes"@en;
samm:properties( :date [ samm:property :country; samm:optional true ] [ samm:property ext-built:sites; samm:optional true ]).
samm:properties (:date [ samm:property :country; samm:optional true ] [ samm:property ext-built:sites; samm:optional true ]).

:PartTypeInformationEntity a samm:Entity;
samm:preferredName "Part Type Information Entity"@en;
samm:description "Encapsulation for data related to the part type"@en;
samm:properties( :manufacturerPartId :nameAtManufacturer [ samm:property ext-classification:partClassification; samm:optional true ]).
samm:properties (:manufacturerPartId [ samm:property :customerPartId; samm:optional true ] :nameAtManufacturer [ samm:property :nameAtCustomer; samm:optional true ] [ samm:property ext-classification:partClassification; samm:optional true ]).

:key a samm:Property;
samm:preferredName "Identifier Key"@en;
samm:description "The key of a local identifier."@en;
samm:description "The key of a local identifier. "@en;
samm:characteristic :KeyTrait;
samm:exampleValue "batchId".
samm:exampleValue "partInstanceId".

:value a samm:Property;
samm:preferredName "Identifier Value"@en;
samm:description "The value of an identifier."@en;
samm:characteristic :ValueCharacteristic;
samm:exampleValue "BID12345678".
samm:exampleValue "SN12345678".

:date a samm:Property;
samm:preferredName "Production Date"@en;
samm:description "Timestamp of the manufacturing date as the final step in production process(e.g. final quality check, ready-for-shipment event)"@en;
samm:characteristic :DateTrait;
samm:description "Timestamp of the manufacturing date as the final step in production process (e.g. final quality check, ready-for-shipment event)"@en;
samm:characteristic :DateTimeTrait;
samm:exampleValue "2022-02-04T14:48:54".

:country a samm:Property;
Expand All @@ -119,16 +119,28 @@

:manufacturerPartId a samm:Property;
samm:preferredName "Manufacturer Part ID"@en;
samm:description "Part ID as assigned by the manufacturer of the part. The Part ID identifies the part(as designed)in the manufacturer`s dataspace. The Part ID does not reference a specific instance of a part and thus should not be confused with the serial number or batch number."@en;
samm:description "Part ID as assigned by the manufacturer of the part. The Part ID identifies the part (as designed)in the manufacturer`s dataspace. The Part ID does not reference a specific instance of a part and thus should not be confused with the serial number."@en;
samm:characteristic :PartIdCharacteristic;
samm:exampleValue "123-0.740-3434-A".

:customerPartId a samm:Property;
samm:preferredName "Customer Part ID"@en;
samm:description "Part ID as assigned by the manufacturer of the part. The Part ID identifies the part (as designed)in the customer`s dataspace. The Part ID does not reference a specific instance of a part and thus should not be confused with the serial number."@en;
samm:characteristic :PartIdCharacteristic;
samm:exampleValue "PRT-12345".

:nameAtManufacturer a samm:Property;
samm:preferredName "Name at Manufacturer"@en;
samm:description "Name of the part as assigned by the manufacturer"@en;
samm:characteristic :PartNameCharacteristic;
samm:exampleValue "Mirror left".

:nameAtCustomer a samm:Property;
samm:preferredName "Name at Customer"@en;
samm:description "Name of the part as assigned by the customer"@en;
samm:characteristic :PartNameCharacteristic;
samm:exampleValue "side element A".

:KeyTrait a samm-c:Trait;
samm:preferredName "Key Trait"@en;
samm:description "Trait that ensures the usage of predefined keys."@en;
Expand All @@ -140,9 +152,9 @@
samm:description "The value of an identifier."@en;
samm:dataType xsd:string.

:DateTrait a samm-c:Trait;
samm:preferredName "Date Trait"@en;
samm:description "Trait to ensure regular expressions with different date formats."@en;
:DateTimeTrait a samm-c:Trait;
samm:preferredName "Date Time Trait"@en;
samm:description "Trait to ensure regular expressions with different date and time(zone)formats."@en;
samm-c:baseCharacteristic :DateTimeCharacteristic;
samm-c:constraint :DateTimeRegularExpression.

Expand All @@ -164,13 +176,13 @@

:KeyCharacteristic a samm:Characteristic;
samm:preferredName "Key Characteristic"@en;
samm:description "The key characteristic of a local identifier. A specific subset of keys is predefined. Custom keys are not allowed. Predefined keys:\n- \"manufacturerId\" - The Business Partner Number(BPN)of the manufacturer. Value: BPN-Nummer\n- \"batchId\" - The identifier of the batch, to which the serialzed part belongs"@en;
samm:description "The key characteristic of a local identifier. A specific subset of keys is predefined, but additionally any other custom key is allowed. Predefined keys (to be used when applicable):\n- \"manufacturerId\" - The Business Partner Number (BPN)of the manufacturer. Value: BPN-Nummer\n- \"partInstanceId\" - The identifier of the manufacturer for the serialized instance of the part, e.g. the serial number\n- \"batchId\" - The identifier of the batch, to which the serialzed part belongs\n- \"van\" - The anonymized vehicle identification number (VIN). Value: anonymized VIN according to OEM anonymization rules. Note: If the key \"van\" is available, \"partInstanceId\" must also be available and hold the identical value."@en;
samm:dataType xsd:string.

:KeyRegularExpression a samm-c:RegularExpressionConstraint;
samm:preferredName "Key Regular Expression"@en;
samm:description "Constraint that ensures that the predefined keys are used."@en;
samm:value "^(manufacturerId|batchId|customKey:\\w+)$".
samm:description "Constraint that ensures that the standard keys and custom key prefixes can be used."@en;
samm:value "^(manufacturerId|partInstanceId|batchId|van|customKey:\\w+)$".

:DateTimeCharacteristic a samm:Characteristic;
samm:preferredName "Date Time Characteristic"@en;
Expand All @@ -184,11 +196,11 @@

:CountryCodeCharacteristic a samm:Characteristic;
samm:preferredName "Country Code Characteristic"@en;
samm:description "ISO 3166-1 alpha-3 ? three-letter country codes"@en;
samm:description "ISO 3166-1 alpha-3 - three-letter country codes "@en;
samm:see <https://www.iso.org/iso-3166-country-codes.html>;
samm:dataType xsd:string.

:CountryCodeRegularExpression a samm-c:RegularExpressionConstraint;
samm:preferredName "Country Code Regular Expression"@en;
samm:description "Regular Expression that ensures a three-letter code"@en;
samm:value "^[A-Z]{3}$".
samm:description "Regular Expression that ensures a three-letter code "@en;
samm:value "^[A-Z][A-Z][A-Z]$".

0 comments on commit 60fc9a4

Please sign in to comment.