import { z } from "zod";
import { zDimensionEncoding } from "../encoding/index.js";
import { zTimeFormat } from "../format/index.js";
const zDimension = z.object({
    id: z.string(),
    alias: z.string().optional(),
    encoding: zDimensionEncoding.optional(),
    timeFormat: zTimeFormat.optional()
});
const zDimensionGroup = z.object({
    id: z.string(),
    alias: z.string().optional(),
    get children () {
        return z.array(zDimensionGroup.or(zDimension)).optional();
    }
});
const zDimensions = z.array(zDimension);
const zDimensionTree = z.array(zDimensionGroup.or(zDimension));
export { zDimension, zDimensionGroup, zDimensionTree, zDimensions };

//# sourceMappingURL=zDimensions.js.map