pub fn schema_document(schema: &TableSchema) -> ValueExpand description
A schema as the standalone document schema::parse_schema reads back and createTable takes —
the same shape, key order and omissions as the TS serializeSchema/describeTable pair.
Fields come out in BTreeMap order, which is the alphabetical order hayson.json holds them in.