Skip to content

Instantly share code, notes, and snippets.

@ilya-korotya
Last active January 17, 2023 09:14
Show Gist options
  • Save ilya-korotya/a32078cb5c475452657b105ceb581728 to your computer and use it in GitHub Desktop.
Save ilya-korotya/a32078cb5c475452657b105ceb581728 to your computer and use it in GitHub Desktop.
state.md
{
"@context": [{
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"AuthBJJCredential": {
"@id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/auth.json-ld#AuthBJJCredential",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"auth-vocab": "https://github.com/iden3/claim-schema-vocab/blob/main/credentials/auth.md#",
"serialization": "https://github.com/iden3/claim-schema-vocab/blob/main/credentials/serialization.md#",
"x": {
"@id": "auth-vocab:x",
"@type": "serialization:IndexDataSlotA"
},
"y": {
"@id": "auth-vocab:y",
"@type": "serialization:IndexDataSlotB"
}
}
},
"Iden3StateInfo2023": {
"@id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/auth.json-ld#Iden3StateInfo2023",
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"@vocab": "https://github.com/iden3/claim-schema-vocab/blob/main/credentials/state-info.md#",
"@propagate": true,
"blockchainAccountId": {
"@id": "blockchainAccountId",
"@type": "xsd:string"
},
"published": {
"@id": "published",
"@type": "xsd:boolean"
},
"info": {
"@id": "info",
"@type": "@id",
"@context": {
"@protected": true,
"id": {
"@id": "id",
"@type": "xsd:string"
},
"state": {
"@id": "state",
"@type": "xsd:string"
},
"replacedByState": {
"@id": "replacedByState",
"@type": "xsd:string"
},
"createdAtTimestamp": {
"@id": "createdAtTimestamp",
"@type": "xsd:string"
},
"replacedAtTimestamp": {
"@id": "replacedAtTimestamp",
"@type": "xsd:string"
},
"createdAtBlock": {
"@id": "createdAtBlock",
"@type": "xsd:string"
},
"replacedAtBlock": {
"@id": "replacedAtBlock",
"@type": "xsd:string"
}
}
},
"global": {
"@id": "global",
"@type": "@id",
"@context": {
"@protected": true,
"root": {
"@id": "root",
"@type": "xsd:string"
},
"replacedByRoot": {
"@id": "replacedByRoot",
"@type": "xsd:string"
},
"createdAtTimestamp": {
"@id": "createdAtTimestamp",
"@type": "xsd:string"
},
"replacedAtTimestamp": {
"@id": "replacedAtTimestamp",
"@type": "xsd:string"
},
"createdAtBlock": {
"@id": "createdAtBlock",
"@type": "xsd:string"
},
"replacedAtBlock": {
"@id": "replacedAtBlock",
"@type": "xsd:string"
}
}
}
}
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment