Skip to content

Commit acdd1fc

Browse files
committed
JsonSchema: add btrfs
1 parent 1b93452 commit acdd1fc

File tree

1 file changed

+75
-4
lines changed

1 file changed

+75
-4
lines changed

doc/json_schema.json

Lines changed: 75 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@
655655
"bootmgr",
656656
"break",
657657
"brightness",
658+
"btrfs",
658659
"camera",
659660
"chassis",
660661
"cpu",
@@ -887,10 +888,6 @@
887888
{
888889
"const": "wmtheme",
889890
"description": "Print current theme of window manager"
890-
},
891-
{
892-
"const": "zpool",
893-
"description": "Print ZFS storage pools"
894891
}
895892
]
896893
},
@@ -1059,6 +1056,38 @@
10591056
}
10601057
}
10611058
},
1059+
{
1060+
"title": "BTRFS",
1061+
"type": "object",
1062+
"additionalProperties": false,
1063+
"properties": {
1064+
"type": {
1065+
"const": "btrfs",
1066+
"description": "Print Btrfs volumes"
1067+
},
1068+
"percent": {
1069+
"$ref": "#/$defs/percent"
1070+
},
1071+
"key": {
1072+
"$ref": "#/$defs/key"
1073+
},
1074+
"keyColor": {
1075+
"$ref": "#/$defs/keyColor"
1076+
},
1077+
"keyIcon": {
1078+
"$ref": "#/$defs/keyIcon"
1079+
},
1080+
"keyWidth": {
1081+
"$ref": "#/$defs/keyWidth"
1082+
},
1083+
"outputColor": {
1084+
"$ref": "#/$defs/outputColor"
1085+
},
1086+
"format": {
1087+
"$ref": "#/$defs/format"
1088+
}
1089+
}
1090+
},
10621091
{
10631092
"title": "Chassis",
10641093
"type": "object",
@@ -1634,6 +1663,16 @@
16341663
"type": "boolean",
16351664
"default": false
16361665
},
1666+
"showSpeed": {
1667+
"description": "Show ethernet rx speed",
1668+
"type": "boolean",
1669+
"default": false
1670+
},
1671+
"showMtu": {
1672+
"description": "Show MTU",
1673+
"type": "boolean",
1674+
"default": false
1675+
},
16371676
"showMac": {
16381677
"description": "Show MAC addresses",
16391678
"type": "boolean",
@@ -2261,6 +2300,38 @@
22612300
"$ref": "#/$defs/format"
22622301
}
22632302
}
2303+
},
2304+
{
2305+
"title": "Zpool",
2306+
"type": "object",
2307+
"additionalProperties": false,
2308+
"properties": {
2309+
"type": {
2310+
"const": "zpool",
2311+
"description": "Print ZFS storage pools"
2312+
},
2313+
"percent": {
2314+
"$ref": "#/$defs/percent"
2315+
},
2316+
"key": {
2317+
"$ref": "#/$defs/key"
2318+
},
2319+
"keyColor": {
2320+
"$ref": "#/$defs/keyColor"
2321+
},
2322+
"keyIcon": {
2323+
"$ref": "#/$defs/keyIcon"
2324+
},
2325+
"keyWidth": {
2326+
"$ref": "#/$defs/keyWidth"
2327+
},
2328+
"outputColor": {
2329+
"$ref": "#/$defs/outputColor"
2330+
},
2331+
"format": {
2332+
"$ref": "#/$defs/format"
2333+
}
2334+
}
22642335
}
22652336
]
22662337
}

0 commit comments

Comments
 (0)