/**
 * @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 MeasurementAccuracyRangeStruct = Datatype(
  { name: "MeasurementAccuracyRangeStruct", type: "struct" },
  Field({ name: "RangeMin", id: 0, type: "int64", conformance: "M" }),
  Field({ name: "RangeMax", id: 1, type: "int64", conformance: "M" }),
  Field({ name: "PercentMax", id: 2, type: "percent100ths", conformance: "O.a+" }),
  Field({
    name: "PercentMin",
    id: 3,
    type: "percent100ths",
    conformance: "[PercentMax]",
    constraint: "max percentTypical"
  }),
  Field({
    name: "PercentTypical",
    id: 4,
    type: "percent100ths",
    conformance: "[PercentMin]",
    constraint: "percentMin to percentMax"
  }),
  Field({ name: "FixedMax", id: 5, type: "uint64", conformance: "O.a+" }),
  Field({ name: "FixedMin", id: 6, type: "uint64", conformance: "[FixedMax]", constraint: "max fixedMax" }),
  Field({ name: "FixedTypical", id: 7, type: "uint64", conformance: "[FixedMin]", constraint: "fixedMin to fixedMax" })
);
MatterDefinition.children.push(MeasurementAccuracyRangeStruct);
export {
  MeasurementAccuracyRangeStruct
};
//# sourceMappingURL=measurement-accuracy-range-struct.element.js.map
