Skip to main content

datacontract import protobuf

Import a data contract from a Protobuf schema file.

datacontract import protobuf [OPTIONS]
OptionDefaultDescription
--sourcePath to the Protobuf .proto file.
--outputFile path where the Data Contract will be saved. If not provided, it will be printed to stdout.
--json-schemaThe location (url or path) of the ODCS JSON Schema
--ownerThe owner or team responsible for managing the data contract.
--idThe identifier for the data contract.
--debug / --no-debugEnable debug logging
datacontract import protobuf --source schema.proto --output datacontract.yaml

Guide: Import: Protobuf.