Skip to content

Commit

Permalink
fix: extensions schema
Browse files Browse the repository at this point in the history
  • Loading branch information
matstyler committed Aug 15, 2024
1 parent e7320bd commit db0afdb
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/schema/spectraTokens.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,71 @@
},
"logoURI": {
"type": "string"
},
"extensions": {
"type": "object",
"additionalProperties": false,
"properties": {
"underlying": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"protocol": {
"type": "string"
},
"externalLink": {
"type": "string"
},
"faucetAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"ibtRoutes": {
"type": "object",
"additionalProperties": false,
"properties": {
"deposit": {
"type": "boolean"
},
"mint": {
"type": "boolean"
},
"withdraw": {
"type": "boolean"
},
"redeem": {
"type": "boolean"
}
}
},
"vault": {
"type": "object",
"additionalProperties": false,
"properties": {
"chainId": {
"type": "integer"
},
"address": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"name": {
"type": "string"
},
"symbol": {
"type": "string"
},
"decimals": {
"type": "integer",
"minimum": 1,
"maximum": 18
},
"logoURI": {
"type": "string"
}
}
}
}
}
}
}
Expand Down

0 comments on commit db0afdb

Please sign in to comment.