flattened object schema