Skip to content

Instantly share code, notes, and snippets.

@DrewDahlman
Forked from drewhutchison/members.json
Created March 25, 2016 01:01
Show Gist options
  • Save DrewDahlman/cefce3214d72363216ff to your computer and use it in GitHub Desktop.
Save DrewDahlman/cefce3214d72363216ff 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"
},
"employer": "OVIUM",
"email": "[email protected]",
"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
},
"employer": {"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