gs1 / VC-Data-Model

Apache License 2.0
3 stars 1 forks source link

PartyDataCredential - Name Field #1

Closed tsnyder-gs1us closed 1 year ago

tsnyder-gs1us commented 1 year ago

The name property in the PartyDataCredential example requires an additional schema context. Is name a required property for a PartyDataCredential?

"@context": [ { "name": "https://schema.org/name" } ]

mgh128 commented 1 year ago

Looking through the code in that repository I don't see anything that appears to be a SHACL validation resource or even a JSON Schema validation resource, so it is currently unclear which properties are required / mandatory. That typically would not be expressed via the ontology resources.

KDean-GS1 commented 1 year ago

The PartyDataCredential has been rewritten as OrganizationDataCredential with an embedded gs1:Organization object. The examples have beed updated to use gs1:organizationName.