Table of Contents

Frontend ↔ BFF API contract

How the MIB React shell + its components talk to the Backend-for-Frontend (BFF), and where the contract is actually defined. This is the prose source the mib registry projects each component's payload.contract from (mib_contract <component> / mib_get).

TL;DR — the contract is three hand-kept definitions, no shared spec

There is no OpenAPI/Swagger for the frontend↔BFF surface today. The contract lives, duplicated, in:

  1. The client — @agilecontent/mib-api-connector (axios, TypeScript). Endpoint path templates + verb calls, with partial, opt-in typing: request params are typed via function signatures; responses are typed only where a generic is passed (Get<MenuResponse>, Get<PageSchema>, Post<ListComponentData>). Many calls resolve to AxiosResponse<any> (theme, list.getSchema, the media-type / file / user / content-data services). No runtime validation (no zod/io-ts).
  2. The server DTOs — the authoritative source. The BFF the React app calls is MediaiBox.Cms.FrontEnd.Server (MibServer3); the wire shapes are its C# DTOs under MediaiBox.Cms.FrontEnd.Model/UI/* and Server/Model/{Requests,Responses}/*, serialized through one camelCase formatter (JsonSerializerOptionsFactory.ForV2Endpoints()). The TS types are a downstream mirror, not the source.
  3. The mock-server fixtures — mock-server/.../samples/content/{list,form}-schema.json pin the field-descriptor shapes the BFF emits, cross-checked against the ui widget registries.

Source-of-truth priority for documenting any endpoint: (1) the [Route("api/v2/...")] controller in MediaiBox.Cms.FrontEnd.Server, (2) the request/response DTO classes, (3) the mock-server fixture for the field-descriptor shape, (4) the api-connector TS type as a cross-check only.

/api/v1 (MibServerApi) is a separate server-to-server API and is not the frontend contract; everything below is /api/v2 on the FrontEnd.Server BFF.

The page bridge (how every component gets its schema + data)

A core component does not fetch its own schema. The shell makes one call per page:

GET /api/v2/display/{pageKey}/{id}   →   PageSchema { schema:{components}, data:{components}, permissions, configuration }

A type-keyed registry (list → List, form → Form, …) hands each component its slice as props MibComponentProps<S, D>. So a component's "contract" is mostly the shape of its slice of schema + data, plus any component-specific data/action endpoints it calls afterward.

The field descriptor (the load-bearing, intentionally-loose part)

The descriptor is deliberately untyped at the boundary:

type Schema<T = unknown> = (BaseSchema & { [key: string]: T }) | null   // components/types.ts

The real per-widget shapes are pinned by the mock-server fixtures + the widget registries:

  • List columns: { dataIndex, title, renderConfig:{ type }, editionField?, defaultHidden, defaultOrder }. renderConfig.type ∈ the render-types registry (ui/.../render-types): date, image, asset, tag, boolean, link, id, color, json, …; unknown → text.
  • Form fields: { variant, config:{ name, label, col, rules }, props }. variant ∈ the form variants registry (ui/.../form/variants.ts). Enum options ride as props.options:[{label,value}]; related is a widget variant, not a typed key.

These descriptors are the ADM_FIELDS content model rendered as UI. The descriptor shape is generic (documented here); the per-mediaType field values (which columns exist for MOVIES vs ARTICLES, their type/enum/related) are the live content model — read them with mib_datamodel <mediaType>, not here.

Which AdmFieldType reaches each form variant. A variant in the registry is only usable if a field type resolves to it. On MibServer3 main (7.1):

Form variant Reached by
input Varchar, RowVersion, Hidden, Ipv4, Link; Integer, Long or Float with a regex; any type not listed here
number Integer, Long, Float (without a regex)
textarea Text
editor-field Html
json Json
switch Boolean
date Date, DateTime, UtcDateTime
range a Date, DateTime or UtcDateTime pair configured with RANGE_FIELDS (from MIB 6.0.108 and 7.0.0)
time Time
select Enum, DropRelated, NullableDropRelated, OsTimezone; Keyword (with mode: "tags")
related Related, Image
async-tree-select Source
slider Progress
password Password, PasswordPlain
cron-scheduler Cron
color-picker ColorPicker (from MIB 6.0.98 and 7.0.0)
money Money (from MIB 6.0.108 and 7.0.0)
auto-complete AutoComplete: only on the 6.0 line, from the next 6.0 release; not in 7.0 or 7.1 yet
user-selector Owner. The shell has no user-selector widget, so the field renders nothing
upload, latch, 2fa No field type: dedicated factory methods build them (the upload drawer, the user and account pages)
tree-select, async-select, async-tree, async-auto-complete No field type yet (MEDIAIBOX-12061 to MEDIAIBOX-12065)

Source: MibServer3 main · MediaiBox.Cms.FrontEnd.Model/UI/Fields/FieldVariantResolver.cs:26-78 and MediaiBox.Cms.FrontEnd.Workflow.Mvc/Form/Schema/Fields/FormFieldSchemaFactory.cs (range, upload, latch, 2fa); releases/6.0 adds AutoComplete → auto-complete at FieldVariantResolver.cs:79. The per-type props are set with CUSTOM_FIELD_SCHEMA.

List family — component.list, editable-list, related/ordered lists

  • Schema + data: the page bridge (above) for the initial render.
  • Data (paged/filtered): POST /api/v2/list/data — request ListV2Request ({ pageKey, templateComponentKey, criteria:{ page, limit, mediaType, clause, conditions, displayFields, order }, sources }), response ListV2ViewData.
  • Charts: POST /api/v2/list/charts-data — request ListV2Request (the same body as list/data), response GetChartsDataResponse (ListController.GetChartData). From 7.1 the conditions are normalised like the list's before aggregate-data (related label → related column, dates → unix time), so a filtered dashboard matches the filtered list (MEDIAIBOX-12311).
  • Inline preview: GET /api/v2/list/inline/{pageKey}/{componentKey}/{id} → PreviewV2ViewData.
  • Field descriptor member: schema.columns (see field descriptor).
  • Null image cells (7.1): a row whose Image column is null still carries the key in fields, as an image object with src: null, so the table can draw its placeholder; up to 7.0 the key was absent (MEDIAIBOX-12310).
  • ListController is one of the typed exceptions — [Route("api/v2/list")], returns typed view-data.

  • Schema + data: the page bridge.
  • Data: POST /api/v2/form/data.
  • Save: the page save PUTs { components, checksum, ignoreEtag:false } — every component the page form binds, changed or not, each form with the fields it renders; the top checksum is the first component's, and a 412 opens the shell's confirm-overwrite, which resends with ignoreEtag:true. A create POSTs { components, ignoreEtag:true } (mib client edit diff prints the body a session would send).
  • Field descriptor member: schema.fields, each { variant, config, props } (see field descriptor).
  • Save outcome: on 7.1 the save can also answer warnings and questions — see the save outcome contract.

Caching of the shell's read routes (ETag / 304)

From MIB 7.0 (MEDIAIBOX-11783) the read routes the shell polls answer with an ETag and honour If-None-Match with a body-less 304:

Route Cache-Control Notes
GET /api/v1/Dictionary private, max-age=3600, must-revalidate The browser reuses it for up to an hour without asking — see Localization.
GET /api/v2/theme private, max-age=3600, must-revalidate The ETag is stable for the whole process.
GET /api/v2/menu, /api/v2/menu/favorites, /api/v2/menu/history private, no-cache, must-revalidate Revalidated on every request; 304 when the menu did not change.
GET /api/v2/notifications private, no-cache, must-revalidate See Notifications.
GET /api/v1/user/current private, no-cache, must-revalidate Per-user ETag; the shell uses it as an auth probe.

A client of these routes that keeps its own cache must send If-None-Match and treat 304 as "unchanged".

The save outcome contract — warnings and questions (MIB 7.1)

On 7.0 the page save and delete (POST/PUT/DELETE /api/v2/display/{pageKey}…, DisplayV2Controller) answer 200 only for Success; any other status is a 400, and an etag conflict is a 412. MIB 7.1 (MEDIAIBOX-12362, MibServer3#1996) adds an opt-in contract: the client puts "saveOutcome": 1 in the body, next to components (it binds like ignoreEtag; there is no header, so a shell on another origin needs no CORS change).

Case Without saveOutcome: 1 (and every 7.0 build) With "saveOutcome": 1 (7.1+)
create / update committed with Success 200 { "pageId": … } 200 { "pageId": "123" }, plus "warnings": [ { "templateComponentKey": "…", "message": "…" } ] when there are any
create / update committed with SuccessWithWarning 400 — the shell shows an error for a committed save the same 200 as above, with the warning
delete committed the component's JsonData the same, or { "data": <JsonData>, "warnings": [ … ] } when there are warnings
a component or the page plugin asked a question a Warning question is answered OK (its message is not shown); a question with a real choice refuses the save as a validation: 400 with its message. Nothing persisted 409, nothing persisted: { "code": "409", "status": "promptRequired", "message": "{DICT:ERROR/PROMPTREQUIRED}", "prompts": [ { "id", "message", "templateComponentKey", "options": [ { "id", "label", "cancels" } ] } ] }
answering — send the same save again with "promptAnswers": { "<promptId>": "<optionId>", … } — every answer so far; never a cancelling option (the client just does not save)
  • Only the value 1 declares the contract; 0, a missing field or any other value gets the 7.0 answers. The v1 persistence endpoints and the inline edit never serialize warnings or prompts.
  • Where warnings come from: request.Prompts.Warn / context.Prompts.Warn while the save is built, a component that answered SuccessWithWarning (its ErrorMessage), a component ValidationException returned after the commit, a Warning question decided for a client that cannot be asked, and the page persistence plugin's after hooks (Warning, Error, or an exception — reported as {DICT:ERROR/UNKNOWN} RequestId: <id>). A save that stops reports none. The page status is computed as before.
  • Showing a question or a warning: templateComponentKey is the key of a component in the page schema (GET /api/v2/display/{pageKey} → schema.components[]; a form split into groups has one entry per group — take the first) — show its title with the message. The 409 does not carry the title. A question or warning from the page plugin has no key and belongs to the page.
  • Rounds: on the resubmit the seams run again and may ask a follow-up (a decision tree, one level per round). Every open question of a round is asked at once — the components' in page order, then the page plugin's.
  • Clients: the headless client sends it with mib client … --save-outcome and answers with --answer <promptId>=<optionId> (it exits 10 when a save asks). The React shell sends it from cms-2.55.0 on the edit page's save and delete, and shows the questions and the warnings (MEDIAIBOX-12383; withSaveOutcome in packages/modules/src/modules/content-edition). A shell up to cms-2.54.x sends neither field, so there a question with a real choice is a 400.
  • Server side (how a component asks or warns): Save prompts and warnings.

When a related field (a Related form field like a Parent picker) or a related-list opens its add-existing drawer, the React shell fetches candidates from a dedicated read contract — NOT the page bridge:

  • Drawer schema: GET /api/v2/display/{pageKey}/related/{templateComponentKey}/{mediaType}/schema → ListDrawerSchema (columns + the visible search/filter bar).
  • Drawer data: GET/POST /api/v2/display/{pageKey}/related/{templateComponentKey}/{mediaType}/data → candidate rows. The client sends the drawer context: ?formField=<FIELD> (the field that opened the drawer), ?parentId=<id> (the entity being edited), and (POST) body { data: <live form values>, ids }. Since 7.1, "Show only selected" of a related list adds ?onlySelected=true and the body's addedIds and removedIds (see below).

The load-bearing point: ASIDE_FILTERS is applied HERE, server-side — its value never reaches the browser. GetListDrawerData calls GetAsideFilters, which reads the ASIDE_FILTERS[<FIELD>] page-component config, parses Field:'…',Operator:'…',Value:'…'[,Message:'…'], resolves any [Component.FIELD] placeholder from the submitted data/parent entity, and appends the result to SearchCriteria.GlobalFilters before querying. ASIDE_FIELDS becomes the drawer columns/DisplayFields the same way. So the candidate list comes back already filtered/shaped. Do NOT look for ASIDE_FILTERS in the schema/props and conclude it's dead: it is deliberately not carried by BaseRelatedFieldProps (that only maps AsideFields→columns); the filtering moved from the V1 client (Razor/jQuery) to the V2 server. Grounded: DisplayV2Controller (GetRelatedListViewData / GetRelatedViewDataV2), ListWorkflow.GetListDrawerData / GetAsideFilters, PostListDrawerDataRequest, Constants.AsideFiltersConfigurationKey; exercised by ListDrawerTests.

When the referenced field is empty, the drawer answers 400 with the filter's Message (or the validation/invalidvalueforasidefilter dictionary entry) instead of rows. Where the value comes from:

Record Referenced field Value used
new (parentId 0) posted with a value the posted value
new posted empty, not posted, or no data in the request (the GET endpoint) none → the Message (the item is not looked up)
edited posted with a value the posted value
edited posted empty none → the Message
edited not posted, or no data the persisted value

A [<thisTemplateComponentKey>.ID] placeholder is skipped on a new record. Before 7.0.5 (MEDIAIBOX-12340, MibServer3#1994) a new record also looked the item up by id 0: when the component key in the filter value did not resolve to a page component with a MEDIA_TYPE, the drawer answered HTTP 500 (BatchGetException, /api/v1//0) instead of the Message; and the "posted empty" check looked at the first posted field instead of the referenced one.

"Show only selected" (7.1)

With ?onlySelected=true, the drawer of a related list with a saved parent (no formField, parentId > 0, PARENTMEDIATYPE configured, and a relation between the two media types in ADM_RELATEDS) lists:

  • first, the body's addedIds: the rows checked or added and not saved yet, asked for by their ids, with the drawer's aside fields and filters, order and display pattern;
  • then the rows related to the parent in the database, through $relation(<parent>)[ID]_$eq_<parentId>, minus the body's removedIds and its addedIds (listed above, once), paginated, sorted and counted by mib-api. They come back as relatedItems: the filter only selects related rows, so mib-api is not asked again which ones are.

The total counts both, and each page holds the rows that follow the previous one: page 2 of 10 with 2 unsaved rows holds saved rows 9 to 18, asked for as one mib-api page of 18 rows (UnsavedFirstPage).

The body's ids is then ignored, and so are the hidden filters (a list of ids ignores them too); the aside filters still apply. The drawer's search (condition) narrows the selection, the saved rows and the addedIds alike, and a list of ids as well: the ids then go to mib-api as one ID_$in(…) filter next to the search, so mib-api reads the search as on every search of the drawer, and pages and sorts up to 250 ids itself (more go in blocks of 250, as a list of ids without a search does). With "Show only selected" on, the shell searches within the selection and keeps it on. Everywhere else the drawer lists the rows the shell knows are selected, ids (the pages it has shown) and addedIds, and an empty page when the body has neither, where it listed every row of the media type: a form field, an unsaved parent, no relation, more than 250 unsaved additions (they are asked for as one mib-api page, and mib-api never caps a page below 250 rows), more than 1,000 unsaved changes (mib-api sends one SQL parameter per id, and SQL Server takes 2,100), or a sort by a column read from another table, such as a related record's name (under such a sort, mib-api 7.0 answers the relation filter with 403, and sorting a million rows by a joined column takes about 10 s once fixed).

On a link object seen from its remote side, mib-api's $relation finds no row yet (MEDIAIBOX-12393): there the drawer lists only the addedIds. That is what it listed before 7.1 too, because the same filter marks the related rows of a page, so none of them was ever checked or sent. The shell keeps sending ids with onlySelected because a BFF older than 7.1 ignores onlySelected, addedIds and removedIds and lists ids: the shell and the BFF can be deployed in any order. Before 7.1 the shell always sent the ids it knew, so a related list showed only the related rows of the page being shown plus the rows checked by hand (MEDIAIBOX-12388, MibServer3#2007, MibFrontEnd#1295, MibFrontEnd#1299). Grounded: PostListDrawerDataRequest.OnlySelected, ListWorkflow.GetOnlySelectedFilter, ListWorkflow.GetSelectedRows, UnsavedFirstPage, SearchCriteria.SelectionFilter, SearchCriteria.SelectionSearch, SearchCriteria.ShellSelectedIds, SearchCriteria.SelectedIds, RelatedListBlockLoader; exercised by ListDrawerOnlySelectedTests, PostListDrawerDataRequestTests, RelatedListBlockLoaderTests and UnsavedFirstPageTests.

The "add-new" / upload drawer — variant selection, and a likely BE↔FE prop mismatch

Sibling of the "add-existing" drawer above: a Related field's AddNewIcon (shown only when the field config's addNew is true) opens openMediaTypeForm, which — for a file-capable related media type — is the upload drawer, not a plain "create a new record" form. This path has its own schema selection quirk and a naming mismatch between server and client that is easy to miss by only reading one side.

1. AdmFieldType.Image does NOT get FE variant "upload" — it gets "related". FormFieldSchemaFactory.CreateSchema (MediaiBox.Cms.FrontEnd.Workflow.Mvc/Form/Schema/Fields/ FormFieldSchemaFactory.cs:29-58) maps AdmFieldType.Image to RelatedImageFormFieldProps — a RelatedFormFieldProps subtype with DisplayType="image" — i.e. the field itself always renders as the FE related variant (Related.tsx), showing a thumbnail/info preview plus two action icons: RelatedIcon (→ openContentRelation, the add-existing drawer documented above) and, if addNew is enabled, AddNewIcon (→ openMediaTypeForm). The raw upload variant is a separate, nested form that only appears inside the drawer openMediaTypeForm opens for a file-capable type — the content field itself is never itself an upload-variant field.

2. The raw upload variant is built by a distinct, narrow code path — and has only 3 production call sites. FormWorkflow.CreateUploadDrawerFormViewDataAsync / GetUploadFieldSchema (FormWorkflow.cs:434-486) calls CreateSchemaForUploadField(viewData.IsImage, _context.EnableUrlUpload, viewData.FileExtensions, maxFileSize, …), producing an UploadProps ({ FileExtensions, IsImage, EnableUrlUpload, MaxFileSize }, 15-line model). A repo-wide grep (excluding tests) found exactly three call sites: the content Image field's AddNewIcon drawer (FormWorkflow.cs:477), the user avatar field (Authorization/Pages/Users/UserPageViewDataFactory.cs:414), and the account profile photo (Authorization/Pages/Account/AccountEditionPageViewDataFactory.cs:152). The drawer title switches between {DICT:ASIDEUPLOAD/IMAGE} and {DICT:ASIDEUPLOAD/FILE} on viewData.IsImage — the same signal family as CanImagePreview.

3. FE render chain for the upload variant (MibFrontEnd@master — no releases/* branch exists in this repo, see caveat below): generic dispatch is packages/ui/src/components/form/components/field/Field.tsx:33 (Component = availableVariants[variant]); coreFormItems.upload is registered in packages/modules/src/modules/form-items/index.ts and wired into the FormProvider in apps/cms/src/application/components/layout/Layout.tsx:57. Upload.tsx (packages/modules/src/modules/form-items/upload/Upload.tsx) picks what to render: no value and no dropBox → <UploadButton> (data-testid="file-upload"); has value → <FileItem> (existing-file preview); dropBox===true → <ImagePreview> (drag-and-drop mode). Clicking opens a <Drawer> with <UploadProcess>, which always renders the "Upload from file" tab and renders an additional "Upload from URL" tab only if uploadFromURL===true (UploadProcess.tsx; prop names confirmed in types.ts's UploadProps).

4. Confirmed BE↔FE prop-name mismatch (source-verified on both repos). MibServer3 serializes with JsonNamingPolicy.CamelCase globally (MediaiBox.Cms.FrontEnd.Server/Serialization/JsonSerializerOptionsFactory.cs:13), so its UploadProps goes over the wire as { fileExtensions, isImage, enableUrlUpload, maxFileSize }. But the FE Upload/ UploadProcess components read dropBox and uploadFromURL — different keys, and DropBox/ UploadFromUrl do not exist anywhere in MibServer3's model (confirmed by an exhaustive repo-wide grep; the only hits were unrelated notification-test strings). Corroborating evidence from MibFrontEnd/packages/mock-server/.../account/components/form/form-schema.json:660-661 (which mocks the real Account-photo endpoint) uses isImage/enableUrlUpload — mirroring the real backend keys — while the generic showcase fixture samples/components/form/form-schema.json (not tied to any real endpoint) uses dropBox/uploadFromURL — the keys the component actually reads. Read together, this confirms the server's EnableUrlUpload config (below) has no effect on whether the "Upload from URL" tab appears: the FE gates that tab on uploadFromURL (UploadProcess.test.tsx — "displays two tabs when uploadFromURL is true" / "only one tab when false"), a prop MibServer3 never sends, and reads enableUrlUpload nowhere (MibFrontEnd@master, exhaustive grep — 0 hits). Not yet cross-checked with a live network capture, but the cross-repo source mismatch is unambiguous.

Config chain for EnableUrlUpload (independently of the mismatch above): MibCmsFrontEndServerBaseConfig.EnableUrlUpload (key enableUrlUpload, default true, Model/Config/MibCmsFrontEndServerBaseConfig.cs:82; documented in mibcmsfrontendserverbaseconfig.md) → WorkflowManager.cs:143 copies it into BaseContext.EnableUrlUpload (BaseContext.cs:37) → FormWorkflow._context.EnableUrlUpload → UploadProps.EnableUrlUpload → wire key enableUrlUpload. Per point 4, this value never reaches the FE prop the Upload component reads (source-confirmed on both repos).

5. Don't confuse the FE's dropBox prop with the Dropbox storage backend. The KB's other DropBox/Dropbox mentions (e.g. in disk-storage-flow) are all about StorageType.DropBox, the (unimplemented — throws NotImplementedException) cloud-storage backend. The FE's dropBox here is an unrelated UI prop name (drag-and-drop upload mode vs a plain button) that happens to collide in name only.

Branch caveat: this investigation was done against MibFrontEnd@master — this repo has no releases/6.0/releases/7.0 branch at all (confirmed via an unrestricted git fetch of all ~150 branches), unlike the other five upstream MIB repos. This contradicts the mib-architecture skill's assumption of a uniform releases/<X>.<Y> convention across all six upstream repos — worth a correction there.

Custom / federated components (GVP) — the injection contract

MIBFrontEnd-GVP-components is a module-federation remote (customComponents) exposing ./all (a string-keyed map of ~35 components). The shell injects the contract two ways:

  • Per-component props — MibComponentProps<S, D> = { revalidateView, componentKey, title?, schema, data, pageKey, pageIds?, isBulkEdit?, setDirty?, isValidating? }.
  • Globals — window.cms Config { instance, env } (the shared axios instance + JWT) and useContentContext() from the shared mib-modules / mib-api-connector singletons.

Custom components reach the BFF through the handler endpoint:

GET|POST|PUT|DELETE /api/v2/handler/{pageKey}/{templateComponentKey}?__ACTION={action}&__PARAMETERS={JSON.stringify(parameters)}[&__IDs={ids}]
# 7.0 core (HandlerV2Controller) routes the four methods and hands the raw request to the
# component's handler: the query convention is the handler's, not core's (core's newer
# custom-action pipeline binds ActionContext.Name/Ids/Parameters instead).
# GVP's remote builds the URL (hooks/use-form-change/shared-api generateUrl) and GVP's
# DefaultHandler reads it (tvopenplatform src/Pages/Common/Component/DefaultHandler.cs):
# __ACTION = the component method it invokes, __IDs = the component's ids, the parameters
# = __PARAMETERS from the query on a GET, the request body on a POST or PUT (its DELETE
# throws NotImplementedException).

The URL goes out as the browser encodes the template literal: " and spaces escaped, { } [ ] : kept (__PARAMETERS={%22movieSourceId%22:7}). mib client handler <pageKey> <componentKey> [--query '<raw>'] [--method …] [--body JSON] makes such a call through the Core route with the query and the body as given — the convention is the handler's, so the client builds none of it.

So a custom component's contract = the props/globals it is handed + the handler action(s) it posts. The federation name must match the BFF's CUSTOM_COMPONENTS_URL slot.

Untyped seams, in-transition shims, and the missing spec

Document these honestly — they are real and will churn:

  • No OpenAPI served. The BFF registers AddSwaggerGen but EnableSwagger defaults false and is never set. Even enabled, it would be hollow: only ~9 of 23 /api/v2 controllers carry [ProducesResponseType(typeof(T))]. Theme and Menu have zero — they return bare IActionResult.
  • Untyped client calls (AxiosResponse<any>): theme.getTheme, list.getSchema, the media-type service, file, user, users, content-data, async-data. No runtime validation anywhere.
  • In-transition shims: cursor pagination (nextCursor) is marked TODO. (The api-connector's old ignoreEtag:true save TODO is gone in MibFrontEnd cms-2.54.1: the save checks the checksum — ignoreEtag:false, a 412 → the confirm-overwrite resend with true — and only create and delete still hardcode ignoreEtag:true, with no concurrency guard.)
  • Version skew: api-connector is pinned 1.20.0; a 1.12.0 copy was found installed in the GVP repo's node_modules — confirm shapes against 1.20.0 before canonizing.

Maintaining this doc

This is hand-curated until the BFF emits OpenAPI (the Phase-3 endgame). Each anchor above backs a registry payload.contract entry; mib registry build sha-stamps each contract's source against the cited BFF controller/DTO files so drift is detectable (mib registry check). When a /api/v2 controller or DTO changes, re-verify the matching section here and the registry entry.