Skip to content

Commit a946d1d

Browse files
committed
共通イベントパラメータの論理名を追加。
1 parent 4a69b10 commit a946d1d

23 files changed

Lines changed: 137 additions & 61 deletions

api/battery.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,18 +743,22 @@
743743
"properties": {
744744
"serviceId": {
745745
"type": "string",
746-
"description": "0:正常応答<br>0以外:異常応答"
746+
"title": "サービスID",
747+
"description": "イベントを送信したサービスのID"
747748
},
748749
"profile": {
749750
"type": "string",
751+
"title": "プロファイル名",
750752
"description": "プロファイル名。"
751753
},
752754
"interface": {
753755
"type": "string",
756+
"title": "インターフェース名",
754757
"description": "インターフェース名。"
755758
},
756759
"attribute": {
757760
"type": "string",
761+
"title": "アトリビュート名",
758762
"description": "アトリビュート名。"
759763
}
760764
}

api/connection.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,18 +1364,22 @@
13641364
"properties": {
13651365
"serviceId": {
13661366
"type": "string",
1367-
"description": "0:正常応答<br>0以外:異常応答"
1367+
"title": "サービスID",
1368+
"description": "イベントを送信したサービスのID"
13681369
},
13691370
"profile": {
13701371
"type": "string",
1372+
"title": "プロファイル名",
13711373
"description": "プロファイル名。"
13721374
},
13731375
"interface": {
13741376
"type": "string",
1377+
"title": "インターフェース名",
13751378
"description": "インターフェース名。"
13761379
},
13771380
"attribute": {
13781381
"type": "string",
1382+
"title": "アトリビュート名",
13791383
"description": "アトリビュート名。"
13801384
}
13811385
}

api/deviceOrientation.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,18 +343,22 @@
343343
"properties": {
344344
"serviceId": {
345345
"type": "string",
346-
"description": "0:正常応答<br>0以外:異常応答"
346+
"title": "サービスID",
347+
"description": "イベントを送信したサービスのID"
347348
},
348349
"profile": {
349350
"type": "string",
351+
"title": "プロファイル名",
350352
"description": "プロファイル名。"
351353
},
352354
"interface": {
353355
"type": "string",
356+
"title": "インターフェース名",
354357
"description": "インターフェース名。"
355358
},
356359
"attribute": {
357360
"type": "string",
361+
"title": "アトリビュート名",
358362
"description": "アトリビュート名。"
359363
}
360364
}

api/ecg.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,18 +291,22 @@
291291
"properties": {
292292
"serviceId": {
293293
"type": "string",
294-
"description": "0:正常応答<br>0以外:異常応答"
294+
"title": "サービスID",
295+
"description": "イベントを送信したサービスのID"
295296
},
296297
"profile": {
297298
"type": "string",
299+
"title": "プロファイル名",
298300
"description": "プロファイル名。"
299301
},
300302
"interface": {
301303
"type": "string",
304+
"title": "インターフェース名",
302305
"description": "インターフェース名。"
303306
},
304307
"attribute": {
305308
"type": "string",
309+
"title": "アトリビュート名",
306310
"description": "アトリビュート名。"
307311
}
308312
}

api/fileDescriptor.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,18 +522,22 @@
522522
"properties": {
523523
"serviceId": {
524524
"type": "string",
525-
"description": "0:正常応答<br>0以外:異常応答"
525+
"title": "サービスID",
526+
"description": "イベントを送信したサービスのID"
526527
},
527528
"profile": {
528529
"type": "string",
530+
"title": "プロファイル名",
529531
"description": "プロファイル名。"
530532
},
531533
"interface": {
532534
"type": "string",
535+
"title": "インターフェース名",
533536
"description": "インターフェース名。"
534537
},
535538
"attribute": {
536539
"type": "string",
540+
"title": "アトリビュート名",
537541
"description": "アトリビュート名。"
538542
}
539543
}

api/geolocation.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,18 +394,22 @@
394394
"properties": {
395395
"serviceId": {
396396
"type": "string",
397-
"description": "0:正常応答<br>0以外:異常応答"
397+
"title": "サービスID",
398+
"description": "イベントを送信したサービスのID"
398399
},
399400
"profile": {
400401
"type": "string",
402+
"title": "プロファイル名",
401403
"description": "プロファイル名。"
402404
},
403405
"interface": {
404406
"type": "string",
407+
"title": "インターフェース名",
405408
"description": "インターフェース名。"
406409
},
407410
"attribute": {
408411
"type": "string",
412+
"title": "アトリビュート名",
409413
"description": "アトリビュート名。"
410414
}
411415
}

api/gpio.json

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3277,33 +3277,6 @@
32773277
}
32783278
]
32793279
},
3280-
"CommonEvent": {
3281-
"type": "object",
3282-
"required": [
3283-
"serviceId",
3284-
"profile",
3285-
"interface",
3286-
"attribute"
3287-
],
3288-
"properties": {
3289-
"serviceId": {
3290-
"type": "string",
3291-
"description": "0:正常応答<br>0以外:異常応答"
3292-
},
3293-
"profile": {
3294-
"type": "string",
3295-
"description": "プロファイル名。"
3296-
},
3297-
"interface": {
3298-
"type": "string",
3299-
"description": "インターフェース名。"
3300-
},
3301-
"attribute": {
3302-
"type": "string",
3303-
"description": "アトリビュート名。"
3304-
}
3305-
}
3306-
},
33073280
"CommonResponse": {
33083281
"type": "object",
33093282
"required": [
@@ -3333,6 +3306,37 @@
33333306
"description": "レスポンスに対する署名。アプリケーション側から事前にHMACキーを共有されていた場合は必須。"
33343307
}
33353308
}
3309+
},
3310+
"CommonEvent": {
3311+
"type": "object",
3312+
"required": [
3313+
"serviceId",
3314+
"profile",
3315+
"interface",
3316+
"attribute"
3317+
],
3318+
"properties": {
3319+
"serviceId": {
3320+
"type": "string",
3321+
"title": "サービスID",
3322+
"description": "イベントを送信したサービスのID"
3323+
},
3324+
"profile": {
3325+
"type": "string",
3326+
"title": "プロファイル名",
3327+
"description": "プロファイル名。"
3328+
},
3329+
"interface": {
3330+
"type": "string",
3331+
"title": "インターフェース名",
3332+
"description": "インターフェース名。"
3333+
},
3334+
"attribute": {
3335+
"type": "string",
3336+
"title": "アトリビュート名",
3337+
"description": "アトリビュート名。"
3338+
}
3339+
}
33363340
}
33373341
}
33383342
}

api/health.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,18 +896,22 @@
896896
"properties": {
897897
"serviceId": {
898898
"type": "string",
899-
"description": "0:正常応答<br>0以外:異常応答"
899+
"title": "サービスID",
900+
"description": "イベントを送信したサービスのID"
900901
},
901902
"profile": {
902903
"type": "string",
904+
"title": "プロファイル名",
903905
"description": "プロファイル名。"
904906
},
905907
"interface": {
906908
"type": "string",
909+
"title": "インターフェース名",
907910
"description": "インターフェース名。"
908911
},
909912
"attribute": {
910913
"type": "string",
914+
"title": "アトリビュート名",
911915
"description": "アトリビュート名。"
912916
}
913917
}

api/humanDetection.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,18 +1571,22 @@
15711571
"properties": {
15721572
"serviceId": {
15731573
"type": "string",
1574-
"description": "0:正常応答<br>0以外:異常応答"
1574+
"title": "サービスID",
1575+
"description": "イベントを送信したサービスのID"
15751576
},
15761577
"profile": {
15771578
"type": "string",
1579+
"title": "プロファイル名",
15781580
"description": "プロファイル名。"
15791581
},
15801582
"interface": {
15811583
"type": "string",
1584+
"title": "インターフェース名",
15821585
"description": "インターフェース名。"
15831586
},
15841587
"attribute": {
15851588
"type": "string",
1589+
"title": "アトリビュート名",
15861590
"description": "アトリビュート名。"
15871591
}
15881592
}

api/keyevent.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,18 +580,22 @@
580580
"properties": {
581581
"serviceId": {
582582
"type": "string",
583-
"description": "0:正常応答<br>0以外:異常応答"
583+
"title": "サービスID",
584+
"description": "イベントを送信したサービスのID"
584585
},
585586
"profile": {
586587
"type": "string",
588+
"title": "プロファイル名",
587589
"description": "プロファイル名。"
588590
},
589591
"interface": {
590592
"type": "string",
593+
"title": "インターフェース名",
591594
"description": "インターフェース名。"
592595
},
593596
"attribute": {
594597
"type": "string",
598+
"title": "アトリビュート名",
595599
"description": "アトリビュート名。"
596600
}
597601
}

0 commit comments

Comments
 (0)