-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
In Nameplate.ttl the property conuntryOfOrigin indicates that it follows the DIN EN ISO 3166-1 alpha-2 codes. This means the code should be like: DE for Germany and VE for Venezuela. However, there is also a ISO 3166-1 alpha-3 that assigns 3 digits per country (e.g DEU for Germany and VEN for Venezuela).
And given that the datatype is text, this property gives us enough degree of freedom to produce errors when editing these codes.
We can overcome this issue using the constrains notation provided by SAMM. On the json side of the submodel template the required regex constrain should be also supported.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request