/**
 * @license
 * Copyright 2022-2024 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import {
  ClusterElement as Cluster,
  AttributeElement as Attribute,
  FieldElement as Field
} from "../../elements/index.js";
const UserLabel = Cluster({
  name: "UserLabel",
  id: 65,
  type: "Label",
  classification: "endpoint",
  pics: "ULABEL",
  details: "This cluster provides a feature to tag an endpoint with zero or more labels.",
  xref: { document: "core", section: "9.9" },
  children: [
    Attribute({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 1 }),
    Attribute({
      name: "LabelList",
      id: 0,
      type: "list",
      access: "RW VM",
      conformance: "M",
      constraint: "min 0",
      default: [],
      quality: "N",
      details: "An implementation shall support at least 4 list entries per node for all User Label cluster instances on the node.",
      xref: { document: "core", section: "9.9.4.1" },
      children: [Field({ name: "entry", type: "LabelStruct" })]
    })
  ]
});
MatterDefinition.children.push(UserLabel);
export {
  UserLabel
};
//# sourceMappingURL=UserLabel.js.map
