A named, saved filter over time entries. Its predicate is a nestable boolean expression an entry must satisfy to match. A filter may carry a color, which is where the app's per-filter colors come from.
tid
Timestamp-based ID
Properties
color
string
Optional
Optional display color, e.g. a hex string like "#4b3bff".
maxLength: 32 bytescreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
name
string
Required
Display name of the filter.
maxLength: 2000 bytesmaxGraphemes: 200 graphemespredicate
union
Required
Root boolean expression an entry must satisfy to match this filter.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"predicate",
"createdAt"
],
"properties": {
"name": {
"type": "string",
"maxLength": 2000,
"description": "Display name of the filter.",
"maxGraphemes": 200
},
"color": {
"type": "string",
"maxLength": 32,
"description": "Optional display color, e.g. a hex string like \"#4b3bff\"."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"predicate": {
"refs": [
"#and",
"#or",
"#not",
"#tagsInclude",
"#startTimeBefore",
"#startTimeAfter",
"#endTimeBefore",
"#endTimeAfter"
],
"type": "union",
"closed": true,
"description": "Root boolean expression an entry must satisfy to match this filter."
}
}
},
"description": "A named, saved filter over time entries. Its predicate is a nestable boolean expression an entry must satisfy to match. A filter may carry a color, which is where the app's per-filter colors come from."
}