Module odcs

Module odcs 

Source
Expand description

ODCS parser service for parsing Open Data Contract Standard YAML files.

This service parses ODCS (Open Data Contract Standard) v3.1.0 and legacy ODCL (Data Contract Specification) YAML files and converts them to Table models. ODCL files are automatically converted to ODCS v3.1.0 format. Supports multiple formats:

  • ODCS v3.1.0 / v3.0.x format (apiVersion, kind, schema) - PRIMARY FORMAT
  • ODCL (Data Contract Specification) format (dataContractSpecification, models, definitions) - LEGACY, converted to ODCS
  • Simple ODCL format (name, columns) - LEGACY, converted to ODCS
  • Liquibase format

Re-exports§

pub use super::odcs_shared::ParserError as OdcsParserError;

Structs§

ODCSImporter
ODCS parser service for parsing Open Data Contract Standard YAML files. Handles ODCS v3.1.0 (primary format) and legacy ODCL formats (converted to ODCS).