Add schema definition

This commit is contained in:
Chrysostomus 2021-01-26 21:34:11 +02:00
parent 4ab30569c2
commit b5cfa5109e

View File

@ -29,3 +29,12 @@ properties:
mountPoint: { type: string }
options: { type: string }
required: [ device, mountPoint ]
btrfsSubvolumes:
type: array
items:
type: object
additionalProperties: false
properties:
mountPoint: { type: string }
subvolume: { type: string }
required: [ subvolume, mountPoint ]