Struct balena_cdsl::dsl::schema::Schema
source · pub struct Schema {
pub types: Option<Vec<ObjectType>>,
pub annotations: Annotations,
pub children: Option<SchemaList>,
pub mapping: Option<Mapping>,
pub when: Option<Expression>,
}
Expand description
Everything that a schema at any level can represent, see schema and subschema in the spec
Fields§
§types: Option<Vec<ObjectType>>
§annotations: Annotations
§children: Option<SchemaList>
children of a schema are all schemas defined inside of this schema
mapping: Option<Mapping>
this is th DSL mapping, to and from output formats (e.g. config files etc)
when: Option<Expression>