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 {
Version string `json:"version"`
Operators []Operator `json:"operators"`
Version string `json:"version"`
LogListTimestamp time.Time `json:"log_list_timestamp"` // Only present in v3 of schema
Operators []Operator `json:"operators"`
}
type Operator struct {
@ -39,6 +40,8 @@ type Log struct {
StartInclusive time.Time `json:"start_inclusive"`
EndExclusive time.Time `json:"end_exclusive"`
} `json:"temporal_interval"`
// TODO: add previous_operators
}
type State struct {