Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve #432 remove AASd-120: idShort also allowed for elements #458

Closed
wants to merge 3 commits into from

Conversation

BirgitBoss
Copy link
Collaborator

#432 remove AASd-120: idShort also allowed for elements within a SubmodelElementList

@BirgitBoss
Copy link
Collaborator Author

BirgitBoss commented Oct 27, 2024

see admin-shell-io/aas-specs-api#334 for impact on API: not yet resolved

For "MySubmodelElementCollection.MySubSubmodelElementList2[0][0]"
also to be clarfied: is it
MySubmodelElementCollection.MySubSubmodelElementList2.myFirstElement.anotherFirstElement
or

"MySubmodelElementCollection.MySubSubmodelElementList2[myFirstElement][anotherFirstElement]"

of an idShortPath notation to be returned in an JSON array.
For SubmodelElementLists the elements can be identified via its index or via its idShort.
For identification via idShort the submodel element's idShort
is separated by "." (dot) from top level down to child level.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there needs to be a final decision on handling with "." notation or via brackets

@BirgitBoss
Copy link
Collaborator Author

see #432 (comment). Also References need to be considered

@BirgitBoss BirgitBoss linked an issue Dec 12, 2024 that may be closed by this pull request
@BirgitBoss BirgitBoss requested a review from s-heppner December 13, 2024 09:32
# Conflicts:
#	documentation/IDTA-01001/modules/ROOT/pages/changelog.adoc
#	documentation/IDTA-01001/modules/ROOT/pages/includes/constraints.adoc
#	documentation/IDTA-01001/modules/ROOT/pages/mappings/encodings/idshortpath.adoc
#	documentation/IDTA-01001/modules/ROOT/pages/spec-metamodel/constraints.adoc
@BirgitBoss
Copy link
Collaborator Author

use no idShort in IdShortPath for SML #501 instead

@BirgitBoss BirgitBoss closed this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relax Constraint AASD-120 for SMT allow idShort in SML
2 participants