The vCon Foundation

Standards

Storing, indexing and exchanging vCons: practical architecture patterns

Which storage, indexing and exchange points the draft defines, which come from open-source practice, and which are practical suggestions.

Last updated 18 November 2026

Where each point comes from

Storing and moving vCons raises questions the draft only partly answers, so each point here is labeled by where it comes from. Draft-defined means stated in draft-ietf-vcon-vcon-core-05 1. Open-source practice means described by the vcon-server and vcon-lib READMEs 23. The architecture and exchange advice below goes beyond both.

What the draft defines

  • Three forms (unsigned, signed, encrypted) that are all valid JSON, told apart by their members: parties, dialog, analysis, attachments, sessions or events for unsigned; payload and signatures for signed; ciphertext and recipients for encrypted 1.
  • Two media types, application/vcon and application/vcon+gzip, and the file extension vcon 1. Gzip data can be recognized by its magic bytes when no media type is available 1.
  • An identifier, the uuid, to refer to a vCon when it cannot be included or linked. The signed and encrypted forms repeat it in their headers 1.
  • A version model: a changed vCon is a new instance that points back with amended_from or redacted_from 1.
  • External files with HTTPS urls and content_hash; storing and securing those files is out of scope, except for the integrity requirement 1.
  • Domain boundaries: sign before leaving a security domain, and keep the signed form even if a copy is stored unencrypted 1.

What open-source implementations show

The vcon-server project describes a pipeline in which vCons enter, move through configurable chains of processing links driven by Redis queues, and are written to one or more storage backends, including PostgreSQL, MongoDB, S3, Elasticsearch, Milvus, Redis and SFTP 2. It carries lawful_basis attachments through but states that it does not create, validate or enforce consent 2. The vcon-lib README describes a Python library that signs with RS256 by default, rejects alg none and hashes with SHA-512 3.

Architecture suggestions

  • Keep the bytes you received or signed as the immutable record, and build everything else, including search indexes, as derived data. Re-derive when schemas change.
  • Store the unredacted original encrypted and separately from redacted copies, and enforce that boundary in access control, since the draft's own rule is that only authorized people may decrypt the original 1.
  • Keep an index row per vCon (an example is below) so common questions need not decrypt or parse large files. Index uuid, created_at, form, extensions and a version-chain pointer.
  • Put large media in object storage and reference it by url and hash; re-verify the hash when fetching, because the vCon signature protects only the hash 1.
  • Index analysis text separately from the vCon store, and give the index the same retention and redaction treatment as its source.
  • When two systems exchange vCons, send signed (or signed and encrypted) forms, declare the media type, and record which draft revision each side targets, because the format is still changing.
Sketch of an index row. The draft and the open-source projects define no such structure; the field names are invented.
{
  "uuid": "0198e6a4-3c1b-8a52-9f0e-5d2c7b1a4e60",
  "form": "signed",
  "media_type": "application/vcon",
  "created_at": "2026-11-18T14:05:00Z",
  "object_key": "vcons/2026/11/18/0198e6a4.vcon.jws",
  "stored_sha256": "<hash of stored bytes>",
  "amended_from": null,
  "redacted_from": null,
  "extensions": [],
  "party_keys": [
    "tel:+15555550142"
  ],
  "analysis_types": [
    "transcript",
    "summary"
  ],
  "external_files": 2
}

Exchange patterns

Three exchange patterns an architect might choose (none is specified by the draft). Push: the producer posts a signed vCon to a receiver's API. Pull: the producer publishes a signed vCon at an access-controlled HTTPS address and hands over the uuid and url, in the style the draft uses for redacted_from 1. Queue: producers and consumers share a message queue with the vCon as the message body, as in the Conserver 2. The draft requires that vCons crossing non-secure channels such as email be encrypted 1.

Retention, deletion and consent management are not provided by the format. The draft's long-term archiving note, which re-signs a signed vCon before certificates expire, is the only retention-related mechanism it describes 1.

Sources

  1. draft-ietf-vcon-vcon-core-05, The JSON format for vCon - Conversation Data Container (31 October 2026) (opens another site) IETF Datatracker · primary · retrieved 2026-11-18
  2. vcon-dev/vcon-server README (the Conserver) (opens another site) GitHub, vcon-dev · primary · retrieved 2026-11-18
  3. vcon-dev/vcon-lib README (Python library targeting draft-ietf-vcon-vcon-core-05) (opens another site) GitHub, vcon-dev · primary · retrieved 2026-11-18