-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Model Update]: essIncident #572 #592
[Model Update]: essIncident #572 #592
Conversation
update changes to essIncident data model acc. to industry core
Validation Report for io.catenax.essincident/3.0.0/EssIncident.ttlInput model is valid |
Validation Report for io.catenax.essincident/3.0.0/EssIncident.ttlInput model is valid |
samm:dataType xsd:string ; | ||
samm-c:values ( "Child labour" "Forced labour" "Slavery" "Work safety" "Freedom of association" "Discrimination" "Minimum wage" "Environmental pollution" "Forced eviction" "Force by state security" "Usage of Mercury" "Usage of harmful chemicals" "Non-environmental friendly handling of waste" "Import and export of hazardous waste" ) . | ||
|
||
:IdTrait a samm-c:Trait ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can make use of shared aspect uuid here and dont need to define your own trait for uuidv4.
https://github.com/eclipse-tractusx/sldt-semantic-models/blob/main/io.catenax.shared.uuid/2.0.0/Uuid.ttl#L35
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check my comment
please check update, I added reference to UUID-characteristic |
Validation Report for io.catenax.essincident/3.0.0/EssIncident.ttlInput model is valid |
:incidentId a samm:Property ; | ||
samm:preferredName "Incident ID"@en ; | ||
samm:description "Unique identifier for an incident in the context of ESS (Environmental and Social Standards)"@en ; | ||
samm:characteristic ext-uuid:Uuidv4Characteristic ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want you can directly link trait instead of Characteristic. It will add the usage of constraint automatically at the same time.
example https://github.com/eclipse-tractusx/sldt-semantic-models/pull/600/files#diff-1c4db0c94a76620747c6f8dcc2656113dcb1aac2a932d9b964e6a514a4bb8824R43
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I linked shared trait (symbol T in aspect modeler) with my Property (symbol P in aspect modeler) and then tried to link the shared trait (symbol T in aspect modeler) with my Characteristic (symbol C in aspect modeler). Received error message "cannot connect external reference".
I could not open the model example itemstock 2.0.0 you linked above. Can you advise?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just add this as a characteristic in all three properties.
samm:characteristic ext-uuid:UuidV4Trait;
Let me know if you still face problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, I was ill thius week so I could not get back to you earlier. That was exactly what I did in the latest version of the model (link the characteristic to the properties), but I am not sure if this is what you expected when you asked to add the trait to the properties.
it looks like this: see screenshot
Let me know if this is not what you meant. Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the hint, got it now and committed the changes with referencec to trait.
Nevertheless the coding still shows @Prefix ext-uuid: urn:samm:io.catenax.shared.uuid:2.0.0# .
@birgitZF please let me know if you need any further help on this. |
Validation Report for io.catenax.essincident/3.0.0/EssIncident.ttlInput model is valid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
update date for version 3.0.0
Validation Report for io.catenax.essincident/3.0.0/EssIncident.ttlInput model is valid |
update changes to essIncident data model acc. to industry core
Description
[3.0.0] - 2024-02-19
Changed
Closes #572
MS2 Criteria
(to be filled out by PR reviewer)
DismantlerId
andDismantlerName
use an EntityDismantler
with the propertiesname
andid
or use a URN likeio.catenax.dismantler:0.0.1
)preferredName
anddescription
are not the samepreferredName
should be human readable and follow normal orthography (e.g., no camel case but normal word separation)MS3 Criteria
(to be filled out by semantic modeling team before merge to main-branch)