UNPKG

@blockcerts/schemas

Version:
69 lines (61 loc) 1.89 kB
{ "@context": { "id": "@id", "type": "@type", "bc": "https://w3id.org/blockcerts#", "obi": "https://w3id.org/openbadges#", "cp": "https://w3id.org/chainpoint#", "schema": "http://schema.org/", "sec": "https://w3id.org/security#", "xsd": "http://www.w3.org/2001/XMLSchema#", "MerkleProof2017": "sec:MerkleProof2017", "RecipientProfile": "bc:RecipientProfile", "SignatureLine": "bc:SignatureLine", "MerkleProofVerification2017": "bc:MerkleProofVerification2017", "recipientProfile": "bc:recipientProfile", "signatureLines": "bc:signatureLines", "introductionUrl": { "@id": "bc:introductionUrl", "@type": "@id" }, "subtitle": "bc:subtitle", "jobTitle": "schema:jobTitle", "expires": { "@id": "sec:expiration", "@type": "xsd:dateTime" }, "revoked": { "@id": "obi:revoked", "@type": "xsd:boolean" }, "CryptographicKey": "sec:Key", "signature": "sec:signature", "verification": { "@id": "obi:verify", "@type": "@id" }, "publicKey": { "@id": "sec:publicKey", "@type": "@id" }, "BTCOpReturn": "cp:BTCOpReturn", "targetHash": "cp:targetHash", "merkleRoot": "cp:merkleRoot", "proof": "cp:proof", "anchors": "cp:anchors", "sourceId": "cp:sourceId", "right": "cp:right", "left": "cp:left" }, "obi:validation": [ { "obi:validatesType": "RecipientProfile", "obi:validationSchema": "https://w3id.org/blockcerts/schema/2.0/recipientSchema.json" }, { "obi:validatesType": "SignatureLine", "obi:validationSchema": "https://w3id.org/blockcerts/schema/2.0/signatureLineSchema.json" }, { "obi:validatesType": "MerkleProof2017", "obi:validationSchema": "https://w3id.org/blockcerts/schema/2.0/merkleProof2017Schema.json" } ] }