I have a Document where a user has 2 addresses such as below. How would I create a schema for this in python-eve?
Also, How would I create an API request to allow a user to update only the zipcode. Do they have to repost the entire document?
{
_id: "joe",
name: "Joe Bookreader",
addresses: [
{
street: "123 Fake Street",
city: "Faketon",
state: "MA",
zip: "12345"
},
{
street: "1 Some Other Street",
city: "Boston",
state: "MA",
zip: "12345"
}
]
}