From cdf708660e615b1dee61e8c83dfe648ff3c892e5 Mon Sep 17 00:00:00 2001 From: Nicolas Farabegoli Date: Tue, 11 Oct 2022 14:27:58 +0200 Subject: [PATCH] chore: add available milk --- things-models/milk-tank/milk-tank.tm.jsonld | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/things-models/milk-tank/milk-tank.tm.jsonld b/things-models/milk-tank/milk-tank.tm.jsonld index 7b103707..d372c55f 100644 --- a/things-models/milk-tank/milk-tank.tm.jsonld +++ b/things-models/milk-tank/milk-tank.tm.jsonld @@ -13,8 +13,8 @@ "model": "1.0.0" }, "tm:optional": [], - "links":[ - { + "links": [ + { "rel": "tm:submodel", "href": "https://raw.githubusercontent.com/atedeg/mdm-dt/main/things-models/milk-tank/ph.tm.jsonld", "type": "application/tm+json", @@ -37,6 +37,11 @@ "title": "Serial number", "type": "string", "readOnly": true + }, + "availableMilk": { + "title": "Available milk in the tank", + "type": "number", + "readOnly": true } }, "actions": { @@ -46,4 +51,4 @@ "type": "boolean" } } -} +} \ No newline at end of file