ValueElement: BaseElement & {
    access?: Definition;
    byteSize?: ByteSize;
    children?: ValueElement[];
    conformance?: Definition;
    constraint?: Definition;
    default?: FieldValue;
    quality?: Definition;
    type?: string;
}

A base element for all elements that represent data values.

Type declaration

  • Optionalaccess?: Definition

    Authorization limits.

  • OptionalbyteSize?: ByteSize

    Applies to numeric types.

  • Optionalchildren?: ValueElement[]

    Nested structures that may have data elements include enums, structs and lists.

  • Optionalconformance?: Definition

    Optionality control.

  • Optionalconstraint?: Definition

    Limits on values.

  • Optionaldefault?: FieldValue

    The default value for the element.

  • Optionalquality?: Definition

    Other qualities not covered by conformance or access.

  • Optionaltype?: string

    Derived datatypes as defined by the Matter Specification must specify the name of the base type. This is every type that is not global.

    Elements may use the shortcut "list[EntryType]" to designate an element as type "list" with a single child that is the entry type.