-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single level usage as planned 1.1.0 #102
Merged
bs-jokri
merged 9 commits into
eclipse-tractusx:main
from
BenediktMuellerIML:Single-level-usage-as-planned-1.1.0
Mar 27, 2023
+162
−0
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ed72c81
Create metadata.json
BenediktMuellerIML 6178449
Create SingleLevelUsageAsPlanned.ttl
BenediktMuellerIML 1381b40
Update SingleLevelUsageAsPlanned.ttl
BenediktMuellerIML 04ae366
Merge branch 'eclipse-tractusx:main' into Single-level-usage-as-plann…
BenediktMuellerIML 6b871c2
Update RELEASE_NOTES.md
BenediktMuellerIML de3e527
Merge branch 'eclipse-tractusx:main' into Single-level-usage-as-plann…
BenediktMuellerIML 84c4af2
Merge branch 'eclipse-tractusx:main' into Single-level-usage-as-plann…
BenediktMuellerIML 5b2b387
fixed MS2 findings (Descriptions, preferred names and typos)
BenediktMuellerIML b084fb9
Updated header copyright to 2023
BenediktMuellerIML File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
148 changes: 148 additions & 0 deletions
148
io.catenax.single_level_usage_as_planned/1.1.0/SingleLevelUsageAsPlanned.ttl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
####################################################################### | ||
# Copyright (c) 2022 BASF SE | ||
# Copyright (c) 2022 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) | ||
# Copyright (c) 2022 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. (represented by Fraunhofer ISST & Fraunhofer IML) | ||
# Copyright (c) 2022 German Edge Cloud GmbH & Co. KG | ||
# Copyright (c) 2022 Henkel AG & Co. KGaA | ||
# Copyright (c) 2022 Mercedes Benz AG | ||
# Copyright (c) 2022 Robert Bosch Manufacturing Solutions GmbH | ||
# Copyright (c) 2022 SAP SE | ||
# Copyright (c) 2022 Siemens AG | ||
# Copyright (c) 2022 T-Systems International GmbH | ||
# Copyright (c) 2022 ZF Friedrichshafen AG | ||
# Copyright (c) 2022 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This work is made available under the terms of the | ||
# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, | ||
# which is available at | ||
# https://creativecommons.org/licenses/by/4.0/legalcode. | ||
# | ||
# SPDX-License-Identifier: CC-BY-4.0 | ||
####################################################################### | ||
|
||
@prefix bamm: <urn:bamm:io.openmanufacturing:meta-model:2.0.0#>. | ||
@prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:2.0.0#>. | ||
@prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:2.0.0#>. | ||
@prefix unit: <urn:bamm:io.openmanufacturing:unit:2.0.0#>. | ||
@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:bamm:io.catenax.single_level_usage_as_planned:1.1.0#>. | ||
|
||
:SingleLevelUsageAsPlanned a bamm:Aspect; | ||
bamm:preferredName "Single Level Usage as Planned"@en; | ||
bamm:description "The aspect provides the information in which parent part(s)/product(s) the given item is assembled in. This could be a 1:1 relationship in terms of a e.g. a brake component or 1:n for e.g. coatings. The given item as well as the parent item must refer to an object from as-planned lifecycle phase.\nIf multiple versions of parent parts exist that the child part can be assembled into, all versions of the parent part are included in the usage list."@en; | ||
bamm:properties (:catenaXId :parentParts); | ||
bamm:operations (); | ||
bamm:events (). | ||
:catenaXId a bamm:Property; | ||
bamm:preferredName "Catena-X Identifier"@en; | ||
bamm:description "The Catena-X ID of the given part (e.g. the assembly), valid for the Catena-X dataspace."@en; | ||
bamm:characteristic :CatenaXIdTraitCharacteristic; | ||
bamm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d". | ||
:parentParts a bamm:Property; | ||
bamm:preferredName "Parent Parts"@en; | ||
bamm:description "Set of parent parts, in which the given child object is assembled in (one structural level up)."@en; | ||
bamm:characteristic :SetOfParentPartsCharacteristic. | ||
:CatenaXIdTraitCharacteristic a bamm-c:Trait; | ||
bamm:preferredName "Catena-X ID Trait Characteristic"@en; | ||
bamm:description "Trait to ensure UUID v4 data format"@en; | ||
bamm-c:baseCharacteristic :Uuidv4Characteristic; | ||
bamm-c:constraint :Uuidv4RegularExpression. | ||
:SetOfParentPartsCharacteristic a bamm-c:Set; | ||
bamm:preferredName "Set of Parent Parts"@en; | ||
bamm:description "Set of parent parts the given child object is assembled in (one structural level up)."@en; | ||
bamm:dataType :ParentData. | ||
:Uuidv4Characteristic a bamm:Characteristic; | ||
bamm:preferredName "UUID v4"@en; | ||
bamm:description "A version 4 UUID is a universally unique identifier that is generated using random 32 hexadecimal characters."@en; | ||
bamm:dataType xsd:string; | ||
bamm:see <https://datatracker.ietf.org/doc/html/rfc4122>. | ||
:Uuidv4RegularExpression a bamm-c:RegularExpressionConstraint; | ||
bamm:preferredName "Catena-X ID Regular Expression"@en; | ||
bamm: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."@en; | ||
bamm:see <https://datatracker.ietf.org/doc/html/rfc4122>; | ||
bamm:value "(^[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}$)". | ||
:ParentData a bamm:Entity; | ||
bamm:preferredName "Parent Data"@en; | ||
bamm:description "Catena-X ID and meta data of the parent part."@en; | ||
bamm:properties (:createdOn :quantity [ | ||
bamm:property :lastModifiedOn; | ||
bamm:optional "true"^^xsd:boolean | ||
] :parentCatenaXId [ | ||
bamm:property :validityPeriod; | ||
bamm:optional "true"^^xsd:boolean | ||
]). | ||
:parentCatenaXId a bamm:Property; | ||
bamm:preferredName "Catena-X Parent ID"@en; | ||
bamm:description "The Catena-X ID of the parent object, into which the given child object is assembled in."@en; | ||
bamm:characteristic :CatenaXIdTraitCharacteristic; | ||
bamm:exampleValue "urn:uuid:43364d8c-cf38-423c-b907-6e68e0f0fe2f". | ||
:createdOn a bamm:Property; | ||
bamm:preferredName "Created on"@en; | ||
bamm:description "Timestamp when the relation between the parent part and the child part was created."@en; | ||
bamm:characteristic bamm-c:Timestamp; | ||
bamm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime. | ||
:quantity a bamm:Property; | ||
bamm:preferredName "Quantity"@en; | ||
bamm:description "Quantity of which the child part is assembled into the parent part."@en; | ||
bamm:characteristic :QuantityCharacteristic. | ||
:lastModifiedOn a bamm:Property; | ||
bamm:preferredName "Last Modified on "@en; | ||
bamm:description "Timestamp when the assembly relationship between parent part and child part was last modified."@en; | ||
bamm:characteristic bamm-c:Timestamp; | ||
bamm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime. | ||
:validityPeriod a bamm:Property; | ||
bamm:preferredName "Validity Period"@en; | ||
bamm:description "The period of time during which the parent-child relation is valid. This relates to whether a child part can be built into the parent part at a given time.\nIf no validity period is given the relation is considered valid at any point in time."@en; | ||
bamm:characteristic :ValidityPeriodCharacteristic. | ||
:QuantityCharacteristic a bamm-c:Quantifiable; | ||
bamm:preferredName "Quantity Characteristic"@en; | ||
bamm:description "Describes the quantity in which the child part is assembled in the parent object by providing a quantity value and the measurement unit in which the quantity is measured."@en; | ||
bamm:dataType :Quantity. | ||
:ValidityPeriodCharacteristic a bamm:Characteristic; | ||
bamm:preferredName "Validity Period Characteristic"@en; | ||
bamm:description "Characteristic for a validity period defined by an (optional) start and an (optional) end timestamp."@en; | ||
bamm:dataType :ValidityPeriodEntity. | ||
:Quantity a bamm:Entity; | ||
bamm:preferredName "Quantity"@en; | ||
bamm:description "Comprises the number of objects and the unit of measurement for the respective child objects"@en; | ||
bamm:properties (:quantityNumber :measurementUnit). | ||
:ValidityPeriodEntity a bamm:Entity; | ||
bamm:preferredName "Validity Period Entity"@en; | ||
bamm:description "If a validity period only has a start that means that the period is valid from the start date without a (yet) defined enddate and vice versa."@en; | ||
bamm:properties ([ | ||
bamm:property :validFrom; | ||
bamm:optional "true"^^xsd:boolean | ||
] [ | ||
bamm:property :validTo; | ||
bamm:optional "true"^^xsd:boolean | ||
]). | ||
:quantityNumber a bamm:Property; | ||
bamm:preferredName "Quantity Number"@en; | ||
bamm:description "The number of objects related to the measurement unit"@en; | ||
bamm:characteristic :NumberOfObjects; | ||
bamm:exampleValue "2.5"^^xsd:double. | ||
:measurementUnit a bamm:Property; | ||
bamm:preferredName "Measurement Unit"@en; | ||
bamm:description "Unit of measurement for the quantity of objects.\nIf possible, use units from the aspect meta model unit catalog, which is based on the UNECE Recommendation No. 20 \"Codes for Units of Measure used in International Trade\""@en; | ||
bamm:characteristic bamm-c:UnitReference; | ||
bamm:exampleValue "unit:litre"^^bamm:curie; | ||
bamm:see <https://github.com/eclipse-esmf/esmf-semantic-aspect-meta-model/blob/main/esmf-semantic-aspect-meta-model/src/main/resources/samm/unit/2.0.0/units.ttl>. | ||
:NumberOfObjects a bamm:Characteristic; | ||
bamm:preferredName "Number of Objects"@en; | ||
bamm:description "Quantifiable number of objects in reference to the measurementUnit"@en; | ||
bamm:dataType xsd:double. | ||
:validFrom a bamm:Property; | ||
bamm:preferredName "Valid from"@en; | ||
bamm:description "Start date of validity period"@en; | ||
bamm:characteristic bamm-c:Timestamp; | ||
bamm:exampleValue "2023-03-21T08:47:14.438+01:00"^^xsd:dateTime. | ||
:validTo a bamm:Property; | ||
bamm:preferredName "Valid to"@en; | ||
bamm:description "End date of validity period"@en; | ||
bamm:characteristic bamm-c:Timestamp; | ||
bamm:exampleValue "2024-08-02T09:00:00.000+01:00"^^xsd:dateTime. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ "status" : "release"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@catroest copyright updated