DiscoveredSchema
One enumerated schema with its computed stats and equivalence class.
Used as Input
0
functions accept this type
Used as Output
0
functions return this type(+1 nested)
Type Definition
34 nested items
struct— One enumerated schema with its computed stats and equivalence class.
is_dead*:bool— Whether the schema has zero connections.
limit_reached*:bool— Whether the connection limit was reached (results may be incomplete).
schema*:String— Human-readable schema string.
selectivity_pruned*:bool— Whether selectivity-based early termination was triggered.
variant 1:struct— An event type with the given name.
variant 2:struct— An object type with the given name.
metrics*:SchemaMetrics— Quality metrics for a path schema, computed from its instance connections.
throughput:Option<ThroughputStats>— Event-to-event throughput times, if both endpoints are events.
variant 1:struct— An event type with the given name.
variant 2:struct— An object type with the given name.
Example JSON Value
{
"equivalence_class": 1,
"index": 1,
"is_dead": false,
"length": 1,
"limit_reached": false,
"schema": "example",
"selectivity_pruned": false,
"source": {
"Event": "example"
},
"stats": {
"metrics": {
"coverage": 0.2,
"exclusivity": 0.2,
"path_count": 1,
"reach": 0.2,
"selectivity": 0.2,
"sources_with_paths": 1,
"support": 1,
"total_sources": 1
}
},
"target": {
"Event": "example"
}
}