Please check my understanding of REPEATED field in the following examples:
{
"title": "History of Alphabet",
"author": [
{
"name": "Larry"
},
]
}
This JSON has schema:
[
{
"name": "title",
"type": "STRING"
},
{
"name": "author",
"type": "RECORD",
"fields": [
{
"name": "name",
"type": "STRING"
}
]
}
]
But the following JSON
{
"title": "History of Alphabet",
"author": ["Larry", "Steve", "Eric"]
}
has schema:
[
{
"name": "title",
"type": "STRING"
},
{
"name": "author",
"type": "STRING",
"mode": "REPEATED"
}
]
Is this correct?
nb: I tried to go through the documentation, but can't find any explanation about this.