TravelAction Agent Schema

0 replies
  • SEO
  • |
Hello,

I am working for an e-bus ticketing portal and I wanted to understand if it is safe to use travelaction agent schema from Schema.org for a bus service provider page? Kindly have a look at the below script constructed by me which gives some information about a third party service provider (like bus name, color, image etc). Can I use following code on my site for that specific service provider page. This code doesn't throw any error in the structured data testing tool.


<script type="application/ld+json">
[{ "@context": "http://schema.org/", "@type":"TravelAction", "agent": { "@type":"Organization", "name":"example-parent-portal-name" }, "instrument": { "@type":"BusOrCoach", "name":"example-service-operator-name", "color":"White", "image":"http://st.example.com/Images/BusGallery/22/10/1.jpg" }, "result":"Bus travel" }]</script>
#agent #schema #travelaction
Avatar of Unregistered

Trending Topics