Options
All
  • Public
  • Public/Protected
  • All
Menu
see

ShapeConstrained for using Shapes for schema validation

see

https://www.w3.org/TR/shacl/#property-shapes

Hierarchy

Implements

Index

Constructors

constructor

Methods

affected

  • Updated subjects for a property shape will only contain the single property which matches this property shape's path.

    inheritdoc
    todo

    inverse properties: which subject is returned?

    todo

    respect targetClass

    Parameters

    Returns Promise<GraphUpdate>

apply

check

toString

  • toString(): string
  • Returns string

Static declare

  • Shape declaration. Insert into the domain data to install the shape. For example (assuming a m-ld clone object):

    clone.write(PropertyShape.declare({ path: 'name', count: 1 }));
    

    Parameters

    Returns Subject

Static from

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Protected method

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.10.0 Source code licensed MIT. Privacy policy