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

    Interface Type

    Shape definition for the resource type property.

    Tags a resource property as mapping to JSON-LD @type. Created by the type factory. At most one type entry is allowed per resource shape, counted after inheritance merging: declarations sharing a property name collapse into a single entry, so an entry reaching the shape through several parents or redeclared by the shape counts once, while two type entries under distinct names are rejected.

    Unlike an id entry, a type entry is accepted on embedded resource shapes during both state and template validation.

    Important

    This property is system-managed: its value is derived from the class constraint defined in the shape, defaulting to rdfs:Resource when no class is declared. Client-supplied values, for instance in state updates, are silently ignored.

    Inheritance

    When a ResourceShape extends a parent via extends, type entries are subject to the following rules.

    Field Override Rule
    kind Cannot be overridden
    hidden Taken from the most derived declaration; among sibling parents, from the first declared
    interface Type {
        kind: "type";
        hidden?: boolean;
    }
    Index

    Properties

    Properties

    kind: "type"

    Discriminator identifying this as a resource type property.

    Inheritance — cannot be overridden.

    hidden?: boolean

    Excludes the property from default serialisation.

    Inheritance — taken from the most derived declaration; among sibling parents, from the first declared.

    undefined (false)