status-go/tests-functional/schemas/wallet_fetchTokenDetails

73 lines
2.2 KiB
Plaintext
Raw Normal View History

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": [
"jsonrpc",
"id",
"result"
],
"properties": {
"jsonrpc": {
"type": "string"
},
"id": {
"type": "string"
},
"result": {
"type": "object",
"patternProperties": {
"^[a-zA-Z0-9_]+$": {
2024-11-12 13:30:13 +00:00
"type": "object",
"required": [
"Id",
"Name",
"Symbol",
"Description",
"TotalCoinsMined",
"AssetLaunchDate",
"AssetWhitepaperUrl",
"AssetWebsiteUrl",
"BuiltOn",
"SmartContractAddress"
],
"properties": {
"Id": {
"type": "string"
},
"Name": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"Description": {
"type": "string"
},
"TotalCoinsMined": {
"type": "number"
},
"AssetLaunchDate": {
"type": "string"
},
"AssetWhitepaperUrl": {
"type": "string"
},
"AssetWebsiteUrl": {
"type": "string"
},
"BuiltOn": {
"type": "string"
},
"SmartContractAddress": {
"type": "string"
}
}
}
},
"additionalProperties": false,
"minProperties": 1
2024-11-12 13:30:13 +00:00
}
}
}