diff options
Diffstat (limited to 'json-elements/jsonld')
-rw-r--r-- | json-elements/jsonld | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/json-elements/jsonld b/json-elements/jsonld new file mode 100644 index 0000000..be0e711 --- /dev/null +++ b/json-elements/jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "gr": "http://purl.org/goodrelations/v1#", + "pto": "http://www.productontology.org/id/", + "foaf": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "foaf:page": { + "@type": "@id" + }, + "gr:acceptedPaymentMethods": { + "@type": "@id" + }, + "gr:hasBusinessFunction": { + "@type": "@id" + }, + "gr:hasCurrencyValue": { + "@type": "xsd:float" + } + }, + "@id": "http://example.org/cars/for-sale#tesla", + "@type": "gr:Offering", + "gr:name": "Used Tesla Roadster", + "gr:description": "Need to sell fast and furiously", + "gr:hasBusinessFunction": "gr:Sell", + "gr:acceptedPaymentMethods": "gr:Cash", + "gr:hasPriceSpecification": { + "gr:hasCurrencyValue": "85000", + "gr:hasCurrency": "USD" + }, + "gr:includes": { + "@type": [ + "gr:Individual", + "pto:Vehicle" + ], + "gr:name": "Tesla Roadster", + "foaf:page": "http://www.teslamotors.com/roadster" + } +} |