I want to show events on Google, so I have created this JSON-LD:
<script type="application/ld+json">
[{
"@context": "http://schema.org",
"@type": "TestEvent",
"name": "Rohit Patil Event",
"startDate": "2014-10-10T19:30",
"location": {
"@type": "Place",
"name": "Warner Theatre",
"address": "Washington, DC"
},
"offers": {
"@type": "Offer",
"url": "https://www.etix.com/ticket/1771656"
}
}
]
</script>
I have tested this in testing tool and having 0 error.
How can I use this code to work on Google? What is the best file to place this code?