Skip to content

Commit

Permalink
Update strategies.schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyParish69 authored Jul 15, 2024
1 parent f3f2d83 commit fd74521
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions schemas/strategies.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"link": {
"type": "string",
"format": "uri",
"pattern": "^https://.*$",
"pattern": "^https://.*(\\$\\{id\\})?.*$",
"description": "This link redirects users to the most appropriate interface for users participate in the strategy."
},
"contract": {
Expand All @@ -114,11 +114,10 @@
},
"tvl": {
"type": "string",
"format": "uri",
"oneOf": [
{
"type": "string",
"pattern": "^https://.*$"
"pattern": "^https://.*(\\$\\{id\\})?.*$"
},
{
"type": "string",
Expand All @@ -129,11 +128,10 @@
},
"apr": {
"type": "string",
"format": "uri",
"oneOf": [
{
"type": "string",
"pattern": "^https://.*$"
"pattern": "^https://.*(\\$\\{id\\})?.*$"
},
{
"type": "string",
Expand All @@ -146,7 +144,7 @@
"oneOf": [
{
"type": "string",
"pattern": "^https://.*$"
"pattern": "^https://.*(\\$\\{id\\})?.*$"
},
{
"type": "string",
Expand Down

0 comments on commit fd74521

Please sign in to comment.