A command describes a remote procedure call.

interface CommandElement {
    constructor: any;
    access?: Definition;
    asOf?: `${number}.${number}`;
    byteSize?: ByteSize;
    children?: BaseElement[] & ValueElement[];
    conformance?: Definition;
    constraint?: Definition;
    default?: FieldValue;
    description?: string;
    details?: string;
    direction?: "response" | "request";
    id: number;
    isGlobal?: boolean;
    isSeed?: boolean;
    name: string;
    quality?: Definition;
    response?: string;
    tag: "command";
    type?: string;
    until?: `${number}.${number}`;
    xref?: Specification.CrossReference;
}

Hierarchy (view full)

Implemented by

Constructors

constructor: any

Properties

access?: Definition

Authorization limits.

asOf?: `${number}.${number}`

The first Matter specification in which this element appears.

byteSize?: ByteSize

Applies to numeric types.

children?: BaseElement[] & ValueElement[]

Child elements.

conformance?: Definition

Optionality control.

constraint?: Definition

Limits on values.

default?: FieldValue

The default value for the element.

description?: string

A short summary of the element.

details?: string

A paragraph summary of the element.

direction?: "response" | "request"
id: number

The ID of the element per Matter specification, either global or context-specific. A "machine appropriate" semantic differentiator.

isGlobal?: boolean

Is this a global element? Global elements are available in-scope for every cluster.

isSeed?: boolean

Is this a "seed" element? These are global types and cluster elements defined in the core specification, without which we are fairly incapacitated.

name: string

The key used for storing this element. A "human appropriate" semantic differentiator.

quality?: Definition

Other qualities not covered by conformance or access.

response?: string
tag
type?: string

If an element derives from another element, the name of the parent element goes here.

until?: `${number}.${number}`

The Matter specification revision in which this element was removed.

Reference to Matter specification document.