Skip to content

Instantly share code, notes, and snippets.

@ilya-korotya
Created January 30, 2024 12:46
Show Gist options
  • Save ilya-korotya/314a60978556135485eca7e3275ec8cb to your computer and use it in GitHub Desktop.
Save ilya-korotya/314a60978556135485eca7e3275ec8cb to your computer and use it in GitHub Desktop.
Balance JSONLD schema for refresh service. Balance field is nonNegativeInteger
{
"@context": [
{
"@protected": true,
"@version": 1.1,
"id": "@id",
"type": "@type",
"Balance": {
"@context": {
"@propagate": true,
"@protected": true,
"polygon-vocab": "urn:uuid:4cc38fdc-a412-4a43-b482-562d17982d5a#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"balance": {
"@id": "polygon-vocab:balance",
"@type": "xsd:nonNegativeInteger"
},
"address": {
"@id": "polygon-vocab:address",
"@type": "xsd:string"
}
},
"@id": "urn:uuid:88330643-3093-46a1-80dd-9028ebbce0a8"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment