2024-11-12 13:30:13 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
|
|
"$id": "http://example.com/example.json",
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"jsonrpc",
|
|
|
|
"result"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"jsonrpc": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"result": {
|
|
|
|
"type": "object",
|
2024-11-21 14:21:53 +00:00
|
|
|
"patternProperties": {
|
|
|
|
"^[a-zA-Z0-9_]+$": {
|
2024-11-12 13:30:13 +00:00
|
|
|
"type": "object",
|
2024-11-21 14:21:53 +00:00
|
|
|
"required": ["usd"],
|
2024-11-12 13:30:13 +00:00
|
|
|
"properties": {
|
|
|
|
"usd": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-11-21 14:21:53 +00:00
|
|
|
},
|
|
|
|
"additionalProperties": false,
|
|
|
|
"minProperties": 1
|
2024-11-12 13:30:13 +00:00
|
|
|
}
|
|
|
|
}
|
2024-11-21 14:21:53 +00:00
|
|
|
}
|