Skip to content

Commit

Permalink
Create address.json
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann authored May 10, 2024
1 parent 2bf79e8 commit 76ea733
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions app/src/main/resources/extensions/address.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[
{
"name": "x-address",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"zip": {
"type": "string",
"pattern": "^[0-9]{5}$"
}
},
"required": [
"street",
"city",
"state",
"zip"
]
},
"model": {
"street": "",
"city": "",
"state": "",
"zip": ""
},
"components": [
"document"
]
}
]

0 comments on commit 76ea733

Please sign in to comment.