Format reference · Schema 1.2
Trust profile export format
Your answers leave Tyrvar as one JSON file, or as a ZIP with the evidence files. This page documents every field in both.
The export is a snapshot of every live answer in a trust profile, with its provenance. The answers are yours, and the file is readable without a Tyrvar account. Later edits in Tyrvar do not change a file you already downloaded.
How to get it
In the app, open a trust profile and choose Export for the JSON file, or Export with evidence (.zip) for the bundle. The same document is available from the API at GET /api/v1/trust-profiles/{profile_id}/export. It needs the same access as reading the profile, so you must be a member of the owning company. Any other company gets a 404. The response is a download.
Add ?bundle=true to get the same ZIP as the app's Export with evidence (.zip) button. The ZIP also holds the evidence files you are allowed to redistribute (see Evidence bundle).. A machine-readable JSON Schema for format 1.2 is available to validate a file.
Top level
| Field | Meaning |
|---|---|
| export_schema_version | "1.2" |
| exported_at | UTC timestamp of the export |
| exported_by | {id, name} of the user who exported |
| profile | id, name, description, product_type, status, company_id, company_name, question_set_version (the Tyrvar question set the profile is pinned to) |
| report_citations_included | Whether SOC 2 report citations were part of this export. When false, every answer's report_citations is null (not looked up), never [] |
| answer_count | Length of answers |
| unanswered_count | Length of unanswered_questions |
| excluded | Records left out on purpose, by reason. withdrawn_answers: answers withdrawn from the profile |
| answers | Sorted by canonical_key.key_code, then answer_id. Same data, same order |
| unanswered_questions | Canonical keys in profile.question_set_version with no live answer, sorted by key_code. Each entry is {key_code, question, category}; category is null when the key has none. Always present ([] when every pinned key is answered) |
Answer
| Field | Meaning |
|---|---|
| answer_id | Stable id of this answer in Tyrvar |
| canonical_key | {key_code, label, question, is_archived}. key_code (for example data.data.encryption) is the stable identifier of the question across all Tyrvar customers and versions; the same code appears as TYR:<key_code> in questionnaire exports. null only for a legacy answer with no key |
| question_text | The question as stored on the answer |
| text | Current answer text |
| answer_version | Revision counter: 1 if never saved after creation; increases by one on each saved edit, including a save that leaves the text unchanged |
| origin | inherited (built from platform statements), ai_generated (drafted from the customer's documents), manual |
| assurance | Where the claim comes from: one of five values, see the assurance labels below |
| status | draft, pending_approval, approved, rejected, escalated |
| needs_review, review_reason | Flagged for another look, and why |
| approval | Only when status is approved: approved_by {id, name}, approved_at, requested_at, notes. Otherwise null |
| effective_date, review_due_date, last_reviewed_at, created_at, updated_at | Dates as stored; null when never set |
| sensitivity, permitted_reuse, restrictions, known_exceptions, caveats | Governance fields as stored |
| evidence | References to linked documents, sorted by file name: id, file_name, document_type, version, is_current_version, issue_date, expiration_date, file_size_bytes, platform_name (set for vendor documents), is_redistributable, redistribution_restriction, nda_required. No file contents or storage locations |
| inheritance | null unless the answer is linked to a platform or has a per-statement record. platform_id, platform_name, composition |
| inheritance.composition | One entry per sentence of the answer, in text order: position, statement_id, declaration_key, provenance (platform_guarantee: the vendor's documentation says so; confirmed: a named person confirmed the setting), text, vendor_name, confirmed_by {id, name}, confirmed_at, source_label. null when no record describes the current text (an older or customer-edited answer) |
| report_citations | Sections of the customer's own SOC 2 report cited for this answer: evidence_id, criterion_id, section_label, pages, report_issue_date, nda_required, confirmed_by, confirmed_at, source_label. Only confirmed citations on a current, unexpired report without an auditor exception. A citation says where a topic is covered, not that Tyrvar checked it |
Missing values are null, not filled in. A person's name is null when that user is no longer a member of the company (the id stays). Answers created before a field existed carry null for it.
Unanswered questions
unanswered_questions lists every question in the profile's pinned question set that has no live answer, sorted by key_code. Each entry has key_code, question and category (null when the key has no category). The array is always present, and unanswered_count equals its length.
Assurance labels
Every answer carries exactly one assurance value. The rules run in order and the first match wins. A label says where a claim comes from. It does not say Tyrvar checked the claim.
| Value | Wording | Rule |
|---|---|---|
| inherited_platform | Inherited: platform guarantee | inheritance.composition is present and every statement is platform_guarantee |
| inherited_confirmed | Inherited: customer-confirmed | inheritance.composition is present and at least one statement is confirmed (the answer depends on a setting a named person confirmed) |
| evidenced | Evidenced: cited document | At least one entry in report_citations |
| asserted | Asserted: approved by a named person | status is approved with a recorded approver, and none of the above |
| unreviewed | Not yet approved | Everything else, including an approved answer with no recorded approver |
originis authorship andassuranceis the source of the claim. With a recorded approver and no qualifying citation, an approvedai_generatedanswer and an approvedmanualone are bothasserted.- Without a per-statement record there is no inherited label. An answer with origin
inheritedand a nullinheritance.compositionfalls through to the remaining rules, so it can still beevidenced,assertedorunreviewed. - When an answer a person approved is later edited, it goes back to pending approval and exports as
unrevieweduntil someone approves it again. - A linked document in
evidencealone is notevidenced. It records that a document was an input, not which section supports the answer or who said so. - When
report_citations_includedisfalse, no answer can beevidenced.
Evidence bundle
GET /api/v1/trust-profiles/{profile_id}/export?bundle=true returns a ZIP archive. Without the parameter you get the JSON download, unchanged.
export.zip
export.json the schema 1.2 document, unchanged
manifest.json files and excluded (see below)
evidence/<evidence_id>/<file_name>manifest.json accounts for every evidence document that a live answer references. Each one appears exactly once, either in files (with evidence_id, file_name, path, sha256 as lowercase hex, and size in bytes) or in excluded (with a reason). Another company's evidence is never referenced, packed or listed.
| Reason | Meaning |
|---|---|
| not_redistributable | The document is marked not redistributable, so it is not packed |
| malware_blocked | The document failed a malware scan, so it is not packed |
| unavailable | The file is missing or could not be read from storage |
- Several answers that cite the same document produce one archive member and one manifest entry.
- File names in archive paths are sanitized, so no member can escape its
evidence/<evidence_id>/folder. - The documents in one bundle are capped at 50 MiB in total. A larger profile gets an HTTP 413 pointing to the JSON-only export, never a partial ZIP.
{
"files": [
{"evidence_id": "e51a...", "file_name": "example-policy.pdf",
"path": "evidence/e51a.../example-policy.pdf",
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"size": 48213}
],
"excluded": [
{"evidence_id": "b7c2...", "file_name": "vendor-report.pdf", "reason": "not_redistributable"}
]
}Check the files against the manifest:
unzip -q export.zip -d export
jq -r '.files[] | "\(.sha256) \(.path)"' export/manifest.json | (cd export && sha256sum -c -)
jq -r '.excluded[] | [.file_name, .reason] | @tsv' export/manifest.jsonSample
An illustrative example with made-up names and ids. It shows one answer, with the review-flag, date, and governance fields omitted for brevity (a real export includes every field).
{
"export_schema_version": "1.2",
"exported_at": "2026-11-14T18:00:00Z",
"exported_by": {"id": "3f1c...", "name": "Jane Doe"},
"profile": {"id": "9a2e...", "name": "Web", "description": null, "product_type": null,
"status": "active", "company_id": "71b0...", "company_name": "Example Inc",
"question_set_version": "2026.11"},
"report_citations_included": false,
"answer_count": 1,
"unanswered_count": 0,
"excluded": {"withdrawn_answers": 0},
"answers": [{
"answer_id": "c04d...",
"canonical_key": {"key_code": "iam.mfa.enforced", "label": "MFA enforced",
"question": "Is MFA enforced for all users?", "is_archived": false},
"question_text": "Is MFA enforced for all users?",
"text": "Example Inc requires MFA for every workforce account.",
"answer_version": 2,
"origin": "manual",
"assurance": "asserted",
"status": "approved",
"approval": {"approved_by": {"id": "3f1c...", "name": "Jane Doe"},
"approved_at": "2026-11-01T09:00:00Z", "requested_at": null, "notes": null},
"evidence": [],
"inheritance": null,
"report_citations": null
}],
"unanswered_questions": []
}A few offline checks with jq:
jq -e '.export_schema_version == "1.2" and .answer_count == (.answers | length) and .unanswered_count == (.unanswered_questions | length)' export.json
jq -r '.answers[] | [.canonical_key.key_code, .status, .assurance, .answer_version] | @tsv' export.json
jq '[.answers[].assurance] | group_by(.) | map({(.[0]): length}) | add' export.jsonVersioning
export_schema_version is MAJOR.MINOR. A new optional field bumps the minor version. A removed, renamed or re-typed field bumps the major version. Readers should ignore fields they do not know. The JSON Schema is published per version, so the 1.2 file never changes under you.
| Version | Change |
|---|---|
| 1.2 | Added unanswered_questions and unanswered_count |
| 1.1 | Added assurance on every answer |
| 1.0 | First format |
Not in format 1.2
- Earlier answer texts (only
answer_versionis exported). - Evidence file bytes in the JSON-only download (use the bundle for redistributable files).
For why the export exists, read the working thesis.