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 all paths that are mentioned in a shape It includes also the paths in extends
Return the all paths that are mentioned in a shape It includes also the paths in extends
- Value parameters:
- 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)
Inherited methods
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