YAML Schemas#
The YAML formats are specified using JSON Schema. You can get the full schema using schema (C++ components only), schema (C++ and Python components), like
$ navground schema core
$id: http://navground/core
$schema: https://json-schema.org/draft/2020-12/schema
$defs:
vector2:
type: array
items:
type: number
minItems: 2
maxItems: 2
$id: http://navground/vector2
...
To validate a <type>
using this schema, add a reference:
$id: http://navground/core
$schema: https://json-schema.org/draft/2020-12/schema
$ref: <type>
$defs:
behavior:
...
Note
All schema reported in this section are auto-generated using the Python API, see navground.core.schema.core()
.