Location referencing character positions within a document.
Index of the source document.
Start character position.
End character position.
Location referencing page positions within a document.
Index of the source document.
Start page number.
End page number.
Location referencing chunk positions within a document.
Index of the source document.
Start chunk index.
End chunk index.
Location referencing a search result.
Index of the search result.
Start position within the search result.
End position within the search result.
Location referencing a web URL.
The URL of the web source.
Optionaldomain?: stringThe domain of the web source.
Discriminated union of citation location types. Each variant uses a
typefield to identify the location kind.