diff --git a/riocli/jsonschema/schemas/network-schema.yaml b/riocli/jsonschema/schemas/network-schema.yaml index 2c2116e1..366b94d9 100644 --- a/riocli/jsonschema/schemas/network-schema.yaml +++ b/riocli/jsonschema/schemas/network-schema.yaml @@ -65,8 +65,8 @@ definitions: runtime: enum: - device - deviceGUID: - "$ref": "#/definitions/uuid" + depends: + "$ref": "#/definitions/depends" networkInterface: type: string restartPolicy: @@ -74,7 +74,7 @@ definitions: default: always required: - - deviceGUID + - depends - networkInterface rosDistro: @@ -126,6 +126,15 @@ definitions: type: string pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" + depends: + type: object + properties: + kind: + const: Device + default: Device + nameOrGUID: + type: string + resourceLimits: type: object properties: