Skip to content

Commit

Permalink
wrap properties
Browse files Browse the repository at this point in the history
  • Loading branch information
JSHan94 committed Feb 28, 2024
1 parent ccb43d7 commit 506f7ec
Showing 1 changed file with 52 additions and 48 deletions.
100 changes: 52 additions & 48 deletions chain.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,63 +591,67 @@
}
},
"metadata": {
"is_l1": {
"type": "boolean",
"description": "[Optional] Indicates if the chain is a layer 1 chain."
},
"op_bridge_id": {
"type": "string",
"description": "[Optional] The identifier of the OPinit bridge used to transfer assets between L1 and L2."
},
"creator": {
"type": "string",
"description": "[Optional] The creator of the OPinit bridge."
},
"op_denoms": {
"type": "array",
"items": {
"type": "string"
"type": "object",
"properties": {
"is_l1": {
"type": "boolean",
"description": "[Optional] Indicates if the chain is a layer 1 chain."
},
"description": "[Optional] The list of denoms that are supported by the OPinit bridge."
},
"free_tx_threshold": {
"type": "array",
"items": {
"type": "object",
"required": [
"denom",
"amount"
],
"properties": {
"denom": {
"type": "string"
},
"amount": {
"type": "number"
}
"op_bridge_id": {
"type": "string",
"description": "[Optional] The identifier of the OPinit bridge used to transfer assets between L1 and L2."
},
"creator": {
"type": "string",
"description": "[Optional] The creator of the OPinit bridge."
},
"op_denoms": {
"type": "array",
"items": {
"type": "string"
},
"additionalProperties": false
"description": "[Optional] The list of denoms that are supported by the OPinit bridge."
},
"description": "[Optional] The list of denoms and their respective amounts that are allowed to be transferred without fees."
},
"ibc_channels": {
"type": "object",
"properties": {
"chain_id": {
"free_tx_threshold": {
"type": "array",
"items": {
"type": "object",
"required": [
"denom",
"amount"
],
"properties": {
"transfer": {
"denom": {
"type": "string"
},
"nft-transfer": {
"type": "string"
"amount": {
"type": "number"
}
}
}
},
"additionalProperties": false
},
"description": "[Optional] The list of denoms and their respective amounts that are allowed to be transferred without fees."
},
"additionalProperties": false,
"description": "[Optional] The list of IBC channels that are supported by the chain."
}
"ibc_channels": {
"type": "object",
"properties": {
"chain_id": {
"type": "object",
"properties": {
"transfer": {
"type": "string"
},
"nft-transfer": {
"type": "string"
}
}
}
},
"additionalProperties": false,
"description": "[Optional] The list of IBC channels that are supported by the chain."
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 506f7ec

Please sign in to comment.