admin-shell-io / submodel-templates

Submodel Templates for AAS
Creative Commons Attribution 4.0 International
36 stars 14 forks source link

Digital Nameplate 2.0 dataTypes do not comply to specification #27

Open jh-isw opened 1 year ago

jh-isw commented 1 year ago

Explanation

The used value types inside the Digital Nameplate V2.0 are partially not compliant with the AAS specification, because they use data types that start with an upper case letter for basic types, e.g. String (but there are more).

Repro steps

Load the Sample Digital Nameplate into the AASX Package Explorer and click Menu "File" -> "Check, validate and fix .."

It will show many errors of Schema Violation "dataType does not match allowed enumeration values".

Solution

Rework the used value types. Other implementations are dependent on correct types. For example, Basyx off-the-shelf AAS server will exit with an exception on startup, telling that it can't find a valueType of String.