Skip to content

Commit

Permalink
Merge pull request #810 from Mavennet/chore/fix-hashlink-term
Browse files Browse the repository at this point in the history
Adds semantic description to hashlink
  • Loading branch information
nissimsan authored Jun 13, 2023
2 parents acab7cb + 21504f2 commit 4e19105
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion docs/openapi/components/schemas/common/CommissionEvent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ properties:
type: array
items:
type: string
format: url
$linkedData:
term: products
'@id': https://w3c-ccg.github.io/hashlink/#hl-url-params
'@id': https://schema.org/Product
additionalProperties: false
required:
- type
Expand Down
3 changes: 2 additions & 1 deletion docs/openapi/components/schemas/common/Event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ properties:
type: array
items:
type: string
format: url
$linkedData:
term: products
'@id': https://w3c-ccg.github.io/hashlink/#hl-url-params
'@id': https://schema.org/Product
additionalProperties: false
required:
- type
Expand Down
3 changes: 2 additions & 1 deletion docs/openapi/components/schemas/common/TransferEvent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ properties:
type: array
items:
type: string
format: url
$linkedData:
term: products
'@id': https://w3c-ccg.github.io/hashlink/#hl-url-params
'@id': https://schema.org/Product
actor:
title: Event Actors
description: >-
Expand Down
3 changes: 2 additions & 1 deletion docs/openapi/components/schemas/common/TransportEvent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ properties:
type: array
items:
type: string
format: url
$linkedData:
term: products
'@id': https://w3c-ccg.github.io/hashlink/#hl-url-params
'@id': https://schema.org/Product
deliveryMethod:
title: Delivery Method
description: The means of transportation used in delivering the shipment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ example: |-
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2023-04-12T00:18:55Z",
"created": "2023-06-13T15:12:32Z",
"verificationMethod": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U#z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..zxxS0U2j4iYy3R1g_fyaRiHDl8_eRQ3pkqSO6R3l3mcEZJPwM15DCK7q_SbNTwiWuu8GzmFuzngv83GF_9loDQ"
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..EX3t847rNLWCW6B15FJVS-LIWdXzFYmJ0sVxBuUcjW6jLckA9-qRcPfy2-102-fGetZ_dcehfpCym0M1YkxjBQ"
}
}
}

0 comments on commit 4e19105

Please sign in to comment.