admin-shell-io / questions-and-answers

This repository aims for providing answers to often asked questions in the context of the Asset Administration Shell.
https://admin-shell-io.github.io/questions-and-answers/
Creative Commons Attribution 4.0 International
24 stars 6 forks source link

Template versions "Digital Nameplate" #72

Closed StenGruener closed 1 year ago

StenGruener commented 2 years ago

@vojanbe Wir haben eine AAS mit dem digitalen Typenschild und dafür das Template v1.0 und v1.1 benutzt. In der Instanz-AAS haben wir nun 2x das Typenschild mit der idShort „Nameplate“.

In der Nameplate-Teilmodell Spezifikation wird vorgeschrieben, dass die semanticID und idShort standardisiert ist. Ist es einerseits erlaubt, zwei Teilmodelle mit der gleichen idShort zu verwenden? Würde die API dann beide Teilmodelle zurückliefern, wenn ich ein GET submodels/nameplate aufrufe?

StenGruener commented 2 years ago

13.06.2022: @vojanbe

vojanbe commented 2 years ago

In the current API specification AAS Part 2 V1.0RC02 the unique Submodel Id is expected for a GET/submodels/{submodelIdentifier} and no longer the Submodel IdShort.

https://app.swaggerhub.com/apis/Plattform_i40/Entire-API-Collection/V1.0RC02#/Submodel%20Repository%20API/GetSubmodelById

The problem is thus solved.

StenGruener commented 2 years ago

@StenGruener todo publish

StenGruener commented 1 year ago

Q: How to use different versions of the same submodel (e.g. different versions of the "digital nameplate") which share same IdShort? A: In the current API specification AAS Part 2 V1.0RC03 the unique Submodel Id is expected for a GET/submodels/{submodelIdentifier} and no longer the Submodel IdShort. This enables distinguishing between the particular submodel instance.