mirror of
https://github.com/nodejs/node.git
synced 2025-05-17 22:02:33 +00:00

PR-URL: https://github.com/nodejs/node/pull/20190 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
20 lines
673 B
Plaintext
20 lines
673 B
Plaintext
{
|
|
"description" : "An Address following the convention of http://microformats.org/wiki/hcard",
|
|
"type" : "object",
|
|
"properties" : {
|
|
"post-office-box" : { "type" : "string" },
|
|
"extended-address" : { "type" : "string" },
|
|
"street-address" : { "type":"string" },
|
|
"locality" : { "type" : "string", "required" : true },
|
|
"region" : { "type" : "string", "required" : true },
|
|
"postal-code" : { "type" : "string" },
|
|
"country-name" : { "type" : "string", "required" : true }
|
|
},
|
|
"dependencies" : {
|
|
"post-office-box" : "street-address",
|
|
"extended-address" : "street-address",
|
|
"street-address" : "region",
|
|
"locality" : "region",
|
|
"region" : "country-name"
|
|
}
|
|
} |