You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In submodel_templates.py, there is a typo that contains a blank.
typo in class DigitalNameplate
manufacturer_product_root: Optional[LangString] = field(metadata={
"semantic_id": " 0173-1#02-AAU732#001",
})
Why are the uris of id and semanticId/keys/value in the submodel object different? I know that semanticId/keys/value is ultimately used, but I wonder why id uses idta and value uses zvei.
"id": "https://admin-shell.io/idta/SubmodelTemplate/DigitalNameplate/3/0",
"kind": "Template",
"semanticId": {
"type": "ExternalReference",
"keys": [
{
"type": "GlobalReference",
"value": "https://admin-shell.io/zvei/nameplate/2/0/Nameplate"
}
]
I think the detailed {path} that is displayed when the constriant AASd-120 violated error occurs is incorrect. Please check it.
Constraint AASd-120 violated: element 0 must not have an idShort @ /submodels/0/submodel_elements/18
Constraint AASd-120 violated: element 0 must not have an idShort @ /submodels/0/submodel_elements/19/value/3
The exact location I found to resolve the error is
submodels/0/submodel_elements/18/value/0/idShort
submodels/0/submodel_elements/19/value/3/value/idShort
The text was updated successfully, but these errors were encountered:
yulmijoa
changed the title
submodel_templates.py typo and some questions
submodel_templates.py typo / error path
Dec 17, 2024
manufacturer_product_root: Optional[LangString] = field(metadata={
"semantic_id": " 0173-1#02-AAU732#001",
})
"id": "https://admin-shell.io/idta/SubmodelTemplate/DigitalNameplate/3/0",
"kind": "Template",
"semanticId": {
"type": "ExternalReference",
"keys": [
{
"type": "GlobalReference",
"value": "https://admin-shell.io/zvei/nameplate/2/0/Nameplate"
}
]
Constraint AASd-120 violated: element 0 must not have an idShort @ /submodels/0/submodel_elements/18
Constraint AASd-120 violated: element 0 must not have an idShort @ /submodels/0/submodel_elements/19/value/3
submodels/0/submodel_elements/18/value/0/idShort
submodels/0/submodel_elements/19/value/3/value/idShort
The text was updated successfully, but these errors were encountered: