From 3408f066840d89204c9cb2952d1fc87d8ab0e6a9 Mon Sep 17 00:00:00 2001 From: Mark Trayer Date: Tue, 11 Aug 2020 12:38:14 -0500 Subject: [PATCH 1/2] Add tag-locn semantic tag --- schemas/oic.common.properties.core-schema.json | 10 ++++++++++ schemas/oic.links.properties.core-schema.json | 11 +++++++++++ schemas/oic.types-schema.json | 10 ++++++++++ 3 files changed, 31 insertions(+) diff --git a/schemas/oic.common.properties.core-schema.json b/schemas/oic.common.properties.core-schema.json index 88fbf1d..8bbc27d 100644 --- a/schemas/oic.common.properties.core-schema.json +++ b/schemas/oic.common.properties.core-schema.json @@ -43,6 +43,16 @@ "description": "Descriptive function of the Resource, contains a valid OCF enumeration value", "type": "string", "readOnly": true + }, + "tag-locn": { + "allOf": [ + { + "$ref": "oic.types-schema.json#/definitions/locn-descriptions" + }, + { + "description": "Descriptive location of the Resource" + } + ] } } } diff --git a/schemas/oic.links.properties.core-schema.json b/schemas/oic.links.properties.core-schema.json index ebfcf51..6cfd72f 100644 --- a/schemas/oic.links.properties.core-schema.json +++ b/schemas/oic.links.properties.core-schema.json @@ -117,6 +117,17 @@ "description": "Descriptive function of the Resource, contains a valid OCF enumeration value", "type": "string", "readOnly": true + }, + "tag-locn": { + "allOf": [ + { + "$ref": "oic.types-schema.json#/definitions/locn-descriptions" + }, + { + "description": "Descriptive location of the Resource", + "readOnly": true + } + ] } } } diff --git a/schemas/oic.types-schema.json b/schemas/oic.types-schema.json index fccb6a4..e85125a 100644 --- a/schemas/oic.types-schema.json +++ b/schemas/oic.types-schema.json @@ -36,6 +36,16 @@ "pos-descriptions": { "type": "string", "enum": ["unknown","top","bottom","left","right","centre","topleft","bottomleft","centreleft","centreright","bottomright","topright","topcentre","bottomcentre"] + }, + "locn-descriptions": { + "type": "string", + "enum": ["unknown","attic","balcony","ballroom","bathroom","bedroom","border","boxroom","cellar","cloakroom", + "conservatory","corridor","deck","den","diningroom","drawingroom","driveway","dungeon","ensuite", + "entrance","familyroom","garage","garden","guestroom","hall","indoor","kitchen","larder","lawn", + "library","livingroom","lounge","mancave","masterbedroom","musicroom","office","outdoor","pantry", + "parkinglot","parlour","patio","receiptionroom","restroom","roof","roofterrace","sauna","shed", + "sittingroom","snug","spa","studio","suite","swimmingpool","terrace","toilet","utilityroom", + "vegetableplot","ward","yard"] } } } From 730f472c852c62be508df664d13d203e0b811fcc Mon Sep 17 00:00:00 2001 From: Mark Trayer Date: Thu, 20 Aug 2020 11:49:51 -0500 Subject: [PATCH 2/2] Addition of items identified on CTWG call of 8/18 --- schemas/oic.types-schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/oic.types-schema.json b/schemas/oic.types-schema.json index e85125a..e09b69a 100644 --- a/schemas/oic.types-schema.json +++ b/schemas/oic.types-schema.json @@ -43,8 +43,8 @@ "conservatory","corridor","deck","den","diningroom","drawingroom","driveway","dungeon","ensuite", "entrance","familyroom","garage","garden","guestroom","hall","indoor","kitchen","larder","lawn", "library","livingroom","lounge","mancave","masterbedroom","musicroom","office","outdoor","pantry", - "parkinglot","parlour","patio","receiptionroom","restroom","roof","roofterrace","sauna","shed", - "sittingroom","snug","spa","studio","suite","swimmingpool","terrace","toilet","utilityroom", + "parkinglot","parlour","patio","receiptionroom","restroom","roof","roofterrace","sauna","scullery", + "shed","sittingroom","snug","spa","studio","suite","swimmingpool","terrace","toilet","utilityroom", "vegetableplot","ward","yard"] } }