-
Notifications
You must be signed in to change notification settings - Fork 35
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
WebLEI credential #968
WebLEI credential #968
Changes from all commits
e07e02a
763fb04
b60c509
3c21a93
3671a78
e0089e7
541b550
c35e797
950ca8e
547c8da
ff8ec2b
7a79ca7
cbdffe7
d3a42f8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,6 @@ required: | |
- lei | ||
- entity | ||
- registration | ||
- bic | ||
example: |- | ||
{ | ||
"type": ["WebLEI"], | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,161 @@ | ||||||
$linkedData: | ||||||
term: QualifiedWebLEIIssuerCredential | ||||||
'@id': https://w3id.org/traceability#QualifiedWebLEIIssuerCredential | ||||||
title: Qualified WebLEI Issuer Credential | ||||||
tags: | ||||||
- Steel | ||||||
- Pesticides | ||||||
description: >- | ||||||
Level 1 Authority granting the authority to issue WebLEI credentials to a Qualified WebLEI Issuer. | ||||||
type: object | ||||||
properties: | ||||||
'@context': | ||||||
type: array | ||||||
readOnly: true | ||||||
const: | ||||||
- https://www.w3.org/2018/credentials/v1 | ||||||
- https://w3id.org/traceability/v1 | ||||||
default: | ||||||
- https://www.w3.org/2018/credentials/v1 | ||||||
- https://w3id.org/traceability/v1 | ||||||
items: | ||||||
type: string | ||||||
enum: | ||||||
- https://www.w3.org/2018/credentials/v1 | ||||||
- https://w3id.org/traceability/v1 | ||||||
type: | ||||||
type: array | ||||||
readOnly: true | ||||||
const: | ||||||
- VerifiableCredential | ||||||
- QualifiedWebLeiIssuerCredential | ||||||
default: | ||||||
- VerifiableCredential | ||||||
- QualifiedWebLeiIssuerCredential | ||||||
items: | ||||||
type: string | ||||||
enum: | ||||||
- VerifiableCredential | ||||||
- QualifiedWebLeiIssuerCredential | ||||||
id: | ||||||
type: string | ||||||
format: uri | ||||||
issuanceDate: | ||||||
type: string | ||||||
format: date-time | ||||||
expirationDate: | ||||||
type: string | ||||||
format: date-time | ||||||
issuer: | ||||||
title: GLEIF Level 1 Authority | ||||||
description: GLEIF LEI Record Level 1 LEI Authority | ||||||
type: object | ||||||
properties: | ||||||
type: | ||||||
type: array | ||||||
readOnly: true | ||||||
const: | ||||||
- LEIAuthority | ||||||
default: | ||||||
- LEIAuthority | ||||||
items: | ||||||
type: string | ||||||
enum: | ||||||
- LEIAuthority | ||||||
id: | ||||||
title: Issuer's Identifier | ||||||
description: Identifier of the issuing organization, typically a Decentralized Identifier (DID). | ||||||
type: string | ||||||
format: uri | ||||||
name: | ||||||
title: Name | ||||||
description: Name of the issuing organization. | ||||||
type: string | ||||||
additionalProperties: false | ||||||
required: | ||||||
- type | ||||||
- id | ||||||
credentialSchema: | ||||||
type: object | ||||||
properties: | ||||||
id: | ||||||
title: Id | ||||||
description: The url of the schema file to validate the shape of the json object | ||||||
type: string | ||||||
format: uri | ||||||
example: https://w3id.org/traceability/openapi/components/schemas/credentials/WebLEICredential.yml | ||||||
default: https://w3id.org/traceability/openapi/components/schemas/credentials/WebLEICredential.yml | ||||||
readOnly: true | ||||||
type: | ||||||
title: Type | ||||||
description: The type of validation to be run against the defined schema | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
const: OpenApiSpecificationValidator2022 | ||||||
credentialSubject: | ||||||
title: Qualified WebLEI Issuer | ||||||
description: Qualified GLEIF approved Legal Entity Identifier issuer. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
type: object | ||||||
properties: | ||||||
type: | ||||||
type: array | ||||||
readOnly: true | ||||||
const: | ||||||
- LEIAuthority | ||||||
default: | ||||||
- LEIAuthority | ||||||
items: | ||||||
type: string | ||||||
enum: | ||||||
- LEIAuthority | ||||||
id: | ||||||
title: Issuer's Identifier | ||||||
description: Issuing organization identifier, typically a Decentralized Identifier (DID). | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
type: string | ||||||
format: uri | ||||||
name: | ||||||
title: Name | ||||||
description: Issuing organization name. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
type: string | ||||||
additionalProperties: false | ||||||
required: | ||||||
- type | ||||||
- id | ||||||
additionalProperties: false | ||||||
required: | ||||||
- '@context' | ||||||
- type | ||||||
- id | ||||||
- issuanceDate | ||||||
- issuer | ||||||
- credentialSubject | ||||||
- credentialSchema | ||||||
example: |- | ||||||
{ | ||||||
"@context": [ | ||||||
"https://www.w3.org/2018/credentials/v1", | ||||||
"https://w3id.org/traceability/v1" | ||||||
], | ||||||
"id": "http://example.com/dd0c6f9a-5df6-40a3-bb34-863cd1fda606", | ||||||
"credentialSchema": { | ||||||
"type": "OpenApiSpecificationValidator2022", | ||||||
"id": "https://w3id.org/traceability/openapi/components/schemas/credentials/WebLEICredential.yml" | ||||||
}, | ||||||
"type": [ | ||||||
"VerifiableCredential", | ||||||
"QualifiedWebLeiIssuerCredential" | ||||||
], | ||||||
"issuer": { | ||||||
"type": [ | ||||||
"LEIAuthority" | ||||||
], | ||||||
"id": "did:web:gleif.example.org", | ||||||
"name": "GLEIF" | ||||||
}, | ||||||
"issuanceDate": "2022-11-01T10:58:45-04:00", | ||||||
"credentialSubject": { | ||||||
"type": [ | ||||||
"LEIAuthority" | ||||||
], | ||||||
"id": "did:web:qualified-organization.example.com", | ||||||
"name": "United FinSec Corp." | ||||||
} | ||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.