Since June 2011, several major search engines have been collaborating on a new common data vocabulary called schema.org.
The schema.org vocabulary can be used with both Microdata or RDFa 1.1 Lite syntax, and it has types for Event, Organization, Person, Product, Review, AggregateRating, Offer and hundreds of others.
JSON-LD Syntax Tokens and Keywords
- @context
- @id
- @value
- @language
- @type
- @container
- @list
- @set
- @reverse
- @index
- @base
- @vocab
- @graph
Die wichtigsten Properties/Datentypen/Definitionen
Thing name
, description
, url
, image
- Site Name
- Person
- Event
- Events - schema.org/Events
- Event - schema.org/Event - JSON-LD Event
- Organization
- Logo, Business Description, Social Profile Links via sameAs property.
- Place - schema.org/Placen - JSON-LD Place
- LocalBusiness, Restaurant ...
- Creative works
- Recipe - schema.org/Recipe - JSON-LD Recipe
- Book, Movie, MusicRecording, TVSeries ...
- Product, Offer, AggregateOffer
- Review & Rating
- Rating - schema.org/Rating
- AggregateRating - schema.org/AggregateRating
- Webpage - schema.org/WebPage
- Embedded non-text objects: AudioObject, ImageObject, VideoObject
- Library
- Activity
- Link -
- Business Name, Address, Phone Number, Email Address, Business Hours
- Geo-location Information (coordinates and map)
Meta Listen
- Eine volle Liste ist hier Full Hirachy zu finden.
- Eine Maschinen lesbares Format wird als RDFa provided: schema.org rdfa
Weitere
Beispiele
Definitions
Special definitions
- patternProperties
- dependencies
- extends
- id
- $ref
- $schema
Features
- type: string
- enum
- format
- minLength, maxLength
- pattern
- required
- disallow
- type: number + integer
- enum
- format
- minimum, maximum
- exclusiveMinimum,exclusiveMaximum
- divisibleBy ,
- required
- disallow
- type: boolean
- required
- disallow
- type: array
- items
- minItems, maxItems
- required
- uniqueItems
- disallow
- type: object
- required_properties
- properties
- required
- additionalProperties
- disallow
Werte für "format"
- color
- date
- datetime
- datetime-local
- month
- number
- range
- tel
- text
- textarea
- time
- url
- week
Spezifikationen & Formate
- Google Datatypes - Datatypes Spezifikationen
- json - RDF/JSON Resource-Centric
- jsonschema - JSON-Schema
- jsonld - JSON-LD
- JSON-LD Spezifikation - Syntax
- JSON-LD Spezifikation - API
- rdf - http://www.w3.org/1999/02/22-rdf-syntax-ns
- rdfs - RDF Schema W3C
- rdfa - RDFa W3C
- RDFa Lite
- RDFa 1.1 Primer - Third Edition
- HTML microdata - W3C Spezifikation
- HTML-RDFa
- schema - schema.org
- schema.org Spezifikationen
- microformats2
- microformats2
- h-cart, h-geo, h-calender
- ov - Open Vocabulary - Terms
- URI Template Spezifikation
- ntriples - N-Triples
- turtle - Turtle Terse RDF Triple Language
- rdfxml - RDF/XML
- xfn - specify relationships with people
- xmdp - XHTML Meta Data Profile
- gs1 - GS1 Vocabulary Standard - Browse GS1 Web Vocabulary
- owl - OWL Web Ontology Language Reference W3C
- dc - Dublin Core -http://purl.org/dc/elements/1.1/
- gr - goodrelations -http://purl.org/goodrelations/v1
- vs - http://www.w3.org/2003/06/sw-vocab-status/ns
Visualisierung
Composite
allOf
anyOf
oneOf
not
Die wichtigsten Properties/Datentypen/Definitionen
JSON-Schema | JSON-LD | |||
Event | Veranstaltung | JSON-Schema Event | JSON-LD Event | hCalendar, iCalendar |
Events | Veranstaltungen | JSON-Schema Events | JSON-LD | |
JSON-Schema | JSON-LD | |||
Recipe | Rezept | JSON-Schema Recipe | JSON-LD | microformats.org |
JSON-Schema | JSON-LD | |||
MusicEvent | JSON-Schema MusikEvent | JSON-LD | ||
WebPage | JSON-Schema | JSON-LD |
Beispiel Code
{ "type": "string", "title": "string", "minLength": 0, "maxLength": 100, "enum": ["foo", "bar", "baz"] }
{ "type": "number", "minimum": 1, "maximum": 10 }
{ "type": "integer", "default": 25, "minimum": 18, "maximum": 99 }
{ "type": "boolean" }
{ "type": "object", "properties": { "propertyA" : {}, "propertyB" : {} } }
{ "type": "array", "items": {}, "minItems": 2, "maxItems": 5 }
Folgende Artikel könnten auch interessieren
- Pure Javascript
- JSON Schema und JSON Data und was man damit anfangen kann
- Javascript Event Handler
- GEO JSON und Google Maps
- xPath Cheat Sheet
- WordPress Code Cheat Sheet
- WordPress Action Hooks
- Wikipedia auslesen und als JSON konvertieren
- Webseiten GZip komprimiert ausliefern
- UML Cheat Sheet
- Übersicht von Entity Datenmodellen
- Typografie Cheat Sheet
- Trigonometrie mit Javascript
- Top Web UI Frameworks mit HTML5, CSS und Javascript
- Top jQuery UI Libraries
- Top Javascript Komponenten
- Testartikel 1 Lorem ipsum
- Streaming mit dem Soundmanager2 von schillmania.com
- Strato vServer Cheat Sheet
- Shopware ExtJs Dokumentationen und Hilfen