LayerSchemaDateAttribute
Last updated
Was this helpful?
Last updated
Was this helpful?
The schema for a date attribute on a layer.
id:
string
The unique identifier for this attribute.
This can be used to fetch statistics, categories, histograms etc. for this attribute via the , , and methods.
displayName:
string
The human-readable name of this attribute.
detailedType:
string
The specific data type of this attribute, providing more detail than the basic type.
For instance, a numeric attribute might be "INTEGER", "FLOAT, etc.
distinctCount:
number
The number of distinct values present for this attribute across all features.
type:
"date"
Indicates this is a date attribute.
min:
string
The earliest date present for this attribute in truncated ISO8601 format (YYYY-MM-DD).
max:
string
The latest date present for this attribute in truncated ISO8601 format (YYYY-MM-DD).
sampleValues: {
value
:string
;count
:number
; }[]
A representative sample of date values for this attribute and their frequency.
value
string
count
number