Skip to content

Instantly share code, notes, and snippets.

@cleverbeagle
Created November 22, 2017 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverbeagle/135fbf23991e7c94a90f2c247224ec54 to your computer and use it in GitHub Desktop.
Save cleverbeagle/135fbf23991e7c94a90f2c247224ec54 to your computer and use it in GitHub Desktop.
Start With the Data - Good Data Example
{
name: 'Poppyseed',
address: {
street: '1234 Marion St.',
suite: '29',
postalCode: '12345',
city: 'Andersonville',
state: 'IL',
country: 'US',
},
telephone: '555-123-4567',
fax: '555-123-4568',
website: 'http://eatpoppyseed.com',
hours: [
{ day: 'Monday', from: '9:00am', to: '9:00pm', closed: false },
{ day: 'Tuesday', from: '9:00am', to: '9:00pm', closed: true },
{ day: 'Wednesday', from: '9:00am', to: '9:00pm', closed: false },
{ day: 'Thursday', from: '9:00am', to: '9:00pm', closed: false },
{ day: 'Friday', from: '9:00am', to: '11:00pm', closed: false },
{ day: 'Saturday', from: '11:00am', to: '11:00pm', closed: false },
{ day: 'Sunday', from: '11:00am', to: '6:00pm', closed: true },
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment