Skip to content

Instantly share code, notes, and snippets.

@drewhutchison
Last active March 25, 2016 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save drewhutchison/df4f61322d22970c76d2 to your computer and use it in GitHub Desktop.
Save drewhutchison/df4f61322d22970c76d2 to your computer and use it in GitHub Desktop.
denver-devs rolodex schema proposed draft
[
{
"picture": "http://placehold.it/32x32",
"website": "https://example.com",
"name": {
"first": "Amber",
"last": "Aguilar"
},
"company": "OVIUM",
"email": "amber.aguilar@ovium.com",
"pronouns": {
"personal": "she",
"object": "her",
"reflexive": "herself",
"possessive": "hers"
},
"phone": "+1 (877) 569-3009",
"about": "Veniam laboris velit quis Lorem fugiat duis velit pariatur minim reprehenderit non et pariatur. Nulla nostrud occaecat occaecat dolore cupidatat qui consequat culpa nulla dolor. Veniam id officia ut sunt laboris Lorem nisi labore sit ut. Excepteur laborum veniam eu cillum quis velit in culpa. Commodo laboris id ipsum veniam cillum culpa nisi.",
"city": "Denver",
"state": "CO",
"skills": [
"foo",
"bar",
"ruby"
],
"links": {
"twitter": "twitter.com/legittalon",
"github": "github.com/legittalon"
}
}
]
{
"type": "array",
"items": {
"type": "object",
"properties": {
"picture": {"type": "string"},
"website": {"type": "string"},
"name": {
"type": "object",
"properties": {
"first": {"type": "string"},
"last": {"type": "string"}
},
"required": [
"first",
"last"
],
"additionalProperties": false
},
"company": {"type": "string"},
"email": {"type": "string"},
"pronouns": {
"type": "object",
"properties": {
"personal": {"type": "string"},
"object": {"type": "string"},
"reflexive": {"type": "string"},
"possessive": {"type": "string"}
},
"additionalProperties": false
},
"phone": {"type": "string"},
"about": {"type": "string"},
"city": {"type": "string"},
"state": {"type": "string"},
"skills": {
"type": "array",
"items": {"type": "string"}
},
"links": {
"additionalProperties": {"type": "string"}
}
},
"required": [
"name"
],
"additionalProperties": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment