blob: f4d1288f8c7a8feff9f6b425ebe331cb6ab3e2e2 [file] [log] [blame]
Jian Li7fe7eaf2018-12-31 17:00:33 +09001{
2 "type": "object",
3 "required": [
4 "name",
5 "type",
6 "manufacturer",
7 "swVersion",
8 "enabled",
9 "properties"
10 ],
11 "properties": {
12 "name": {
13 "type": "string",
14 "example": "grpc config"
15 },
16 "type": {
17 "type": "string",
18 "example": "GRPC"
19 },
20 "manufacturer": {
21 "type": "string",
22 "example": "grpc.io"
23 },
24 "swVersion": {
25 "type": "string",
26 "example": "1.0"
27 },
28 "enabled": {
29 "type": "boolean",
30 "example": true
31 },
32 "props": {
33 "type": "array",
34 "items": {
35 "type": "object",
36 "required": [
37 "key",
38 "value"
39 ],
40 "properties": {
41 "key": {
42 "type": "string",
43 "example": "address"
44 },
45 "value": {
46 "type": "string",
47 "example": "127.0.0.1"
48 }
49 }
50 }
51 }
52 }
53}