Skip to content

Commit 76a210a

Browse files
authored
Update clab.schema.json to match types expected for iol (#2774)
Update clab.schema.json
1 parent bf119d6 commit 76a210a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

schemas/clab.schema.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,24 @@
505505
}
506506
}
507507
}
508+
},
509+
{
510+
"if": {
511+
"properties": {
512+
"kind": {
513+
"pattern": "(cisco_iol)"
514+
}
515+
},
516+
"required": ["kind"]
517+
},
518+
"then": {
519+
"properties": {
520+
"type": {
521+
"type": "string",
522+
"enum": ["iol","l2"]
523+
}
524+
}
525+
}
508526
}
509527
],
510528
"additionalProperties": false

0 commit comments

Comments
 (0)