I am confused as to what I am doing wrong. I have tried numerous k and v value types and still get errors. I have rewatched the lecture and I am still unsure as to what I am doing wrong.
This is my current attempt.
{
“_id”: “”,
“title”: “”,
“artist”: “”,
“location”: “”,
“on_display”: “”,
“in_house”: “”,
“events”: [
{ “k” : “date_acquisition”, “v” : “” },
{ “k” : “loaned_to”, “v” : “” },
{ “k” : “loaned_date”, “v” : “” }
]
}
And I am still receiving errors. Specifically these for the code above.
Errors:
events.0.k: events.0.k must be one of the following:
events.1.k: events.1.k must be one of the following:
events.1.v: events.1.v must be one of the following:
events.2.k: events.2.k must be one of the following: