7

I am intersted in using the Schema.org hierarchy to help users define "things" that they add to my custom CMS.
For example if they wanted to add a "person" to my CMS, they would have to add all the fields from Thing and Person.

I am looking for an XML document or some other document that I can parse to generate the hierarchy of required fields.

A tree of elements with their fields and data types would be perfect.

Basically I am looking for this entire document in XML format or some other computer readable format (JSON, ect.): http://schema.org/docs/full.html

3 Answers 3

6

I believe you are looking for schema.rdfs.org - pertinent links:

2
2

When accessing Schema.org for Developers, more specifically the Vocabulary Definition Files, we will be able to download according to one's preferences:

  • JSON-LD
  • Turtle
  • Triples
  • Quads
  • RDF/XML
  • CSV

The one you are looking for is in the format RDF/XML and, assuming you want too keep the retired terms, here is the direct link: https://schema.org/version/latest/schemaorg-all-https.rdf

enter image description here

If you don't want the retired terms, then this is the link you should go: https://schema.org/version/latest/schemaorg-current-https.rdf

enter image description here

If you have any issues, here is the GitHub repo.

If one wants to know how they develop and change schemas, go here: https://schema.org/docs/howwework.html

0

The canonical, machine-readable representation of Schema.org is in HTML+RDFa:

http://schema.org/docs/schema_org_rdfa.html

Each Schema.org release (starting from 2.0) is available as a frozen snapshot in HTML+RDFa (example for 2.0) and in N-Triples (example for 2.0).

An experimental JSON(-LD) version, and an obsolete RDF/XML snapshot are available, too.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.