Skip to content

Commit 56cabab

Browse files
committed
updates to context v2
1 parent c84c53e commit 56cabab

File tree

96 files changed

+939
-886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+939
-886
lines changed

docs/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ <h5>Workflow Definition</h5>
10371037
<pre class="js">
10381038
{
10391039
"@context": [
1040-
"https://www.w3.org/2018/credentials/v1",
1040+
"https://www.w3.org/ns/credentials/v2",
10411041
"https://w3id.org/traceability/v1"
10421042
],
10431043
"id": "urn:uuid:3978344f-8596-4c3a-a978-8fcaba3903c5",
@@ -1126,7 +1126,7 @@ <h5>Workflow Instance</h5>
11261126
<pre class="js">
11271127
{
11281128
"@context": [
1129-
"https://www.w3.org/2018/credentials/v1",
1129+
"https://www.w3.org/ns/credentials/v2",
11301130
"https://w3id.org/traceability/v1"
11311131
],
11321132
"id": "urn:uuid:3978344f-8596-4c3a-a978-8fcaba3903c5",
@@ -1193,7 +1193,7 @@ <h4>Presentation Replacement</h4>
11931193
<pre class="js">
11941194
{
11951195
"@context": [
1196-
"https://www.w3.org/2018/credentials/v1",
1196+
"https://www.w3.org/ns/credentials/v2",
11971197
"https://w3id.org/traceability/v1"
11981198
],
11991199
"id": "urn:uuid:p2",
@@ -1219,7 +1219,7 @@ <h4>Presentation Replacement</h4>
12191219
"verifiableCredential": [
12201220
{
12211221
"@context": [
1222-
"https://www.w3.org/2018/credentials/v1",
1222+
"https://www.w3.org/ns/credentials/v2",
12231223
"https://w3id.org/traceability/v1"
12241224
],
12251225
"id": "urn:uuid:c2",

docs/openapi/components/schemas/common/LEIEntity.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ properties:
8686
$linkedData:
8787
term: status
8888
'@id': https://schema.org/status
89-
expirationDate:
90-
title: ExpirationDate
89+
validUntil:
90+
title: validUntil
9191
type: string
9292
$linkedData:
93-
term: expirationDate
93+
term: validUntil
9494
'@id': https://schema.org/expires
9595
'@type': http://www.w3.org/2001/XMLSchema#date
9696
expirationReason:
@@ -127,7 +127,7 @@ required:
127127
- legalForm
128128
- associatedEntity
129129
- status
130-
- expirationDate
130+
- validUntil
131131
- expirationReason
132132
- successorEntity
133133
- otherAddresses
@@ -190,7 +190,7 @@ example: |-
190190
"name": "Lemke LLC"
191191
},
192192
"status": "CONFIRMED",
193-
"expirationDate": "2022-07-11",
193+
"validUntil": "2022-07-11",
194194
"expirationReason": "synergize cross-media eyeballs",
195195
"successorEntity": {
196196
"type": ["Organization"],

docs/openapi/components/schemas/common/Template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ properties:
4040
title: Schema
4141
description: The JSON Schema.
4242
type: object
43-
uiSchema:
43+
uiSchema:
4444
title: UI Schema
4545
description: Layout definitions
4646
type: object
@@ -52,7 +52,7 @@ properties:
5252
title: Organization
5353
description: The organization creating the template.
5454
$ref: ./Organization.yml
55-
image:
55+
image:
5656
title: Image
5757
description: Image which can serve as an icon for the template.
5858
type: string
@@ -96,7 +96,7 @@ example: |-
9696
"uiSchema": {},
9797
"formData": {
9898
"@context": [
99-
"https://www.w3.org/2018/credentials/v1",
99+
"https://www.w3.org/ns/credentials/v2",
100100
"https://w3id.org/traceability/v1"
101101
],
102102
"id": "https://example.com/credential/123",
@@ -122,7 +122,7 @@ example: |-
122122
"linkRelationship": "millTestReportLink"
123123
}
124124
],
125-
"issuanceDate": "2019-12-11T03:50:55Z",
125+
"validFrom": "2019-12-11T03:50:55Z",
126126
"issuer": {
127127
"id": "did:web:organization.example.com",
128128
"type": ["Organization"],

docs/openapi/components/schemas/common/WebLEI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ example: |-
110110
"name": "Torphy Group"
111111
},
112112
"status": "IN PROGRESS",
113-
"expirationDate": "2022-07-11",
113+
"validUntil": "2022-07-11",
114114
"expirationReason": "whiteboard visionary web-readiness",
115115
"successorEntity": {
116116
"type": ["Organization"],

docs/openapi/components/schemas/credentials/ActivityPubActorCard.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ required:
1212
- '@context'
1313
- id
1414
- type
15-
- issuanceDate
15+
- validFrom
1616
- issuer
1717
- credentialSchema
1818
- credentialSubject
@@ -21,11 +21,11 @@ properties:
2121
type: array
2222
readOnly: true
2323
default:
24-
- https://www.w3.org/2018/credentials/v1
24+
- https://www.w3.org/ns/credentials/v2
2525
- https://www.w3.org/ns/activitystreams
2626
items:
2727
- type: string
28-
const: https://www.w3.org/2018/credentials/v1
28+
const: https://www.w3.org/ns/credentials/v2
2929
additionalItems:
3030
type: string
3131
enum:
@@ -47,7 +47,7 @@ properties:
4747
id:
4848
type: string
4949
format: uri
50-
issuanceDate:
50+
validFrom:
5151
type: string
5252
format: date-time
5353
issuer:
@@ -99,7 +99,7 @@ additionalProperties: false
9999
example: |-
100100
{
101101
"@context": [
102-
"https://www.w3.org/2018/credentials/v1",
102+
"https://www.w3.org/ns/credentials/v2",
103103
"https://www.w3.org/ns/activitystreams"
104104
],
105105
"id": "urn:credential:1a667a1c-f761-4172-b110-5610ad25f50b",
@@ -111,7 +111,7 @@ example: |-
111111
"id": "https://w3c-ccg.github.io/traceability-vocab/openapi/components/schemas/credentials/ActivityPubActorCard.yml",
112112
"type": "JsonSchema"
113113
},
114-
"issuanceDate": "2023-05-21T15:39:57.944Z",
114+
"validFrom": "2023-05-21T15:39:57.944Z",
115115
"issuer": {
116116
"id": "did:web:organization.example.com"
117117
},

docs/openapi/components/schemas/credentials/AgricultureActivityCredential.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ properties:
1313
type: array
1414
readOnly: true
1515
const:
16-
- https://www.w3.org/2018/credentials/v1
16+
- https://www.w3.org/ns/credentials/v2
1717
- https://w3id.org/traceability/v1
1818
default:
19-
- https://www.w3.org/2018/credentials/v1
19+
- https://www.w3.org/ns/credentials/v2
2020
- https://w3id.org/traceability/v1
2121
items:
2222
type: string
2323
enum:
24-
- https://www.w3.org/2018/credentials/v1
24+
- https://www.w3.org/ns/credentials/v2
2525
- https://w3id.org/traceability/v1
2626
type:
2727
type: array
@@ -43,10 +43,10 @@ properties:
4343
type: string
4444
description:
4545
type: string
46-
issuanceDate:
46+
validFrom:
4747
type: string
4848
format: date-time
49-
expirationDate:
49+
validUntil:
5050
type: string
5151
format: date-time
5252
issuer:
@@ -79,8 +79,8 @@ required:
7979
- '@context'
8080
- type
8181
- id
82-
- issuanceDate
83-
- expirationDate
82+
- validFrom
83+
- validUntil
8484
- issuer
8585
- credentialSubject
8686
example: |-
@@ -90,7 +90,7 @@ example: |-
9090
"AgricultureActivityCredential"
9191
],
9292
"@context": [
93-
"https://www.w3.org/2018/credentials/v1",
93+
"https://www.w3.org/ns/credentials/v2",
9494
"https://w3id.org/traceability/v1"
9595
],
9696
"id": "urn:uuid:2385e117-8011-4n15-bcae-64e4e26856c8",
@@ -103,8 +103,8 @@ example: |-
103103
"id": "did:web:organization.example.com",
104104
"name": "Binky's Farm"
105105
},
106-
"issuanceDate": "2022-01-13T09:16:46Z",
107-
"expirationDate": "2122-01-13T09:16:46Z",
106+
"validFrom": "2022-01-13T09:16:46Z",
107+
"validUntil": "2122-01-13T09:16:46Z",
108108
"credentialSubject": {
109109
"agActivities": [
110110
{

docs/openapi/components/schemas/credentials/AgricultureCanineCard.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ properties:
1414
type: array
1515
readOnly: true
1616
const:
17-
- https://www.w3.org/2018/credentials/v1
17+
- https://www.w3.org/ns/credentials/v2
1818
- https://w3id.org/traceability/v1
1919
default:
20-
- https://www.w3.org/2018/credentials/v1
20+
- https://www.w3.org/ns/credentials/v2
2121
- https://w3id.org/traceability/v1
2222
items:
2323
type: string
2424
enum:
25-
- https://www.w3.org/2018/credentials/v1
25+
- https://www.w3.org/ns/credentials/v2
2626
- https://w3id.org/traceability/v1
2727
type:
2828
type: array
@@ -41,7 +41,7 @@ properties:
4141
id:
4242
type: string
4343
format: uri
44-
issuanceDate:
44+
validFrom:
4545
type: string
4646
format: date-time
4747
issuer:
@@ -156,14 +156,14 @@ required:
156156
- '@context'
157157
- id
158158
- type
159-
- issuanceDate
159+
- validFrom
160160
- issuer
161161
- credentialSubject
162162
- credentialSchema
163163
example: |-
164164
{
165165
"@context": [
166-
"https://www.w3.org/2018/credentials/v1",
166+
"https://www.w3.org/ns/credentials/v2",
167167
"https://w3id.org/traceability/v1"
168168
],
169169
"id": "urn:credential:5c375bcd-a6e1-4b36-90be-8fd33118669a",
@@ -175,7 +175,7 @@ example: |-
175175
"id": "https://w3c-ccg.github.io/traceability-vocab/openapi/components/schemas/credentials/AgricultureCanineCard.yml",
176176
"type": "OpenApiSpecificationValidator2022"
177177
},
178-
"issuanceDate": "2019-12-11T03:50:55Z",
178+
"validFrom": "2019-12-11T03:50:55Z",
179179
"issuer": {
180180
"id": "did:web:organization.example.com",
181181
"type": "Organization",

docs/openapi/components/schemas/credentials/BankAccountCredential.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ properties:
2121
type: array
2222
readOnly: true
2323
const:
24-
- https://www.w3.org/2018/credentials/v1
24+
- https://www.w3.org/ns/credentials/v2
2525
- https://w3id.org/traceability/v1
2626
default:
27-
- https://www.w3.org/2018/credentials/v1
27+
- https://www.w3.org/ns/credentials/v2
2828
- https://w3id.org/traceability/v1
2929
items:
3030
type: string
3131
enum:
32-
- https://www.w3.org/2018/credentials/v1
32+
- https://www.w3.org/ns/credentials/v2
3333
- https://w3id.org/traceability/v1
3434
type:
3535
type: array
@@ -50,7 +50,7 @@ properties:
5050

5151
issuer:
5252
type: string
53-
issuanceDate:
53+
validFrom:
5454
type: string
5555
format: date-time
5656
credentialSchema:
@@ -77,13 +77,13 @@ required:
7777
- '@context'
7878
- type
7979
- id
80-
- issuanceDate
80+
- validFrom
8181
- issuer
8282
- credentialSubject
8383
example: |-
8484
{
8585
"@context": [
86-
"https://www.w3.org/2018/credentials/v1",
86+
"https://www.w3.org/ns/credentials/v2",
8787
"https://w3id.org/traceability/v1"
8888
],
8989
"id": "https://acmebank.com/credentials/1111111",
@@ -92,7 +92,7 @@ example: |-
9292
"BankAccountCredential"
9393
],
9494
"issuer": "urn:uuid:11111111-1111-1111-1111-111111111111",
95-
"issuanceDate": "2022-04-11T16:36:24Z",
95+
"validFrom": "2022-04-11T16:36:24Z",
9696
"credentialSubject": {
9797
"type": [
9898
"BankAccount"

docs/openapi/components/schemas/credentials/BillOfLadingCredential.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ properties:
2323
type: array
2424
readOnly: true
2525
const:
26-
- https://www.w3.org/2018/credentials/v1
26+
- https://www.w3.org/ns/credentials/v2
2727
- https://w3id.org/traceability/v1
2828
default:
29-
- https://www.w3.org/2018/credentials/v1
29+
- https://www.w3.org/ns/credentials/v2
3030
- https://w3id.org/traceability/v1
3131
items:
3232
type: string
3333
enum:
34-
- https://www.w3.org/2018/credentials/v1
34+
- https://www.w3.org/ns/credentials/v2
3535
- https://w3id.org/traceability/v1
3636
type:
3737
type: array
@@ -50,10 +50,10 @@ properties:
5050
id:
5151
type: string
5252
format: uri
53-
issuanceDate:
53+
validFrom:
5454
type: string
5555
format: date-time
56-
expirationDate:
56+
validUntil:
5757
type: string
5858
format: date-time
5959
issuer:
@@ -82,21 +82,21 @@ required:
8282
- '@context'
8383
- type
8484
- id
85-
- issuanceDate
85+
- validFrom
8686
- issuer
8787
- credentialSubject
8888
example: |-
8989
{
9090
"@context": [
91-
"https://www.w3.org/2018/credentials/v1",
91+
"https://www.w3.org/ns/credentials/v2",
9292
"https://w3id.org/traceability/v1"
9393
],
9494
"id": "https://example.com/credential/123",
9595
"type": [
9696
"VerifiableCredential",
9797
"BillOfLadingCredential"
9898
],
99-
"issuanceDate": "2019-12-11T03:50:55Z",
99+
"validFrom": "2019-12-11T03:50:55Z",
100100
"issuer": {
101101
"type": [
102102
"Organization"

0 commit comments

Comments
 (0)