commit 5c7b90b2e193c9f85de3189cbb78db28a44aea97
parent 7d447c1ffcc4242ac5e56d5d321335857ad68678
Author: Lynn Foster <foster.j.lynn@gmail.com>
Date: Tue, 26 Dec 2017 11:09:41 -0600
Merge pull request #256 from valueflows/json-schemas
example json event to create resource
Diffstat:
1 file changed, 26 insertions(+), 0 deletions(-)
diff --git a/json-schemas/sample-create-resource.json b/json-schemas/sample-create-resource.json
@@ -0,0 +1,26 @@
+[
+ {
+ "id": "E10-event-to-create-resource",
+ "action": "take",
+ "start": "2017-12-01",
+ "affects": {
+ "resourceClassifiedAs": "https://www.wikidata.org/wiki/Q41777871",
+ "currentLocation": "Mikeys basement NW corner",
+ "note": "Last haralson apples of the season, good storage apples.",
+ "trackingIdentifier": "5nw-haralson"
+ },
+ "affectedQuantity": {
+ "numericValue": "10",
+ "unit": "kg"
+ },
+ "provider": {
+ "id": "A1",
+ "name": "Bob"
+ },
+ "receiver": {
+ "id": "A5",
+ "name": "Mikey"
+ }
+ }
+
+]