@samatawy/rules
    Preparing search index...

    Interface RootType

    A defined root type that can contain nested properties

    interface RootType {
        key: string;
        type?: AtomicType | ArrayType | ComplexType;
        inherits?: string;
        properties?: ObjectType;
        items?: ObjectType;
    }
    Index

    Properties

    key: string

    The key that identifies this root type. This is the top-level identifier for the type and can be used to reference it in rules and expressions.

    The atomic type of the root type, if applicable. Needed only for root types that are not objects.

    inherits?: string

    The key of another root type to inherit properties from, if any. This allows for type reuse and extension.

    properties?: ObjectType

    The properties of the root type, if it is an object. This allows for nested structures and detailed type definitions.

    items?: ObjectType