search_response_Hit
A single ranked hit. The snippet shape is discriminated by type per the per-surface variants in #/$defs.
typestringrequired
Possible values: [Did, Ecosystem, Corporation, CredentialSchema, ServiceEndpoint]
id objectrequired
Primary key of the hit. DID for type = Did, integer VPR id for Corporation / Ecosystem / CredentialSchema, string id for ServiceEndpoint.
- string
- integer
string
scorenumberrequired
Final ranking score combining the [TG-FCT-4] lexical score with the [TG-FCT-5] trust signals. Absolute scale is implementation-defined.
Possible values: >= 0
snippetobjectrequired
Per-surface result-card payload; constrained by the discriminated allOf branch matching type.
highlightsstring[]
Pre-rendered highlight fragments (e.g. with <em>...</em> markers around matched terms). Optional and implementation-defined.
search_response_Hit
{
"id": "string",
"score": 0,
"snippet": {},
"highlights": [
"string"
]
}