@metreeca/blue - v0.9.1
    Preparing search index...

    Interface PropertyConstraints

    Constraints for property shape factories.

    When neither forward nor reverse is explicitly defined, a default forward IRI is generated by resolving the property name against the effective namespace, determined in this order:

    1. The shape's own ResourceConstraints.namespace
    2. The common inherited namespace from parent shapes
    3. The default defaultNamespace namespace
    interface PropertyConstraints {
        hidden?: boolean;
        name?: Local;
        description?: Local;
        forward?: string | Namespace;
        reverse?: string | Namespace;
    }

    Hierarchy (View Summary)

    Index

    Properties

    hidden?: boolean

    Excludes the property from default serialization.

    undefined (false)

    name?: Local

    Human-readable name for the property.

    undefined (no label)

    description?: Local

    Human-readable description of the property.

    undefined (no description)

    forward?: string | Namespace

    The absolute IRI identifying the property for direct mapping.

    Accepts either an absolute IRI string or a Namespace function that resolves the property name to an absolute IRI (for instance, { forward: schema } on property name yields http://schema.org/name).

    reverse?: string | Namespace

    The absolute IRI identifying the property for inverse mapping.

    Accepts either an absolute IRI string or a Namespace function that resolves the property name to an absolute IRI (for instance, { reverse: schema } on property employee yields http://schema.org/employee).

    undefined (no inverse mapping)