Skip to content

Instantly share code, notes, and snippets.

@nickl-
Created December 23, 2012 20:37
Show Gist options
  • Select an option

  • Save nickl-/4365898 to your computer and use it in GitHub Desktop.

Select an option

Save nickl-/4365898 to your computer and use it in GitHub Desktop.
address-schema
{
"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"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment