Skip to content

Commit

Permalink
Merge pull request #320 from johannsvarela/software_information_1.0.0
Browse files Browse the repository at this point in the history
[New Model]: Software Information 1.0.0
  • Loading branch information
agg3fe authored Apr 11, 2024
2 parents 08abf10 + c8cec7b commit 88ac64e
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 0 deletions.
101 changes: 101 additions & 0 deletions io.catenax.software_information/1.0.0/SoftwareInformation.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
######################################################################
# Copyright (c) 2024 BASF SE
# Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (c) 2024 Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. (represented by Fraunhofer ISST & Fraunhofer IML)
# Copyright (c) 2024 German Edge Cloud GmbH & Co. KG
# Copyright (c) 2024 Henkel AG & Co. KGaA
# Copyright (c) 2024 Mercedes Benz AG
# Copyright (c) 2024 Robert Bosch Manufacturing Solutions GmbH
# Copyright (c) 2024 SAP SE
# Copyright (c) 2024 Siemens AG
# Copyright (c) 2024 T-Systems International GmbH
# Copyright (c) 2024 ZF Friedrichshafen AG
# Copyright (c) 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.software_information:1.0.0#>.
@prefix ext-uuid: <urn:samm:io.catenax.shared.uuid:2.0.0#>.

:SoftwareInformation a samm:Aspect;
samm:preferredName "Software Information"@en;
samm:description "The software information aspect model contains the essential information of all software components that have been implemented or flashed in an instantiated part (e.g. serialized part). "@en;
samm:properties (:catenaXId :softwareInformation);
samm:operations ();
samm:events ().

:catenaXId a samm:Property;
samm:preferredName "Catena-X ID"@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:454ffa8e-f88d-4ad1-be45-06981756aeb1".

:softwareInformation a samm:Property;
samm:preferredName "Software Information"@en;
samm:description "Describes one or more software of a unique serialized part with its name, version and modified date. Optionally, the software part number/ID and the BPNL of the modifying company can be provided."@en;
samm:characteristic :SetOfSoftwareCharacteristic.

:SetOfSoftwareCharacteristic a samm-c:Set;
samm:preferredName "Set of Software"@en;
samm:description "A set of data that can contain multiple pieces of software information, but never duplicates of the same software with the same version. However, if this model is provided, at least one entry must exist."@en;
samm:dataType :SoftwareData.

:SoftwareData a samm:Entity;
samm:preferredName "Software Data"@en;
samm:description "The Entity of the software information to additionally structure the set."@en;
samm:properties (:name :version [ samm:property :softwareId; samm:optional true ] :lastModifiedOn).

:name a samm:Property;
samm:preferredName "Name"@en;
samm:description "The name of the software for the corresponding instantiated part."@en;
samm:characteristic :NameCharacteristic;
samm:exampleValue "ECU Software XY12345".

:version a samm:Property;
samm:preferredName "Version"@en;
samm:description "The version of the software for the corresponding instantiated part."@en;
samm:characteristic :VersionCharacteristic;
samm:exampleValue "1.2.0".

:softwareId a samm:Property;
samm:preferredName "Software ID"@en;
samm:description "The ID (e.g. part number) of the software for the corresponding instantiated part."@en;
samm:characteristic :SoftwareIdCharacteristic;
samm:exampleValue "SW12345678".

:lastModifiedOn a samm:Property;
samm:preferredName "Last modified on"@en;
samm:description "The modified date when the software was installed or flashed on the corresponding instantiated part."@en;
samm:characteristic samm-c:Timestamp;
samm:exampleValue "2023-03-21T08:17:29.187+01:00"^^xsd:dateTime.

:NameCharacteristic a samm:Characteristic;
samm:preferredName "Name Characteristic"@en;
samm:description "The characteristic of the (software) name, that is defined as a String."@en;
samm:dataType xsd:string.

:VersionCharacteristic a samm:Characteristic;
samm:preferredName "Version Characteristic"@en;
samm:description "The characteristic of the (software) version, that is defined as a String."@en;
samm:dataType xsd:string.

:SoftwareIdCharacteristic a samm:Characteristic;
samm:preferredName "Software ID Characteristic"@en;
samm:description "The characteristic of the (software) ID, that is defined as a String."@en;
samm:dataType xsd:string.
1 change: 1 addition & 0 deletions io.catenax.software_information/1.0.0/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"status" : "release"}
7 changes: 7 additions & 0 deletions io.catenax.software_information/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

All notable changes to this model will be documented in this file.

## [1.0.0] 2024-04-08

- initial version of the aspect model for Software Information

0 comments on commit 88ac64e

Please sign in to comment.