pb.types reads and manages the entity types in your active ontology.
Methods
| Method | Description |
|---|---|
pb.types.list() | All types in scope. |
pb.types.get(name) | A single type. |
pb.types.create(input) | Define a new type. |
pb.types.update(name, input) | Update a type. |
pb.types.delete(name, { force }) | Remove a type. |
Related
Ontology
Read the whole ontology as a document.
Shapes
The shapes that structure your types.