g3-toolkit API Reference
    Preparing search index...

    Interface ShaclPropertyConstraint

    interface ShaclPropertyConstraint {
        datatype?: "string" | "number" | "boolean" | "uri" | "date";
        in?: unknown[];
        maxCount?: number;
        maxInclusive?: number;
        minCount?: number;
        minInclusive?: number;
        name?: string;
        path: string;
        pattern?: string;
        severity?: "violation" | "warning" | "info";
    }
    Index

    Properties

    datatype?: "string" | "number" | "boolean" | "uri" | "date"
    in?: unknown[]
    maxCount?: number
    maxInclusive?: number
    minCount?: number
    minInclusive?: number
    name?: string
    path: string
    pattern?: string
    severity?: "violation" | "warning" | "info"

    sh:severity for this constraint's results. When set, it OVERRIDES the per-check default (e.g. a missing required value defaults to violation, but sh:severity sh:Info downgrades it). Absent means the per-check default applies.