Skip to main content

datacontract import avro

Import a data contract from an Avro schema file.

datacontract import avro [OPTIONS]
OptionDefaultDescription
--source—Path to the Avro schema file.
--output—File path where the Data Contract will be saved. If not provided, it will be printed to stdout.
--json-schema—The location (url or path) of the ODCS JSON Schema
--owner—The owner or team responsible for managing the data contract.
--id—The identifier for the data contract.
--debug / --no-debug—Enable debug logging
datacontract import avro --source schema.avsc --output datacontract.yaml

Guide: Import: Avro.