{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "field_replay.collection_state.v1",
  "type": "object",
  "required": ["schema", "updated_at_unix", "status", "peer_ctrl_url", "peer_run_id", "kind", "items", "bytes_done", "total_bytes", "note", "artifact"],
  "properties": {
    "schema": {"const": "field_replay.collection_state.v1"},
    "updated_at_unix": {"type": "integer"},
    "status": {"type": "string"},
    "peer_ctrl_url": {"type": "string"},
    "peer_run_id": {"type": "string"},
    "kind": {"type": "string"},
    "items": {"type": "array", "items": {"type": "object"}},
    "bytes_done": {"type": "integer"},
    "total_bytes": {"type": "integer"},
    "note": {"type": "string"},
    "artifact": {"type": "string"}
  }
}
