Skip to content

Commit

Permalink
BACK9674: second solution for v2 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaireGuerreGiordano committed Apr 17, 2024
1 parent 30b06aa commit b572f8f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
56 changes: 56 additions & 0 deletions ethereum/eip712-v2.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"inherit_from": "eip712.schema.json",
"properties": {
"contracts": {
"items": {
"properties": {
"messages": {
"items": {
"additionalProperties": false,
"properties": {
"mapper": {
"additionalProperties": false,
"properties": {
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"type": "string"
},
"assetPath": {
"type": "string"
}
},
"required": [
"format"
],
"type": "object"
},
"type": "array"
},
"label": {
"type": "string"
}
},
"type": "object"
},
"schema": {
"type": "object"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
}
},
"type": "object"
}
1 change: 0 additions & 1 deletion ethereum/eip712.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"properties": {
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
Expand Down

0 comments on commit b572f8f

Please sign in to comment.