Introducing a new way to review your PRs.

Read the announcement

open-metadata / openmetadata

The Open Context Layer for Data and AI , OpenMetadata is the open platform for building trusted data context and business semantics for humans, AI assistants, and agents.

View on GitHub

26 documents · Updated Nov 23, 2026

docs / metadata-schema-contracts

Metadata schema contracts

OpenMetadata uses shared JSON schemas to give catalog entities, API payloads, configuration, ingestion settings, and derived context one meaning across the server, web UI, ingestion, SDKs, and external clients. This page extends Metadata contracts and clients and focuses on the schema boundary; see Client, SDK, and MCP integrations for client behavior.

Contract model

The contract model separates product meaning from the language or transport used to carry it. Entity schemas describe catalog objects. API schemas describe requests and responses. Type and configuration schemas describe shared values, runtime choices, and limits.

Shared schema vocabulary

The schemas use JSON Schema 2020-12 and connect related definitions with $ref. Required fields, formats, patterns, enums, defaults, and additionalProperties rules define valid values. Common definitions cover names, fully qualified names, timestamps, URLs, entity links, ontology IRIs, references, filters, and paging values.

An entity reference identifies a related object by its ID and entity type. A fully qualified name identifies an object in its catalog path. An ontology IRI identifies a definition in an ontology. These values have different jobs and must not be replaced by display text. Shared types also carry limits and omission rules, so a missing value can mean “not applicable”, “not loaded”, or “not visible”.

References: openmetadata-spec/…/basic.json• L1-47 openmetadata-spec/…/basic.json• L117-146 openmetadata-spec/…/entityReference.json• L1-47 openmetadata-spec/…/paging.json• L1-34 openmetadata-spec/…/filterPattern.json• L1-30

Entity contracts

An entity contract describes a catalog object and its life in the platform. It normally combines identity, human-facing text, source context, relationships, ownership, status, and change information.

Data contracts attach a schema and quality expectations to a table, topic, or other data entity. They can also carry security expectations, service-level expectations, terms of use, effective dates, reviewers, and the latest validation result. The entity keeps its own version and update history separate from the contract's business status.

The contract boundary supports round-trip exchange with the Open Data Contract Standard (ODCS). Native OpenMetadata fields remain authoritative, while unmapped ODCS fields and schema-element extensions are retained so export does not silently lose information.

Some entity fields are projections rather than user-owned facts. Derived status, validation results, user counts, processing flags, and server-managed content references must not be treated as ordinary create input merely because they appear in an entity response.

Workflow definitions are also entities. They describe a trigger, ordered workflow elements, links between those elements, and lifecycle state such as deployment or suspension. The create request accepts the workflow graph and its policy, while the entity adds identity, history, and runtime state.

Approval user tasks define both who can act and how an approval moves through a staged workflow. Their contract covers reviewer and owner resolution, fallback behavior when no assignee is found, approval and rejection thresholds, partial decisions, lifecycle-stage moves, transition metadata, and either duration- or date-based expiry.

References: openmetadata-spec/…/dataContract.json• L236-437 openmetadata-spec/…/createDataContract.json• L11-128 openmetadata-spec/…/odcsDataContract.json• L67-94 openmetadata-spec/…/persona.json• L45-87 openmetadata-spec/…/workflowDefinition.json• L42-135 openmetadata-spec/…/createWorkflowDefinition.json• L37-121 openmetadata-spec/…/userApprovalTask.json• L35-230

Derived-data contracts

Data insight asset types define which catalog objects can appear in the shared data-asset view. The enum includes ordinary assets such as tables, dashboards, and pipelines, newer assets such as data products, metrics, API endpoints, and AI services, plus test cases, test results, and test-case resolution status. Definitions are captured in daily snapshots, while test results and resolution statuses come from live views.

Test result contracts preserve the facts of one run. They can include the verdict, measured values, row counts, bounds, the threshold used at run time, dimensional results, duration, error details, and the evaluation scope. A result can therefore explain what the test measured without being confused with the current test definition. When a failure is resolved, the resolution contract records a required reason and comment plus optional assignee and resolver references.

References: openmetadata-spec/…/dataAssetType.json• L1-33 openmetadata-spec/…/createTestCaseResult.json• L1-99 openmetadata-spec/…/basic.json• L136-296 openmetadata-spec/…/basic.json• L332-432 openmetadata-spec/…/resolved.json• L8-42

Ontology contracts

Ontology contracts describe semantic definitions, their links, and the governed changes that move them into a native ontology. An ontology property has a stable semantic IRI, a kind, an owning ontology, and optional domain, range, inverse, chain, deprecation, and replacement links. The catalog name may change without changing the IRI.

Native ontology library packs add a second contract boundary. A typed manifest describes a verified pack and its selectable modules. An install request names modules only; a background job records the selected pack, its digest, its plan, slice progress, and terminal state. This lets the job apply a known plan without treating the pack body as mutable job input.

Import summaries describe proposed changes without persisting them. They report counts for the full parse and bounded lists of items and skipped RDF groups. A skipped total and omittedGroups value show when the displayed detail is not complete.

Ontology references are scoped to their owning ontology. Profile violations identify the rule, severity, path, message, and related concept IDs so a caller can distinguish a profile guardrail finding from a general import or release result.

References: openmetadata-spec/…/ontologyProperty.json• L69-188 openmetadata-spec/…/createOntologyProperty.json• L11-80 openmetadata-spec/…/ontologyPackManifest.json• L8-106 openmetadata-spec/…/ontologyPackModule.json• L8-81 openmetadata-spec/…/installNativeOntologyPack.json• L5-21 openmetadata-spec/…/ontologyPackInstallJob.json• L15-99 openmetadata-spec/…/ontologyPackInstallJobArguments.json• L8-38 openmetadata-spec/…/ontologyPackInstallPlan.json• L8-33 openmetadata-spec/…/ontologyPackSource.json• L8-60 openmetadata-spec/…/ontologyReference.json• L5-46 openmetadata-spec/…/ontologyProfileViolation.json• L8-66 openmetadata-spec/…/nativeOntologyImportSummary.json• L5-168

API payload contracts

API schemas define the shape of data sent to or returned by a catalog operation. Create requests contain the fields needed to establish an object. Focused requests expose a smaller change surface when a caller must update one part of an existing object. The server still decides whether the requested change is allowed.

The create-data-contract request requires a name and target entity. It accepts schema columns, semantic rules, quality references, ODCS preservation data, security, SLA, ownership, review, and effective-date information. The response adds identity, history, validation, and server-managed state.

The create-ontology-property request requires a name, owning ontology, and property kind. Its optional semantic links describe how the property participates in the ontology. Pack installation accepts a bounded, unique list of module IDs and returns a background job rather than the full installation result in the request response. The MCP OAuth client inventory exposes client identity, redirect URIs, issue time, and counts of active tokens without exposing client secrets or tokens.

Workflow creation accepts a named graph with a supported trigger, node kinds, and edges. The workflow entity adds deployment and suspension state, so a graph definition and its ability to accept new executions are separate concerns.

Approval task payloads carry the assignee policy and the stage transitions that the task exposes. An expiry timer must name a transition and one time source, so timeout behavior remains part of the workflow graph rather than an implicit client action.

Saved SPARQL query payloads preserve a stable ID, query text, result format, inference preference, save time, and optional ontology scope. The ontology scope controls where a query appears; it does not change the query text itself.

Test result creation requires the run timestamp, status, and result values. Optional fields capture measured bounds and threshold snapshots, dimension results, errors, and the rows or scope used for evaluation. These fields describe the executed run and are not a request to change the test definition. A resolution payload instead describes why a failure was resolved and who was involved.

Some response contracts exist to help clients render a result. A native ontology import summary is a preview, not persisted content. Its counts cover every parsed definition even when item detail is capped. A job status reports progress in completed slices and can end as completed, failed, or cancelled.

References: openmetadata-spec/…/createDataContract.json• L11-128 openmetadata-spec/…/createOntologyProperty.json• L11-80 openmetadata-spec/…/installNativeOntologyPack.json• L8-21 openmetadata-spec/…/nativeOntologyImportSummary.json• L137-168 openmetadata-spec/…/ontologyPackInstallJob.json• L15-99 openmetadata-spec/…/oauthClient.json• L5-35 openmetadata-spec/…/createWorkflowDefinition.json• L37-121 openmetadata-spec/…/savedSparqlQuery.json• L1-48 openmetadata-spec/…/createTestCaseResult.json• L1-99 openmetadata-spec/…/resolved.json• L23-42 openmetadata-spec/…/userApprovalTask.json• L83-224

Background job contracts

The background job contract records work that starts after a job record is created. It links a job type to a handler and arguments, then exposes status, work-unit progress, result or error text, cancellation intent, and audit times. Consumers must interpret progress with the job type because one work unit can represent a different amount of work for each job.

Job arguments use a known shape for supported workflows and may use an open object for other job types. The contract therefore carries both a stable job identity and an extensible argument boundary without allowing unknown fields at the top level.

References: openmetadata-spec/…/backgroundJob.json• L1-91

Configuration contracts

Configuration schemas carry product rules that affect how other components connect, ingest, expose, or preserve metadata. They keep source-specific settings, capability flags, defaults, filters, and safety limits in one shared contract.

MCP configuration defines the public limits and write policy for the Model Context Protocol server. maxResponseChars bounds one tool response. readOnly hides write tools for all users, while disabledTools refuses named tools and updates the visible tool list when the setting reloads. These settings are part of client-facing behavior, not only local server tuning.

RDF configuration defines whether knowledge-graph support is active, which storage type and endpoint it uses, and the limits for connection, request, retry, bulk, and graph-replace work. It also controls materialized inference, SHACL validation, IRI redirects, ontology profile checks, AI-assisted ontology flows, federated endpoints, and storage maintenance. Deprecated in-memory inference settings remain accepted but are ignored, so they should not be used to infer current query behavior.

Pipeline log storage configuration defines whether logs use the default store or S3. Its contract also covers retention, encryption, storage class, stream limits, partial flush timing, abandoned-stream cleanup, and alert thresholds. The old enabled flag is accepted but ignored, so the storage type now determines the log path.

References: openmetadata-spec/…/mcpConfiguration.json• L19-83 openmetadata-spec/…/rdfConfiguration.json• L33-268 openmetadata-spec/…/logStorageConfiguration.json• L1-98

Authentication contracts

Authentication configuration defines the provider-specific inputs and session rules used by the login boundary. The contract keeps provider choice, client type, claim mapping, redirect trust, session limits, and provider-specific settings together while conditional requirements ensure that LDAP, SAML, and public or confidential OIDC flows receive the fields they need.

SAML configuration separates identity-provider data, service-provider data, and security policy. It supports certificate and key material, signed or encrypted message rules, token lifetime, and ordered display-name attribute lookup. Deprecated names remain visible for compatibility, but new settings should use the current fields described by the schema.

References: openmetadata-spec/…/authenticationConfiguration.json• L20-223 openmetadata-spec/…/samlSSOClientConfig.json• L8-163

Integration configuration contracts

Integration configuration contracts describe the credentials, endpoint choices, and discovery limits used to connect OpenMetadata to external systems. Slack configuration selects webhook or Socket Mode event delivery, while dashboard connection schemas define the endpoint, authentication, SSL behavior, discovery filters, and metadata extraction capability for each dashboard service.

The defaults are part of the integration behavior. Slack uses Webhook unless Socket Mode is selected, and Socket Mode needs an app token. Sigma has an opt-in setting to list all assets, while MicroStrategy, Rill, and Sigma each require the connection details needed to reach their service. These choices affect which external metadata becomes visible in the catalog.

Dashboard contracts support several credential forms without changing the common discovery boundary. Qlik Sense accepts certificates by file path or by values. SAP S/4HANA separates basic authentication from OAuth client credentials. Tableau supports connected-app credentials in addition to its other authentication modes, and Tableau pipeline settings control pipeline filters, run history, and extract-refresh discovery.

Other connectors use the same contract pattern for source-specific choices. Datalake connections select local or cloud storage settings and can skip cold storage. NATS connections select optional username/password, token, NKey, or credentials-file authentication and can point to a schema key-value bucket. These choices remain closed at the authentication boundary while allowing the NATS client options that are not reserved for credentials.

OpenLineage adds NATS as an event-broker choice. Its contract requires the server set and JetStream stream, then controls subject selection, durable-consumer position, fetch and session limits, acknowledgement and redelivery policy, TLS, and credential handling. The credentials-file form keeps the user JWT and NKey seed in a password field, while additional client options cannot override reserved authentication settings.

Salesforce Data 360 connections require a consumer key, consumer secret, and My Domain. The database connection controls the API version and object page size. The pipeline connection also defines the Data 360 database used for lineage, service mapping, optional bulk lineage, and support for metadata, lineage, and usage extraction. Its bulk-lineage switch is off by default, and its page-size limit is distinct from the database connection limit.

References: openmetadata-spec/…/slackAppConfiguration.json• L8-47 openmetadata-spec/…/microStrategyConnection.json• L16-91 openmetadata-spec/…/rillConnection.json• L18-72 openmetadata-spec/…/sigmaConnection.json• L16-80 openmetadata-spec/…/qlikSenseConnection.json• L18-94 openmetadata-spec/…/certificatePath.json• L1-30 openmetadata-spec/…/certificateValues.json• L1-16 openmetadata-spec/…/sapS4HanaConnection.json• L16-85 openmetadata-spec/…/basicAuth.json• L1-35 openmetadata-spec/…/oAuthCredentials.json• L1-42 openmetadata-spec/…/tableauConnection.json• L30-105 openmetadata-spec/…/datalakeConnection.json• L31-114 openmetadata-spec/…/natsConnection.json• L23-88 openmetadata-spec/…/basicAuth.json• L1-26 openmetadata-spec/…/nkeyAuth.json• L1-20 openmetadata-spec/…/tokenAuth.json• L1-20 openmetadata-spec/…/data360Connection.json• L18-66 openmetadata-spec/…/data360PipelineConnection.json• L18-97 openmetadata-spec/…/tableauPipelineConnection.json• L30-91 openmetadata-spec/…/tableauConnectedAppAuth.json• L1-33

Context contracts

Context schemas describe information that helps a caller understand an entity and its source. AIContext provides a common asset envelope and type-specific context for tables, dashboards, pipelines, topics, concepts, and other assets.

The context can include structural facts, business knowledge, lineage, profile signals, and data quality. It carries bounds and truncation signals for content, bindings, evidence, and lineage. Counts and truncation signals matter: an omitted binding, article body, query, or lineage column is not proof that none exists.

Persona context defines how a shared context document is selected and budgeted for a persona. Rules choose entity types and search filters. The result records rule matches, shared knowledge, search scope, a character-budget manifest, a fingerprint, and whether selection or rendering was truncated. Read-only cache fields describe the state of materialization rather than caller-owned persona policy.

References: openmetadata-spec/…/aiContext.json• L1-5 openmetadata-spec/…/aiContext.json• L432-581 openmetadata-spec/…/aiContext.json• L607-724 openmetadata-spec/…/personaContextDefinition.json• L42-167 openmetadata-spec/…/personaContext.json• L72-177 openmetadata-spec/…/persona.json• L45-87

Context Center entity contracts

Context Center entities represent pages and files that provide source material for search and memory extraction. A page supports articles and quick links, while a file records its content type, source, current content snapshot, processing state, extraction statistics, and sharing policy.

Processing state is separate from ordinary entity governance state. A file or page can be cataloged while its content is still queued, being processed, failed, or not yet extracted. neverExtracted is a read-only view value, and extraction statistics describe the latest run rather than caller-owned metadata.

Extraction availability gives clients a direct decision point before they request memory extraction. It reports whether extraction is available and, when it is not, whether extraction, the AI provider, or provider access is disabled or unavailable.

References: openmetadata-spec/…/contextFile.json• L10-83 openmetadata-spec/…/contextFile.json• L124-187 openmetadata-spec/…/contextFile.json• L238-240 openmetadata-spec/…/page.json• L10-28 openmetadata-spec/…/page.json• L159-187 openmetadata-spec/…/extractionAvailability.json• L1-26

Generated model artifacts

The JSON schemas are the source contracts. Build and generation steps turn them into language-specific model artifacts so each OpenMetadata component can use the same fields, enums, references, and requiredness. Generated files are views of the source contract, not independent places to define product behavior.

Java model artifacts

The specification module generates Java models for the server and Java SDK. These models provide typed entities, requests, references, configuration objects, and response values. A schema change therefore becomes a Java boundary change for server code and Java callers.

The specification area also owns shared entity-link syntax and JSON handling. Date forms, revision values, secret masking metadata, and unknown-field rules can affect whether one component reads data produced by another even when the business meaning of a field is unchanged.

References: openmetadata-spec/pom.xml• L155-201 openmetadata-spec/…/EntityInterface.java• L28-135 openmetadata-spec/…/JsonUtils.java• L92-152 openmetadata-spec/…/EntityLink.g4• L1-15

TypeScript model artifacts

The web UI uses generated TypeScript types for entities, API requests, configuration values, and context. The generated families expose the same identity, nested values, enum choices, and response-only fields as the source schemas.

The UI must consume these generated types rather than define a second API shape. A new field or value must start in the source schema so the server and UI keep the same contract.

References: openmetadata-ui/…/json2ts.sh• L17-45 openmetadata-ui/…/aiContext.ts• L22-110

Python model artifacts

The ingestion API uses generated Pydantic models as its Python view of the contracts. It uses typed requests, entities, references, configuration values, history, and paging data to create objects and decode server responses. The transport and model must stay aligned because a valid server response is useful only if ingestion can accept it.

References: ingestion/…/ometa_api.py• L11-16 ingestion/…/ometa_api.py• L39-57 ingestion/…/ometa_api.py• L485-508

HTTP model artifacts

OpenAPI describes the HTTP surface that external clients call. It defines the service entry point, security boundary, routes, operations, parameters, and HTTP response shapes. JSON Schema remains the shared source for entity and payload meaning.

The HTTP surface is compatible only when its request and response models agree with the generated Java, TypeScript, and Python views. A route can remain available while still breaking clients if its payload shape, enum values, limits, or error meaning changes.

References: openmetadata-service/…/openapi.yml• L1-16 openmetadata-service/pom.xml• L250-266 openmetadata-clients/…/pom.xml• L234-258

Compatibility expectations

Compatibility includes more than keeping a field name. A contract must preserve how consumers identify entities, follow relationships, interpret defaults, handle bounded results, and distinguish caller input from server-derived state.

Requiredness and closed choices

Required fields are the minimum data needed to construct a valid model. Optional fields allow partial responses or features that do not apply to every entity. A new optional field is usually safer than removing a required field or changing the meaning of an existing field.

Many objects reject unknown properties. A caller that sends a made-up field can fail validation instead of having that field ignored. Defaults can make an optional setting usable, but they do not replace a required field. The OAuth client inventory is also intentionally closed and contains operational counts rather than credential material.

Enums and unions are compatibility points. Adding a property kind, pack status, job state, RDF storage type, validation mode, persona cache state, context value, data insight asset type, processing state, or integration mode can require updates to validation, generated models, forms, and runtime behavior. A new required credential or a changed configuration default can also change an existing run without changing its route.

The same rule applies to authentication unions and workflow graph choices. A new Qlik certificate form, SAP authentication form, NATS credential form, Tableau credential form, or workflow node must be accepted consistently by validation and by the consumer that uses it.

Authentication compatibility also includes conditional requiredness. Provider, client type, and nested provider settings must continue to agree. Redirect URI trust, session expiry, active-session limits, and claim selection change login behavior even when the endpoint remains unchanged.

OpenLineage broker compatibility includes the broker union and its NATS choices. A new credential form must remain distinct from reserved client options, and changes to consumer offsets, timeouts, acknowledgement, or redelivery limits change how events are read and retried.

References: openmetadata-spec/…/ontologyProperty.json• L13-22 openmetadata-spec/…/ontologyPackInstallJob.json• L8-13 openmetadata-spec/…/mcpConfiguration.json• L61-83 openmetadata-spec/…/rdfConfiguration.json• L39-47 openmetadata-spec/…/personaContextDefinition.json• L36-40 openmetadata-spec/…/backgroundJob.json• L13-16 openmetadata-spec/…/page.json• L17-27 openmetadata-spec/…/slackAppConfiguration.json• L33-47 openmetadata-spec/…/oauthClient.json• L5-35 openmetadata-spec/…/data360Connection.json• L48-65 openmetadata-spec/…/data360PipelineConnection.json• L48-71 openmetadata-spec/…/qlikSenseConnection.json• L39-47 openmetadata-spec/…/sapS4HanaConnection.json• L30-40 openmetadata-spec/…/natsConnection.json• L28-41 openmetadata-spec/…/tableauConnection.json• L30-44 openmetadata-spec/…/createWorkflowDefinition.json• L62-106 openmetadata-spec/…/authenticationConfiguration.json• L158-223 openmetadata-spec/…/openLineageConnection.json• L24-37 openmetadata-spec/…/natsBrokerConfig.json• L31-135

Identity and relationships

Entity identity commonly uses a UUID for an instance and a fully qualified name for a catalog path. A relationship reference requires the target ID and entity type. Display data can help a caller, but it does not replace these identity values.

Ontology definitions add a semantic IRI and an owning ontology. Pack modules use stable module IDs within a pack. An install job uses the ontology ID, pack ID, version, selected modules, and digests to identify the work. Clients must not rebuild these identities from display names or from a mutable source payload.

Saved SPARQL queries add an optional ontology ID to their stable query identity. A query without that scope remains valid, but it is not an ontology-scoped query for display or selection purposes.

References: openmetadata-spec/…/entityReference.json• L8-47 openmetadata-spec/…/ontologyProperty.json• L69-87 openmetadata-spec/…/ontologyPackModule.json• L8-40 openmetadata-spec/…/ontologyPackInstallJobArguments.json• L8-38 openmetadata-spec/…/savedSparqlQuery.json• L9-44

Paging and bounded results

List and context responses can be bounded by a page size, a character budget, a scan cap, a visibility rule, or a finding limit. Cursors, counts, and truncation flags must keep their meaning so clients can tell a complete result from a partial view.

MCP response size is an explicit contract. AI context limits bindings, evidence, content, and lineage data. Persona context uses a character budget and a manifest for compacted or omitted entities. An import summary counts parsed definitions and skipped statements while its item and skip-group lists describe only the available detail. A client must use counts and omission signals before treating any list as complete.

References: openmetadata-spec/…/mcpConfiguration.json• L61-80 openmetadata-spec/…/aiContext.json• L524-542 openmetadata-spec/…/personaContext.json• L118-175 openmetadata-spec/…/nativeOntologyImportSummary.json• L55-80 openmetadata-spec/…/nativeOntologyImportSummary.json• L152-164

Server-owned state

Some fields report work performed by the platform instead of accepting a caller decision. Validation results, persona cache state, user counts, import progress, pack plan digests, extraction state, and background job status are examples.

Requests must preserve this boundary. A create or update payload can request a source or policy, but it must not claim that a pack was applied, a preview was persisted, a context was freshly materialized, or a validation or extraction result is complete unless the owning process established that fact.

Test result thresholds and evaluation scope are also run-owned facts. They record what the evaluator used at execution time, so a later edit to the test case must not rewrite the meaning of an old result.

References: openmetadata-spec/…/dataContract.json• L407-434 openmetadata-spec/…/persona.json• L58-63 openmetadata-spec/…/personaContextDefinition.json• L151-165 openmetadata-spec/…/ontologyPackInstallJob.json• L36-82 openmetadata-spec/…/nativeOntologyImportSummary.json• L5-6 openmetadata-spec/…/contextFile.json• L132-160 openmetadata-spec/…/backgroundJob.json• L44-75 openmetadata-spec/…/basic.json• L223-296

Operational defaults

Operational schemas are compatibility points because defaults and omission rules change behavior even when field names stay the same. RDF defaults control whether graph support runs, which store handles it, and how much work one request can carry. MCP defaults control response size and write access. Persona defaults control rule selection, rendering, and cache freshness.

Safety and lifecycle values are part of the contract. A pack install requires at least one unique module and records a digest for later verification. An empty module selection is invalid. A missing persona filteredInSearch value keeps older rules in preload mode, while new rules may default to search scope. A disabled RDF federation block rejects external service access unless both the switch and endpoint allowlist permit it.

Integration defaults also affect reach and access. Slack defaults to Webhook delivery. Sigma does not list every asset unless listAllAssets is enabled. Context files and pages default to initial processing states, and their read-only extraction indicators must not become stored input.

Log storage defaults also affect operation. S3 uses a defined prefix, storage class, retention period, encryption policy, and stream-cleanup cadence. Connector defaults select authentication modes, SSL behavior, pagination limits, cold-storage handling, and whether broader lineage or refresh data is collected.

References: openmetadata-spec/…/installNativeOntologyPack.json• L8-21 openmetadata-spec/…/ontologyPackInstallJobArguments.json• L21-38 openmetadata-spec/…/personaContextDefinition.json• L63-105 openmetadata-spec/…/rdfConfiguration.json• L207-228 openmetadata-spec/…/mcpConfiguration.json• L61-80 openmetadata-spec/…/slackAppConfiguration.json• L33-44 openmetadata-spec/…/sigmaConnection.json• L42-52 openmetadata-spec/…/contextFile.json• L28-55 openmetadata-spec/…/logStorageConfiguration.json• L9-93 openmetadata-spec/…/sapS4HanaConnection.json• L42-57 openmetadata-spec/…/tableauPipelineConnection.json• L70-82

Contract change flow

Contract changes move from the source schema to generated artifacts and then to every consumer that sends or reads the affected data. The change is complete only when all views preserve the same meaning.

Source contract changes

Start with the JSON Schema that owns the product meaning. Reuse a shared definition when the value has an established identity or format. Define the compatibility effect before changing a required field, enum, union, default, relationship, limit, digest, or server-owned field.

For data contracts, keep native fields separate from preserved ODCS extensions so round-trip data does not override native meaning. For ontology pack changes, keep module selection, dependencies, pack digests, plan digests, slice order, and job progress aligned. For RDF and MCP changes, treat limits, visibility, validation modes, allowlists, and reload behavior as client-visible contract rules.

For context changes, keep structural facts, business knowledge, search scope, budgets, fingerprints, and truncation signals explicit. A new optional asset context should not change the meaning of the common envelope or make an existing consumer assume that a bounded result is complete. For Context Center changes, keep governance state separate from processing state and keep extraction availability reasons aligned with the process that can make extraction run.

For integration changes, keep credential requirements, endpoint defaults, event delivery mode, discovery scope, and filter behavior aligned with the connector that consumes them. For Data 360 changes, keep required Salesforce credentials, API version, page-size bounds, lineage mapping, and extraction capability flags aligned with the database or pipeline connector. For MCP OAuth changes, keep the administrative inventory limited to non-secret client data and current token counts. For data insight changes, keep the asset enum aligned with the index and charting rules that interpret each value.

For workflow and test-result changes, keep graph choices, deployment state, run status, threshold snapshots, dimension results, and evaluation scope aligned with the process that creates or consumes them. For saved query changes, keep query format, inference choice, save time, and ontology scope aligned with query storage and display.

For authentication changes, keep conditional provider requirements, claim mapping, redirect trust, session policy, and SAML identity or security settings aligned with login and session handling. For OpenLineage NATS changes, keep the broker union, credential variants, JetStream consumer settings, TLS, and reserved client options aligned with event intake.

References: openmetadata-spec/…/dataContract.json• L339-360 openmetadata-spec/…/odcsDataContract.json• L67-94 openmetadata-spec/…/ontologyPackSource.json• L18-56 openmetadata-spec/…/ontologyPackInstallPlan.json• L8-33 openmetadata-spec/…/rdfConfiguration.json• L101-228 openmetadata-spec/…/personaContext.json• L138-177 openmetadata-spec/…/contextFile.json• L124-160 openmetadata-spec/…/extractionAvailability.json• L8-25 openmetadata-spec/…/slackAppConfiguration.json• L33-47 openmetadata-spec/…/data360Connection.json• L25-59 openmetadata-spec/…/data360PipelineConnection.json• L25-83 openmetadata-spec/…/oauthClient.json• L5-35 openmetadata-spec/…/dataAssetType.json• L5-33 openmetadata-spec/…/createWorkflowDefinition.json• L62-121 openmetadata-spec/…/savedSparqlQuery.json• L25-47 openmetadata-spec/…/createTestCaseResult.json• L57-98 openmetadata-spec/…/authenticationConfiguration.json• L99-223 openmetadata-spec/…/samlSSOClientConfig.json• L138-163 openmetadata-spec/…/openLineageConnection.json• L24-57 openmetadata-spec/…/natsBrokerConfig.json• L31-135

Consumer regeneration

After the source contract changes, regenerate the affected model families and build the consumers that use them. Java generation updates the server and SDK types. TypeScript generation updates UI types. Python generation updates ingestion models. An HTTP change also requires the service API description and generated client surface to agree.

The source schema remains the place to resolve contract conflicts. Do not patch a generated model to accept a field or value that the source contract does not define. Such a patch creates a split contract and moves the failure to another consumer.

References: openmetadata-spec/pom.xml• L163-201 openmetadata-ui/…/json2ts.sh• L21-45 ingestion/…/ometa_api.py• L11-16 openmetadata-ui/…/aiContext.ts• L22-110

Cross-component validation

The affected surface is wider than the edited file. A contract change must be checked across creation, server validation, response decoding, relationship lookup, configuration defaults, bounded results, background jobs, and the operational process that consumes the setting.

For ontology pack contracts, validation must cover catalogue selection, dependency closure, digest checks, plan and slice progress, cancellation, and the final ontology change set. For data contract changes, it must preserve native-versus-ODCS ownership and the meaning of quality, security, SLA, and validation fields. For RDF, MCP, and persona context changes, it must preserve limits, access policy, reload behavior, search scope, cache state, and truncation signals.

Context Center changes must also preserve the link between content updates, processing status, extraction statistics, availability checks, and memory counts. Dashboard connection changes must preserve the link between connection defaults, credentials, filters, and the metadata extraction path. Background job changes must preserve the relation between job type, handler arguments, work-unit counts, terminal state, and cancellation.

Workflow changes must preserve the link between graph structure and execution state. Test-result changes must preserve the link between a run, its threshold snapshot, its dimensions, and its measured scope. Saved-query changes must preserve the link between query identity, result format, inference, and ontology visibility. Log-storage changes must preserve the link between storage type, stream limits, flush behavior, retention, and cleanup.

The main propagation path is shown below.

flowchart LR
    S[Shared JSON Schema] --> J[Generated Java models]
    S --> T[Generated TypeScript types]
    S --> P[Generated Python models]
    S --> O[HTTP and OpenAPI views]
    S --> Q[Search, RDF, context, and ingestion views]
    J --> R[Server and Java SDK]
    T --> U[Web UI]
    P --> I[Ingestion]
    O --> C[HTTP clients]
    Q --> V[Derived-data consumers]
    R <--> U
    R <--> I
    R <--> C
    R <--> V

References: openmetadata-spec/…/createDataContract.json• L11-128 openmetadata-spec/…/installNativeOntologyPack.json• L8-21 openmetadata-spec/…/ontologyPackInstallJob.json• L15-99 openmetadata-spec/…/rdfConfiguration.json• L33-268 openmetadata-spec/…/mcpConfiguration.json• L61-83 openmetadata-spec/…/personaContext.json• L138-177 openmetadata-spec/…/contextFile.json• L124-160 openmetadata-spec/…/backgroundJob.json• L13-75 openmetadata-spec/…/createWorkflowDefinition.json• L62-121 openmetadata-spec/…/createTestCaseResult.json• L57-98 openmetadata-spec/…/logStorageConfiguration.json• L9-93

Change checklist

When these files or sections are changed, remember to consider these:

  • A shared type change must be checked against every $ref consumer, not only the schema file that first exposed the type.
  • A required field, enum, union, default, or additionalProperties change must be checked against requests, responses, generated models, and server validation.
  • A data-contract change must keep native fields authoritative while preserving unmapped ODCS fields and schema-element extensions for export.
  • An ontology-property change must keep the semantic IRI, owning ontology, property kind, and cross-property links aligned.
  • An ontology-pack change must keep stable module IDs, dependency selection, source checksums, pack digests, plan digests, and slice order aligned.
  • A pack job change must preserve the difference between requested modules, planned members, applied slices, and terminal job state.
  • An import-summary change must preserve full-parse counts, bounded item detail, skipped-statement totals, and omitted-group signals.
  • An RDF configuration change must keep storage choice, request limits, inference mode, SHACL mode, federation allowlists, and maintenance behavior aligned.
  • An MCP change must keep the response character floor, tool visibility policy, origin rules, reload behavior, and generated configuration models aligned.
  • A persona-context change must preserve rule defaults, search-scope meaning, character budgets, cache state, fingerprints, and truncation manifests.
  • A context change must preserve counts, caps, visibility, and the difference between visible data and complete data.
  • A Context Center change must keep page and file processing states separate from governance status, and keep read-only extraction fields out of write flows.
  • A Slack change must keep the event connection mode, token requirements, and default delivery path aligned.
  • A dashboard or Data 360 connection change must keep required credentials, endpoint defaults, filter patterns, page-size bounds, extraction support, and lineage settings aligned with the connector.
  • A Qlik, SAP, Tableau, Datalake, or NATS connection change must keep its authentication union, required fields, endpoint or source choice, and discovery capability flags aligned with the connector.
  • A log-storage change must keep the storage type, deprecated flag behavior, retention, encryption, flush cadence, and stream cleanup rules aligned.
  • An MCP OAuth inventory change must keep client secrets and tokens out of the response while preserving the meaning of active-token counts.
  • A data insight asset change must keep enum values aligned with data insight index aliases and charting behavior.
  • A workflow change must keep trigger and node unions aligned between create requests and stored workflow entities.
  • A saved-query change must preserve query size, result format, inference, save time, and ontology scope as one client contract.
  • A test-result change must keep required run fields and the meaning of threshold, dimension, error, and evaluation-scope fields aligned with the evaluator.
  • A resolved-test change must keep the closed failure-reason choices, required resolution comment, and entity-reference meaning aligned with failure and incident views.
  • A background job change must keep job types, argument shapes, progress units, cancellation, and terminal status aligned with handlers.
  • An authentication change must keep provider-dependent required fields, claim fallbacks, redirect trust, session limits, and SAML security settings aligned with login behavior.
  • An OpenLineage broker change must keep the broker union, NATS credential variants, required stream inputs, consumer offsets, retry limits, and reserved client options aligned with event intake.
  • A schema change must regenerate the Java, TypeScript, and Python model views before dependent components are treated as compatible.
  • An HTTP route or response change must update the service API description and the OpenAPI-generated client surface.

Important failure modes

TriggerConsequenceGuard
A schema changes but one generated model family stays staleOne consumer rejects valid data or hides a new fieldRegenerate and build each affected language view from the shared schema
Native data-contract fields are replaced by preserved ODCS fieldsImport and export disagree about the contract's meaningKeep native fields authoritative and use preserved fields only for unmapped ODCS data
An ontology property is renamed and its IRI is regeneratedExisting semantic links resolve to a different definitionPreserve the stored IRI across catalog renames
A pack install omits a dependency or changes its digestThe background job applies incomplete or unverified contentResolve dependencies and verify pack, module, and plan digests
An empty or duplicate module list is acceptedThe job has no valid work or applies the same module twiceEnforce the minimum, maximum, and unique-module rules
A bounded import summary is read as completeA reviewer treats skipped or omitted definitions as absentRead counts, skipped totals, and omitted-group or omitted-item values
A job's progress is treated as member completion when it counts slicesA client shows false installation progressUse progress and total for slices and membersApplied and memberCount for definitions
RDF inference or SHACL settings are changed without the matching storage modeQueries or imports use a mode the configured store cannot supportKeep storage type, inference, validation mode, and deprecated-setting behavior aligned
MCP output limits are lowered without client handlingTool responses lose needed data or fail the client's context budgetPreserve maxResponseChars bounds and update response-size consumers
A persona rule's missing filteredInSearch value is given new-rule meaningOlder stored rules change from preload behavior without an explicit migrationPreserve the compatibility rule for absent values and stamp the intended value for new rules
A context or persona list is read as completeA caller concludes that missing knowledge, bindings, or assets do not existCheck counts, truncation, budget, and manifest signals before making absence claims
A server-owned field is accepted as ordinary update inputA caller overwrites processing, cache, or completion stateKeep derived status and process results controlled by the owning workflow
A Context Center page or file uses governance status as processing statusThe UI reports content as ready or not processed at the wrong timeUse the dedicated processing state and read-only extraction indicators
Socket Mode is selected without an app tokenSlack events cannot connect even though the base credentials are validRequire the app token when the selected mode needs it
A dashboard connection changes its endpoint or credential requirement without its connector updateMetadata ingestion fails or reaches the wrong external systemKeep schema defaults and required fields aligned with the connector's connection flow
A connection union accepts a credential shape that its connector does not handleAuthentication fails after the configuration passes schema validationKeep each authentication variant and its required fields aligned with connector support
Data 360 required Salesforce credentials, API version, or page-size bounds change without the connector updateAuthentication or object discovery fails, or ingestion uses an invalid request sizeKeep the connection schema and Data 360 connector behavior aligned
A Data 360 pipeline changes lineage mapping or enables bulk lineage without matching service and workload rulesLineage points to the wrong service or creates unexpected scan workKeep database service selection, service mapping, bulk-lineage defaults, and capability flags aligned
A log stream uses the deprecated enabled flag as its modeLogs go to a different store than the operator expectsUse type as the storage decision and treat enabled as ignored
A saved query uses an unsupported format or inference valueThe query is stored but its result cannot be rendered or interpretedKeep the closed choices aligned with RDF result and inference support
A test result omits its run-time threshold or scope meaningHistorical quality results are judged by current test settings or the wrong row setPreserve run-owned threshold and evaluation-scope fields
A resolved failure uses an unknown reason or omits its required commentResolution views cannot explain or classify why the failure closedKeep the reason enum and required comment stable, and preserve entity-reference fields for assignee and resolver
An MCP OAuth inventory returns secrets or tokens instead of inventory dataAdministrative clients expose credential materialKeep the response closed and limited to client identity, redirect URIs, issue time, and active-token counts
A new data insight asset type is not mapped to its index behaviorCharts or ingestion treat the asset as the wrong kind of dataUpdate the asset enum and the data insight alias and chart rules together
A workflow node or trigger is added only to the entity schemaCreate requests reject valid graphs or stored graphs cannot be replayedUpdate the request and entity unions together
A background job reports progress with a different unit than its handler usesClients show incorrect progress or finish a job too earlyDefine progress and total in the same work-unit terms as the handler
A provider-specific authentication requirement is changed without its conditional ruleA login mode passes validation but fails when the provider starts the flowKeep provider, client type, nested configuration, and required fields aligned
SAML security settings accept key or encryption options without matching certificate requirementsLogin requests or assertions fail at run timeKeep signing and encryption policy tied to the required service-provider key material
OpenLineage NATS accepts a credential variant or reserved client option without consumer supportEvent intake cannot authenticate or silently ignores the intended connection settingKeep the broker union, credential boundary, and reserved option list aligned with the NATS consumer

Key files

FileWhy to read it
openmetadata-spec/…/basic.jsonDefines common value rules shared by entity and API contracts.
openmetadata-spec/…/entityReference.jsonDefines the identity pair used for entity relationships.
openmetadata-spec/…/dataContract.jsonShows native data-contract identity, quality, security, SLA, validation, and ODCS preservation.
openmetadata-spec/…/createDataContract.jsonShows the caller-owned data-contract creation boundary.
openmetadata-spec/…/odcsDataContract.jsonDefines the external ODCS shape and round-trip extension types.
openmetadata-spec/…/ontologyProperty.jsonDefines semantic ontology-property identity and relationships.
openmetadata-spec/…/ontologyPackManifest.jsonDefines the verified ontology library catalogue entry.
openmetadata-spec/…/ontologyPackModule.jsonDefines selectable modules, dependencies, source metadata, and checksums.
openmetadata-spec/…/installNativeOntologyPack.jsonDefines the bounded module-selection request.
openmetadata-spec/…/ontologyPackInstallJob.jsonDefines background installation state and progress.
openmetadata-spec/…/ontologyPackInstallJobArguments.jsonDefines the immutable selection and digest data persisted for a job.
openmetadata-spec/…/ontologyPackInstallPlan.jsonDefines the verified plan and slice progress used by the job.
openmetadata-spec/…/nativeOntologyImportSummary.jsonDefines import counts and bounded skipped-statement detail.
openmetadata-spec/…/backgroundJob.jsonDefines the common job identity, arguments, progress, cancellation, and terminal state.
openmetadata-spec/…/rdfConfiguration.jsonDefines RDF storage, inference, validation, federation, and maintenance policy.
openmetadata-spec/…/mcpConfiguration.jsonDefines MCP response limits and tool visibility policy.
openmetadata-spec/…/logStorageConfiguration.jsonDefines pipeline log storage mode, retention, encryption, and stream controls.
openmetadata-spec/…/slackAppConfiguration.jsonDefines Slack credentials and event delivery modes.
openmetadata-spec/…/qlikSenseConnection.jsonDefines Qlik endpoint, certificate alternatives, filters, and extraction capability.
openmetadata-spec/…/sapS4HanaConnection.jsonDefines SAP endpoint, authentication alternatives, SSL policy, and extraction capabilities.
openmetadata-spec/…/tableauConnection.jsonDefines Tableau authentication, endpoint, filters, and metadata discovery settings.
openmetadata-spec/…/datalakeConnection.jsonDefines cloud or local data sources, filters, and cold-storage behavior.
openmetadata-spec/…/natsConnection.jsonDefines NATS authentication, TLS, schema storage, and topic discovery.
openmetadata-spec/…/data360Connection.jsonDefines Salesforce Data 360 database credentials, API version, page-size limit, and extraction support.
openmetadata-spec/…/data360PipelineConnection.jsonDefines Data 360 pipeline credentials, lineage mapping, bulk-lineage policy, page-size limit, and extraction capabilities.
openmetadata-spec/…/tableauPipelineConnection.jsonDefines Tableau pipeline authentication, filters, status history, and refresh discovery.
openmetadata-spec/…/authenticationConfiguration.jsonDefines provider selection, conditional login inputs, claim mapping, redirect trust, and session policy.
openmetadata-spec/…/samlSSOClientConfig.jsonDefines SAML identity-provider, service-provider, and security policy contracts.
openmetadata-spec/…/openLineageConnection.jsonDefines the OpenLineage broker choices and shared pipeline connection fields.
openmetadata-spec/…/natsBrokerConfig.jsonDefines NATS JetStream event intake, retry behavior, TLS, and credential choices.
openmetadata-spec/…/credentialsAuth.jsonDefines the password-protected NATS credentials-file form.
openmetadata-spec/…/userApprovalTask.jsonDefines approval assignee policy, thresholds, staged transitions, and expiry behavior.
openmetadata-spec/…/resolved.jsonDefines the contract for recording why a test failure was resolved and who handled it.
openmetadata-spec/…/tableauConnectedAppAuth.jsonDefines the non-password Tableau connected-app credential shape.
openmetadata-spec/…/dataAssetType.jsonDefines the asset categories shared by data insight ingestion and views.
openmetadata-spec/…/createWorkflowDefinition.jsonDefines caller-owned workflow graph and policy input.
openmetadata-spec/…/workflowDefinition.jsonDefines workflow identity, graph, deployment, and suspension state.
openmetadata-spec/…/savedSparqlQuery.jsonDefines saved query identity, text, result format, inference, and ontology scope.
openmetadata-spec/…/createTestCaseResult.jsonDefines the input boundary for recorded test runs.
openmetadata-spec/…/basic.jsonDefines test result status, threshold snapshots, evaluation scope, and dimensional results.
openmetadata-spec/pom.xmlShows the schema-to-Java model generation boundary.
openmetadata-ui/…/json2ts.shShows the schema-to-TypeScript generation boundary.
ingestion/…/ometa_api.pyShows typed Python models crossing the ingestion API boundary.
openmetadata-service/…/openapi.ymlShows the HTTP API and security description used by external clients.