Schema
class Schema
Types
Link copied to clipboard
Output format of the CPG Schema description.
Link copied to clipboard
data class SchemaNode(val name: String, val isAbstract: Boolean, val labels: Set<String>, val childLabels: Set<String>, val relationships: Set<Schema.SchemaRelationship>, val properties: Set<Schema.SchemaProperty>)
Schema definition for node entities that is persisted to the neo4j database
Link copied to clipboard
Key-value pair defining a node property and if the property was inherited from a parent node entity type or newly introduced in this node entity.
Link copied to clipboard
data class SchemaRelationship(val label: String, val targetNode: String, val multiplicity: Char, val inherited: Boolean)
Definition of a CPG relationship with relationship label, the targeted node and whether the node has multiple or a single relationship edge of the declared type.