forked from OpenInterConnect/IoTDataModels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oic.core.json
38 lines (38 loc) · 1.17 KB
/
oic.core.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"id": "http://openinterconnect.org/schemas/oic.core.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2016 Open Interconnect Consortium, Inc. All rights reserved.",
"title": "Core",
"$ref": "#/definitions/oic.core",
"definitions": {
"oic.core": {
"type": "object",
"properties": {
"rt": {
"type": "string",
"description": "ReadOnly, Resource Type"
},
"if": {
"type" : "array",
"description": "ReadOnly, The interface set supported by this resource",
"items": {
"type": "string",
"enum" : ["oic.if.baseline", "oic.if.ll", "oic.if.b", "oic.if.lb", "oic.if.rw", "oic.if.r", "oic.if.a", "oic.if.s" ]
}
},
"p": {
"type": "integer",
"description": "ReadOnly, Bitmap indicating observable and discoverable"
},
"n": {
"type": "string",
"description": "ReadOnly, Friendly name of the resource"
},
"id": {
"type": "string",
"description": "ReadOnly, Instance ID of this specific resource"
}
}
}
}
}