Redirect to official Schema.org context instead of serving local one default tip
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 29 Jul 2014 20:44:07 -0400
changeset 2173 81605b5eaffb
parent 2172 113cd80d77e6
Redirect to official Schema.org context instead of serving local one
contexts/.htaccess
contexts/schema.org.jsonld
--- a/contexts/.htaccess	Tue Jul 29 14:24:09 2014 -0400
+++ b/contexts/.htaccess	Tue Jul 29 20:44:07 2014 -0400
@@ -3,3 +3,5 @@
    SetHandler default_handler
    Header add Access-Control-Allow-Origin *
 </FilesMatch>
+
+Redirect 301 /contexts/schema.org.jsonld http://schema.org/
--- a/contexts/schema.org.jsonld	Tue Jul 29 14:24:09 2014 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,117 +0,0 @@
-{
-  "@context": {
-    "@vocab": "http://schema.org/",
-    "xsd": "http://www.w3.org/2001/XMLSchema#",
-    "about": {
-      "@type": "@id"
-    },
-    "address": {
-      "@type": "@id"
-    },
-    "affiliation": {
-      "@type": "@id"
-    },
-    "alumni": {
-      "@type": "@id"
-    },
-    "alumniOf": {
-      "@type": "@id"
-    },
-    "attendee": {
-      "@type": "@id"
-    },
-    "birthDate": {
-      "@type": "xsd:date"
-    },
-    "brand": {
-      "@type": "@id"
-    },
-    "children": {
-      "@type": "@id"
-    },
-    "colleague": {
-      "@type": "@id"
-    },
-    "contactPoint": {
-      "@type": "@id"
-    },
-    "duration": {
-      "@type": "xsd:duration"
-    },
-    "endDate": {
-      "@type": "xsd:date"
-    },
-    "follows": {
-      "@type": "@id"
-    },
-    "homeLocation": {
-      "@type": "@id"
-    },
-    "image": {
-      "@type": "@id"
-    },
-    "knows": {
-      "@type": "@id"
-    },
-    "latitude": {
-      "@type": "xsd:float"
-    },
-    "location": {
-      "@type": "@id"
-    },
-    "longitude": {
-      "@type": "xsd:float"
-    },
-    "map": {
-      "@type": "@id"
-    },
-    "memberOf": {
-      "@type": "@id"
-    },
-    "nationality": {
-      "@type": "@id"
-    },
-    "offers": {
-      "@type": "@id"
-    },
-    "parent": {
-      "@type": "@id"
-    },
-    "performer": {
-      "@type": "@id"
-    },
-    "photo": {
-      "@type": "@id"
-    },
-    "relatedTo": {
-      "@type": "@id"
-    },
-    "sameAs": {
-      "@type": "@id"
-    },
-    "sibling": {
-      "@type": "@id"
-    },
-    "spouse": {
-      "@type": "@id"
-    },
-    "startDate": {
-      "@type": "xsd:date"
-    },
-    "subEvent": {
-      "@type": "@id"
-    },
-    "superEvent": {
-      "@type": "@id"
-    },
-    "url": {
-      "@type": "@id"
-    },
-    "workLocation": {
-      "@type": "@id"
-    },
-    "worksFor": {
-      "@type": "@id"
-    }
-  }
-}