From a6c668af54e36e6ed62bd7a252652348b6395159 Mon Sep 17 00:00:00 2001 From: southeo Date: Tue, 28 May 2024 14:42:25 +0200 Subject: [PATCH] add examples --- .../annotations/0.1.0/schema/batch-metadata.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/data-model/annotations/0.1.0/schema/batch-metadata.json b/data-model/annotations/0.1.0/schema/batch-metadata.json index 7e25266..eba64f7 100644 --- a/data-model/annotations/0.1.0/schema/batch-metadata.json +++ b/data-model/annotations/0.1.0/schema/batch-metadata.json @@ -12,11 +12,17 @@ "properties": { "inputField": { "type": "string", - "description": "JsonPath (mixed notation) of field used to base annotation reasoning on" + "description": "JsonPath (mixed notation) of field used to base annotation reasoning on. Indexes must be wildcards", + "examples": [ + "digitalSpecimenWrapper.occurrences[*].location.dwc:country" + ] }, "inputValue": { "type": "string", - "description": "Value stored at the field indicated in inputField " + "description": "Value stored at the field indicated in inputField", + "examples": [ + "Netherlands" + ] } }, "required": [