From 5da18484b9af2406caff5f0daeeb493ead13fc70 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Nov 2017 14:00:49 +0100 Subject: Add JSON-LD test suite --- tests/JSONLDTests/toRdf-0028-in.jsonld | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0028-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0028-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0028-in.jsonld b/tests/JSONLDTests/toRdf-0028-in.jsonld new file mode 100644 index 00000000..3795dfb1 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0028-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "sec": "http://purl.org/security#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "dc": "http://purl.org/dc/terms/", + "sec:signer": {"@type": "@id"}, + "dc:created": {"@type": "xsd:dateTime"} + }, + "@id": "http://example.org/sig1", + "@type": ["rdf:Graph", "sec:SignedGraph"], + "dc:created": "2011-09-23T20:21:34Z", + "sec:signer": "http://payswarm.example.com/i/john/keys/5", + "sec:signatureValue": "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=", + "@graph": { + "@id": "http://example.org/fact1", + "dc:title": "Hello World!" + } +} \ No newline at end of file -- cgit v1.2.1