🔁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.
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_vcontakescritical. It also takesmust_supportas a deprecated alias and stores it ascriticalwhencriticalis absent. It does this silently, with no warning in the response.update_vconappliessubject,extensionsandcriticalfromupdates. It also acceptsmust_supportthere as an alias forcritical; if both are sent,criticalwins.REST create maps
must_support,appendedand dialog, analysis and attachmentmimetypetocritical,amendedandmediatype.create_vconhas noamendedparameter.
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 exposescritical as must_supportandamended as appendedalongside the new names, for SQL readers that have not moved.get_vcon_critical(uuid)andget_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 usesschema_versioninstead ofschemafails validation and is rejected.Attachment
purpose. Sendpurposeon every attachment, includinglawful_basisandtags. Thetypefield is still accepted for old data. A database trigger mirrorstagsacross both columns so tag queries see either form.
See also
vCon Library Quickstart, the same renames in Python
Last updated
Was this helpful?