Created
March 16, 2017 18:17
-
-
Save fils/d7b3266dc5eedebbce7bfd5dc0662654 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "http://schema.org/", | |
"@type": "Organization", | |
"name": "R2R", | |
"contactPoint": { | |
"@type": "ContactPoint", | |
"contactType": "Administrator", | |
"url": "http://www.ldeo.columbia.edu/user/arko", | |
"name": "Bob Arko", | |
"email": "nemo@nobody.com" | |
}, | |
"url": "http://www.rvdata.us", | |
"mainEntityOfPage": [{ | |
"@type": "DigitalDocument", | |
"fileformat": "OGC WxS", | |
"keywords": "OGC Wxs", | |
"description": "OGC Web Feature and other services", | |
"url": "http://api.rvdata.us/gis" | |
}, | |
{ | |
"@type": "DigitalDocument", | |
"fileformat": "OGC CSV", | |
"keywords": "OGC CSV", | |
"description": "OGC coverage description document", | |
"url": "http: //api.rvdata.us/catalog" | |
}, | |
{ | |
"@type": "DigitalDocument", | |
"fileformat": "OGC CSV", | |
"keywords": "SPARQL", | |
"description": "R2R SPARQL end point", | |
"url": "http: //data.rvdata.us/sparql" | |
} | |
] | |
} |
what about using the Service class for describing the services instead of mainEntityOfPage?
JSON-LD: https://gist.github.com/ashepherd/562a68ecbd7303c0600602f652241ba7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is just a simple example of trying to encode some of info as schema.org. The testing tools throughs some errors on contact type that don't line up with the property and expected Type. Likely some issue with the schema published and the schema used to test with.
The use of "DigitalDocument" is a bit of an overloading. (as in it is an overloading). Works as a placeholder for now and perhaps there is a better type with relation with Organization we can use.