I am trying to work out whether Event structured data is valid if the location field is just text, but I have found conflicting answers.
Example:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Event",
"startDate": "2013-09-14T21:30",
"name": "Name of the event",
"location" : "Some place"
}
</script>
Google's rich snippet guide explicitly says that this is permissible (though not recommended):
A text string is permitted, but we recommend that you represent the location by using a nested Place or Organization to separately specify a venue name and its address.
But if I paste the data above into Google's own structured data testing tool, it interprets "location" as an object and rejects it because it has no address:
location [Thing]:
name: Some place
address: missing and required
schema.org also suggests that the only valid types are PostalAddress or Place, and not plain text.
The linter at http://linter.structured-data.org/, however, accepts the data without any errors.