TPAC 2024
Anaheim CA, USA
hybrid meeting
23–27 SEPTEMBER 2024
Concise Binary Object Representation for Linked Data
Map {
...
'EnvelopedVerifiableCredential' => 110,
'EnvelopedVerifiablePresentation' => 112,
'JsonSchema' => 114,
'JsonSchemaCredential' => 116,
'VerifiableCredential' => 118,
'VerifiablePresentation' => 120
...
}
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/vc-barcodes/v1",
"https://w3id.org/utopia/v2"
],
"type": [
"VerifiableCredential",
"OpticalBarcodeCredential"
],
"credentialSubject": {
"type": "AamvaDriversLicenseScannableInformation",
"protectedComponentIndex": "uggAg"
},
"issuer": "did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj",
...
}
https://w3c-ccg.github.io/vc-barcodes/#example-a-json-ld-vc-for-a-utopia-driver-s-license-vcb
See also: YAML-LD version of this document.
Map(97) {
'@context' => 0,
'@type' => 2,
...
'VerifiableCredential' => 118,
...
'AamvaDriversLicenseScannableInformation' => 160,
'OpticalBarcodeCredential' => 164,
'TerseBitstringStatusListEntry' => 166,
...
}
registryEntryId: 100
typeTable:
{
"context":
{
"https://www.w3.org/ns/credentials/v2": 32768,
"https://w3id.org/vc-barcodes/v1": 32769,
"https://w3id.org/utopia/v2": 32770
},
"https://w3id.org/security#cryptosuiteString":
{
"ecdsa-rdfc-2019": 1,
"ecdsa-sd-2023": 2,
"eddsa-rdfc-2022": 3,
"ecdsa-xi-2023": 4
}
}
https://w3c-ccg.github.io/vc-barcodes/#example-cbor-ld-encoding-parameters
d90664a60183198000198001198002189d82187618a418b8a3189c18a618...
Diagnostic:
1636(
{
1: [32768, 32769, 32770],
157: [118, 164],
184: {156: 166, 206: 178, 208: 3851559041},
186: {156: 160, 168: h'75820020'},
190: 170,
...
https://w3c-ccg.github.io/vc-barcodes/#example-a-cbor-ld-compressed-utopia-driver-s-license-vc
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/vc-barcodes/v1",
"https://w3id.org/utopia/v2"
],
"type": [
"VerifiableCredential",
"OpticalBarcodeCredential"
],
"credentialSubject": {
"type": "AamvaDriversLicenseScannableInformation",
"protectedComponentIndex": "uggAg"
},
"issuer": "did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj"
}
YAML ⊋ JSON ⇒ This is a valid YAML document!
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://w3id.org/vc-barcodes/v1",
"https://w3id.org/utopia/v2"
]
"type": [
"VerifiableCredential",
"OpticalBarcodeCredential"
]
"credentialSubject":
"type": "AamvaDriversLicenseScannableInformation"
"protectedComponentIndex": "uggAg"
"issuer": "did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj"
"@context":
- "https://www.w3.org/ns/credentials/v2"
- "https://w3id.org/vc-barcodes/v1"
- "https://w3id.org/utopia/v2"
"type": ["VerifiableCredential", "OpticalBarcodeCredential"]
"credentialSubject":
"type": "AamvaDriversLicenseScannableInformation"
"protectedComponentIndex": "uggAg"
"issuer": "did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj"
"@context":
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/vc-barcodes/v1
- https://w3id.org/utopia/v2
type: [VerifiableCredential, OpticalBarcodeCredential]
credentialSubject:
type: AamvaDriversLicenseScannableInformation
protectedComponentIndex: uggAg
issuer: did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj
"@context":
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/vc-barcodes/v1
- https://w3id.org/utopia/v2
type: [VerifiableCredential, OpticalBarcodeCredential]
credentialSubject:
type: AamvaDriversLicenseScannableInformation
protectedComponentIndex: uggAg
issuer: >-
did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj
"@context":
- https://www.w3.org/ns/credentials/v2
- https://w3id.org/vc-barcodes/v1
- https://w3id.org/utopia/v2
# This is a Verifiable Credential (VC) renderable as a Barcode
type: [VerifiableCredential, OpticalBarcodeCredential]
credentialSubject:
# This is a driver's license
type: AamvaDriversLicenseScannableInformation
protectedComponentIndex: uggAg
# Here is a Decentralized Identifier (DID) which you can verify
issuer: >-
did:key:zDnaeWjKfs1ob9QcgasjYSPEMkwq31hmvSAWPVAgnrt1e9GKj
dbt
modelsk8s
& helm
configurations…interpreting those as Linked Data
@
quoting@
symbol"@type"
$
:"@context":
- https://schema.org/
- https://json-ld.org/contexts/dollar-convenience.jsonld
$type: TechArticle
name: Introducing YAML-LD
{"non-string": "can be a key"}: "for JSON-LD-Star"
#hash=