Location(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Specifies the location of the finding.
Attributes |
|
---|---|
Name | Description |
byte_range |
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image. |
codepoint_range |
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. |
content_locations |
Sequence[
List of nested objects pointing to the precise location of the finding within the file or record. |
container |
Information about the container where this finding occurred, if available. |