forked from OpenInterConnect/IoTDataModels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoic.r.energy.drlc.json
35 lines (35 loc) · 1.08 KB
/
oic.r.energy.drlc.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
{
"id": "http://openinterconnect.org/schemas/oic.r.energy.drlc#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2016 Open Interconnect Consortium, Inc. All rights reserved.",
"definitions": {
"oic.r.energy.drlc": {
"type": "object",
"properties": {
"DRType": {
"type": "integer",
"description": "The to be applied demand-response type"
},
"start": {
"type": "string",
"description": "The start time for the application of DR"
},
"duration": {
"type": "integer",
"description": "The duration of the to be applied DR type"
},
"override": {
"type": "boolean",
"description": "Whether the consumer has overriden the application of DR"
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "oic.core.json#/definitions/oic.core"},
{"$ref": "oic.baseResource.json#/definitions/oic.r.baseresource"},
{"$ref": "#/definitions/oic.r.energy.drlc"}
],
"required": ["DRType"]
}