Skip to content

Instantly share code, notes, and snippets.

View PatStLouis's full-sized avatar

Patrick St-Louis PatStLouis

  • Gatineau, QC
  • 01:38 (UTC -06:00)
View GitHub Profile
[
"Verifiable credentials and verifiable presentations MUST include a @context property",
"Application developers MUST understand every JSON-LD context used by their application, at least to the extent that it affects the meaning of the terms used by their application",
"The value of the @context property MUST be an ordered set where the first item is a URL with the value https://www.w3.org/ns/credentials/v2",
"Subsequent items in the ordered set MUST be composed of any combination of URLs and objects, where each is processable as a JSON-LD Context.",
"If present, id property's value MUST be a single URL, which MAY be dereferenceable",
"Verifiable credentials and verifiable presentations MUST contain a type property with an associated value.",
"The value of the type property MUST be one or more terms and absolute URL strings",
"Concerning this specification, the following table lists the objects that MUST have a type specified.",
"If present, the value of the name property MUST be a string o
@PatStLouis
PatStLouis / spec_srapper_output.json
Created September 2, 2024 18:28
W3C Spec Scrapper
{
"vc-data-model-2.0": {
"introduction": [],
"conformance": [
"A conforming processor is any algorithm realized as software and/or hardware that generates and/or consumes a conforming secured document according to the relevant normative statements in Section 4. Algorithms. Conforming processors MUST produce errors when non-conforming documents are consumed."
],
"basic-concepts": [
"The type property MUST be present. It is used to express the type of verifiable presentation. One value of this property MUST be VerifiablePresentation, but additional types MAY be included. The related normative guidance in Section 4.5 Types MUST be followed."
],
"contexts": [],
{
"vc-data-integrity": {
"Introduction": {
"Conformance": [
"Conforming processors MUST produce errors when non-conforming documents are consumed."
]
},
"Data Model": {
"Proofs": [
"When expressing a data integrity proof on an object, a proof property MUST be used.",
{
"schemaId": "https://fast.anoncreds.vc?schema=db3dfaf0-9db9-5d4f-bfa0-25db7da74f3d",
"type": "CL",
"tag": "Example Name",
"value": {
"primary": {
"n": "101469207057829836354694002180614491041201664024456145953125318426134986593235523589215555416035620775861611742034770717378480085759538793295914050471112293280488635589054365386148109141986797604849634708868430546401709829504598561254204945161862036861856855735203004816003142677307034865014241151417033701934303595421447565569128240510525660477072182581728394862321963493409350248968625790509720872693956735300776398901391661603871192375295341461177987512321974824273606781902596390705155237353771451154777558073586512329243542147203364228522217056952238778497642757414178599898266245099964209984812645727486653075137",
"s": "271337471365237930702904939691058339642867523087059695803888862289553552594862749167746273477880403369831402852250355175446420404047255031431398245252770945075518625975063019649648356094375690184785783890463468591413516
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/citizenship/v1",
"https://w3id.org/security/suites/ed25519-2020/v1",
"https://w3id.org/security/data-integrity/v2"
],
"id": "https://issuer.oidp.uscis.gov/credentials/83627465",
"type": [
"VerifiableCredential",