-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathicarAttentionEventResource.json
50 lines (46 loc) · 1.87 KB
/
icarAttentionEventResource.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
39
40
41
42
43
44
45
46
47
48
49
50
{
"description": "Defines an alert for an animal that may require attention.",
"allOf": [
{
"$ref": "../resources/icarAnimalEventCoreResource.json"
},
{
"type": "object",
"required" : ["category", "causes"],
"properties": {
"alertEndDateTime": {
"type": ["string", "null"],
"$ref": "../types/icarDateTimeType.json",
"description": "RFC3339 date time that represents the end time of an alert (start time is the eventDateTime) if it has ended."
},
"category": {
"$ref": "../enums/icarAttentionCategoryType.json",
"description": "A category that allows filtering of alerts by subject."
},
"causes": {
"type": "array",
"items": {
"$ref": "../enums/icarAttentionCauseType.json"
},
"description": "The specific causes of the alert. This is an array and at least one cause must be specified."
},
"priority": {
"$ref": "../enums/icarAttentionPriorityType.json",
"description": "The relative priority of the alert."
},
"severity": {
"$ref": "../enums/icarDiagnosisSeverityType.json",
"description": "A structured set of severity values that align with those used in disease diagnosis."
},
"deviceAttentionScore": {
"type": "number",
"description": "Provides a manufacturer- and device-specific score related to the alert."
},
"device": {
"$ref": "../types/icarDeviceReferenceType.json",
"description": "Identifies the device that is raising the alert."
}
}
}
]
}