Skip to content

Commit c6e9565

Browse files
committed
Update to v4-style "required"
Not exactly sure why those properties are required, but I'm simply updating the existing behaviour to the new syntax.
1 parent 233aa61 commit c6e9565

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

address

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
"post-office-box": { "type": "string" },
66
"extended-address": { "type": "string" },
77
"street-address": { "type": "string" },
8-
"locality":{ "type": "string", "required": true },
9-
"region": { "type": "string", "required": true },
8+
"locality":{ "type": "string" },
9+
"region": { "type": "string" },
1010
"postal-code": { "type": "string" },
11-
"country-name": { "type": "string", "required": true}
11+
"country-name": { "type": "string"}
1212
},
13+
"required": ["locality", "region", "country-name"],
1314
"dependencies": {
1415
"post-office-box": "street-address",
1516
"extended-address": "street-address"

0 commit comments

Comments
 (0)