diff --git a/index.html b/index.html index 81301c1..d6bd456 100644 --- a/index.html +++ b/index.html @@ -148,7 +148,7 @@
The following sections outline the data models for this document, of which there are two:
JsonSchema2023
for usage of a [[JSON-Schema]] directly in a credentialSchema
- property, and CredentialSchema2023
for usage of a [[JSON-Schema]] represented as a
+ property, and VerifiableCredentialSchema2023
for usage of a [[JSON-Schema]] represented as a
verifiable credential.
credentialSchema
is provided below:
- +{ "@context": [ "https://www.w3.org/ns/credentials/v2", @@ -208,7 +208,7 @@JsonSchema2023
-
+{ "$id": "https://example.com/schemas/email.json", "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -234,13 +234,13 @@JsonSchema2023
This term definition
- is https://www.w3.org/ns/credentials#CredentialSchema2023
.
+ is https://www.w3.org/ns/credentials#VerifiableCredentialSchema2023
.
- CredentialSchema2023 is used for the validation of W3C Verifiable Credentials, based + VerifiableCredentialSchema2023 is used for the validation of W3C Verifiable Credentials, based on representing JSON Schema in a verifiable credential. The version of [[JSON-Schema]] can be any version noted in the section on JSON Schema Specifications.
@@ -261,14 +261,14 @@type
property MUST be CredentialSchema2023type
property MUST be VerifiableCredentialSchema2023credentialSchema
is provided below:
- +{ "@context": [ "https://www.w3.org/ns/credentials/v2", @@ -284,27 +284,27 @@CredentialSchema2023
}, "credentialSchema": { "id": "https://example.com/credentials/3734", - "type": "CredentialSchema2023" + "type": "VerifiableCredentialSchema2023" } }-
+{ "@context": [ "https://www.w3.org/ns/credentials/v2", "https://www.w3.org/ns/credentials/examples/v2" ], "id": "https://example.com/credentials/3734", - "type": ["VerifiableCredential", "CredentialSchema2023"], + "type": ["VerifiableCredential", "VerifiableCredentialSchema2023"], "issuer": "https://example.com/issuers/14", "issuanceDate": "2010-01-01T19:23:24Z", "credentialSubject": { "$id": "https://example.com/schemas/email-credential-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "name": "EmailCredential", - "description": "EmailCredential using CredentialSchema2023", + "description": "EmailCredential using VerifiableCredentialSchema2023", "type": "object", "properties": { "credentialSubject": { @@ -429,7 +429,7 @@Processing
Integrity Validation
Credential Schemas MAY be packaged as verifiable credentials as defined - by usage of the CredentialSchema2023 type. + by usage of the VerifiableCredentialSchema2023 type. The credential containing a credential schema may include a proof, either embedded according to [[VC-DATA-INTEGRITY]] or packaged as a [[VC-JWT]].
@@ -472,7 +472,7 @@Validation of Specific Properties in a Credential
has anvalidUntil
property and includesevidence
.-
+{ "$id": "validuntil-and-evidence-schema", "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -509,7 +509,7 @@Additional Properties
is to avoid settingadditionalProperties
to false.-
+{ "$id": "name-schema", "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -585,7 +585,7 @@Multiple Schemas
allOf
is provided below, combining schemas for a verifiable credential, name, and email address: -+{ "allOf": [ { @@ -653,7 +653,7 @@Multiple Schemas
The example above is used to validate every property in the following verifiable credential: -+{ "@context": ["https://www.w3.org/ns/credentials/v2"], "id": "4995c86c-851f-43a6-9dd2-03dc891091fd", @@ -667,7 +667,7 @@Multiple Schemas
}, "credentialSchema": { "id": "multiple-credential-schema-test", - "type": "CredentialSchema2023" + "type": "VerifiableCredentialSchema2023" }, "proof": { ... } } @@ -702,7 +702,7 @@Relationship to Verifiable Credential Type Property
The example below illustrates this for
EmailCredential
: -+{ "@context": [ "https://www.w3.org/ns/credentials/v2", @@ -724,7 +724,7 @@Relationship to Verifiable Credential Type Property
-
+{ "$id": "https://example.com/schemas/email.json", "$schema": "https://json-schema.org/draft/2020-12/schema", diff --git a/terms.html b/terms.html index 23e7478..99e0950 100644 --- a/terms.html +++ b/terms.html @@ -7,7 +7,7 @@