Skip to content

Instantly share code, notes, and snippets.

@goesbysteve
Last active February 16, 2018 14:14
Show Gist options
  • Save goesbysteve/2747ccc2283cf3c5982903837c606d18 to your computer and use it in GitHub Desktop.
Save goesbysteve/2747ccc2283cf3c5982903837c606d18 to your computer and use it in GitHub Desktop.
Flattened but hasty model idea
{
page: {
category: "<STRING>",
subcategory: "<STRING>",
channel: "<STRING>",
title: "<STRING>",
article: {
id: "<STRING>",
description: "<STRING>",
author: "<STRING>",
type: "<STRING>",
tags: ["<LIST_OF_STRINGS>"],
grapeshot_categories: ["<LIST_OF_STRINGS>"]
},
product: {
id: "<STRING>",
brand: "<STRING>",
category: "<STRING>",
subcategory: "<STRING>",
readers_score: "<INTEGER>",
region: "<STRING>",
name: "<STRING>",
price_min: "<FLOAT>",
price_max: "<FLOAT>",
target_age: "<STRING>",
br_url: "<STRING>",
score: "<INTEGER>"
},
programme: {
tv_channel: "<STRING>",
characters: "<STRING>",
genre: "<STRING>",
name: "<STRING>",
people: "<STRING>",
specialism: "<STRING>",
channel: "<STRING>",
time_of_show: "<STRING>",
episode: "<INTEGER>",
technical: ["<LIST_OF_STRINGS>"],
runtime: "<INTEGER>",
certificate: "<STRING>",
score: "<INTEGER>",
discover: "<INTEGER>"
},
recipe: {
collection: "<STRING>",
cooking_time: "<INTEGER>",
prep_time: "<INTEGER>",
serves: "<INTEGER>",
keywords: ["<LIST_OF_STRINGS>"],
ratings: "<INTEGER>",
nutrition_info: ["<LIST_OF_STRINGS>"],
ingredients: ["<LIST_OF_STRINGS>"],
course: "<STRING>",
cusine: "<STRING>",
diet_type: "<STRING>",
skill_level: "<STRING>",
post_dates: "<STRING>"
},
car: {
make: "<STRING>",
body_style: "<STRING>",
body_style_display: "<STRING>",
car_body_style: "<STRING>",
car_body_style_display: "<STRING>",
car: "<STRING>",
model: "<STRING>",
derivative: "<STRING>",
price_min: "<FLOAT>",
price_max: "<FLOAT>",
range: "<STRING>",
verdict: "<INTEGER>",
seats: "<STRING>",
doors: "<INTEGER>",
zero_to_sixty: "<FLOAT>",
bhp: "<INTEGER>",
fuel_eco: "<INTEGER>",
co2: "<FLOAT>",
fuel_type: "<STRING>",
insurance_cat: "<INTEGER>"
},
venue: {
type: "<STRING>",
country: "<STRING>",
county: "<STRING>",
name: "<STRING>",
address: "<STRING>",
rating: "<INTEGER>",
request_brochure: "<BOOLEAN>",
shortlist_venue: "<BOOLEAN>",
evening_entertainment: "<BOOLEAN>",
overnight_accommodation: ["<LIST_OF_STRINGS>"],
other_features: ["<LIST_OF_STRINGS>"],
dining_options: ["<LIST_OF_STRINGS>"],
capacity: "<INTEGER>",
staff_assistance: "<BOOLEAN>"
},
garden: {
flower_time: ["<LIST_OF_STRINGS>"],
botanical_name: "<STRING>",
common_name: "<STRING>",
plant_type: "<STRING>",
colour: "<STRING>",
foliage_colour: "<STRING>",
features: ["<LIST_OF_STRINGS>"],
sun: "<STRING>",
aspect: "<STRING>",
position: "<STRING>",
hardiness: "<STRING>",
position_in_border: "<STRING>",
soil_type: "<STRING>",
attracts: ["<LIST_OF_STRINGS>"],
wildlife: ["<LIST_OF_STRINGS>"],
plant_time: ["<LIST_OF_STRINGS>"],
divide_time: ["<LIST_OF_STRINGS>"],
toxic: "<STRING>",
months_of_interest: ["<LIST_OF_STRINGS>"],
garden_type: ["<LIST_OF_STRINGS>"],
sow: ["<LIST_OF_STRINGS>"],
plant: ["<LIST_OF_STRINGS>"],
flowers: ["<LIST_OF_STRINGS>"],
fruits: ["<LIST_OF_STRINGS>"],
divide: ["<LIST_OF_STRINGS>"],
take_cuttings: ["<LIST_OF_STRINGS>"],
prune: ["<LIST_OF_STRINGS>"],
cut_back: ["<LIST_OF_STRINGS>"],
collect_seeds: ["<LIST_OF_STRINGS>"],
harvest: ["<LIST_OF_STRINGS>"],
at_its_best: ["<LIST_OF_STRINGS>"],
do_it: ["<LIST_OF_STRINGS>"],
time_to_act: ["<LIST_OF_STRINGS>"]
},
forum: {
breadcrumbs: ["<LIST_OF_STRINGS>"],
post_title: "<STRING>",
new_posts: "<BOOLEAN>"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment