import type * as Extend from "../index"; /** * Recursive conditional clause for edit schemas. Use these clauses with root-level `if` / `then` / `else`, * `dependentRequired`, and logical combinators to model conditional field requirements. */ export interface EditConditionalClause { /** Conditional field constraints keyed by top-level property name. */ properties?: Record; /** List of fields that must be present when this clause applies. */ required?: string[]; dependentRequired?: Extend.EditDependentRequired; if?: Extend.EditConditionalClause; then?: Extend.EditConditionalClause; else?: Extend.EditConditionalClause; /** List of nested conditional clauses that must all match. */ allOf?: Extend.EditConditionalClause[]; /** List of nested conditional clauses where exactly one must match. */ oneOf?: Extend.EditConditionalClause[]; /** List of nested conditional clauses where at least one must match. */ anyOf?: Extend.EditConditionalClause[]; not?: Extend.EditConditionalClause; }