Mocked data
Inside every template, there is a context with variables that you can show. These variables contains data about the business and locations determined by the Type
of template. Check the chapter about context variables.
This tool provide inside the data folder a subset of mocked data with all the context variables to develop a theme.
Types of mocks
Type | Entity | File |
---|---|---|
Api locations | Location | pages_api/locations.json |
Api location | Location | pages_api/location.json |
Locator | Business | locator.json |
Store | Location | store.json |
Landing | Location | landing.json |
City | Area | city.json |
AdministrativeAreaLevel1 | Aera | administrative_area_level1.json |
AdministrativeAreaLevel2 | Area | administrative_area_level2.json |
Country | Area | country.json |
Every page generated has a link to view the json content in the tool. Copy and paste the content into the files to customise the response.