Skip to content

Commit

Permalink
fix(networks): fix device network schema
Browse files Browse the repository at this point in the history
  • Loading branch information
smrutisenapati authored and pallabpain committed Sep 4, 2024
1 parent 0e3ea14 commit 7ebabf0
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions riocli/jsonschema/schemas/network-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ definitions:
runtime:
enum:
- device
deviceGUID:
"$ref": "#/definitions/uuid"
depends:
"$ref": "#/definitions/depends"
networkInterface:
type: string
restartPolicy:
"$ref": "#/definitions/restartPolicy"
default: always

required:
- deviceGUID
- depends
- networkInterface

rosDistro:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7ebabf0

Please sign in to comment.