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

[BUG] Submodel plugins triggered when SmenaticId modelType is set to "Submodel", but not to "GlobalReference" #231

Open
StenGruener opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@StenGruener
Copy link

Describe the bug
Submodel Plugin is triggered only of Semantic ID has "Submodel" set as the key, e.g., digital nameplate v2.

"modelType": "Submodel"

However I read the AAS-spec in such a way that for ExternalReferences model type should be "GlobalReference"

https://admin-shell-io.github.io/aas-specs-antora/IDTA-01001/v3.1/spec-metamodel/referencing.html#_constraints

Constraint AASd-122: For external references, i.e. References with Reference/type = ExternalReference, the value of Key/type of the first key of Reference/keys shall be one of GenericGloballyIdentifiables.

Maybe those lines should be set to GlobalReference or just ignoring modelType?

@StenGruener StenGruener added the bug Something isn't working label Jul 12, 2024
@juileetikekar
Copy link
Contributor

Hi @StenGruener,

Thank you for the issue.

We are in the internal discussion regarding the probable combination of ReferenceType and KeyType for a semanticId of an SMT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants