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-contracts-clients

Metadata contracts and clients

OpenMetadata uses shared schema contracts to keep metadata meaning stable across the server, ingestion, web UI, and external tools. The contracts define catalog entities, data agreements, ontology work, configuration, context, events, and integrations. Programmatic clients carry these typed requests and responses across versioned boundaries, so one contract change can affect validation, generated models, projections, and downstream tools.

Contract model

The contract model is the shared language for metadata producers and consumers. It lets one entity or operation move through validation, storage, ingestion, display, search, and integration without each caller defining a separate shape.

Entity and operation contracts

Entity contracts describe catalog objects and their links. Operation contracts describe how callers create, update, search, page through, relate, govern, and run work on those objects. Shared references, names, status values, and paging types keep these actions consistent across entity families.

The contracts also carry the meaning that consumers need to act safely. Tables can describe columns, constraints, profiling, execution sources, and daily shard families. Context files separate metadata creation from stored file content. Bulk operations and stale-entity cleanup state whether an action is authoritative, dry-run only, recursive, or destructive. Common task payloads also identify the field path, source, current value, proposed value, and confidence for assisted metadata changes.

References: openmetadata-spec/…/EntityInterface.java• L35-151 openmetadata-spec/…/table.json• L1074-1383 openmetadata-spec/…/createTable.json• L10-133 openmetadata-spec/…/createContextFile.json• L5-87 openmetadata-spec/…/contextFile.json• L85-240 openmetadata-spec/…/page.json• L30-187 openmetadata-spec/…/basic.json• L199-204 openmetadata-spec/…/descriptionUpdatePayload.json• L9-35 openmetadata-spec/…/suggestionPayload.json• L9-43 openmetadata-spec/…/bulkDeleteStaleRequest.json• L5-46

Data contract contracts

A data contract is a catalog agreement for one data entity. It joins the entity schema with semantic rules, quality expectations, ownership, review, security expectations, service-level expectations, terms of use, and the latest validation result. Its status and history let producers and consumers distinguish a draft agreement from an active or deprecated one.

OpenMetadata also preserves fields that have no native mapping when it imports or exports the Open Data Contract Standard (ODCS). ODCS is an external document standard with pinned versions. The native contract remains authoritative for OpenMetadata fields, while preserved fields and element extensions support a round trip without silently discarding external meaning.

References: openmetadata-spec/…/dataContract.json• L6-27 openmetadata-spec/…/dataContract.json• L297-368 openmetadata-spec/…/createDataContract.json• L5-128 openmetadata-spec/…/odcsDataContract.json• L1-14 openmetadata-spec/…/odcsDataContract.json• L67-94 openmetadata-spec/…/schema.json• L1-22

Quality and result contracts

Quality contracts describe both a test result and the scope of the data that produced it. A result can include row counts, dimensions, bounds, an incident link, and an evaluation scope that records sampling or partition limits. It can also preserve the threshold used during the run, so a later test-case edit does not change the meaning of an old result.

Incident-group contracts summarize open incidents by table, test definition, or owner without pretending that capped lists are complete. These fields let the UI and other clients explain a result without turning a partial measurement into a full-table claim. Status, counts, threshold, scope, and error details must be read together.

References: openmetadata-spec/…/basic.json• L129-256 openmetadata-spec/…/basic.json• L292-380 openmetadata-spec/…/testCaseResult.json• L1-120 openmetadata-spec/…/createTestCaseResult.json• L13-98 openmetadata-spec/…/testCaseIncidentGroup.json• L49-150 openmetadata-spec/…/tableExecutionSource.json• L5-31

Ontology contracts

Ontology contracts give formal semantic models their own identity, definitions, and change history. An ontology owns concepts, properties, and axioms through stable semantic IRIs. Sealed releases hold immutable members and a content digest for review, comparison, activation, and rollback.

The native ontology flow is preview-first. An import summary reports the detected format, counts, item-level outcomes, and skipped RDF statements without persistence. It groups skipped statements by reason and predicate and exposes bounded subject samples, so a client can show what the native model cannot represent before a user applies a change. A delete-impact response shows child concepts, removed relationships and rules, and blockers that must be resolved before deletion.

The ontology now describes a wider shared model for catalog assets, governance objects, quality evidence, and lineage. It marks terms as stored projection facts or inference-only vocabulary, so graph clients can separate facts emitted from catalog data from relationships that require external triples or reasoning. The ontology version is 2.1.0 and uses domain hints to describe valid subject types without changing the stored graph contract.

Release capture uses expected working, activation, and latest-release revisions to prevent a client from sealing a state it did not observe. Release validation reports structure, bounded SHACL findings, deprecation impacts, and whether logical checking was run; structural validation does not claim logical consistency. Release events and change summaries preserve the review and activation history and group changes by member kind.

The same contract family covers native ontology work from preview to publication. Clients can preview an import without persistence, browse verified library packs, inspect bounded concept and asset graphs, and ask for generated SQL around a concept. OpenMetadata generates the SQL but does not run it. Export contracts let a client select RDF, SKOS, SKOS-XL, or CSV output. Bound asset links are optional, and a validation gate can refuse an export when the release does not validate.

The release boundary separates working content from approved content. Working and activation revisions guard concurrent edits. Review contracts expose the frozen approval rule and caller vote state. Validation and diff contracts report bounded findings; they do not claim logical consistency or publication approval. Clients must also distinguish projected RDF facts from vocabulary or inference terms.

References: openmetadata-spec/…/ontology.json• L1-107 openmetadata-spec/…/ontologyConcept.json• L1-137 openmetadata-spec/…/ontologyProperty.json• L69-187 openmetadata-spec/…/createOntologyProperty.json• L5-80 openmetadata-spec/…/ontologyRelease.json• L62-152 openmetadata-spec/…/captureOntologyRelease.json• L5-32 openmetadata-spec/…/nativeOntologyImportSummary.json• L5-169 openmetadata-spec/…/ontologyReleaseValidation.json• L5-70 openmetadata-spec/…/ontologyChangeOperation.json• L5-118 openmetadata-spec/…/ontologyConceptQuery.json• L4-70 openmetadata-spec/…/ontologyReleaseExportOptions.json• L4-25 openmetadata-spec/…/openmetadata.ttl• L26-54 openmetadata-spec/…/openmetadata.ttl• L389-397 openmetadata-spec/…/openmetadata.ttl• L437-705 openmetadata-spec/…/openmetadata.ttl• L977-1080

Ontology library pack contracts

Ontology library packs provide verified, versioned groups of external or authored RDF modules. A pack manifest gives each module a stable ID, source, format, checksum, dependency list, and size summary. Clients select module IDs rather than sending the pack body, which keeps the install request small and makes the selected source reproducible.

Pack installation is a background operation. Its job arguments record the pack version, selected modules, and pack digest. Its plan records ordered slice digests, while the job reports progress, applied members, cancellation, and terminal status. This lets the server verify each slice against the plan and lets the UI report progress without treating a queued job as an applied ontology change.

The bundled payloads are generated from pinned upstream sources and include licensing and attribution data. A removed source module is not available to new pack selections, while a replacement module must retain its own stable manifest identity and checksum.

References: openmetadata-spec/…/ontologyPackManifest.json• L5-106 openmetadata-spec/…/ontologyPackModule.json• L5-81 openmetadata-spec/…/ontologyPackSource.json• L5-60 openmetadata-spec/…/installNativeOntologyPack.json• L5-21 openmetadata-spec/…/ontologyPackInstallJobArguments.json• L5-38 openmetadata-spec/…/ontologyPackInstallPlan.json• L5-33 openmetadata-spec/…/ontologyPackInstallJob.json• L5-99 openmetadata-spec/…/backgroundJob.json• L8-91 openmetadata-spec/…/README.md• L1-11

RDF reasoning contracts

RDF reasoning contracts let clients ask what work an RDF store supports and track bounded reasoning jobs. Capabilities separate current readiness from whether an operation is implemented. They also state the memory and execution limits that make an operation safe to admit.

Job contracts keep execution state separate from the answer and from snapshot freshness. A successful check can be incomplete. A successful refresh can publish a stale snapshot. Clients must use the operation, state, outcome, problem, and snapshot fields together when they show or retry reasoning work.

RDF configuration adds the deployment boundary for this work. It controls whether RDF is enabled, which store and endpoint are used, how writes are bounded, whether materialized inference and SHACL checks are active, how storage maintenance runs, and which external SPARQL endpoints federation may reach. Deprecated inference settings remain compatibility data and do not restore the old in-memory reasoning path.

References: openmetadata-spec/…/rdfReasoningCapabilities.json• L5-25 openmetadata-spec/…/rdfReasoningJob.json• L5-30 openmetadata-spec/…/savedSparqlQuery.json• L5-47 openmetadata-spec/…/rdfConfiguration.json• L33-130 openmetadata-spec/…/rdfConfiguration.json• L155-228 openmetadata-spec/…/rdfConfiguration.json• L230-268

Context and identity contracts

Context contracts let AI-assisted features store reusable knowledge with clear scope, sharing, provenance, and freshness. The AI context contract presents one permission-aware view of an asset by combining business knowledge, lineage, type-specific structure, profiles, data quality, and bounded evidence.

The context response keeps stable asset identity separate from type-specific structure and volatile observability signals. It can mark knowledge as truncated or stale and can report lower-bound counts when response caps limit the scan. This prevents a client from treating a bounded or old context as a complete current view.

Context Center files and pages extend this contract to human-authored source material. A file records its source, sharing policy, content snapshot, processing state, and extraction summary. A page can be an article or quick link and keeps asynchronous knowledge extraction separate from the page's governance status. Extraction availability tells clients whether extraction can start and gives a bounded reason when the feature or its provider is disabled or unavailable.

Identity contracts describe both the user account and the authentication path. The identity-provider subject is distinct from the SCIM external identifier. A masked authentication mechanism describes how a user or bot signs in. Persona context rules shape a user's view, while a derived user count describes assignment scope rather than changing assignments. The default domain narrows lists but does not grant or remove access. Bot impersonation remains an explicit capability.

References: openmetadata-spec/…/aiContext.json• L5-62 openmetadata-spec/…/aiContext.json• L495-581 openmetadata-spec/…/aiContext.json• L607-723 openmetadata-spec/…/extractionAvailability.json• L5-25 openmetadata-spec/…/contextFile.json• L106-187 openmetadata-spec/…/contextFile.json• L197-240 openmetadata-spec/…/page.json• L11-27 openmetadata-spec/…/page.json• L159-187 openmetadata-spec/…/persona.json• L45-84 openmetadata-spec/…/contextMemory.json• L11-400 openmetadata-spec/…/createContextMemory.json• L5-108 openmetadata-spec/…/approveExtractedMemories.json• L1-23 openmetadata-spec/…/user.json• L40-216 openmetadata-spec/…/oidcClientConfig.json• L8-109

Service and ingestion contracts

Service contracts connect a source identity to its connection choices, supported capabilities, and ingestion path. The shared connection contract advertises which metadata, usage, lineage, profiling, statistics, and data-diff operations a source supports. Ingestion pipeline contracts then describe how that source is processed and reported.

The service boundary stays stable while source-specific details vary. Database and data-lake connections share ideas such as filters, storage locations, connection options, profiling, and cold-storage handling. Dashboard connections apply the same boundary to different products: Qlik Sense uses engine URLs and either certificate values or certificate paths; SAP S/4HANA supports basic or OAuth client credentials; Tableau supports basic, token, or connected-app authentication. NATS applies the boundary to broker URLs, TLS, schema storage, topic filters, and several authentication modes.

Pipeline contracts carry the same source-specific meaning into ingestion. Salesforce Data 360 requires connected-app credentials and the organization's My Domain, then adds the Data 360 database service, service mapping, pagination, and an optional bulk-lineage mode. Tableau pipeline ingestion adds pipeline filters, run history limits, and optional extract refreshes. OpenLineage can consume events through Kafka, Kinesis, or NATS broker configurations, while namespace-to-service mapping connects source dataset namespaces to the correct OpenMetadata database service. Capability claims state which metadata, lineage, usage, or profiling paths are valid for each source.

These capability claims are part of interoperability. Ingestion uses them to select work, while the UI uses them to show valid choices. A source-specific connection must not claim a feature that its connector cannot perform. Secret connection fields must also remain protected when clients pass credentials through the contract.

References: openmetadata-spec/…/datalakeConnection.json• L31-114 openmetadata-spec/…/qlikSenseConnection.json• L18-94 openmetadata-spec/…/certificatePath.json• L8-29 openmetadata-spec/…/certificateValues.json• L8-15 openmetadata-spec/…/sapS4HanaConnection.json• L23-84 openmetadata-spec/…/basicAuth.json• L8-34 openmetadata-spec/…/oAuthCredentials.json• L8-41 openmetadata-spec/…/tableauConnection.json• L23-105 openmetadata-spec/…/natsConnection.json• L23-87 openmetadata-spec/…/basicAuth.json• L8-25 openmetadata-spec/…/nkeyAuth.json• L8-19 openmetadata-spec/…/tokenAuth.json• L8-19 openmetadata-spec/…/openLineageConnection.json• L18-57 openmetadata-spec/…/data360PipelineConnection.json• L25-96 openmetadata-spec/…/tableauPipelineConnection.json• L23-90 openmetadata-spec/…/databaseServiceMetadataPipeline.json• L45-203 openmetadata-spec/…/dashboardServiceMetadataPipeline.json• L17-136

Workflow and change request contracts

Workflow contracts describe when entity work starts, who reviews it, and how its result moves through a workflow instance. Triggers select work. Nodes and edges describe the path. Lifecycle metadata adds stage gates for required fields and conditions without replacing the saved workflow graph.

Create and stored workflow contracts keep configuration, trigger types, node variants, and edges aligned. A workflow can store stage status and can auto-assign its tasks to entity owners. Its runtime state also distinguishes deployed, suspended, and soft-deleted workflows, so a client does not treat a saved definition as an active one.

Change request contracts make a governed edit auditable across proposal, review, and publication. A preview reports whether approval is needed. An immutable revision records normalized operations and a digest. Decisions can cover the whole revision or selected changes. An application records what was published and what was dropped. Expected revisions stop stale clients from acting on newer work.

Task payloads use shared field-path and source conventions so user, agent, AutoPilot, ingestion, and classification actions can move through the same review surface. Description and tag updates preserve the target path and current state. Suggestions add a typed target and proposed value. These payloads connect automated proposals to the same governed workflow as direct edits.

Approval outcomes make the result of each approval step explicit. They distinguish a full approval, a partial publication, a rejection, and an administrative override. They also record whether the workflow decided automatically or which people made the decision, so clients can explain the audit trail without inferring it from the final entity state.

References: openmetadata-spec/…/createWorkflowDefinition.json• L11-121 openmetadata-spec/…/workflowDefinition.json• L19-135 openmetadata-spec/…/changeRequest.json• L8-92 openmetadata-spec/…/changeRevision.json• L5-27 openmetadata-spec/…/approvalDecision.json• L5-65 openmetadata-spec/…/lifecycleConfiguration.json• L1-112 openmetadata-spec/…/approvalOutcome.json• L5-55 openmetadata-spec/…/task.json• L241-520 openmetadata-spec/…/descriptionUpdatePayload.json• L9-35 openmetadata-spec/…/suggestionPayload.json• L9-43 openmetadata-spec/…/tagUpdatePayload.json• L9-53

Event and notification contracts

Event contracts connect a change to a registered consumer and one or more destinations. A subscription carries its trigger, resource and field filters, consumer, destination type, channel, retry policy, template, and notification scope.

Filter rules state whether a condition includes or excludes matching events. Destination channels must exist in the server registry. Subscription status describes delivery state, while retry and polling settings control how the system responds to failures. These fields let the UI and external clients manage delivery without reconstructing server behavior.

References: openmetadata-spec/…/eventFilterRule.json• L8-74 openmetadata-spec/…/eventSubscription.json• L72-183 openmetadata-spec/…/eventSubscription.json• L184-361 openmetadata-spec/…/eventSubscriptionDiagnosticInfo.json• L4-61 openmetadata-spec/…/testEventSubscriptionDestination.json• L4-18

Configuration and credential contracts

Configuration contracts give deployment settings and stored settings one typed meaning. Credential contracts describe the values needed to reach an external service and mark protected values so clients do not treat them as ordinary metadata.

The OpenMetadata client connection uses an API endpoint, authentication provider, API version, SSL settings, and a required JWT token when JWT security is selected. Authentication configuration also distinguishes public and confidential clients, provider-specific required settings, token response modes, trusted redirect URIs, and claim names used to identify users. Legacy claim-mapping fields remain compatible with claim names that contain any non-space characters, while newer email and display-name claim fields provide the preferred path. MCP configuration adds the server path, external OAuth base URL, allowed origins, timeouts, response-size limit, read-only mode, disabled tools, and OAuth redirect controls. Dynamic registration can be disabled without removing existing clients. Exact HTTPS hosts, loopback callbacks, and native callbacks have separate rules.

Pipeline log storage adds a related deployment contract. The selected storage type controls whether logs use the default store or S3. S3 settings define the bucket, retention, encryption, storage class, stream limits, and flush behavior. The old enabled flag is compatibility data and does not override the selected storage type.

MCP OAuth client inventory is an administrative view of registered clients. It exposes the client identity, redirect URIs, issue time, and counts of active access and refresh tokens. It never carries client secrets or tokens, so management clients can inspect registration state without receiving credentials.

Response-size changes apply on the handling server at save time and reach other cluster nodes on restart. Read-only and disabled-tool changes can block calls at once, while server identity changes apply after restart. Slack app configuration follows the same boundary: it keeps app identity and signing data separate from protected user and bot tokens, and it supports webhook or outbound socket event delivery.

Consumers must respect which settings are deployment-owned, stored, editable, or secret. This distinction prevents a client from exposing credentials or assuming that a saved setting changes every active process at the same time.

References: openmetadata-spec/…/openMetadataConnection.json• L52-87 openmetadata-spec/…/openMetadataJWTClientConfig.json• L1-17 openmetadata-spec/…/authenticationConfiguration.json• L20-156 openmetadata-spec/…/authenticationConfiguration.json• L158-223 openmetadata-spec/…/mcpConfiguration.json• L5-111 openmetadata-spec/…/logStorageConfiguration.json• L5-97 openmetadata-spec/…/oauthClient.json• L5-35 openmetadata-spec/…/slackAppConfiguration.json• L8-47 openmetadata-spec/…/gcpValues.json• L3-97 openmetadata-spec/…/configSourceConfiguration.json• L5-53 openmetadata-spec/…/settingsSourceResponse.json• L26-80

Contract flow

The contract flow starts with a shared schema and ends with typed behavior in several consumers. Generation and transport are boundary steps. The server remains the authority for validation and business rules, while clients preserve request and response meaning for their callers.

This diagram shows how one contract reaches server, ingestion, web UI, and external integration paths.

flowchart LR
    S[Shared metadata contracts] --> G[Prepared and generated models]
    S --> A[API and integration descriptions]
    G --> V[Catalog server]
    G --> I[Ingestion client]
    G --> U[Web UI client]
    A --> J[Java SDK]
    A --> M[MCP and external integrations]
    V <--> H[Versioned HTTP API]
    I <--> H
    U <--> H
    J <--> H
    M <--> H
    V --> P[Search and workflow projections]

Schema generation

The schema source defines a contract once. The build prepares composed model inputs and generates language-specific views for Java, Python, and TypeScript consumers. ODCS source documents are projected into separate pinned model versions, while runtime validation still uses the source contract.

The generated surface preserves the difference between stored fields, derived fields, read-only fields, and request-only fields. It also carries source-specific connection choices, capability claims, data-contract fields, ontology job state, Context Center processing state, and external integration settings into the clients that configure ingestion or display progress. This lets each client know what it may send and what it can trust in a response. The detailed schema families and generation rules are covered in Metadata schema contracts.

References: openmetadata-spec/pom.xml• L123-170 openmetadata-spec/…/prepare_model_schemas.py• L12-16 openmetadata-spec/…/prepare_model_schemas.py• L125-155 openmetadata-spec/…/prepare_model_schemas.py• L173-204 openmetadata-spec/…/schema.json• L1-22 openmetadata-spec/…/schema.json• L1-22

Server boundary

The server receives versioned requests, validates them against business and access rules, and returns contract-shaped entities or results. Clients can use full entity changes for synchronization and focused operations for narrow edits.

The response contract carries state that affects how a caller should act. A lineage response can be partial. A test result can describe only a sample or partition. A pending approval row is not a published change. A release validation result is not a logical-consistency result. Search counts marked as lower bounds are not totals. An AI context response can be truncated or stale. An ontology import summary describes a possible change and does not mean that anything was saved. A pack install job describes planned or completed background work rather than an immediately active release. A file or page processing status describes knowledge extraction progress and not the entity's governance status. An approval outcome can describe partial publication or an override rather than a simple approved state.

Errors also preserve the raw HTTP status and a structured error body. This includes non-standard status codes such as 424, which clients must not reduce to a generic server error.

References: openmetadata-spec/…/openLineageResponse.json• L104-145 openmetadata-spec/…/basic.json• L218-256 openmetadata-spec/…/aiContext.json• L41-58 openmetadata-spec/…/contextFile.json• L132-160 openmetadata-spec/…/page.json• L159-183 openmetadata-spec/…/extractionAvailability.json• L8-24 openmetadata-spec/…/nativeOntologyImportSummary.json• L5-169 openmetadata-spec/…/ontologyPackInstallJob.json• L36-82 openmetadata-spec/…/ontologyReleaseValidation.json• L59-70 openmetadata-spec/…/approvalOutcome.json• L17-47 openmetadata-spec/…/searchRequest.json• L24-121 openmetadata-spec/…/WebServiceException.java• L5-49

Consumer boundaries

Ingestion, the web UI, Java callers, and MCP clients adapt the common contract to different user needs. Ingestion favors typed entity publishing and page traversal. The UI favors focused reads and edits. Java clients favor reusable service access. MCP, the Model Context Protocol, exposes bounded catalog actions to assistants while preserving the catalog security context.

External integrations must keep the same meaning when they cross the catalog boundary. An OpenMetadata ingestion client must preserve authentication, API version, and entity scope. Event clients must resolve registered consumers and channels. SDK and MCP callers must preserve server-side access rules. OAuth administration clients can inspect registered MCP clients and token counts, but must not expect secrets in the inventory response. The client and integration surfaces are described in Client, SDK, and MCP integrations.

References: ingestion/…/ometa_api.py• L261-349 openmetadata-ui/…/index.ts• L14-37 openmetadata-sdk/…/OpenMetadataClient.java• L85-218 openmetadata-mcp/…/McpServer.java• L1-200 openmetadata-mcp/…/OAuthHttpStatelessServerTransportProvider.java• L1-200 openmetadata-spec/…/oauthClient.json• L5-35 openmetadata-spec/…/mcpConfiguration.json• L19-109

Compatibility flow

Compatibility means that a producer, server, projection, and consumer preserve the same identity and meaning at each step. The most important shared signals are entity identity, operation intent, status, source scope, freshness, revision, and result completeness.

When a producer changes metadata, the server validates the request and returns the accepted state. A governed edit may instead return a pending change request whose revision, digest, decisions, and delivery status control later publication. An ontology edit can follow the same pattern through a working change set, an immutable release, a review task, and activation. A library-pack install adds a verified selection, a digest-checked plan, and a background job before its changes are applied. A preview stops before persistence. A projection or external sink may then expose a later view of that state.

Search is another contract boundary. Entity aliases define parent and child relationships across search indexes, while data-insight asset types define which entity kinds are captured in daily snapshots and which test-result kinds come from live indexes. Query-cost projections also carry query owners, tags, tier, and domains so search and access views can use the same classification meaning. A client must treat those views as projections rather than as a second source of entity truth.

Consumers must read result status and detail fields together. A partial lineage response is not a failed request. A verdict for a sample is not a verdict for a full table. An inference-only RDF relation is not a projected catalog fact. A release diff is not a publication decision. Generated SQL is a client hand-off and not executed data. A native ontology import preview is not a saved change. A pack job that is complete is not the same as a release that has been activated. A logical table assembled from shards is not the same as one physical shard, and an empty stale-entity list is destructive only when the connector confirms that the source listing was complete. A file marked processed can still report extraction counts and source freshness that a client must interpret separately from entity status. An approval marked partially approved or overridden must not be shown as an ordinary full approval.

This sequence shows the main compatibility path from a typed request to a consumer view.

sequenceDiagram
    participant P as Producer
    participant C as Programmatic client
    participant S as Catalog server
    participant X as Projection or external sink
    participant U as Consumer
    P->>C: Create typed request
    C->>S: Send contract-shaped request
    S->>S: Validate access and business rules
    S-->>C: Return typed entity or result
    S->>X: Publish or synchronize change
    X-->>U: Return projected or external view
    U->>C: Read contract-shaped response

References: openmetadata-spec/…/changeRequest.json• L50-91 openmetadata-spec/…/changeRevision.json• L15-27 openmetadata-spec/…/ontologyRelease.json• L76-152 openmetadata-spec/…/extractionAvailability.json• L8-24 openmetadata-spec/…/contextFile.json• L132-160 openmetadata-spec/…/nativeOntologyImportSummary.json• L64-169 openmetadata-spec/…/ontologyPackSource.json• L18-56 openmetadata-spec/…/ontologyPackInstallPlan.json• L9-33 openmetadata-spec/…/ontologyConceptQuery.json• L44-70 openmetadata-spec/…/openLineageResponse.json• L104-145 openmetadata-spec/…/tableSharding.json• L18-41 openmetadata-spec/…/indexMapping.json• L1-27 openmetadata-spec/…/query_cost_record_index_mapping.json• L532-722 openmetadata-spec/…/dataAssetType.json• L1-32 openmetadata-spec/…/openmetadata.ttl• L276-303

Change checklist

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

  • A schema field, enum, default, or reference change must stay aligned across prepared inputs, generated Java, Python, and TypeScript models and every request and response user.
  • An ODCS version change must keep the pinned source document, generated package identity, fixed API-version enum, upstream digest, and import/export mapping aligned.
  • A data-contract change must preserve the boundary between native OpenMetadata fields and preserved ODCS fields or element extensions.
  • An ontology import change must preserve stable item IDs, dependency IRIs, operation IDs, duplicate and skipped states, skipped-statement totals and bounded groups, and the rule that preview data is not persisted.
  • An ontology pack change must keep manifest module IDs, dependency order, source and payload digests, license data, selected modules, job arguments, plan slices, and applied-member counts aligned.
  • A background-job change must keep the job type, typed arguments, progress units, terminal status, cancellation state, and result meaning consistent with the job-specific response.
  • Ontology release capture must keep expected revisions, semantic version allocation, release notes, content digests, change counts, review events, and activation history aligned.
  • Ontology validation must keep structure, SHACL findings, deprecation impacts, truncation, and the explicit logical-check state separate.
  • A saved SPARQL query change must keep its result format, inference choice, query size, and ontology scope aligned with the UI that lists and runs it.
  • A context-memory change must preserve lifecycle, sharing, provenance, source-entity migration, derived-state freshness, dispute state, and outcome-write ownership.
  • A Context Center file or page change must preserve the difference between entity governance, content source, processing state, extraction availability, and read-only derived counts.
  • A persona or AI-context change must preserve caller visibility, type-specific context, volatile observability, truncation flags, and lower-bound count semantics.
  • A context-file create request must keep server-managed content references out of metadata-create requests and keep upload behavior separate.
  • A task payload change must preserve field-path syntax and source, confidence, current-value, and proposed-value semantics across UI, automation, and review workflows.
  • A workflow definition change must keep create-time node variants and configuration aligned with the stored workflow state, including deployment, suspension, and owner assignment behavior.
  • A workflow approval change must keep partial approval, administrative override, automatic reason, deciding users, and decision time aligned with the change request that was published.
  • A test-result change must keep the applied threshold, dimensional results, error details, and evaluation scope aligned between create requests, stored results, and search or insight projections.
  • A search entity change must keep index names, aliases, parent-child relationships, and data-insight asset types aligned with the entity families they represent.
  • A query-cost index change must keep ownership, tags, tier, domains, query identity, and classification fields aligned with the query-cost projection and its access views.
  • A table, shard, or execution-source change must preserve the difference between a logical table and the physical source used for profiling, tests, and query work.
  • An ingestion connection change must keep required credentials, secure transport, source filters, and capability claims aligned with connector behavior.
  • An OpenLineage broker change must keep the Kafka, Kinesis, or NATS variant, secret handling, namespace mapping, and generated client types aligned.
  • A dashboard connection change must preserve product-specific authentication variants, required fields, API scope, filter patterns, and secret handling while keeping shared extraction capability semantics.
  • A Data 360 connection change must keep Salesforce My Domain, API version, connected-app secrets, pagination bounds, service mapping, and capability flags aligned across database and pipeline clients.
  • A messaging connection change must keep authentication variants, TLS settings, schema storage, reserved client options, and topic filters aligned with the broker client.
  • An event subscription change must keep registered consumer IDs, channel registration, filter effects, destination limits, retry behavior, and delivery status aligned.
  • A log-storage change must keep storage type, S3 credentials, encryption, retention, stream limits, and flush settings aligned with the active log store; deprecated flags must not regain control.
  • An authentication configuration change must keep provider-specific required fields, public or confidential client behavior, redirect URI checks, and claim mapping semantics aligned across server and UI clients.
  • An OpenMetadata client security change must preserve API endpoint, provider, version, SSL behavior, masked JWT handling, and raw HTTP error status.
  • An MCP or Slack configuration change must keep endpoint and event-delivery modes, origin or signing checks, timeout and response limits, disabled tools, read-only exposure, secret fields, and restart behavior consistent.
  • An MCP OAuth change must keep client inventory fields free of secrets and keep redirect-host, loopback, native, and dynamic-registration rules aligned with authorization behavior.
  • A new schema reference must use the correct JSON Schema definition path and remain valid for generated model creation.

Important failure modes

TriggerConsequenceGuard
A generated model is stale after a schema changeA client rejects a valid payload or drops a new fieldPrepare and regenerate affected model inputs before using the changed contract
A native ontology import preview or pack plan is treated as a writeA client reports changes that were never storedTreat previews and plans as intent until the apply operation succeeds
A pack module is selected without its dependency or with a changed digestThe install job fails or applies an incomplete semantic changeHonor module dependencies and verify pack and slice digests
A removed or replaced pack file is referenced by an old manifestA background install cannot load the selected moduleUse the versioned manifest as the source of available modules and retain stable IDs for replacements
Skipped RDF statements are shown as imported definitionsA client overstates what the native ontology containsRead skipped totals, reasons, and bounded groups with the import counts
An ODCS document is generated from the wrong pinned versionAn external consumer rejects the document or reads fields with the wrong meaningKeep the version in the generated model identity and apiVersion value
Native and preserved data-contract fields are merged as if they have equal authorityAn export overwrites the catalog's native meaning or loses external fieldsKeep native fields authoritative and preserve unmapped ODCS data separately
An extracted memory changes after preview or is not named for approvalThe client reports approval that the server did not grant or approves too broad a setSend the source and preview-listed approvable memories and handle per-memory rejection
Release validation is shown as logical consistencyUsers publish a release that passed structure or SHACL checks but was never checked for logical consistencyRead logicalCheck with valid and the finding reports
A context memory is used while its derived representation is stale or failedAI retrieval uses an outdated or missing machine formCheck representation and processing status before using derived content
Extraction is shown as available when its feature or provider is disabledA client starts work that cannot run and hides the reason from the userRead available and use the reason enum when it is false
A file or page processing state is treated as governance stateA client shows an entity as approved or rejected based on an extraction jobKeep processing status separate from entity lifecycle status
A source capability flag does not match connector behaviorIngestion or UI offers work that the source cannot completeTreat capability claims as part of connector validation
A logical shard family is treated as one physical sourceProfiles, tests, or queries use the wrong table or datePreserve the representative and physical execution-source fields
A test verdict from a sample, partition, or old threshold is shown as a current full-table verdictUsers act on a result that covers fewer rows or used different limits than they expectRead evaluation scope and applied threshold with the result status and counts
Generated ontology SQL is treated as executed dataA UI or integration reports results that no system queriedShow the SQL as a generated query and execute it only through an explicitly authorized data path
RDF readiness is treated as operation supportA client submits an unavailable or unimplemented reasoning operationCheck readiness, named operation, and stated limits together
Federation is enabled without an endpoint allowlist matchA SPARQL request reaches an unintended external serviceRequire the federation switch and an exact allowed endpoint match
An event names an unregistered consumer or channelSubscription creation or delivery failsResolve consumer and channel identifiers against the server registry
A dashboard connection omits a required credential or uses the wrong API scopeIngestion cannot authenticate or sees less metadata than the user expectsValidate product-specific authentication variants and access settings before enabling the pipeline
A Qlik certificate mode is missing one required certificate or mixes path and value formsThe dashboard connection cannot establish its secure sessionSelect one certificate variant and validate all fields required by that variant
A Data 360 connection uses a login domain instead of Salesforce My DomainClient-credentials authentication fails before metadata or lineage work startsRequire the configured Salesforce My Domain and validate the required connected-app fields
A Data 360 pipeline claims lineage or bulk lineage without its mapping or database serviceLineage is missing or points to the wrong upstream serviceKeep capability flags, service mapping, and the Data 360 database service aligned
An OpenLineage connection selects a broker variant that the generated client does not supportEvent ingestion cannot connect or cannot resolve broker settingsKeep the broker union and generated ingestion types aligned, and validate the selected broker's required fields
A NATS authentication mode or reserved client option is passed incorrectlyBroker access fails or the client overrides protected connection behaviorUse one supported auth variant and keep reserved options under the connection contract's control
A secret connection field is treated as ordinary textCredentials or full secret URIs are exposed or cannot be resolvedHonor masked fields and resolve references to the complete secret value
A log stream setting is changed without matching the selected storePipeline logs are lost, delayed, or cleaned up at the wrong timeValidate store-specific settings and treat the storage type as the controlling field
An approval outcome is reduced to approved or rejectedPartial publication or an administrator override is hidden from the audit viewRead the decision, automatic reason, deciding users, and time together
A non-standard HTTP status is mapped through an enum-only pathA dependency error becomes a generic 500 responsePreserve the raw integer status through the exception and error body
MCP OAuth inventory is expected to contain a client secret or tokenAn administrative client exposes or mishandles credentialsTreat the inventory as non-secret metadata and use dedicated credential flows for secrets
A redirect host is accepted by suffix or wildcard matchingOAuth authorization can return a code to an unintended siteApply exact HTTPS host rules and handle loopback and native redirects separately
MCP response limits or read-only settings are changed on one cluster node onlyClients receive different tool lists or response sizes by nodeApply saved configuration on every node and account for its documented restart behavior
Slack event mode is changed without matching endpoint or app-token setupEvents are not delivered or requests cannot be verifiedMatch Webhook or SocketMode with its required public endpoint, signing data, and app token
A legacy JWT claim mapping uses a claim name with unsupported charactersLogin cannot identify the user even though the identity provider sent the claimUse the non-space claim-name contract or migrate to emailClaim and displayNameClaim
A query-cost index is read without its new ownership or classification fieldsAccess and search views omit query owners, tags, tier, or domainsKeep the index mapping and query-cost projection version aligned

Key files

FileWhy to read it
openmetadata-spec/…/EntityInterface.javaDefines the shared entity boundary used by server and clients.
openmetadata-spec/…/WebServiceException.javaShows how client-facing HTTP status and error details remain intact.
openmetadata-spec/…/basic.jsonDefines common IDs, names, timestamps, statuses, and shared field types.
openmetadata-spec/…/dataContract.json and api/…/createDataContract.jsonDefine the native data-contract entity and its create boundary.
openmetadata-spec/…/odcsDataContract.json and openmetadata-spec/…/schema.jsonShow the native envelope for ODCS data and one pinned external contract version.
openmetadata-spec/…/prepare_model_schemas.py and openmetadata-spec/pom.xmlShow how shared and pinned external schemas become model-generation inputs.
openmetadata-spec/…/basic.json and api/…/createTestCaseResult.jsonDefine test result status, thresholds, dimensions, errors, and evaluation scope.
openmetadata-spec/…/savedSparqlQuery.jsonDefines the saved query contract used to retain query text, result format, inference, and ontology scope.
openmetadata-spec/src/main/resources/rdf/ontology/openmetadata.ttlDefines the shared RDF vocabulary, projection status, asset classes, quality evidence, and lineage meaning.
openmetadata-spec/…/datalakeConnection.jsonIllustrates storage source selection, filters, profiling, and cold-storage behavior.
openmetadata-spec/…/qlikSenseConnection.json, qlikSense/certificatePath.json, and qlikSense/certificateValues.jsonDefine Qlik connection identity and its two certificate forms.
openmetadata-spec/…/sapS4HanaConnection.json, sapS4Hana/basicAuth.json, and sapS4Hana/oAuthCredentials.jsonDefine SAP S/4HANA host, TLS, and authentication variants.
openmetadata-spec/…/tableauConnection.json and security/…/tableauConnectedAppAuth.jsonDefine Tableau access modes, filters, and connected-app identity.
openmetadata-spec/…/natsConnection.json and messaging/…/*.jsonDefine NATS broker, TLS, schema bucket, filters, and authentication choices.
openmetadata-spec/…/openLineageConnection.jsonDefines the OpenLineage broker choices and namespace-to-service mapping.
openmetadata-spec/…/data360PipelineConnection.json and pipeline/tableauPipelineConnection.jsonDefine pipeline credentials, source mappings, capability claims, and run-history choices.
openmetadata-spec/…/authenticationConfiguration.jsonDefines authentication providers, client types, redirect rules, session settings, and identity claim mapping.
openmetadata-spec/…/query_cost_record_index_mapping.jsonDefines the query-cost search projection and its query ownership and classification fields.
openmetadata-spec/…/workflowDefinition.json and api/…/createWorkflowDefinition.jsonDefine saved workflow state and create-time trigger, node, edge, and configuration choices.