The vCon Foundation

Standards

A conformance and validation checklist for a vCon producer

A checklist built from MUST and SHOULD statements in draft-ietf-vcon-vcon-core-05, with section citations and a small self-check script.

Last updated 18 November 2026

What the checklist covers

This checklist collects the MUST and SHOULD statements in draft-ietf-vcon-vcon-core-05 about what a producer writes. Each item cites the draft section it comes from 1. It is not an official conformance test, since the draft defines none, and the draft's own JSON Schema is informational and permissive, so a vCon can pass the schema and still break a rule below 1. Section numbers refer to -05 and may move in later revisions.

Container and identity

  • uuid is present and globally unique; it SHOULD be a version 8 UUID derived from a host name (4.1.2).
  • created_at is present, an RFC 3339 date-time, and not changed later (4.1.5, 2.2).
  • At least one of parties, dialog, analysis or attachments is present (4, SHOULD).
  • vcon, if emitted, has the value 0.5.0 for this syntax, though the parameter is deprecated (4.1.1).
  • Empty objects or arrays may be omitted rather than written out (2.2).

References between objects

  • If dialog or events contain anything, a Session Object exists (4.1.10, MUST); each Dialog Object SHOULD be in at least one session (4.2.7).
  • Every index points inside its array. Do not reorder arrays after objects refer to them; use empty placeholders for removals (4.1.13, 4.5.1, 5).
  • Dialog parties lists contributors; session parties lists receivers (4.5.4, 4.2.3).
  • Events carry type and time; all but channel-contributors also carry sessions and party (4.3.2 to 4.3.4, MUST).
  • An analysis never references itself (4.7.5, MUST).
  • Attachments name the distributing party, and a dialog or a session (4.6.3, 4.6.4, MUST).

Content and files

  • Inline content has body and encoding (2.3, MUST) and a mediatype (4.5.5).
  • External content uses an HTTPS url together with content_hash; SHA-512 is the mandatory algorithm (2.4, MUST).
  • An incomplete dialog has a disposition and no body, url, mediatype or filename (4.5.8, 4.5.5, 4.5.6, 4.5.7).
  • Multi-channel recordings give one parties entry per channel, with null for unused channels (4.5.4, MUST).
  • Photographs and documents that are only referenced go in attachments, not dialog (4.5, SHOULD).
  • Analysis identifies its format through mediatype, or through vendor, product and schema (4.7.11, SHOULD); vendor is given (4.7.8).

Extensions

  • Every extension that defines anything used is listed in extensions (4.1.3, MUST).
  • Every incompatible extension is also in critical, and critical is a subset of extensions (4.1.4, 4.1.3, MUST).
  • New parameter names use snake case and are registered (2.5).

Redaction and amendment

  • A redacted vCon refers to its prior version through redacted_from, with uuid and type; an amended one uses amended_from; never both (4.1.8, 4.1.9).
  • A referenced url comes with content_hash (4.1.8.1, 4.1.9.1, MUST).
  • Every substring replaced by a __REDACTED_REF_ token has a redacted_strings entry, ref values run from 1 to 99999, and no inline masks like XXX are used (4.1.16, 4.8.1, 5.4).
  • Audio or video rewriting is signalled with redacted_segments (5.3, 4.5.12, SHOULD).
  • Bcc recipients are left out of vCons for broader use (4.5.4, SHOULD NOT include).

Signing and encryption

  • A vCon leaving its security domain is signed (4, 6, SHOULD); the signed form is kept (6.3).
  • General JWS form; x5c or x5u in the header; alg present, not none, in the protected header if possible, RS256 recommended; uuid header SHOULD match (6.2.2, MUST and SHOULD).
  • updated_at in a signed vCon is the signing time (4.1.6).
  • Encryption always wraps a signed vCon (6.3, MUST); vCons sent over insecure channels such as email are encrypted (6, MUST).
  • An unredacted original referenced by a redacted vCon is encrypted (6, MUST).
Sketch of a producer self-check covering part of the list above (section numbers in messages follow draft-ietf-vcon-vcon-core-05). It is incomplete by design.
import re

def _idx(x):                       # int | list of int (or nested/null) -> flat ints
    if x is None: return []
    if isinstance(x, int): return [x]
    return [i for y in x for i in _idx(y)]

def _strings(o):
    if isinstance(o, str): yield o
    elif isinstance(o, dict):
        for v in o.values(): yield from _strings(v)
    elif isinstance(o, list):
        for v in o: yield from _strings(v)

def producer_checks(v: dict) -> list[str]:
    e = []
    for k in ("uuid", "created_at"):
        if k not in v: e.append(f"4.1: {k} missing")
    if not any(v.get(k) for k in ("parties", "dialog", "analysis", "attachments")):
        e.append("4: SHOULD hold parties, dialog, analysis or attachments")
    if (v.get("dialog") or v.get("events")) and not v.get("sessions"):
        e.append("4.1.10: sessions required when dialog or events exist")
    if not set(v.get("critical", [])) <= set(v.get("extensions", [])):
        e.append("4.1.3: critical names must also be in extensions")
    if "redacted_from" in v and "amended_from" in v:
        e.append("4.1.8/4.1.9: redacted_from and amended_from are exclusive")
    n = {k: len(v.get(k, [])) for k in ("parties", "dialog", "sessions", "analysis", "attachments")}
    def bad(ix, k): return [i for i in _idx(ix) if not 0 <= i < n[k]]
    for i, d in enumerate(v.get("dialog", [])):
        if not d: continue                                   # empty placeholder
        if bad(d.get("parties"), "parties"): e.append(f"dialog[{i}]: party index out of range")
        if "body" in d and d["body"] != "" and "encoding" not in d: e.append(f"dialog[{i}]: body needs encoding (2.3)")
        if "url" in d and "content_hash" not in d: e.append(f"dialog[{i}]: url needs content_hash (2.4)")
        if d.get("type") == "incomplete":
            if "disposition" not in d: e.append(f"dialog[{i}]: incomplete needs disposition (4.5.8)")
            if {"body", "url", "mediatype", "filename"} & d.keys(): e.append(f"dialog[{i}]: incomplete has content fields")
    for i, s in enumerate(v.get("sessions", [])):
        if bad(s.get("parties"), "parties") or bad(s.get("dialog"), "dialog"): e.append(f"sessions[{i}]: index out of range")
    for i, ev in enumerate(v.get("events", [])):
        if "time" not in ev: e.append(f"events[{i}]: time required (4.3.2)")
        if ev.get("type") != "channel-contributors" and ("sessions" not in ev or "party" not in ev):
            e.append(f"events[{i}]: sessions and party required (4.3.3, 4.3.4)")
    for i, a in enumerate(v.get("analysis", [])):
        if i in _idx(a.get("analysis")): e.append(f"analysis[{i}]: references itself (4.7.5)")
        for key, tgt in (("dialog", "dialog"), ("sessions", "sessions"), ("attachment", "attachments"), ("analysis", "analysis")):
            if bad(a.get(key), tgt): e.append(f"analysis[{i}].{key}: index out of range")
    for i, a in enumerate(v.get("attachments", [])):
        if "party" not in a: e.append(f"attachments[{i}]: party required (4.6.3)")
        if "dialog" not in a and "session" not in a: e.append(f"attachments[{i}]: dialog or session required (4.6.4)")
    have = {r.get("ref") for r in v.get("redacted_strings", [])}
    for s in _strings({k: x for k, x in v.items() if k != "redacted_strings"}):
        for m in re.finditer(r"__REDACTED_REF_(\d{1,5})", s):
            if int(m.group(1)) not in have: e.append(f"token {m.group(0)} has no redacted_strings entry (4.1.16)")
    return e

Passing this checklist does not make a vCon conformant, because the draft defines no conformance suite. Re-check the list whenever the draft revision changes.

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