forked from Apicurio/apicurio-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddress.json
45 lines (45 loc) · 1.11 KB
/
address.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[
{
"name": "x-address",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Enter address",
"properties": {
"street": {
"title": "Street",
"type": "string"
},
"city": {
"title": "City",
"type": "string"
},
"state": {
"title": "State",
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"zip": {
"title": "Zip",
"type": "string",
"pattern": "^[0-9]{5}$"
}
},
"required": [
"street",
"city",
"state",
"zip"
]
},
"model": {
"street": "",
"city": "",
"state": "",
"zip": ""
},
"components": [
"document"
]
}
]