SemanticType

shrikedb.v2.SemanticType · Message

FieldTypeCardinality / presenceDescription
node
JSON: node · #1
SemanticTypeNodeoneof type—
edge
JSON: edge · #2
SemanticTypeEdgeoneof type—

Field names and numbers come from the protocol contract. Singular fields use protobuf defaults unless explicit presence applies. Server-side validation and permissions apply in addition to this wire structure.