2

I have seen in a post that the slash is no longer up to date for creating new extensions in Schema.org.

I am using Microdata and would prefer to stick to it across my site.

What is the new way to create a new extension?

For example I want to create a new extension for MedicalTourism under the category Travel Agency. Before it would have been

http://schema.org/TravelAgency/MedicalTourism 

What is the new way?

And what would the code look like?

unor
  • 92,415
  • 26
  • 211
  • 360
Julien
  • 37
  • 1
  • 5
  • HI Unor Could you please help me answer this question: http://stackoverflow.com/questions/29206514/blogger-schema-org-blogposting-properties-in-template – Julien Mar 27 '15 at 10:47

1 Answers1

2

You may still use Schema.org’s "slash-based" extension mechanism. It’s "outdated", but not invalid.

But it’s not (and never was) a good idea to use this mechanism if you want other consumers to understand or make special use of your extensions.

In some cases you could use Schema.org’s Role type, which allows you to give some additional data about a property, but not about types.

Alternatives

  • Propose new types/properties: If they are useful and the sponsors agree, they might get added to the Schema.org vocabulary at some point.

  • Use an existing vocabulary that defines types/properties for your use case (or create a new vocabulary if you don’t find one):

    • Either instead of Schema.org,

    • or in addition to Schema.org (while this works nicely with RDFa, Microdata is pretty limited: you’d have to use Schema.org’s additionalType property for additional types and full URIs for additional properties).

Community
  • 1
  • 1
unor
  • 92,415
  • 26
  • 211
  • 360
  • HI Unor I have resolved the question by using a lower category. For example for a plastic surgery procedure like Liposuction I use the category https://schema.org/PlasticSurgery and then add the relevant properties: name, description, image, offer, price, etc... I skip the use of Travel Agencycompletely as it is not directly relevant to the page for liposuction even though it is a medical tourism product offered by a travel agency. – Julien Jan 16 '15 at 09:46