Skip to main content

datacontract import jsonschema

Import a data contract from a JSON Schema file.

datacontract import jsonschema [OPTIONS]
OptionDefaultDescription
--sourcePath to the JSON Schema 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 jsonschema --source schema.json --output datacontract.yaml

Guide: Import: JSON Schema.