GeoLeaf Core API - v3.0.0
    Preparing search index...

    A blocking style-validation failure, located by the profile path that produced it.

    field is a dotted/indexed path such as styleRules[2].when, so a message can point at the offending entry of a profile rather than at the rule set as a whole.

    interface ValidationErrorItem {
        field: string;
        message: string;
        context?: Record<string, unknown>;
    }
    Index

    Properties

    field: string

    Profile path of the offending value, e.g. styleRules[2].style.

    message: string

    Human-readable description of what is wrong.

    context?: Record<string, unknown>

    Surrounding data (rule index, received type…) carried for diagnostics.