Netcracker Contracts API

DDL and MCP contract APIs.

Operations 10

GET /api/v1/packages/{packageId}/versions/{version}/ddl/entities Get DDL entities #
GET /api/v1/packages/{packageId}/versions/{version}/ddl/entities/{ddlEntityId} Get DDL entity details #
GET /api/v1/packages/{packageId}/versions/{version}/ddl/entities/{ddlEntityId}/changes Get DDL entity changes #
GET /api/v1/packages/{packageId}/versions/{version}/ddl/changes Get list of changed DDL entities #
GET /api/v1/packages/{packageId}/versions/{version}/ddl/entities/{ddlEntityId}/changes/summary Single DDL entity changes summary #
GET /api/v1/packages/{packageId}/versions/{version}/ddl/export/entities Export DDL entities to xlsx file #
GET /api/v1/packages/{packageId}/versions/{version}/ddl/export/changes Export DDL changes to xlsx file #
GET /api/v1/packages/{packageId}/versions/{version}/mcp/{entity} Get MCP contract entities #
GET /api/v1/packages/{packageId}/versions/{version}/mcp/{entity}/{mcpEntityId} Get MCP contract entity details #
GET /api/v1/packages/{packageId}/versions/{version}/mcp/export/{entity} Export MCP contract entities to xlsx file #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/netcracker-contracts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

netcracker-contracts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: APIHUB Registry – External Contracts API
  description: 'Public-facing API contract for APIHUB. This API is intended for external and integration clients and covers package/catalog operations, publication workflows, search, user/profile actions, and selected administration capabilities secured by APIHUB authentication schemes.

    '
  contact:
    name: Netcracker Opensource Group
    email: opensourcegroup@netcracker.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: '2026.1'
  x-api-kind: BWC
servers:
- url: https://{apihub}.qubership.org
  description: Primary APIHUB server endpoint (use the apihub variable to select production, development, or staging).
  variables:
    apihub:
      description: APIHUB subdomain/environment selector (apihub=production, dev.apihub=development, staging.apihub=staging).
      enum:
      - apihub
      - dev.apihub
      - staging.apihub
      default: apihub
security:
- BearerAuth: []
- CookieAuth: []
- api-key: []
- PersonalAccessToken: []
tags:
- name: Contracts
  description: DDL and MCP contract APIs.
paths:
  /api/v1/packages/{packageId}/versions/{version}/ddl/entities:
    get:
      tags:
      - Contracts
      summary: Get DDL entities
      description: 'Get DDL contract entities for a package version. Only `table` entities are supported now.

        '
      operationId: getPackageVersionDdlEntities
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - name: textFilter
        in: query
        description: Filter by DDL entity name (case-insensitive substring match).
        schema:
          type: string
      - $ref: '#/components/parameters/limit'
      - name: offset
        in: query
        description: Number of records to skip.
        schema:
          type: integer
          minimum: 0
          default: 0
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entities:
                    type: array
                    items:
                      $ref: '#/components/schemas/DdlEntityView'
                  packages:
                    $ref: '#/components/schemas/PackagesMap'
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                IncorrectInputParams:
                  $ref: '#/components/examples/IncorrectInputParameters'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/ddl/entities/{ddlEntityId}:
    get:
      tags:
      - Contracts
      summary: Get DDL entity details
      description: Get DDL contract entity details, including the raw SQL payload. Only `table` entities are supported now.
      operationId: getPackageVersionDdlEntity
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/ddlEntityId'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/DdlEntityView'
                - type: object
                  required:
                  - data
                  properties:
                    data:
                      description: Raw SQL definition of the DDL entity (minimal valid SQL for the table).
                      type: string
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/ddl/entities/{ddlEntityId}/changes:
    get:
      tags:
      - Contracts
      summary: Get DDL entity changes
      description: Get changes of one DDL entity between current and previous published package versions. Only `table` entities are supported now.
      operationId: getPackageVersionDdlEntityChanges
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/ddlEntityId'
      - $ref: '#/components/parameters/severity'
      - $ref: '#/components/parameters/previousVersion'
      - $ref: '#/components/parameters/previousVersionPackageId'
      - in: query
        name: previousVersionDdlEntityId
        description: DDL entity identifier from previous version.\ Empty, if requested entity is added in the current version; otherwise, must be specified.
        schema:
          type: string
          example: public-table-accounts
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  changes:
                    description: List of individual DDL entity changes.
                    type: array
                    items:
                      $ref: '#/components/schemas/SingleOperationChange'
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/ddl/changes:
    get:
      tags:
      - Contracts
      summary: Get list of changed DDL entities
      description: 'Get DDL contract changes between two compared package versions with details by entities.

        Only `table` entities are supported now.

        '
      operationId: getPackageVersionDdlChanges
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/severity'
      - $ref: '#/components/parameters/previousVersion'
      - $ref: '#/components/parameters/previousVersionPackageId'
      - name: refPackageId
        description: Filter by package id of ref package and previous ref package.
        in: query
        schema:
          type: string
      - name: textFilter
        in: query
        description: Filter by DDL entity name (case-insensitive substring match).
        schema:
          type: string
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                required:
                - entities
                properties:
                  previousVersion:
                    description: Name of the previous published version. The <version>@<revision> mask is used to return the revision number.
                    type: string
                    example: 2022.2@5
                  previousVersionPackageId:
                    description: Previous release version package id.
                    type: string
                    example: QS.CloudQSS.CPQ.Q-TMF
                  entities:
                    type: array
                    items:
                      type: object
                      required:
                      - changeSummary
                      - comparisonInternalDocumentId
                      properties:
                        ddlEntityData:
                          $ref: '#/components/schemas/DdlEntityChange'
                        previousDdlEntityData:
                          $ref: '#/components/schemas/DdlEntityChange'
                        changeSummary:
                          allOf:
                          - $ref: '#/components/schemas/ChangeSummary'
                          - type: object
                            description: Number of declarative changes in one specific DDL entity.
                        comparisonInternalDocumentId:
                          description: 'Unique string identifier of the internal merged document, where diffs between entity and previous entity are present. Corresponds to `id` field for the document in `comparison-internal-documents.json`

                            '
                          type: string
                          example: shop_1.0.0_shop-pkg_shop_2.0.0_shop-pkg
                  packages:
                    $ref: '#/components/schemas/PackagesMap'
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                PackageNotFound:
                  $ref: '#/components/examples/PackageNotFound'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/ddl/entities/{ddlEntityId}/changes/summary:
    get:
      tags:
      - Contracts
      summary: Single DDL entity changes summary
      description: 'Get summary of changes for one DDL entity between current and previous published package version.

        Only `table` entities are supported now.

        '
      operationId: getPackageVersionDdlEntityChangesSummary
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/ddlEntityId'
      - $ref: '#/components/parameters/previousVersion'
      - $ref: '#/components/parameters/previousVersionPackageId'
      - name: refPackageId
        description: Filter by package id of ref package and previous ref package.
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangeSummary'
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                PackageNotFound:
                  $ref: '#/components/examples/PackageNotFound'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/ddl/export/entities:
    get:
      tags:
      - Contracts
      summary: Export DDL entities to xlsx file
      description: Export DDL contract entities of a package version. Only `table` entities are supported now.
      operationId: getPackageVersionDdlEntitiesExport
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - name: refPackageId
        description: Filter by package id of ref package, shall be used in case of dashboard.
        in: query
        schema:
          type: string
      - name: textFilter
        in: query
        description: Filter by DDL entity name (case-insensitive substring match).
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/xlsx:
              schema:
                type: string
                format: binary
                description: xlsx file to download
          headers:
            Content-Disposition:
              schema:
                type: string
                description: xlsx file name
                example: attachment; filename="DDLEntities_package.id_version.xlsx"
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                IncorrectInputParams:
                  $ref: '#/components/examples/IncorrectInputParameters'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/ddl/export/changes:
    get:
      tags:
      - Contracts
      summary: Export DDL changes to xlsx file
      description: Export DDL contract changes between two compared package versions. Only `table` entities are supported now.
      operationId: getPackageVersionDdlChangesExport
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/severity'
      - $ref: '#/components/parameters/previousVersion'
      - $ref: '#/components/parameters/previousVersionPackageId'
      - name: refPackageId
        description: Filter by package id of ref package and previous ref package.
        in: query
        schema:
          type: string
      - name: textFilter
        in: query
        description: Filter by DDL entity name (case-insensitive substring match).
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/xlsx:
              schema:
                type: string
                format: binary
                description: xlsx file to download
          headers:
            Content-Disposition:
              schema:
                type: string
                description: xlsx file name
                example: attachment; filename="DDLChanges_package.id_version.xlsx"
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                IncorrectInputParams:
                  $ref: '#/components/examples/IncorrectInputParameters'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                PackageNotFound:
                  $ref: '#/components/examples/PackageNotFound'
                VersionNotFound:
                  $ref: '#/components/examples/VersionNotFound'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/mcp/{entity}:
    get:
      tags:
      - Contracts
      summary: Get MCP contract entities
      description: Get MCP discovery contract entities for a package version.
      operationId: getPackageVersionMcpEntities
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/mcpEntity'
      - name: mcpEndpoint
        in: query
        description: Filter entities belonging to a specific MCP endpoint (relative path, e.g. `/mcp`).
        schema:
          type: string
          example: /mcp
      - name: textFilter
        in: query
        description: Filter by MCP entity title and description (case-insensitive substring match).
        schema:
          type: string
      - $ref: '#/components/parameters/limit'
      - name: offset
        in: query
        description: Number of records to skip.
        schema:
          type: integer
          minimum: 0
          default: 0
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entities:
                    type: array
                    items:
                      $ref: '#/components/schemas/McpEntityView'
                  packages:
                    $ref: '#/components/schemas/PackagesMap'
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                IncorrectInputParams:
                  $ref: '#/components/examples/IncorrectInputParameters'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/mcp/{entity}/{mcpEntityId}:
    get:
      tags:
      - Contracts
      summary: Get MCP contract entity details
      description: Get MCP discovery contract entity details.
      operationId: getPackageVersionMcpEntity
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/mcpEntity'
      - $ref: '#/components/parameters/mcpEntityId'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/McpEntityView'
                - type: object
                  required:
                  - data
                  properties:
                    data:
                      description: Original MCP discovery entity payload.
                      type: object
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
  /api/v1/packages/{packageId}/versions/{version}/mcp/export/{entity}:
    get:
      tags:
      - Contracts
      summary: Export MCP contract entities to xlsx file
      description: Export MCP discovery contract entities of a package version.
      operationId: getPackageVersionMcpEntitiesExport
      parameters:
      - $ref: '#/components/parameters/packageId'
      - $ref: '#/components/parameters/version'
      - $ref: '#/components/parameters/mcpEntity'
      - name: refPackageId
        description: Filter by package id of ref package, shall be used in case of dashboard.
        in: query
        schema:
          type: string
      - name: textFilter
        in: query
        description: Filter by MCP entity title and description (case-insensitive substring match).
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/xlsx:
              schema:
                type: string
                format: binary
                description: xlsx file to download
          headers:
            Content-Disposition:
              schema:
                type: string
                description: xlsx file name
                example: attachment; filename="MCPEntities_package.id_version.xlsx"
        '301':
          description: Moved Permanently
          headers:
            Location:
              schema:
                type: string
              description: Current ednpoint with new packageId of moved package
            X-New-Package-Id:
              schema:
                type: string
              description: New packageId of moved package
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                IncorrectInputParams:
                  $ref: '#/components/examples/IncorrectInputParameters'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                InternalServerError:
                  $ref: '#/components/examples/InternalServerError'
components:
  schemas:
    VersionStatusEnum:
      description: Package version status
      type: string
      enum:
      - draft
      - release
      - archived
    DdlEntityChange:
      description: One side (current or previous) of a DDL entity in a changelog change entry.
      type: object
      allOf:
      - $ref: '#/components/schemas/DdlEntity'
      - type: object
        properties:
          packageRef:
            description: Package and version reference key.
            type: string
            example: QS.CloudQSS.CPQ.Q-TMF@2023.2
    ChangeReplace:
      type: object
      description: Data of single operation change when change action = replace
      properties:
        currentDeclarationJsonPaths:
          description: '(below, a document is not considered to be an original document, but a document with one specific operation)\

            When comparing two documents (origin and changed; difference from changed document apended to the original document), a declarative jsonPath is calculated for each change.

            '
          type: array
          items:
            type: array
            items:
              anyOf:
              - type: string
              - type: integer
          example:
          - - components/schemas/Cat/minProperties
            - components/schemas/Dog/minProperties
          - - /quoteManagement/v5/quote
        previousDeclarationJsonPaths:
          description: '(below, a document is not considered to be an original document, but a document with one specific operation)\

            When comparing two documents (origin and changed; difference from changed document apended to the original document), a declarative jsonPath is calculated for each change.

            '
          type: array
          items:
            type: array
            items:
              anyOf:
              - type: string
              - type: integer
          example:
          - - components/schemas/Cat/minProperties
            - components/schemas/Dog/minProperties
          - - /quoteManagement/v5/quote
        previousValueHash:
          type: string
          description: 'Previous hash of the changed entity.\

            Hash is needed to identify that the same enitity was changed in other operations, that allows calculating declarative number of changes in package version.

            '
        currentValueHash:
          type: string
          description: 'Current hash of the changed entity.\

            Hash is needed to identify that the same enitity was changed in other operations, that allows calculating declarative number of changes in package version.

            '
    DdlEntityView:
      description: DDL entity as returned by the version GET list/details endpoints.
      type: object
      allOf:
      - $ref: '#/components/schemas/DdlEntity'
      - type: object
        required:
        - documentId
        - versionInternalDocumentId
        properties:
          documentId:
            description: Source document identifier.
            type: string
            example: shop-sql
          versionInternalDocumentId:
            description: 'Unique string identifier of the preprocessed (validated, references resolved) internal document where the entity is present. Corresponds to `id` field for the document in `version-internal-documents.json`.

              '
            type: string
            example: shop
          packageRef:
            description: Package and version reference key.
            type: string
            example: QS.CloudQSS.CPQ.Q-TMF@2023.2
    McpEntityView:
      description: 'MCP discovery contract entity as returned by the version GET list/details endpoints: the shared

        `McpEntity` plus (for dashboards) the package reference.

        '
      type: object
      allOf:
      - $ref: '#/components/schemas/McpEntity'
      - type: object
        properties:
          packageRef:
            description: Package and version reference key.
            type: string
            example: QS.CloudQSS.CPQ.Q-TMF@2023.2
    PackagesMap:
      description: 'A map of referenced package versions to the package version objects.

        The key is `packageId@version@revision` — three `@`-separated segments (note: the `version` field

        of each value is `version@revision`, only two segments).

        '
      type: object
      additionalProperties:
        $ref: '#/components/schemas/PackageVersionRef'
      example:
        QS.CloudQSS.CPQ.Q-TMF@2023.2@3:
          refId: QS.CloudQSS.CPQ.Q-TMF
          kind: package
          name: Quote Management TMF648
          version: 2023.2@3
          status: release
      

# --- truncated at 32 KB (48 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/netcracker/refs/heads/main/openapi/netcracker-contracts-api-openapi.yml