Open BirgitBoss opened 1 year ago
Hi,
let me recap the situation in this issue with the proposed solution.
Current Behavior:
samm:Aspect.urn -> aas:Submodel.id (not shown in the documentation)
samm:Aspect.urn -> aas:Submodel.semanticId (documented in https://eclipse-esmf.github.io/esmf-developer-guide/tooling-guide/java-aspect-tooling.html#mapping-aas)
Movement example
aas:Submodel.semanticId: <urn:samm:org.eclipse.examples:1.0.0#Movement>
aas:Submodel.id: <urn:samm:org.eclipse.examples:1.0.0#Movement>
Expectation: submodel id and semanticId are not identical, since one is an identifier of the submodel template, and one is of the semantic Aspect Model. Also, the semanticId is optional, so it is unusual to duplicate a mandatory thing. The usage of aspect urn as a semanticId fits better, because the semanticId should point to the external source.
Options:
Proposal:
By default, use 3. (samm replaced with aas) (todo: find best pattern with @atextor )
Allow user-defined parameter (1.) to define Submodel.id (which overwrites the default)
@BirgitBoss , could you let us know if this proposal is what you have in mind or if you would like something other than that?
I agree to the proposal in https://github.com/eclipse-esmf/esmf-sdk/issues/433#issuecomment-1830309897
By default, use 3. (samm replaced with aas)
Allow user-defined parameter (1.) to define Submodel.id (which overwrites the default)
Is your task related to a problem? Please describe. In the current implementation of the CLI generator SAMM 2 AAS the id of the SMT and the semanticID are identical. We probably should distinguish between the ID of the SMT and the semantic ID. i.e. We need to make a proposal how to generate the SMT ID based on a SAMM Semantic model.
`