Skip to content

Commit

Permalink
spec: allow more data types in $.metadata.constants section (#63)
Browse files Browse the repository at this point in the history
note: I did not enable arrays/objects (yet), as implementation of resolution is a bit more complex
  • Loading branch information
jnicoulaud-ledger authored Oct 21, 2024
1 parent b1d6d96 commit 13b6249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/erc7730-v1.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
"type": "object",
"description": "A set of values that can be used in format parameters. Can be referenced with a path expression like $.metadata.constants.CONSTANT_NAME",
"additionalProperties": {
"type": "string"
"type": ["string", "integer", "number", "boolean", "null"]
}
},

Expand Down

0 comments on commit 13b6249

Please sign in to comment.