You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
// string (maxlength)"name": "Oignons à l'oignon",
// string"publicationDate": "Jul 30, 2018"// int"servesHowManyPeople":2,
// Timespan ("hh:mm:ss")"preparationTime": "00:30:00",
// Timespan ("hh:mm:ss")"cookingTime": "00:20:00",
// string(256)"headline": "Short text to describe the recipe",
// string(maxlength)// In HTML (if you want to add paragraphs, links, talk about your life...)"description": "<p>Super description de la recette d'oignon à l'oignon (avec du HTML dedans)<b>#YOLO</b></p>",
// string(2000)// Relative link to a local backend picture"mainPicture": "onions_with_onions_pictures/tarte-a-l-oignon.jpg",
// object[]"ingredients": [
// An ingredient always has a name, it can also have an amount and a unit
{
// int"amount": 300,
// string(255)"unit": "g",
// string (255)"name": "oignon"
},
// But the unit is not mandatory
{
"amount": 3,
"name": "gousse d'ail"
},
// The amount is not mandatory either
{
"name": "sel"
}
],
// object[]"directions": [
// A direction always has a name, it can also have a related picture
{
// string (maxlength)"description": "Couper les oignons",
// string(2000)// Relative link to a local backend picture"picture": "onions_with_onions_pictures/coupage_d_oignon.jpg"
},
// But the related picture is not mandatory
{
"description": "Emincer l'ail et l'ajouter aux morceaux d'oignons"
}
]
}
{ // string (maxlength) "name": "Oignons à l'oignon", // string "publicationDate": "Jul 30, 2018" // int "servesHowManyPeople": 2, // Timespan ("hh:mm:ss") "preparationTime": "00:30:00", // Timespan ("hh:mm:ss") "cookingTime": "00:20:00", // string(256) "headline": "Short text to describe the recipe", // string(maxlength) // In HTML (if you want to add paragraphs, links, talk about your life...) "description": "<p>Super description de la recette d'oignon à l'oignon (avec du HTML dedans)<b>#YOLO</b></p>", // string(2000) // Relative link to a local backend picture "mainPicture": "onions_with_onions_pictures/tarte-a-l-oignon.jpg", // object[] "ingredients": [ // An ingredient always has a name, it can also have an amount and a unit { // int "amount": 300, // string(255) "unit": "g", // string (255) "name": "oignon" }, // But the unit is not mandatory { "amount": 3, "name": "gousse d'ail" }, // The amount is not mandatory either { "name": "sel" } ], // object[] "directions": [ // A direction always has a name, it can also have a related picture { // string (maxlength) "description": "Couper les oignons", // string(2000) // Relative link to a local backend picture "picture": "onions_with_onions_pictures/coupage_d_oignon.jpg" }, // But the related picture is not mandatory { "description": "Emincer l'ail et l'ajouter aux morceaux d'oignons" } ] }