1 2 3 4 5 6 7
open Core type t = { name: string; kind: int [@key "type"]; url: string option [@default None]; } [@@deriving sexp, yojson { strict = false; exn = true }]