How should I format my data?
{
"objectID": 42, // record identifier
"title": "Breaking Bad", // string attribute
"episodes": [ // array of strings attribute
"Crazy Handful of Nothin'",
"Gray Matter"
],
"like_count": 978, // integer attribute
"avg_rating": 1.23456, // float attribute
"featured": true, // boolean attribute
"actors": [ // nested objects attribute
{
"name": "Walter White",
"portrayed_by": "Bryan Cranston"
},
{
"name": "Skyler White",
"portrayed_by": "Anna Gunn"
}
]
}PreviousDo I need to provide an objectID for my records?NextHow can I update all the objects of my index
Last updated