> For the complete documentation index, see [llms.txt](https://www.conserver.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.conserver.io/mcp-server/field-name-migration.md).

# Field-Name Migration

How the vCon MCP server handles the renames of appended to amended and must\_support to critical, so you know which names to send and what you will get back.

The vCon core draft renamed two top-level fields. The server stores and returns the new names.

| Old name       | Current name |
| -------------- | ------------ |
| `appended`     | `amended`    |
| `must_support` | `critical`   |

## What the server returns

Every read returns `critical` and `amended`. A row written before the rename that has a value only in the old `appended` column comes back as `amended`.

## What the server accepts

* `create_vcon` takes `critical`. It also takes `must_support` as a deprecated alias and stores it as `critical` when `critical` is absent. It does this silently, with no warning in the response.
* `update_vcon` applies `subject`, `extensions` and `critical` from `updates`. It also accepts `must_support` there as an alias for `critical`; if both are sent, `critical` wins.
* REST create maps `must_support`, `appended` and dialog, analysis and attachment `mimetype` to `critical`, `amended` and `mediatype`.
* `create_vcon` has no `amended` parameter.

## What the database holds

Migration `20251120150100_field_renames.sql` does not rename columns. The `critical` and `amended` columns are the live ones; the old `must_support` and `appended` columns remain, marked deprecated. The migration adds:

* `vcons_legacy`, a read-only view that exposes `critical as must_support` and `amended as appended` alongside the new names, for SQL readers that have not moved.
* `get_vcon_critical(uuid)` and `get_vcon_amended(uuid)`, which prefer the new column and fall back to the old one.

The server itself does not read `vcons_legacy`. Point old SQL at it if you cannot change the query yet, and move to the new column names on `vcons`.

Migration `20260925000000_preserve_extra_fields.sql` adds an `extra` column to each table. Keys that have no column of their own, such as party `meta` or an extension's own fields, are kept there and merged back on read, so a stored vCon reads back with the keys it was written with.

## Related field names

* **Analysis `schema`.** An analysis that uses `schema_version` instead of `schema` fails validation and is rejected.
* **Attachment `purpose`.** Send `purpose` on every attachment, including `lawful_basis` and `tags`. The `type` field is still accepted for old data. A database trigger mirrors `tags` across both columns so tag queries see either form.

## See also

* [Tool Reference](/mcp-server/tool-reference.md)
* [Contract Tools](/mcp-server/contract-tools.md)
* [vCon Library Quickstart](/vcon-library/quickstart.md), the same renames in Python


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.conserver.io/mcp-server/field-name-migration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
