diff --git a/.github/workflows/validate_schema.yml b/.github/workflows/validate_schema.yml index 870ac0b..587815e 100644 --- a/.github/workflows/validate_schema.yml +++ b/.github/workflows/validate_schema.yml @@ -13,5 +13,5 @@ jobs: uses: snapcart/json-schema-validator@v1.0.0 with: token: ${{ secrets.GITHUB_TOKEN }} - json_schema: ./validators.schema.json + json_schema: ./schema.validators.json json_path_pattern: .*schema.json$ diff --git a/mainnet/test-validator.schema.json b/mainnet/test-validator.schema.json new file mode 100644 index 0000000..f9210f8 --- /dev/null +++ b/mainnet/test-validator.schema.json @@ -0,0 +1,72 @@ +{ + "operator_address": "evmosvaloper1vw7k3z99swlv7svjmnrrqvu6zdmatqhvzuz7lu", + "consensus_pubkey": { + "@type": "/cosmos.crypto.ed25519.PubKey", + "key": "hzGD0rGq90qWnrjvI9l0HhmALTK11vQWBERUkbVpRc8=" + }, + "jailed": false, + "status": "BOND_STATUS_BONDED", + "tokens": "68037027135098097460237", + "delegator_shares": "68037027135098097460237.000000000000000000", + "description": { + "moniker": "Nodes.Guru", + "identity": "28B672FCE6BBD562", + "website": "https://stake.nodes.guru", + "social": [ + { + "name": "Telegram", + "link": "https://t.me/NodesGuruStake" + } + ], + "security_contact": "info@nodes.guru", + "details": "Guru of non-custodial staking. Professional node running, low fees, best uptime and 24/7 customer support.", + "collaborators": [], + "communities": [ + { + "involvement_type": "Other", + "description": "Contributions of Nodes.Guru", + "date_from": "Feb 2022", + "date_to": "Present", + "contributions": [ + { + "name": "NG Explorer", + "description": "Develop Cosmos-side explorer for Evmos mainnet and testnet" + }, + { + "name": "NodesChecker bot", + "description": "Add Evmos mainnet and testnet networks to NodesChecker telegram bot (https://t.me/NodesGuru_bot)" + }, + { + "name": "RPC provider", + "description": "Hosting a public RPC and API for both mainnet and testnet (https://rpc-1.evmos.nodes.guru, https://api-1.evmos.nodes.guru, https://rpc-1.testnet.evmos.nodes.guru, https://api-1.testnet.evmos.nodes.guru)" + }, + { + "name": "Statesync provider", + "description": "Our RPC allows user to statesync their nodes as fast as possible." + } + ] + } + ], + "infrastructures": [ + { + "hosting_provider": "https://rpc-1.evmos.nodes.guru, https://api-1.evmos.nodes.guru, https://rpc-1.testnet.evmos.nodes.guru, https://api-1.testnet.evmos.nodes.guru" + } + ], + "offers_auto_compounding": false, + "has_interchain_account": false, + "is_recent": false, + "has_liquid_staking": false, + "relayers": true + }, + "unbonding_height": "0", + "unbonding_time": "1970-01-01T00:00:00Z", + "commission": { + "commission_rates": { + "rate": "0.050000000000000000", + "max_rate": "0.100000000000000000", + "max_change_rate": "0.050000000000000000" + }, + "update_time": "2022-03-02T19:00:00Z" + }, + "min_self_delegation": "1" +} diff --git a/schema.validators.json b/schema.validators.json index f15534c..dc37011 100644 --- a/schema.validators.json +++ b/schema.validators.json @@ -10,7 +10,7 @@ }, "description": { "type": "object", - "required": ["logo_link", "details", "website", "social"], + "required": ["details", "website", "social"], "properties": { "moniker": { "type": "string",