### CBOR-LD Parameters Example Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/json-ld-recharter/index.html Example configuration for CBOR-LD, including registry entry ID and type tables for context URLs and cryptographic suites. ```yaml 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 } } ``` -------------------------------- ### Utopia Driver's License VC Example Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/json-ld-recharter/index.html Example of a Verifiable Credential for a Utopia Driver's License using multiple JSON-LD contexts for credentials, VC barcodes, and Utopia-specific data. ```json { "@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", ... } ``` -------------------------------- ### Start in Slide Mode Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/Templates/Overview.html To open slides in slide mode, append '?full' to the URL. For a specific slide, add the slide ID or number after '?full'. ```html ?full#place ?full#19 ``` -------------------------------- ### JSON-LD Value Object for Multiple Languages Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/json-ld-recharter/index.html This example demonstrates the JSON-LD Value Object pattern, which can be used to express multiple languages within JSON documents, even those lacking a '@context'. ```json { "non-string": "can be a key" /* for JSON-LD-Star */ } ``` -------------------------------- ### Display Used Time Minutes Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/Templates/Overview.html Elements with the class 'minutes-used' will display the minutes elapsed since the clock started or was reset. ```html 00 ``` -------------------------------- ### JSON-LD-star: Reification as Named Graph Alternative Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/json-ld-star/index.html Illustrates how the `@reifies` keyword in JSON-LD-star can function similarly to `@graph` for named graphs. This example shows the equivalent using named graph syntax. ```json { "@context": { ... }, "@id": "reifier", "@graph": {"@id": "bob", "age": 42}, "certainty": 0.8 } ``` ```turtle :reifier :certainty 8.0E-1 . :reifier {:bob :age 42 .} ``` -------------------------------- ### Display Used Time Seconds Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/Templates/Overview.html Elements with the class 'seconds-used' will display the seconds elapsed since the clock started or was reset. ```html 00 ``` -------------------------------- ### JSON-LD-star: Triple Terms Encoding Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/json-ld-star/index.html Example of encoding a single triple using the `@triple` keyword in JSON-LD-star. This is intended for basic triple representation with an @id and a single property. ```json { "@context": {...}, "rdf:reifies": { "@triple": {"@id": "bob", "age": 42} }, "certainty": 0.8 } ``` ```turtle _:b0 rdf:reifies <<( :bob :age 42 ))> ; :certainty: 0.8 . ``` -------------------------------- ### JSON-LD-star CG Draft: Quoted Triples Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/json-ld-star/index.html Example of using a structured @id value for Quoted Triple in a JSON-LD-star Community Group draft. This format is used to represent triples within JSON-LD. ```json { "@context": { "@base": "http://example.org/", "@vocab": "http://example.org/" }, "@id": {"@id": "bob", "age": 42}, "certainty": 0.8 } ``` ```turtle PREFIX : << :bob :age 42 >> :certainty 0.8e0 . ``` -------------------------------- ### Apply Incremental Display Animations Source: https://github.com/json-ld/w3c-tpac-2024-presentations/blob/main/Templates/Overview.html Use 'emerge' for a fade-in animation or 'quick' to omit animation for incrementally displayed elements. These classes can be applied to individual elements or ancestor elements. ```html