This function is used internally in the wildobs_dp_download() function to transform a schema into a properly structured list, ensuring compatibility with the Frictionless Data Package format.
It processes fields using reformat_fields to maintain correct metadata structure.
Value
A formatted list representing the schema, including name, title, description, fields, missing values, primary key, and foreign keys.
See also
wildobs_dp_download for downloading and bundling data packages.
reformat_fields for structuring field metadata,
wildobs_dp_download for downloading and bundling data packages.