Skip to content
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

updates to context v2 #980

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ <h5>Workflow Definition</h5>
<pre class="js">
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "urn:uuid:3978344f-8596-4c3a-a978-8fcaba3903c5",
Expand Down Expand Up @@ -1126,7 +1126,7 @@ <h5>Workflow Instance</h5>
<pre class="js">
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "urn:uuid:3978344f-8596-4c3a-a978-8fcaba3903c5",
Expand Down Expand Up @@ -1193,7 +1193,7 @@ <h4>Presentation Replacement</h4>
<pre class="js">
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "urn:uuid:p2",
Expand All @@ -1219,7 +1219,7 @@ <h4>Presentation Replacement</h4>
"verifiableCredential": [
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "urn:uuid:c2",
Expand Down
10 changes: 5 additions & 5 deletions docs/openapi/components/schemas/common/LEIEntity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ properties:
$linkedData:
term: status
'@id': https://schema.org/status
expirationDate:
title: ExpirationDate
validUntil:
title: validUntil
type: string
$linkedData:
term: expirationDate
term: validUntil
'@id': https://schema.org/expires
'@type': http://www.w3.org/2001/XMLSchema#date
expirationReason:
Expand Down Expand Up @@ -127,7 +127,7 @@ required:
- legalForm
- associatedEntity
- status
- expirationDate
- validUntil
- expirationReason
- successorEntity
- otherAddresses
Expand Down Expand Up @@ -190,7 +190,7 @@ example: |-
"name": "Lemke LLC"
},
"status": "CONFIRMED",
"expirationDate": "2022-07-11",
"validUntil": "2022-07-11",
"expirationReason": "synergize cross-media eyeballs",
"successorEntity": {
"type": ["Organization"],
Expand Down
8 changes: 4 additions & 4 deletions docs/openapi/components/schemas/common/Template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ properties:
title: Schema
description: The JSON Schema.
type: object
uiSchema:
uiSchema:
title: UI Schema
description: Layout definitions
type: object
Expand All @@ -52,7 +52,7 @@ properties:
title: Organization
description: The organization creating the template.
$ref: ./Organization.yml
image:
image:
title: Image
description: Image which can serve as an icon for the template.
type: string
Expand Down Expand Up @@ -96,7 +96,7 @@ example: |-
"uiSchema": {},
"formData": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "https://example.com/credential/123",
Expand All @@ -122,7 +122,7 @@ example: |-
"linkRelationship": "millTestReportLink"
}
],
"issuanceDate": "2019-12-11T03:50:55Z",
"validFrom": "2019-12-11T03:50:55Z",
"issuer": {
"id": "did:web:organization.example.com",
"type": ["Organization"],
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi/components/schemas/common/WebLEI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ example: |-
"name": "Torphy Group"
},
"status": "IN PROGRESS",
"expirationDate": "2022-07-11",
"validUntil": "2022-07-11",
"expirationReason": "whiteboard visionary web-readiness",
"successorEntity": {
"type": ["Organization"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ required:
- '@context'
- id
- type
- issuanceDate
- validFrom
- issuer
- credentialSchema
- credentialSubject
Expand All @@ -21,11 +21,11 @@ properties:
type: array
readOnly: true
default:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://www.w3.org/ns/activitystreams
items:
- type: string
const: https://www.w3.org/2018/credentials/v1
const: https://www.w3.org/ns/credentials/v2
additionalItems:
type: string
enum:
Expand All @@ -47,7 +47,7 @@ properties:
id:
type: string
format: uri
issuanceDate:
validFrom:
type: string
format: date-time
issuer:
Expand Down Expand Up @@ -99,7 +99,7 @@ additionalProperties: false
example: |-
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://www.w3.org/ns/activitystreams"
],
"id": "urn:credential:1a667a1c-f761-4172-b110-5610ad25f50b",
Expand All @@ -111,7 +111,7 @@ example: |-
"id": "https://w3c-ccg.github.io/traceability-vocab/openapi/components/schemas/credentials/ActivityPubActorCard.yml",
"type": "JsonSchema"
},
"issuanceDate": "2023-05-21T15:39:57.944Z",
"validFrom": "2023-05-21T15:39:57.944Z",
"issuer": {
"id": "did:web:organization.example.com"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ properties:
type: array
readOnly: true
const:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
default:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
items:
type: string
enum:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
type:
type: array
Expand All @@ -43,10 +43,10 @@ properties:
type: string
description:
type: string
issuanceDate:
validFrom:
type: string
format: date-time
expirationDate:
validUntil:
type: string
format: date-time
issuer:
Expand Down Expand Up @@ -79,8 +79,8 @@ required:
- '@context'
- type
- id
- issuanceDate
- expirationDate
- validFrom
- validUntil
- issuer
- credentialSubject
example: |-
Expand All @@ -90,7 +90,7 @@ example: |-
"AgricultureActivityCredential"
],
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "urn:uuid:2385e117-8011-4n15-bcae-64e4e26856c8",
Expand All @@ -103,8 +103,8 @@ example: |-
"id": "did:web:organization.example.com",
"name": "Binky's Farm"
},
"issuanceDate": "2022-01-13T09:16:46Z",
"expirationDate": "2122-01-13T09:16:46Z",
"validFrom": "2022-01-13T09:16:46Z",
"validUntil": "2122-01-13T09:16:46Z",
"credentialSubject": {
"agActivities": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ properties:
type: array
readOnly: true
const:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
default:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
items:
type: string
enum:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
type:
type: array
Expand All @@ -41,7 +41,7 @@ properties:
id:
type: string
format: uri
issuanceDate:
validFrom:
type: string
format: date-time
issuer:
Expand Down Expand Up @@ -156,14 +156,14 @@ required:
- '@context'
- id
- type
- issuanceDate
- validFrom
- issuer
- credentialSubject
- credentialSchema
example: |-
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "urn:credential:5c375bcd-a6e1-4b36-90be-8fd33118669a",
Expand All @@ -175,7 +175,7 @@ example: |-
"id": "https://w3c-ccg.github.io/traceability-vocab/openapi/components/schemas/credentials/AgricultureCanineCard.yml",
"type": "OpenApiSpecificationValidator2022"
},
"issuanceDate": "2019-12-11T03:50:55Z",
"validFrom": "2019-12-11T03:50:55Z",
"issuer": {
"id": "did:web:organization.example.com",
"type": "Organization",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ properties:
type: array
readOnly: true
const:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
default:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
items:
type: string
enum:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
type:
type: array
Expand All @@ -50,7 +50,7 @@ properties:

issuer:
type: string
issuanceDate:
validFrom:
type: string
format: date-time
credentialSchema:
Expand All @@ -77,13 +77,13 @@ required:
- '@context'
- type
- id
- issuanceDate
- validFrom
- issuer
- credentialSubject
example: |-
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "https://acmebank.com/credentials/1111111",
Expand All @@ -92,7 +92,7 @@ example: |-
"BankAccountCredential"
],
"issuer": "urn:uuid:11111111-1111-1111-1111-111111111111",
"issuanceDate": "2022-04-11T16:36:24Z",
"validFrom": "2022-04-11T16:36:24Z",
"credentialSubject": {
"type": [
"BankAccount"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ properties:
type: array
readOnly: true
const:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
default:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
items:
type: string
enum:
- https://www.w3.org/2018/credentials/v1
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/traceability/v1
type:
type: array
Expand All @@ -50,10 +50,10 @@ properties:
id:
type: string
format: uri
issuanceDate:
validFrom:
type: string
format: date-time
expirationDate:
validUntil:
type: string
format: date-time
issuer:
Expand Down Expand Up @@ -82,21 +82,21 @@ required:
- '@context'
- type
- id
- issuanceDate
- validFrom
- issuer
- credentialSubject
example: |-
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/traceability/v1"
],
"id": "https://example.com/credential/123",
"type": [
"VerifiableCredential",
"BillOfLadingCredential"
],
"issuanceDate": "2019-12-11T03:50:55Z",
"validFrom": "2019-12-11T03:50:55Z",
"issuer": {
"type": [
"Organization"
Expand Down
Loading
Loading