Skip to content

Commit

Permalink
deploy: 7453e2a
Browse files Browse the repository at this point in the history
  • Loading branch information
nissimsan committed Nov 28, 2023
1 parent e3d8756 commit dfc03a1
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 63 deletions.
2 changes: 1 addition & 1 deletion credentials-with-issuer-dependent-terms.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
},
{
"type": "DigitalProductPassportCredential",
"count": 5
"count": 7
},
{
"type": "DeliveryStatementCredential",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,31 @@ properties:
- type
- name
- id
relatedLinks:
title: Related links
description: Additional Digital Product Passport material.
type: array
items:
type: object
properties:
type:
type: array
readOnly: true
const:
- LinkRole
default:
- LinkRole
items:
type: string
enum:
- LinkRole
target:
title: Link Target
type: string
format: uri
linkRelationship:
title: Link Relationship
type: string
required:
- type
- product
Expand Down Expand Up @@ -222,6 +247,15 @@ example: |-
"id": "did:web:byacre.com",
"url": "https://byacre.com"
}
}
},
"relatedLinks": [
{
"type": [
"LinkRole"
],
"target": "https://supplier.example.com/material/reuse-certificate.jsonld",
"linkRelationship": "digitalProductPassport"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -166,31 +166,31 @@ properties:
- type
- name
- id
relatedLinks:
title: Relted links
description: Links to online material including the Digital Product Passport and Control data.
type: array
items:
type: object
properties:
type:
type: array
readOnly: true
const:
- LinkRole
default:
- LinkRole
items:
type: string
enum:
- LinkRole
target:
title: Link Target
type: string
format: uri
linkRelationship:
title: Link Relationship
type: string
relatedLinks:
title: Relted links
description: Links to online material including the Digital Product Passport and Control data.
type: array
items:
type: object
properties:
type:
type: array
readOnly: true
const:
- LinkRole
default:
- LinkRole
items:
type: string
enum:
- LinkRole
target:
title: Link Target
type: string
format: uri
linkRelationship:
title: Link Relationship
type: string
required:
- type
- product
Expand Down
103 changes: 69 additions & 34 deletions openapi/openapi.bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -695494,6 +695494,41 @@
"name",
"id"
]
},
"relatedLinks": {
"title": "Related links",
"description": "Additional Digital Product Passport material.",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "array",
"readOnly": true,
"const": [
"LinkRole"
],
"default": [
"LinkRole"
],
"items": {
"type": "string",
"enum": [
"LinkRole"
]
}
},
"target": {
"title": "Link Target",
"type": "string",
"format": "uri"
},
"linkRelationship": {
"title": "Link Relationship",
"type": "string"
}
}
}
}
},
"required": [
Expand All @@ -695511,7 +695546,7 @@
"issuer",
"credentialSubject"
],
"example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"type\": [\n \"VerifiableCredential\",\n \"DigitalProductPassportCredential\"\n ],\n \"id\": \"urn:uuid:e6adbeb6-2n1s-4662-bd84-322d903ae735\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:web:byacre.com\",\n \"name\": \"byACRE\"\n },\n \"issuanceDate\": \"2023-06-23T10:00:00.000Z\",\n \"credentialSubject\": {\n \"type\": [\n \"DigitalProductPassport\"\n ],\n \"product\": {\n \"type\": [\n \"Product\"\n ],\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==\",\n \"name\": \"Nordic Pioneer\",\n \"description\": \"Versatile, light weight and eco-friendly rollator\",\n \"id\": \"https://www.byacre.com/nordic-pioneer/\",\n \"gtin\": \"https://id.gs1.org/01/012345678901112\",\n \"brand\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"byACRE\",\n \"id\": \"did:web:byacre.com\",\n \"url\": \"https://byacre.com\"\n }\n }\n }\n}"
"example": "{\n \"@context\": [\n \"https://www.w3.org/2018/credentials/v1\",\n \"https://w3id.org/traceability/v1\"\n ],\n \"type\": [\n \"VerifiableCredential\",\n \"DigitalProductPassportCredential\"\n ],\n \"id\": \"urn:uuid:e6adbeb6-2n1s-4662-bd84-322d903ae735\",\n \"issuer\": {\n \"type\": [\n \"Organization\"\n ],\n \"id\": \"did:web:byacre.com\",\n \"name\": \"byACRE\"\n },\n \"issuanceDate\": \"2023-06-23T10:00:00.000Z\",\n \"credentialSubject\": {\n \"type\": [\n \"DigitalProductPassport\"\n ],\n \"product\": {\n \"type\": [\n \"Product\"\n ],\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==\",\n \"name\": \"Nordic Pioneer\",\n \"description\": \"Versatile, light weight and eco-friendly rollator\",\n \"id\": \"https://www.byacre.com/nordic-pioneer/\",\n \"gtin\": \"https://id.gs1.org/01/012345678901112\",\n \"brand\": {\n \"type\": [\n \"Organization\"\n ],\n \"name\": \"byACRE\",\n \"id\": \"did:web:byacre.com\",\n \"url\": \"https://byacre.com\"\n }\n },\n \"relatedLinks\": [\n {\n \"type\": [\n \"LinkRole\"\n ],\n \"target\": \"https://supplier.example.com/material/reuse-certificate.jsonld\",\n \"linkRelationship\": \"digitalProductPassport\"\n }\n ]\n }\n}"
}
}
}
Expand Down Expand Up @@ -695752,40 +695787,40 @@
"name",
"id"
]
}
}
},
"relatedLinks": {
"title": "Relted links",
"description": "Links to online material including the Digital Product Passport and Control data.",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "array",
"readOnly": true,
"const": [
"LinkRole"
],
"default": [
"LinkRole"
],
"items": {
"type": "string",
"enum": [
"LinkRole"
]
},
"relatedLinks": {
"title": "Relted links",
"description": "Links to online material including the Digital Product Passport and Control data.",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "array",
"readOnly": true,
"const": [
"LinkRole"
],
"default": [
"LinkRole"
],
"items": {
"type": "string",
"enum": [
"LinkRole"
]
}
},
"target": {
"title": "Link Target",
"type": "string",
"format": "uri"
},
"linkRelationship": {
"title": "Link Relationship",
"type": "string"
}
}
},
"target": {
"title": "Link Target",
"type": "string",
"format": "uri"
},
"linkRelationship": {
"title": "Link Relationship",
"type": "string"
}
}
},
Expand Down
11 changes: 10 additions & 1 deletion sections/credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -2848,7 +2848,16 @@ <h2>Digital Product Passport Credential</h2>
"id": "did:web:byacre.com",
"url": "https://byacre.com"
}
}
},
"relatedLinks": [
{
"type": [
"LinkRole"
],
"target": "https://supplier.example.com/material/reuse-certificate.jsonld",
"linkRelationship": "digitalProductPassport"
}
]
}
}</pre>
</section>
Expand Down
2 changes: 1 addition & 1 deletion testsuite/jest-html-reporters-attach/result.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dfc03a1

Please sign in to comment.