File tree Expand file tree Collapse file tree 2 files changed +72
-1
lines changed
Expand file tree Collapse file tree 2 files changed +72
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " http://json-schema.org/draft-07/schema" ,
3+ "$id" : " #/schemas/errorschema" ,
4+ "type" : " object" ,
5+ "default" : {},
6+ "additionalProperties" : true ,
7+ "required" : [
8+ " deviceId" ,
9+ " moduleId" ,
10+ " messageType" ,
11+ " errorCode" ,
12+ " errorSeverity" ,
13+ " errorStatus" ,
14+ " timestamp"
15+ ],
16+ "properties" : {
17+ "deviceId" : {
18+ "$id" : " #/properties/deviceId" ,
19+ "type" : " string" ,
20+ "default" : " " ,
21+ "examples" : [
22+ " "
23+ ]
24+ },
25+ "moduleId" : {
26+ "$id" : " #/properties/moduleId" ,
27+ "type" : " string" ,
28+ "default" : " " ,
29+ "examples" : [
30+ " "
31+ ]
32+ },
33+ "messageType" : {
34+ "$id" : " #/properties/messageType" ,
35+ "type" : " string" ,
36+ "default" : " " ,
37+ "examples" : [
38+ " error"
39+ ]
40+ },
41+ "errorCode" : {
42+ "$id" : " #/properties/errorCode" ,
43+ "type" : " string" ,
44+ "default" : " " ,
45+ "examples" : [
46+ " code"
47+ ]
48+ },
49+ "errorSeverity" : {
50+ "$id" : " #/properties/errorSeverity" ,
51+ "type" : " string" ,
52+ "default" : " " ,
53+ "examples" : [
54+ " severity"
55+ ]
56+ },
57+ "errorStatus" : {
58+ "$id" : " #/properties/errorStatus" ,
59+ "type" : " string" ,
60+ "default" : " " ,
61+ "examples" : [
62+ " status"
63+ ]
64+ },
65+ "errorDate" : {
66+ "$id" : " #/properties/timestamp" ,
67+ "type" : " string" ,
68+ "format" : " date-tilme"
69+ }
70+ }
71+ }
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema" ,
3- "$id" : " #/schemas/measureddataschema.json " ,
3+ "$id" : " #/schemas/measureddataschema" ,
44 "type" : " object" ,
55 "title" : " Measured data message type schema" ,
66 "description" : " Proposal of a generic type of schema." ,
You can’t perform that action at this time.
0 commit comments