Skip to content

Commit

Permalink
Merge pull request #2 from tanweersalah/feature-recycling-strategy
Browse files Browse the repository at this point in the history
merged recycling strategy 3.0.0
  • Loading branch information
tanweersalah authored Mar 7, 2024
2 parents 0c2e52b + f9b565e commit 8ad86f6
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
#######################################################################
# Copyright (c) 2023, 2024 SAP SE
# Copyright (c) 2023, 2024 Bayerische Motoren Werke Aktiengesellschaft
# Copyright (c) 2023, 2024 LRP Autorecycling Leipzig GmbH
# Copyright (c) 2023, 2024 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
# Copyright (c) 2023, 2024 ZF Friedrichshafen AG
# Copyright (c) 2023, 2024 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.1.0#> .
@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.1.0#> .
@prefix samm-e: <urn:samm:org.eclipse.esmf.samm:entity:2.1.0#> .
@prefix unit: <urn:samm:org.eclipse.esmf.samm:unit:2.1.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:3.0.0#> .
@prefix ext-number2: <urn:samm:io.catenax.shared.business_partner_number:2.0.0#> .
@prefix ext-uuid2: <urn:samm:io.catenax.shared.uuid:2.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 ;
samm:description "This property represents the moment when something stops being used and officially begins a new life. It marks the end of its old life and the start of a new one."@en ;
samm:characteristic :RecyclingStrategyCertificateCharacteristic .

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

:RecyclingStrategyCertificateEntity a samm:Entity ;
samm:preferredName "Recycling Strategy Certificate"@en ;
samm:description "Encapsulates the recycling strategy certificate relevant attributes."@en ;
samm:properties ( :supplier :issueDate [ samm:property :catenaXIdPreviousLife; samm:optional true ] :catenaXId [ samm:property :articleNumber; samm:optional true ] :revocationDate [ samm:property :van; samm:optional true ] :originalEquipmentNumber [ samm:property :vehicleCatenaXId; samm:optional true ] ) .

:supplier a samm:Property ;
samm:preferredName "Supplier"@en ;
samm:description "BPN of the business partner who creates this certificate"@en ;
samm:characteristic ext-number2: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-uuid2: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-uuid2: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" .

:revocationDate a samm:Property ;
samm:preferredName "Revocation Date"@en ;
samm:description "The date when the certificate is revoked by the issuer. This only happens in exceptional cases when an asset has been marked as reused by error or any other error is made in the issuance of the certificate. Certificates may be revoked up to 7 working days after they have been issued."@en ;
samm:characteristic :Date ;
samm:exampleValue "2024-01-01"^^xsd:date .

:van a samm:Property ;
samm:preferredName "VAN"@en ;
samm:description "Vehicle Anonymized Number of vehicle of which this component has been dismantled."@en ;
samm:characteristic samm-c:Text .

:originalEquipmentNumber a samm:Property ;
samm:preferredName "Original Equipment Number"@en ;
samm:description "Original Equipment Number"@en ;
samm:characteristic samm-c:Text ;
samm:exampleValue "736 49 28 - 02" .

:vehicleCatenaXId a samm:Property ;
samm:preferredName "Vehicle Catena X ID"@en ;
samm:description "Catena X ID of the Vehicle from which this component has been dismantled."@en ;
samm:characteristic ext-uuid2:UuidV4Trait ;
samm:exampleValue "urn:uuid:055c1128-0375-47c8-98de-7cf802c3241d" .

:Date a samm:Characteristic ;
samm:preferredName "Date"@en ;
samm:description "Describes a Property which contains the date."@en ;
samm:dataType xsd:date .
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "status" : "release"}
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,27 @@ All notable changes to this model will be documented in this file.

## [Unreleased]

## [3.0.0] - 2024-03-04

### Changed
- Update based on shared aspect "uuid"
- Update based on shared aspect "business partner number"
- Renamed "issuer" to "supplier"
- Changed VIN to VAN (optional)
- made article number optional
- made catena x id previous life optional
- Renamed OE Number to Original Equipment Number

### Added
- new features: Revocation Date
- new features: (Optional) Vehicle Catena X ID

### Removed


## [2.0.0] - 2023-11-07
### Added
- Upgarde from BAMM model to SAMM model
- Upgrade from BAMM model to SAMM model
- new features: Article Number, VIN, OE number

### Changed
Expand Down

0 comments on commit 8ad86f6

Please sign in to comment.