Data Contracts

Validate ODCS YAML without importing

Validate an ODCS YAML contract against the target entity without creating the contract. Returns comprehensive validation results including entity errors, constraint errors, and schema field mismatches.

post/v1/dataContracts/odcs/validate/yaml

Request

  • Base URL: https://demo.getcollate.io/api
  • URL: https://demo.getcollate.io/api/v1/dataContracts/odcs/validate/yaml
  • Auth: HTTP bearer

Query parameters

entityIdstring uuid

Entity ID to validate against

entityTypestring
Example:table

Entity Type (table, topic, etc.)

objectNamestring

Schema object name to validate (for multi-object ODCS contracts). If not specified, auto-selects based on entity name or uses first object.

Response

Validation results

validboolean
entityErrorsstring[]
constraintErrorsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.