/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterDefinition } from "../MatterDefinition.js";
import { DatatypeElement as Datatype, FieldElement as Field } from "../../elements/index.js";
const MeasurementAccuracyStruct = Datatype(
  { name: "MeasurementAccuracyStruct", type: "struct" },
  Field({ name: "MeasurementType", id: 0, type: "MeasurementTypeEnum", conformance: "M" }),
  Field({ name: "Measured", id: 1, type: "bool", conformance: "M" }),
  Field({ name: "MinMeasuredValue", id: 2, type: "int64", conformance: "M", constraint: "-2^62 to 2^62" }),
  Field({ name: "MaxMeasuredValue", id: 3, type: "int64", conformance: "M", constraint: "-2^62 to 2^62" }),
  Field(
    { name: "AccuracyRanges", id: 4, type: "list", conformance: "M", constraint: "min 1" },
    Field({ name: "entry", type: "MeasurementAccuracyRangeStruct" })
  )
);
MatterDefinition.children.push(MeasurementAccuracyStruct);
export {
  MeasurementAccuracyStruct
};
//# sourceMappingURL=measurement-accuracy-struct.element.js.map
