Andrew Ayer 2021-11-01 14:19:45 -04:00
parent 8c14597721
commit 31f0b8b830
1 changed files with 5 additions and 2 deletions

View File

@ -16,8 +16,9 @@ import (
) )
type List struct { type List struct {
Version string `json:"version"` Version string `json:"version"`
Operators []Operator `json:"operators"` LogListTimestamp time.Time `json:"log_list_timestamp"` // Only present in v3 of schema
Operators []Operator `json:"operators"`
} }
type Operator struct { type Operator struct {
@ -39,6 +40,8 @@ type Log struct {
StartInclusive time.Time `json:"start_inclusive"` StartInclusive time.Time `json:"start_inclusive"`
EndExclusive time.Time `json:"end_exclusive"` EndExclusive time.Time `json:"end_exclusive"`
} `json:"temporal_interval"` } `json:"temporal_interval"`
// TODO: add previous_operators
} }
type State struct { type State struct {