case class Shape(id: Option[ShapeLabel], virtual: Option[Boolean], closed: Option[Boolean], extra: Option[List[IRI]], expression: Option[TripleExpr], _extends: Option[List[ShapeLabel]], restricts: Option[List[ShapeLabel]], annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Extend
- Companion
- object
Value members
Concrete methods
Return the paths that are mentioned in a shape
Return the paths that are mentioned in a shape
- Value Params
- schema
Schema to which the shape belongs, it is needed to resolve references to other shapes
- Returns
Set of paths or error in case the shape is not well defined (may have bad references)
- Definition Classes
Inherited methods
def extendCheckingVisited[S, E, Label](s: S, finder: Label => Either[String, S], extend: S => Option[List[Label]], combineExpr: (E, E) => E, expr: S => Option[E]): Either[String, Option[E]]
- Inherited from
- Extend
Return the labels that are referenced in a shape expression This method can use useful to detect if a shape doesn't refer to non-existing labels
Return the labels that are referenced in a shape expression This method can use useful to detect if a shape doesn't refer to non-existing labels
- Inherited from
- ShapeExpr