gs1 / VC-Data-Model

Apache License 2.0
3 stars 1 forks source link

Planogram context is 404 #5

Closed OR13 closed 1 year ago

OR13 commented 1 year ago

https://ref.gs1.org/gs1/vc/planogram-context/

is 404 in https://ref.gs1.org/gs1/vc/data-model/

  {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      "https://ref.gs1.org/gs1/vc/planogram-context/", // we are expecting this to resolve
      "https://w3id.org/vc/status-list/2021/v1"
    ],
    "id": "did:example:7b993cf5-379e-470e-9575-6f9fe75ab03b",
    "type": [
      "VerifiableCredential",
      "GS1PlanogramDataCredential"
    ],
    "issuer": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
    "issuanceDate": "2020-12-03T03:14:59Z",
    "credentialSubject": {
      "id": "https://id.gs1.org/01/07541234555551",
      "keyAuthorisation": "did:example:a60d21a8-485b-4f28-8510-c9b64325bab5",
      "dataCertification": [
        "https://www.gs1ca.org/credentials/certification/534a928a-704c-41b6-9e47-aee0a756fb79"
      ],
      "length": "24",
      "lengthUOM": "cm"
    },
    "credentialStatus": {
      "id": "https://www.egsolutionprovider.ca/status/7b993cf5-379e-470e-9575-6f9fe75ab03b",
      "type": "CredentialStatusList2021"
    },
    "proof": {...}
  }
OR13 commented 1 year ago

See also https://www.gs1.org/docs/gdsn/3.1/GS1_Package_Product_Measurement_Standard.pdf

KDean-GS1 commented 1 year ago

Planogram is an example for which I didn't develop a schema, as we don't really have a "planogram" object in the GS1 Web Vocabulary. That's why the resolution is failing. I will give some thought to creating one.

philarcher commented 1 year ago

https://ref.gs1.org/gs1/vc/planogram-context/ does indeed now resolve. Thanks @KDean-GS1 Tagging @OR13