commit efcb76f656d639c3b63f3bdfce728df7319d9161
parent 002d268a776199962f471811aae55f77dc55b24b
Author: Lynn Foster <foster.j.lynn@gmail.com>
Date: Sat, 9 Dec 2017 08:09:51 -0600
Merge pull request #251 from valueflows/json-schemas
added quantityvalue to json schemas
Diffstat:
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/json-schemas/QuantityValue.json b/json-schemas/QuantityValue.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "http://json-schema.org/draft-06/schema#",
+ "id": "https://raw.githubusercontent.com/valueflows/valueflows/master/json-schemas/QuantityValue.json",
+ "title": "QuantityValue",
+ "description": "A numeric value with a unit of measure.",
+ "type": "object",
+ "properties": {
+ "numericValue": {
+ "description": "A numeric value.",
+ "type": "number"
+ },
+ "unit": {
+ "description": "A unit of measure.",
+ "type": "string"
+ }
+ },
+ "required": ["numericValue", "unit"]
+}