Sanity Library Reference Docs
    Preparing search index...
    GdrUri: `${GdrScheme}:${string}`

    Typed GDR URI string. The compiler rejects bare doc ids ("doc-1") — only <scheme>:<...id-parts> values typecheck. Construct one via gdrUri() / gdrFromResource() / refDataset() etc., or by hand with the scheme prefix baked in (`dataset:proj:ds:${docId}` ).

    Combined with schema validation at the API boundary, this is the type + runtime guarantee that no bare-string id reaches the snapshot, field entry, or filter layer.