Skip to content

Commit

Permalink
test_: added a couple of new schemas and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiyaig committed Sep 17, 2024
1 parent 596d75a commit bbb06cc
Show file tree
Hide file tree
Showing 7 changed files with 7,515 additions and 9 deletions.
150 changes: 150 additions & 0 deletions integration-tests/schemas/accounts_getKeypairs
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"result": {
"items": {
"properties": {
"accounts": {
"items": {
"properties": {
"address": {
"type": "string"
},
"chat": {
"type": "boolean"
},
"clock": {
"type": "integer"
},
"colorId": {
"type": "string"
},
"createdAt": {
"type": "integer"
},
"emoji": {
"type": "string"
},
"hidden": {
"type": "boolean"
},
"key-uid": {
"type": "string"
},
"mixedcase-address": {
"type": "string"
},
"name": {
"type": "string"
},
"operable": {
"type": "string"
},
"path": {
"type": "string"
},
"position": {
"type": "integer"
},
"prodPreferredChainIds": {
"type": "string"
},
"public-key": {
"type": "string"
},
"removed": {
"type": "boolean"
},
"testPreferredChainIds": {
"type": "string"
},
"type": {
"type": "string"
},
"wallet": {
"type": "boolean"
}
},
"required": [
"address",
"chat",
"clock",
"colorId",
"createdAt",
"emoji",
"hidden",
"key-uid",
"mixedcase-address",
"name",
"operable",
"path",
"position",
"prodPreferredChainIds",
"public-key",
"removed",
"testPreferredChainIds",
"type",
"wallet"
],
"type": "object"
},
"type": "array"
},
"clock": {
"type": "integer"
},
"derived-from": {
"type": "string"
},
"key-uid": {
"type": "string"
},
"keycards": {
"type": "array"
},
"last-used-derivation-index": {
"type": "integer"
},
"name": {
"type": "string"
},
"removed": {
"type": "boolean"
},
"synced-from": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"accounts",
"clock",
"derived-from",
"key-uid",
"keycards",
"last-used-derivation-index",
"name",
"removed",
"synced-from",
"type"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
20 changes: 20 additions & 0 deletions integration-tests/schemas/accounts_hasPairedDevices
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"result": {
"type": "boolean"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
20 changes: 20 additions & 0 deletions integration-tests/schemas/accounts_remainingAccountCapacity
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"result": {
"type": "integer"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
Loading

0 comments on commit bbb06cc

Please sign in to comment.