I hope you're having a great week!
I want to share the scenario and the validation failure when we design AAS. Your suggestion would be helpful to correct it.
AASX Version - aasx-package-explorer.2022-05-10
We have introduced DataSpecification for the properties in AAS. On completing the AAS design when we perform “Check, validate and fix..”, we are seeing various errors which can’t be corrected using “Fix Issue!”.
The common errors are
1] XML: 293, 14: The element 'submodelElementCollection' in namespace '
http://www.admin-shell.io/aas/2/0' has invalid child element 'ordered' in namespace '
http://www.admin-shell.io/aas/2/0'. List of possible elements expected: 'embeddedDataSpecification, value' in namespace '
http://www.admin-shell.io/aas/2/0'.
2] XML: 1385, 28: The 'type' attribute is invalid - The value '' is invalid according to its datatype 'String' - The Enumeration constraint failed.
3] XML: 1647, 44: The '
http://www.admin-shell.io/IEC61360/2/0:dataType' element is invalid - The value 'INTEGER_MEASURE' is invalid according to its datatype '
http://www.admin-shell.io/IEC61360/2/0:dataTypeIEC61360_t' - The Enumeration constraint failed.
4] JSON: 2750,3: ArrayItemNotValid: #/conceptDescriptions[1] { NotAllOf: #/conceptDescriptions[1] { } { ArrayItemNotValid: #/conceptDescriptions[1].embeddedDataSpecifications[0] { PropertyRequired: #/conceptDescriptions[1].embeddedDataSpecifications[0].dataSpecificationContent } } { } }