Formats, Schemas & Locales Registry
Import/export format descriptors compiled from FormatRegistry::default_registry() (14 formats) alongside persisted JSON Schemas and supported UI locales.
Registered Import & Export Formats
| Format ID | Label | Extensions | Category | Import | Export |
|---|---|---|---|---|---|
curvebook | CurveBook Project Archive | .curvebook | Project Archive | yes | yes |
curvebook.d | CurveBook Unpacked Project | .curvebook.d | Unpacked Project Directory | yes | yes |
cbtemplate | CurveBook Template | .cbtemplate | Project Template | yes | yes |
prism | External Project Archive (.prism) | .prism | External Project Interchange | yes | no |
pzfx | PZFX XML Document | .pzfx | External Project Interchange | yes | no |
xlsx | Spreadsheet Workbook (.xlsx) | .xlsx | External Project Interchange | yes | no |
csv | Comma-Separated Values | .csv | Delimited Text | yes | yes |
tsv | Tab-Separated Values | .tsv | Delimited Text | yes | yes |
json | JSON Result Table | .json | Structured Result Export | no | yes |
svg | Scalable Vector Graphics | .svg | Vector Publication Figure | no | yes |
pdf | Portable Document Format | .pdf | Vector Publication Figure | no | yes |
png | Portable Network Graphics | .png | Raster Publication Figure | no | yes |
tiff | Tagged Image File Format | .tiff, .tif | Raster Publication Figure | no | yes |
emf | Enhanced Metafile | .emf | Vector Publication Figure | no | yes |
Preferences File Schema
Draft 2020-12 schema for versioned user preferences files with forward-compatible extension fields.
| Property Key | Schema Type / Details |
|---|---|
locale | {"type":["string","null"]} |
shortcuts | {"additionalProperties":{"type":"string"},"type":["object","null"]} |
theme | {"type":["string","null"]} |
version | {"maximum":1,"minimum":0,"type":"integer"} |
{
"$id": "https://github.com/HauserGroup/curvebook/blob/main/docs/schemas/preferences.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"description": "Draft 2020-12 schema for versioned user preferences files with forward-compatible extension fields.",
"properties": {
"locale": {
"type": [
"string",
"null"
]
},
"shortcuts": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"theme": {
"type": [
"string",
"null"
]
},
"version": {
"maximum": 1,
"minimum": 0,
"type": "integer"
}
},
"title": "PreferencesFile",
"type": "object"
}
Batch Manifest Schema (curvebook.batch.v1)
Draft 2020-12 schema for curvebook.batch.v1 headless batch manifests.
| Property Key | Schema Type / Details |
|---|---|
commands | {"items":{"$ref":"#/$defs/BatchCommand"},"type":["array","null"]} |
exports | {"items":{"$ref":"#/$defs/BatchExport"},"type":["array","null"]} |
inputs | {"items":{"$ref":"#/$defs/BatchInput"},"type":["array","null"]} |
project | {"minLength":1,"type":["string","null"]} |
schema | {"const":"curvebook.batch.v1","type":"string"} |
template | {"minLength":1,"type":["string","null"]} |
{
"$defs": {
"BatchCommand": {
"additionalProperties": false,
"anyOf": [
{
"properties": {
"cmd": {
"minLength": 1,
"pattern": "\\S",
"type": "string"
}
},
"required": [
"cmd"
]
},
{
"properties": {
"command": {
"minLength": 1,
"pattern": "\\S",
"type": "string"
}
},
"required": [
"command"
]
},
{
"properties": {
"method": {
"minLength": 1,
"pattern": "\\S",
"type": "string"
}
},
"required": [
"method"
]
}
],
"properties": {
"cmd": {
"minLength": 1,
"pattern": "\\S",
"type": "string"
},
"command": {
"deprecated": true,
"minLength": 1,
"pattern": "\\S",
"type": "string"
},
"id": {},
"method": {
"deprecated": true,
"minLength": 1,
"pattern": "\\S",
"type": "string"
},
"params": {
"type": [
"object",
"null"
]
}
},
"title": "BatchCommand",
"type": "object",
"x-deprecated-aliases": {
"cmd": [
"command",
"method"
]
}
},
"BatchExport": {
"additionalProperties": false,
"anyOf": [
{
"properties": {
"out": {
"minLength": 1,
"type": "string"
}
},
"required": [
"out"
]
},
{
"properties": {
"path": {
"minLength": 1,
"type": "string"
}
},
"required": [
"path"
]
}
],
"properties": {
"dpi": {
"maximum": 65535,
"minimum": 1,
"type": [
"integer",
"null"
]
},
"format": {
"enum": [
"curvebook",
"curvebook.d",
"curvebook-dir",
"unpacked",
"dir",
"csv",
"tsv",
"json",
"svg",
"pdf",
"png",
"tiff",
"tif",
"emf",
null
],
"type": [
"string",
"null"
]
},
"out": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"path": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"pdfVersion": {
"deprecated": true,
"enum": [
"1.4",
"1.7",
null
],
"type": [
"string",
"null"
]
},
"pdf_version": {
"enum": [
"1.4",
"1.7",
null
],
"type": [
"string",
"null"
]
},
"pretty": {
"type": [
"boolean",
"null"
]
},
"sheet": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheetId": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"tabIndex": {
"deprecated": true,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"tab_index": {
"minimum": 0,
"type": [
"integer",
"null"
]
},
"ttfFont": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"ttf_font": {
"minLength": 1,
"type": [
"string",
"null"
]
}
},
"title": "BatchExport",
"type": "object",
"x-deprecated-aliases": {
"pdf_version": [
"pdfVersion"
],
"sheet": [
"sheet_id",
"sheetId"
],
"tab_index": [
"tabIndex"
],
"ttf_font": [
"ttfFont"
]
}
},
"BatchInput": {
"additionalProperties": false,
"anyOf": [
{
"properties": {
"csv": {
"minLength": 1,
"type": "string"
}
},
"required": [
"csv"
]
},
{
"properties": {
"tsv": {
"minLength": 1,
"type": "string"
}
},
"required": [
"tsv"
]
},
{
"properties": {
"path": {
"minLength": 1,
"type": "string"
}
},
"required": [
"path"
]
},
{
"properties": {
"file": {
"minLength": 1,
"type": "string"
}
},
"required": [
"file"
]
}
],
"properties": {
"csv": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"decimalSeparator": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"decimal_separator": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"delimiter": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"file": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"kind": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"path": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheetId": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"sheet_id": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"subcolumnMode": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"subcolumn_mode": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"tableKind": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"table_kind": {
"deprecated": true,
"minLength": 1,
"type": [
"string",
"null"
]
},
"tsv": {
"minLength": 1,
"type": [
"string",
"null"
]
}
},
"title": "BatchInput",
"type": "object",
"x-deprecated-aliases": {
"decimal_separator": [
"decimalSeparator"
],
"kind": [
"table_kind",
"tableKind"
],
"sheet": [
"sheet_id",
"sheetId"
],
"subcolumn_mode": [
"subcolumnMode"
]
}
}
},
"$id": "https://github.com/HauserGroup/curvebook/blob/main/docs/schemas/batch-v1.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Draft 2020-12 schema for curvebook.batch.v1 headless batch manifests.",
"not": {
"properties": {
"project": {
"type": "string"
},
"template": {
"type": "string"
}
},
"required": [
"template",
"project"
]
},
"properties": {
"commands": {
"items": {
"$ref": "#/$defs/BatchCommand"
},
"type": [
"array",
"null"
]
},
"exports": {
"items": {
"$ref": "#/$defs/BatchExport"
},
"type": [
"array",
"null"
]
},
"inputs": {
"items": {
"$ref": "#/$defs/BatchInput"
},
"type": [
"array",
"null"
]
},
"project": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"schema": {
"const": "curvebook.batch.v1",
"type": "string"
},
"template": {
"minLength": 1,
"type": [
"string",
"null"
]
}
},
"required": [
"schema"
],
"title": "BatchManifestV1",
"type": "object"
}
Project Document Schema
Canonical CurveBook L1 ProjectDocument JSON schema (Draft 2020-12).
| Property Key | Schema Type / Details |
|---|---|
active_sheet_id | {"anyOf":[{"$ref":"#/$defs/SheetId"},{"type":"null"}]} |
checkpoints | {"items":{"$ref":"#/$defs/NamedCheckpoint"},"type":"array"} |
data_sheets | {"items":{"$ref":"#/$defs/DataSheet"},"maxItems":500,"type":"array"} |
family_anchor_sheet_id | {"anyOf":[{"$ref":"#/$defs/SheetId"},{"type":"null"}]} |
graph_sheets | {"items":{"$ref":"#/$defs/GraphSheet"},"maxItems":500,"type":"array"} |
image_assets | {"items":{"$ref":"#/$defs/ProjectImageAsset"},"maxItems":256,"type":"array"} |
info_sheets | {"items":{"$ref":"#/$defs/InfoSheet"},"maxItems":500,"type":"array"} |
layout_sheets | {"items":{"$ref":"#/$defs/LayoutSheet"},"maxItems":500,"type":"array"} |
result_sheets | {"items":{"$ref":"#/$defs/ResultSheet"},"maxItems":500,"type":"array"} |
schema_version | {"maximum":7,"minimum":1,"type":"integer"} |
title | {"description":"Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).","maxLength":4096,"type":"string"} |
{
"$defs": {
"AnalysisSpec": {
"additionalProperties": false,
"properties": {
"auto_title": {
"type": "string"
},
"confidence_level": {
"maximum": 99.99,
"minimum": 0.01,
"type": "number"
},
"custom_title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/$defs/SheetId"
},
"kind": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"PowerAnalysis": {
"$ref": "#/$defs/PowerAnalysisSpec"
}
},
"required": [
"PowerAnalysis"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"BlandAltman": {
"type": "object"
},
"Contingency": {
"type": "object"
},
"DescriptiveStats": {
"type": "object"
},
"FactorialAnova": {
"type": "object"
},
"GeneralizedLinearModel": {
"type": "object"
},
"LinearRegression": {
"type": "object"
},
"MultipleRowTTests": {
"type": "object"
},
"Multivariate": {
"type": "object"
},
"NestedComparison": {
"type": "object"
},
"NonlinearRegression": {
"type": "object"
},
"OneWayAnova": {
"type": "object"
},
"OutlierDetection": {
"type": "object"
},
"PValueStack": {
"type": "object"
},
"PassingBablok": {
"type": "object"
},
"RocCurve": {
"type": "object"
},
"Survival": {
"type": "object"
},
"Transform": {
"type": "object"
},
"TwoGroupComparison": {
"type": "object"
}
},
"type": "object"
}
]
},
"p_value_format": {
"oneOf": [
{
"const": "FourDecimal",
"type": "string"
},
{
"const": "Apa",
"type": "string"
},
{
"const": "Nejm",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"Custom": {
"additionalProperties": false,
"properties": {
"decimals": {
"maximum": 15,
"minimum": 1,
"type": "integer"
},
"scientific_below": {
"minimum": 0.0,
"type": [
"number",
"null"
]
}
},
"required": [
"decimals",
"scientific_below"
],
"type": "object"
}
},
"required": [
"Custom"
],
"type": "object"
}
]
},
"selected_data_sets": {
"items": {
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"source_sheet_id": {
"$ref": "#/$defs/SheetId"
}
},
"required": [
"id",
"source_sheet_id",
"selected_data_sets",
"auto_title",
"custom_title",
"confidence_level",
"p_value_format",
"kind"
],
"title": "AnalysisSpec",
"type": "object"
},
"CellCoord": {
"additionalProperties": false,
"properties": {
"col": {
"minimum": 0,
"type": "integer"
},
"row": {
"minimum": 0,
"type": "integer"
},
"subcol": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"row",
"col",
"subcol"
],
"title": "CellCoord",
"type": "object"
},
"CellExclusionNote": {
"additionalProperties": false,
"properties": {
"coord": {
"$ref": "#/$defs/CellCoord"
},
"note": {
"type": "string"
},
"reason_tag": {
"type": "string"
},
"timestamp_utc": {
"type": "string"
}
},
"required": [
"coord",
"reason_tag",
"note",
"timestamp_utc"
],
"title": "CellExclusionNote",
"type": "object"
},
"ChecklistItem": {
"additionalProperties": false,
"properties": {
"assumption": {
"type": "string"
},
"diagnostic_metric": {
"type": [
"string",
"null"
]
},
"explanation": {
"type": "string"
},
"remediation": {
"anyOf": [
{
"$ref": "#/$defs/RemediationKind"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/$defs/ChecklistStatus"
}
},
"required": [
"assumption",
"status",
"diagnostic_metric",
"explanation"
],
"title": "ChecklistItem",
"type": "object"
},
"ChecklistStatus": {
"enum": [
"Pass",
"Warn",
"Violated",
"Info"
],
"title": "ChecklistStatus",
"type": "string"
},
"DataSheet": {
"additionalProperties": false,
"properties": {
"archetype": {
"$ref": "#/$defs/TableArchetype"
},
"color_tag": {
"anyOf": [
{
"$ref": "#/$defs/Rgba8"
},
{
"type": "null"
}
]
},
"exclusion_notes": {
"items": {
"$ref": "#/$defs/CellExclusionNote"
},
"type": "array"
},
"floating_notes": {
"items": {
"$ref": "#/$defs/FloatingNote"
},
"type": "array"
},
"frozen": {
"type": "boolean"
},
"id": {
"$ref": "#/$defs/SheetId"
},
"info_sheet_id": {
"anyOf": [
{
"$ref": "#/$defs/SheetId"
},
{
"type": "null"
}
]
},
"linked_regions": {
"items": {
"$ref": "#/$defs/LinkedDataRegion"
},
"type": "array"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"id",
"title",
"archetype",
"frozen",
"info_sheet_id",
"linked_regions",
"floating_notes",
"color_tag"
],
"title": "DataSheet",
"type": "object"
},
"ErrorCategory": {
"enum": [
"input",
"state",
"format",
"io",
"policy",
"compute",
"internal"
],
"title": "ErrorCategory",
"type": "string"
},
"ErrorCode": {
"enum": [
"bad_input",
"not_found",
"already_exists",
"conflict",
"frozen_sheet",
"cycle_detected",
"unsupported_format",
"unsupported_version",
"corrupt_data",
"io_error",
"path_escape",
"resource_limit",
"solver_failed",
"insufficient_data",
"cancelled",
"gui_only_violation",
"internal_panic",
"internal_error"
],
"title": "ErrorCode",
"type": "string"
},
"FittedCurveOverlay": {
"additionalProperties": false,
"properties": {
"ambiguous": {
"type": "boolean"
},
"converged": {
"type": "boolean"
},
"data_set_index": {
"minimum": 0,
"type": "integer"
},
"equation_id": {
"type": "string"
},
"points": {
"items": {
"additionalProperties": false,
"properties": {
"ci_lower": {
"type": [
"number",
"null"
]
},
"ci_upper": {
"type": [
"number",
"null"
]
},
"pred_lower": {
"type": [
"number",
"null"
]
},
"pred_upper": {
"type": [
"number",
"null"
]
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y",
"ci_lower",
"ci_upper",
"pred_lower",
"pred_upper"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"data_set_index",
"equation_id",
"converged",
"ambiguous",
"points"
],
"title": "FittedCurveOverlay",
"type": "object"
},
"FloatingNote": {
"additionalProperties": false,
"properties": {
"body_markdown": {
"type": "string"
},
"bounds_pt": {
"$ref": "#/$defs/RectPt"
},
"fill_color": {
"$ref": "#/$defs/Rgba8"
},
"id": {
"maxLength": 256,
"minLength": 1,
"pattern": "\\S",
"type": "string"
},
"minimized": {
"type": "boolean"
}
},
"required": [
"id",
"fill_color",
"bounds_pt",
"minimized",
"body_markdown"
],
"title": "FloatingNote",
"type": "object"
},
"GraphSheet": {
"additionalProperties": false,
"properties": {
"color_tag": {
"anyOf": [
{
"$ref": "#/$defs/Rgba8"
},
{
"type": "null"
}
]
},
"floating_notes": {
"items": {
"$ref": "#/$defs/FloatingNote"
},
"type": "array"
},
"id": {
"$ref": "#/$defs/SheetId"
},
"initialized": {
"type": "boolean"
},
"spec": {
"$ref": "#/$defs/GraphSpec"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"id",
"title",
"initialized",
"spec",
"floating_notes",
"color_tag"
],
"title": "GraphSheet",
"type": "object"
},
"GraphSpec": {
"additionalProperties": true,
"properties": {
"canvas_size_pt": {
"$ref": "#/$defs/SizePt"
},
"paper_fill": {
"anyOf": [
{
"$ref": "#/$defs/Rgba8"
},
{
"type": "null"
}
]
},
"primary_source_sheet_id": {
"$ref": "#/$defs/SheetId"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
},
"x_axis": {
"additionalProperties": true,
"properties": {
"segments": {
"items": {
"type": "object"
},
"maxItems": 3,
"minItems": 1,
"type": "array"
},
"stroke_width_pt": {
"minimum": 0.0,
"type": "number"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"title",
"segments",
"stroke_width_pt"
],
"type": "object"
},
"y2_axis": {
"additionalProperties": true,
"properties": {
"segments": {
"items": {
"type": "object"
},
"maxItems": 3,
"minItems": 1,
"type": "array"
},
"stroke_width_pt": {
"minimum": 0.0,
"type": "number"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"title",
"segments",
"stroke_width_pt"
],
"type": [
"object",
"null"
]
},
"y_axis": {
"additionalProperties": true,
"properties": {
"segments": {
"items": {
"type": "object"
},
"maxItems": 3,
"minItems": 1,
"type": "array"
},
"stroke_width_pt": {
"minimum": 0.0,
"type": "number"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"title",
"segments",
"stroke_width_pt"
],
"type": "object"
}
},
"required": [
"kind",
"primary_source_sheet_id",
"palette",
"canvas_size_pt",
"paper_fill",
"title",
"frame_preset",
"x_axis",
"y_axis",
"series",
"legend"
],
"title": "GraphSpec",
"type": "object"
},
"InfoConstant": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"units": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": [
"string",
"null"
]
},
"value": {
"oneOf": [
{
"const": "Empty",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"Number": {
"type": "number"
}
},
"required": [
"Number"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"Text": {
"type": "string"
}
},
"required": [
"Text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"Date": {
"type": "string"
}
},
"required": [
"Date"
],
"type": "object"
}
]
}
},
"required": [
"name",
"value",
"units"
],
"title": "InfoConstant",
"type": "object"
},
"InfoSheet": {
"additionalProperties": false,
"properties": {
"color_tag": {
"anyOf": [
{
"$ref": "#/$defs/Rgba8"
},
{
"type": "null"
}
]
},
"constants": {
"items": {
"$ref": "#/$defs/InfoConstant"
},
"type": "array"
},
"floating_notes": {
"items": {
"$ref": "#/$defs/FloatingNote"
},
"type": "array"
},
"id": {
"$ref": "#/$defs/SheetId"
},
"linked_data_sheets": {
"items": {
"$ref": "#/$defs/SheetId"
},
"type": "array"
},
"notes_markdown": {
"type": "string"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"id",
"title",
"linked_data_sheets",
"constants",
"notes_markdown",
"floating_notes",
"color_tag"
],
"title": "InfoSheet",
"type": "object"
},
"LayoutSheet": {
"additionalProperties": false,
"properties": {
"color_tag": {
"anyOf": [
{
"$ref": "#/$defs/Rgba8"
},
{
"type": "null"
}
]
},
"floating_notes": {
"items": {
"$ref": "#/$defs/FloatingNote"
},
"type": "array"
},
"id": {
"$ref": "#/$defs/SheetId"
},
"spec": {
"$ref": "#/$defs/LayoutSpec"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"id",
"title",
"spec",
"floating_notes",
"color_tag"
],
"title": "LayoutSheet",
"type": "object"
},
"LayoutSpec": {
"additionalProperties": false,
"properties": {
"align_plot_origins": {
"type": "boolean"
},
"background_fill": {
"anyOf": [
{
"$ref": "#/$defs/Rgba8"
},
{
"type": "null"
}
]
},
"grid_template": {
"items": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": [
"array",
"null"
]
},
"height": {
"minimum": 2.2250738585072014e-308,
"type": "number"
},
"items": {
"items": {
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"orientation": {
"enum": [
"Portrait",
"Landscape"
],
"type": "string"
},
"panel_badges": {
"enum": [
"UpperCaseLetters",
"LowerCaseLetters",
"None"
],
"type": "string"
},
"unit": {
"enum": [
"Millimeters",
"Centimeters",
"Inches",
"Points"
],
"type": "string"
},
"width": {
"minimum": 2.2250738585072014e-308,
"type": "number"
}
},
"required": [
"width",
"height",
"unit",
"orientation",
"grid_template",
"align_plot_origins",
"panel_badges",
"background_fill",
"items"
],
"title": "LayoutSpec",
"type": "object"
},
"LinkedDataRegion": {
"additionalProperties": false,
"properties": {
"id": {
"minLength": 1,
"type": "string"
},
"provenance_summary": {
"type": "string"
},
"spec": {
"type": "object"
},
"target_range": {
"additionalProperties": false,
"properties": {
"end": {
"$ref": "#/$defs/CellCoord"
},
"start": {
"$ref": "#/$defs/CellCoord"
}
},
"required": [
"start",
"end"
],
"type": "object"
}
},
"required": [
"id",
"spec",
"target_range",
"provenance_summary"
],
"title": "LinkedDataRegion",
"type": "object"
},
"NamedCheckpoint": {
"additionalProperties": false,
"properties": {
"created_utc": {
"description": "Creation timestamp string (RFC 3339 UTC or `unix:<seconds>`).",
"minLength": 1,
"pattern": "\\S",
"type": "string"
},
"id": {
"maxLength": 256,
"minLength": 1,
"pattern": "\\S",
"type": "string"
},
"name": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
},
"note": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
},
"snapshot_json": {
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"name",
"note",
"created_utc",
"snapshot_json"
],
"title": "NamedCheckpoint",
"type": "object"
},
"PairwiseComparisonRecord": {
"additionalProperties": false,
"properties": {
"estimate_diff": {
"type": [
"number",
"null"
]
},
"group_a": {
"minimum": 0,
"type": "integer"
},
"group_b": {
"minimum": 0,
"type": "integer"
},
"is_fdr_q": {
"type": "boolean"
},
"label_a": {
"type": "string"
},
"label_b": {
"type": "string"
},
"raw_p_or_q": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
"significant": {
"type": "boolean"
}
},
"required": [
"group_a",
"group_b",
"label_a",
"label_b",
"estimate_diff",
"raw_p_or_q",
"is_fdr_q",
"significant"
],
"title": "PairwiseComparisonRecord",
"type": "object"
},
"PowerAnalysisSpec": {
"additionalProperties": false,
"properties": {
"allocation_ratio": {
"minimum": 2.2250738585072014e-308,
"type": "number"
},
"alpha": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
"chi_square_df": {
"minimum": 2.2250738585072014e-308,
"type": "number"
},
"continuity_correction": {
"type": "boolean"
},
"correlation_method": {
"enum": [
"FisherZ",
"FisherZWithTCrit",
"ExactTTransform",
"ConditionalSlopeT"
],
"title": "CorrelationPowerMethod",
"type": "string"
},
"effect": {
"oneOf": [
{
"const": "Unspecified",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"Standardized": {
"type": "number"
}
},
"required": [
"Standardized"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"MeanDiffAndSd": {
"additionalProperties": false,
"properties": {
"mean_diff": {
"type": "number"
},
"sd": {
"minimum": 2.2250738585072014e-308,
"type": "number"
},
"sd_group2": {
"type": [
"number",
"null"
]
},
"within_pair_correlation": {
"maximum": 1.0,
"minimum": -1.0,
"type": [
"number",
"null"
]
}
},
"required": [
"mean_diff",
"sd"
],
"type": "object"
}
},
"required": [
"MeanDiffAndSd"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"PairedDiff": {
"additionalProperties": false,
"properties": {
"mean_diff": {
"type": "number"
},
"sd_diff": {
"type": "number"
}
},
"required": [
"mean_diff",
"sd_diff"
],
"type": "object"
}
},
"required": [
"PairedDiff"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"GroupMeansAndSd": {
"additionalProperties": false,
"properties": {
"means": {
"items": {
"type": "number"
},
"type": "array"
},
"within_sd": {
"type": "number"
}
},
"required": [
"means",
"within_sd"
],
"type": "object"
}
},
"required": [
"GroupMeansAndSd"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"TwoProportions": {
"additionalProperties": false,
"properties": {
"p1": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
},
"p2": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
}
},
"required": [
"p1",
"p2"
],
"type": "object"
}
},
"required": [
"TwoProportions"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"BaselineProportion": {
"additionalProperties": false,
"properties": {
"p1": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
}
},
"required": [
"p1"
],
"type": "object"
}
},
"required": [
"BaselineProportion"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"RSquared": {
"maximum": 1.0,
"minimum": 0.0,
"type": "number"
}
},
"required": [
"RSquared"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"RegressionSlope": {
"additionalProperties": false,
"properties": {
"beta1": {
"type": "number"
},
"sigma_eps": {
"type": "number"
},
"sigma_x": {
"type": "number"
}
},
"required": [
"beta1",
"sigma_x",
"sigma_eps"
],
"type": "object"
}
},
"required": [
"RegressionSlope"
],
"type": "object"
}
],
"title": "PowerEffectSpec"
},
"family": {
"enum": [
"TwoSampleUnpairedT",
"TwoSamplePairedT",
"OneSampleT",
"OneWayAnova",
"TwoProportions",
"Correlation",
"ChiSquare",
"SimpleLinearRegression"
],
"title": "PowerTestFamily",
"type": "string"
},
"info_sheet_id": {
"anyOf": [
{
"$ref": "#/$defs/SheetId"
},
{
"type": "null"
}
]
},
"num_groups": {
"minimum": 2,
"type": [
"integer",
"null"
]
},
"sample_size": {
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"sample_size_group2": {
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"solve_target": {
"enum": [
"SampleSize",
"Power",
"DetectableEffect"
],
"title": "PowerSolveTarget",
"type": "string"
},
"tail_mode": {
"oneOf": [
{
"const": "TwoSided",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"OneSided": {
"enum": [
"Greater",
"Less"
],
"type": "string"
}
},
"required": [
"OneSided"
],
"type": "object"
}
],
"title": "PowerTailMode"
},
"target_power": {
"maximum": 1.0,
"minimum": 0.0,
"type": [
"number",
"null"
]
},
"two_proportions_mode": {
"enum": [
"PooledNullUnpooledAlt",
"Unpooled",
"CohensH"
],
"title": "TwoProportionsMethod",
"type": "string"
}
},
"required": [
"family",
"solve_target",
"tail_mode",
"alpha",
"allocation_ratio",
"effect",
"chi_square_df",
"two_proportions_mode",
"continuity_correction",
"correlation_method"
],
"title": "PowerAnalysisSpec",
"type": "object"
},
"ProjectImageAsset": {
"additionalProperties": false,
"properties": {
"asset_id": {
"minLength": 4,
"pattern": "^img-[0-9a-f]{16}$",
"type": "string"
},
"bytes": {
"type": "string"
},
"media_type": {
"enum": [
"Png",
"Jpeg",
"Tiff"
],
"type": "string"
},
"pixel_size": {
"items": {
"minimum": 1,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"required": [
"asset_id",
"media_type",
"pixel_size"
],
"title": "ProjectImageAsset",
"type": "object"
},
"RectPt": {
"additionalProperties": false,
"properties": {
"height": {
"minimum": 0.0,
"type": "number"
},
"width": {
"minimum": 0.0,
"type": "number"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
],
"title": "RectPt",
"type": "object"
},
"RemediationKind": {
"enum": [
"WelchT",
"MannWhitneyU",
"WilcoxonSignedRank",
"OneSampleWilcoxon",
"WelchAnova",
"KruskalWallis",
"Friedman"
],
"title": "RemediationKind",
"type": "string"
},
"ResultScalarEntry": {
"additionalProperties": false,
"properties": {
"data_set_index": {
"minimum": 0,
"type": [
"integer",
"null"
]
},
"key": {
"minLength": 1,
"type": "string"
},
"units": {
"type": [
"string",
"null"
]
},
"value": {
"type": "number"
}
},
"required": [
"key",
"data_set_index",
"value",
"units"
],
"title": "ResultScalarEntry",
"type": "object"
},
"ResultSheet": {
"additionalProperties": false,
"properties": {
"analysis": {
"$ref": "#/$defs/AnalysisSpec"
},
"analyzable_data": {
"anyOf": [
{
"$ref": "#/$defs/DataSheet"
},
{
"type": "null"
}
]
},
"checklist": {
"items": {
"$ref": "#/$defs/ChecklistItem"
},
"type": "array"
},
"color_tag": {
"anyOf": [
{
"$ref": "#/$defs/Rgba8"
},
{
"type": "null"
}
]
},
"eliminated_outliers": {
"items": {
"$ref": "#/$defs/SourceCellId"
},
"type": "array"
},
"fitted_curves": {
"items": {
"$ref": "#/$defs/FittedCurveOverlay"
},
"type": "array"
},
"floating_notes": {
"items": {
"$ref": "#/$defs/FloatingNote"
},
"type": "array"
},
"id": {
"$ref": "#/$defs/SheetId"
},
"pairwise_comparisons": {
"items": {
"$ref": "#/$defs/PairwiseComparisonRecord"
},
"type": "array"
},
"scalars": {
"items": {
"$ref": "#/$defs/ResultScalarEntry"
},
"type": "array"
},
"status": {
"$ref": "#/$defs/ResultStatus"
},
"tabs": {
"items": {
"$ref": "#/$defs/ResultTab"
},
"type": "array"
}
},
"required": [
"id",
"analysis",
"status",
"analyzable_data",
"tabs",
"scalars",
"pairwise_comparisons",
"fitted_curves",
"checklist",
"floating_notes",
"color_tag"
],
"title": "ResultSheet",
"type": "object"
},
"ResultStatus": {
"oneOf": [
{
"const": "Dirty",
"type": "string"
},
{
"const": "UpToDate",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"Failed": {
"additionalProperties": false,
"properties": {
"code": {
"anyOf": [
{
"$ref": "#/$defs/ErrorCode"
},
{
"description": "Legacy or historical error code accepted by ErrorCode::from_code_str (normalizes unknown strings to internal_error).",
"type": "string"
}
]
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"Failed"
],
"type": "object"
}
],
"title": "ResultStatus"
},
"ResultTab": {
"additionalProperties": false,
"properties": {
"column_headers": {
"items": {
"type": "string"
},
"type": "array"
},
"footnotes": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"minLength": 1,
"type": "string"
},
"kind": {
"enum": [
"MainSummary",
"AnovaTable",
"MultipleComparisons",
"ParametersAndConfidenceIntervals",
"ModelComparison",
"Residuals",
"DescriptiveSummary",
"InterpolatedUnknowns",
"CurveCoordinates",
"NumberAtRisk",
"Diagnostics",
"CovarianceMatrix",
"NormalQq",
"BaselineSurvival",
"LogMinusLog"
],
"type": "string"
},
"row_labels": {
"items": {
"type": "string"
},
"type": "array"
},
"rows": {
"items": {
"items": {
"type": [
"string",
"object"
]
},
"type": "array"
},
"type": "array"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"id",
"title",
"kind",
"column_headers",
"row_labels",
"rows",
"footnotes"
],
"title": "ResultTab",
"type": "object"
},
"Rgba8": {
"additionalProperties": false,
"properties": {
"a": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"b": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"g": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"r": {
"maximum": 255,
"minimum": 0,
"type": "integer"
}
},
"required": [
"r",
"g",
"b",
"a"
],
"title": "Rgba8",
"type": "object"
},
"SheetFolderKind": {
"enum": [
"Data",
"Info",
"Results",
"Graphs",
"Layouts"
],
"title": "SheetFolderKind",
"type": "string"
},
"SheetId": {
"description": "Non-empty hook-safe sheet identifier (1..=256 bytes, no whitespace, control characters, `:`, `{{`, or `}}`).",
"maxLength": 256,
"minLength": 1,
"pattern": "^(?!.*(?:\\{\\{|\\}\\}))[^\\s:\\x00-\\x1f\\x7f]{1,256}$",
"title": "SheetId",
"type": "string"
},
"SizePt": {
"additionalProperties": false,
"properties": {
"height": {
"minimum": 0.0,
"type": "number"
},
"width": {
"minimum": 0.0,
"type": "number"
}
},
"required": [
"width",
"height"
],
"title": "SizePt",
"type": "object"
},
"SourceCellId": {
"additionalProperties": false,
"properties": {
"col": {
"minimum": 0,
"type": "integer"
},
"row": {
"minimum": 0,
"type": "integer"
},
"sheet_id": {
"$ref": "#/$defs/SheetId"
},
"subcol": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"sheet_id",
"row",
"col",
"subcol"
],
"title": "SourceCellId",
"type": "object"
},
"TableArchetype": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"Xy": {
"type": "object"
}
},
"required": [
"Xy"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"Column": {
"type": "object"
}
},
"required": [
"Column"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"Grouped": {
"type": "object"
}
},
"required": [
"Grouped"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"Contingency": {
"type": "object"
}
},
"required": [
"Contingency"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"Survival": {
"type": "object"
}
},
"required": [
"Survival"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"PartsOfWhole": {
"type": "object"
}
},
"required": [
"PartsOfWhole"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"MultipleVariables": {
"type": "object"
}
},
"required": [
"MultipleVariables"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"Nested": {
"type": "object"
}
},
"required": [
"Nested"
],
"type": "object"
}
],
"title": "TableArchetype"
},
"TableKind": {
"enum": [
"Xy",
"Column",
"Grouped",
"Contingency",
"Survival",
"PartsOfWhole",
"MultipleVariables",
"Nested"
],
"title": "TableKind",
"type": "string"
}
},
"$id": "https://github.com/HauserGroup/curvebook/blob/main/docs/schemas/document.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Canonical CurveBook L1 ProjectDocument JSON schema (Draft 2020-12).",
"properties": {
"active_sheet_id": {
"anyOf": [
{
"$ref": "#/$defs/SheetId"
},
{
"type": "null"
}
]
},
"checkpoints": {
"items": {
"$ref": "#/$defs/NamedCheckpoint"
},
"type": "array"
},
"data_sheets": {
"items": {
"$ref": "#/$defs/DataSheet"
},
"maxItems": 500,
"type": "array"
},
"family_anchor_sheet_id": {
"anyOf": [
{
"$ref": "#/$defs/SheetId"
},
{
"type": "null"
}
]
},
"graph_sheets": {
"items": {
"$ref": "#/$defs/GraphSheet"
},
"maxItems": 500,
"type": "array"
},
"image_assets": {
"items": {
"$ref": "#/$defs/ProjectImageAsset"
},
"maxItems": 256,
"type": "array"
},
"info_sheets": {
"items": {
"$ref": "#/$defs/InfoSheet"
},
"maxItems": 500,
"type": "array"
},
"layout_sheets": {
"items": {
"$ref": "#/$defs/LayoutSheet"
},
"maxItems": 500,
"type": "array"
},
"result_sheets": {
"items": {
"$ref": "#/$defs/ResultSheet"
},
"maxItems": 500,
"type": "array"
},
"schema_version": {
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"title": {
"description": "Title text capped at 4,096 UTF-8 bytes by runtime validate_title (JSON Schema maxLength bounds code points; multi-byte characters also count toward the 4,096 UTF-8 byte ceiling).",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"schema_version",
"title",
"data_sheets",
"info_sheets",
"result_sheets",
"graph_sheets",
"layout_sheets",
"active_sheet_id",
"family_anchor_sheet_id"
],
"title": "ProjectDocument",
"type": "object"
}
Archive Manifest Schema
Draft 2020-12 schema for CurveBook .curvebook / .cbtemplate archive manifest.json files.
| Property Key | Schema Type / Details |
|---|---|
assets | {"items":{"$ref":"#/$defs/AssetManifestEntry"},"type":"array"} |
document_crc32 | {"maximum":4294967295,"minimum":0,"type":"integer"} |
format | {"const":"curvebook-archive","type":"string"} |
kind | {"enum":["Project","Template"],"type":"string"} |
schema_version | {"maximum":7,"minimum":0,"type":"integer"} |
sheets | {"items":{"$ref":"#/$defs/SheetManifestEntry"},"type":"array"} |
title | {"maxLength":4096,"type":"string"} |
{
"$defs": {
"AssetManifestEntry": {
"additionalProperties": false,
"properties": {
"asset_id": {
"pattern": "^img-[0-9a-f]{16}$",
"type": "string"
},
"byte_len": {
"maximum": 33554432,
"minimum": 0,
"type": "integer"
},
"crc32": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"media_type": {
"$ref": "#/$defs/ImageMimeKind"
},
"path": {
"type": "string"
}
},
"required": [
"asset_id",
"media_type",
"path",
"byte_len",
"crc32"
],
"title": "AssetManifestEntry",
"type": "object"
},
"ImageMimeKind": {
"enum": [
"Png",
"Jpeg",
"Tiff"
],
"type": "string"
},
"SheetId": {
"description": "Non-empty hook-safe sheet identifier (1..=256 bytes, no whitespace, control characters, `:`, `{{`, or `}}`).",
"maxLength": 256,
"minLength": 1,
"pattern": "^(?!.*(?:\\{\\{|\\}\\}))[^\\s:\\x00-\\x1f\\x7f]{1,256}$",
"title": "SheetId",
"type": "string"
},
"SheetManifestEntry": {
"additionalProperties": false,
"properties": {
"crc32": {
"maximum": 4294967295,
"minimum": 0,
"type": [
"integer",
"null"
]
},
"csv_path": {
"type": [
"string",
"null"
]
},
"id": {
"$ref": "#/$defs/SheetId"
},
"section": {
"$ref": "#/$defs/SheetSection"
},
"title": {
"maxLength": 4096,
"type": "string"
}
},
"required": [
"id",
"section",
"title",
"csv_path",
"crc32"
],
"title": "SheetManifestEntry",
"type": "object"
},
"SheetSection": {
"enum": [
"Data",
"Info",
"Analyses",
"Graphs",
"Layouts"
],
"type": "string"
}
},
"$id": "https://github.com/HauserGroup/curvebook/blob/main/docs/schemas/archive-manifest.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Draft 2020-12 schema for CurveBook .curvebook / .cbtemplate archive manifest.json files.",
"properties": {
"assets": {
"items": {
"$ref": "#/$defs/AssetManifestEntry"
},
"type": "array"
},
"document_crc32": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"format": {
"const": "curvebook-archive",
"type": "string"
},
"kind": {
"enum": [
"Project",
"Template"
],
"type": "string"
},
"schema_version": {
"maximum": 7,
"minimum": 0,
"type": "integer"
},
"sheets": {
"items": {
"$ref": "#/$defs/SheetManifestEntry"
},
"type": "array"
},
"title": {
"maxLength": 4096,
"type": "string"
}
},
"required": [
"format",
"schema_version",
"kind",
"title",
"document_crc32",
"sheets"
],
"title": "ArchiveManifest",
"type": "object"
}
Autosave Journal Record Schema
Draft 2020-12 schema for crash-recovery ops.journal NDJSON lines and curvebook.lock leases.
{
"$defs": {
"JournalLockLease": {
"additionalProperties": false,
"properties": {
"acquired_epoch_ms": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"format_version": {
"maximum": 1,
"minimum": 1,
"type": "integer"
},
"host_id": {
"minLength": 1,
"type": [
"string",
"null"
]
},
"owner_id": {
"minLength": 1,
"type": "string"
},
"ttl_ms": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
}
},
"required": [
"owner_id",
"acquired_epoch_ms",
"ttl_ms"
],
"title": "JournalLockLease",
"type": "object"
},
"JournalOpRecord": {
"additionalProperties": false,
"properties": {
"command_json": {},
"crc32": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"format_version": {
"maximum": 2,
"minimum": 1,
"type": "integer"
},
"seq": {
"maximum": 18446744073709551615,
"minimum": 1,
"type": "integer"
}
},
"required": [
"seq",
"crc32",
"command_json"
],
"title": "JournalOpRecord",
"type": "object"
}
},
"$id": "https://github.com/HauserGroup/curvebook/blob/main/docs/schemas/journal-record.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Draft 2020-12 schema for crash-recovery ops.journal NDJSON lines and curvebook.lock leases.",
"oneOf": [
{
"$ref": "#/$defs/JournalOpRecord"
},
{
"$ref": "#/$defs/JournalLockLease"
}
],
"title": "JournalPersistenceRecord"
}
Supported Interface Locales (LOCALES)
Registered locale tags compiled in curvebook_ui_egui::i18n::LOCALES (16 entries):
en, de, es, fr, ja, ko, pt-BR, zh-CN, zh-TW, it, nl, pl, ru, tr, ar, he