Skip to content

Commit

Permalink
fix: update context v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebulis committed Jun 24, 2021
1 parent 46a252c commit 73c8487
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 256 deletions.
142 changes: 63 additions & 79 deletions src/com/openattestation/1.0/OpenAttestation.v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,89 +2,73 @@
"@context": {
"@version": 1.1,
"@protected": true,
"identityProof": {
"@id": "https://lol.com/todo",
"OpenAttestationCredential": {
"@id": "https://schemata.openattestation.com/vocab/#OpenAttestationCredential",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"identifier": "xsd:string",
"DNS-TXT": "xsd:string"
}
},
"credentialProof": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"identity": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"identifier": "xsd:string",
"DNS-TXT": "xsd:string"
}
},
"template": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"name": "xsd:string",
"url": "xsd:string",
"EMBEDDED_RENDERER": "xsd:string"
}
},
"privacy": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"obfuscatedData": {
"@id": "https://lol.com/todo",
"@container": [
"@index",
"@set"
]
}
}
},
"method": "xsd:string",
"OpenAttestationSignature2018": "xsd:string",
"method": "xsd:string"
}
},
"openAttestationMetadata": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id"
}
},
"template": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"reference": "xsd:string",
"name": "xsd:string",
"url": "xsd:string",
"EMBEDDED_RENDERER": "xsd:string"
}
},
"privacy": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"obfuscated": {
"value": "xsd:string",
"path": "xsd:string",
"signature": {
"@id": "https://lol.com/todo",
"@container": ["@index", "@set"]
}
}
},
"value": "xsd:string",
"reference": "xsd:string",
"name": "xsd:string",
"path": "xsd:string",
"targetHash": "xsd:string",
"proofs": {
"@id": "https://lol.com/todo",
"@container": ["@index", "@set"]
},
"attachments": {
"@id": "https://lol.com/todo",
"@container": ["@index", "@set"]
},
"merkleRoot": "xsd:string",
"salts": {
"@id": "https://lol.com/todo",
"@container": ["@index", "@set"]
},
"data": "xsd:string",
"fileName": "xsd:string",
"mimeType": "xsd:string",
"OpenAttestationSignature2018": "xsd:string",
"method": "xsd:string",
"proofPurpose": "xsd:string",
"revocation": {
"@id": "https://lol.com/todo",
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"location": "xsd:string"
"@context": {
"@version": 1.1,
"id": "@id",
"@protected": true,
"targetHash": "xsd:string",
"proof": "xsd:string",
"merkleRoot": "xsd:string",
"salts": {
"@id": "https://lol.com/todo",
"@container": [
"@index",
"@set"
]
}
}
},
"data": "xsd:string",
"fileName": "xsd:string",
"mimeType": "xsd:string"
}
}
}
Expand Down
177 changes: 0 additions & 177 deletions yarn-error.log

This file was deleted.

0 comments on commit 73c8487

Please sign in to comment.