Skip to content

Commit

Permalink
Merge pull request #173 from openconnectivityfoundation/Bugzilla-3402
Browse files Browse the repository at this point in the history
Add tag-locn semantic tag
  • Loading branch information
marktrayer authored Oct 20, 2020
2 parents 48492a9 + 730f472 commit 9e1fce1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
10 changes: 10 additions & 0 deletions schemas/oic.common.properties.core-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
}
}
11 changes: 11 additions & 0 deletions schemas/oic.links.properties.core-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
}
}
10 changes: 10 additions & 0 deletions schemas/oic.types-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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","scullery",
"shed","sittingroom","snug","spa","studio","suite","swimmingpool","terrace","toilet","utilityroom",
"vegetableplot","ward","yard"]
}
}
}

0 comments on commit 9e1fce1

Please sign in to comment.