Skip to content
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

[Model Update]: RecyclingStrategyCertificate_v2.0.0 (SharedAspects) #420

Merged
merged 4 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
#######################################################################
# Copyright (c) 2023 SAP SE
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft
# Copyright (c) 2023 LRP Autorecycling Leipzig GmbH
# Copyright (c) 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
# Copyright (c) 2022, 2023 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 samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.0.0#> .
@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.0.0#> .
@prefix samm-e: <urn:samm:org.eclipse.esmf.samm:entity:2.0.0#> .
@prefix unit: <urn:samm:org.eclipse.esmf.samm: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:samm:io.catenax.shared.recycling_strategy_certificate:2.0.0#> .
@prefix ext-number: <urn:samm:io.catenax.shared.business_partner_number:1.0.0#> .
@prefix ext-uuid: <urn:samm:io.catenax.shared.uuid:1.0.0#> .

:RecyclingStrategyCertificate a samm:Aspect ;
samm:preferredName "Recycling strategy certificate"@en ;
samm:description "The certificate marks the point in time at which an asset irrevocably enters a new life. The eol (end of life) phase is completed and a new product life cycle is started."@en ;
samm:properties ( :recyclingStrategyCertificateProperty ) ;
samm:operations ( ) ;
samm:events ( ) .

:recyclingStrategyCertificateProperty a samm:Property ;
samm:preferredName "Recycling strategy certificate property"@en ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also add description

samm:description "Describes the property of Recycling strategy certificate"@en ;
samm:characteristic :RecyclingStrategyCertificateCharacteristic .

:RecyclingStrategyCertificateCharacteristic a samm:Characteristic ;
samm:preferredName "Recycling strategy certificate characteristic"@en ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also add description

samm:description "Describes the characteristic of Recycling strategy certificate"@en ;
samm:dataType :RecyclingStrategyCertificateEntity .

:RecyclingStrategyCertificateEntity a samm:Entity ;
samm:preferredName "Recycling Strategy Certificate"@en ;
samm:properties ( :issuer :issueDate :catenaXIdPreviousLife :catenaXId :articleNumber :vin :oeNumber ) .

:issuer a samm:Property ;
samm:preferredName "Issuer"@en ;
samm:description "BPN of the business partner who creates this certificate"@en ;
samm:characteristic ext-number:BpnlTrait ;
samm:exampleValue "BPNL8888888888XX" .

:issueDate a samm:Property ;
samm:preferredName "Issue date"@en ;
samm:description "This is the date when the certificate was issued."@en ;
samm:characteristic samm-c:Timestamp ;
samm:exampleValue "2022-02-03T14:48:54.709Z"^^xsd:dateTime .

:catenaXIdPreviousLife a samm:Property ;
samm:preferredName "Catena X ID previous life"@en ;
samm:description "Twin identification previous life"@en ;
samm:characteristic ext-uuid:UuidV4Trait ;
samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" .

:catenaXId a samm:Property ;
samm:preferredName "Catena-X Identifier"@en ;
samm:description "The Catena-X ID of the given part (e.g. the assembly), valid for the Catena-X dataspace."@en ;
samm:characteristic ext-uuid:UuidV4Trait ;
samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" .

:articleNumber a samm:Property ;
samm:preferredName "Article Number"@en ;
samm:description "Unique identification assigned by the authorized company for internal referencing"@en ;
samm:characteristic samm-c:Text ;
samm:exampleValue "1003467581006" .

:vin a samm:Property ;
samm:preferredName "VIN"@en ;
samm:description "Vehicle Identification Number. Remark: this should be deducted from a reference to the vehicle TWIN"@en ;
samm:characteristic samm-c:Text ;
samm:exampleValue "WBA41DU060S228332" .

:oeNumber a samm:Property ;
samm:preferredName "OE number"@en ;
samm:description "original equipment number"@en ;
samm:characteristic samm-c:Text ;
samm:exampleValue "736 49 28 - 02" .

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "status" : "release"}
10 changes: 10 additions & 0 deletions io.catenax.shared.recycling_strategy_certificate/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ All notable changes to this model will be documented in this file.

## [Unreleased]

## [2.0.0] - 2023-10-25
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change it to 7 nov

### Added
- Upgarde from BAMM model to SAMM model
- new features: Article Number, VIN, OE number

### Changed
- Using shared aspect (BusinessPartnerNumber, Uuid) instead of defining new attributes

### Removed

## [1.0.0] - 2023-02-08
### Added
- initial model
Expand Down