Fix: schemas/config/3/config.yaml: allow `uuid-field-type` to be `true`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 24 Sep 2020 21:45:21 +0000 (17:45 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 24 Sep 2020 22:33:43 +0000 (18:33 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/schemas/config/3/config.yaml

index 38969f9df7475e9e448411245e0468caa60860d2..5dcb4618a8213bb5539f2a64216707e76c2037e1 100644 (file)
@@ -130,12 +130,9 @@ definitions:
                                 then:
                                   const: 8
               else:
-                if:
-                  type: boolean
-                then:
-                  const: false
-                else:
-                  type: 'null'
+                oneOf:
+                  - type: boolean
+                  - type: 'null'
             data-stream-type-id-field-type:
               $ref: '#/definitions/opt-or-def-feature-uint-ft'
           additionalProperties: false
This page took 0.025026 seconds and 4 git commands to generate.