From 5f051465d2983965d15acfb9235dc3b5788b28ba Mon Sep 17 00:00:00 2001 From: Allaun Silverfox <28494262+allaunthefox@users.noreply.github.com> Date: Sat, 16 May 2026 20:56:00 -0500 Subject: [PATCH] Add BraidStorm Sidon Crossing receipt schema --- ...idstorm_sidon_crossing_receipt.schema.json | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 shared-data/schemas/famm_braidstorm_sidon_crossing_receipt.schema.json diff --git a/shared-data/schemas/famm_braidstorm_sidon_crossing_receipt.schema.json b/shared-data/schemas/famm_braidstorm_sidon_crossing_receipt.schema.json new file mode 100644 index 00000000..17a8ca37 --- /dev/null +++ b/shared-data/schemas/famm_braidstorm_sidon_crossing_receipt.schema.json @@ -0,0 +1,36 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "FAMM BraidStorm Sidon Crossing Receipt", + "type": "object", + "required": [ + "receipt_type", + "schema_version", + "strand_count_requested", + "strand_count_labeled", + "address_budget", + "address_mode", + "labels", + "validation", + "famm", + "nuvmap", + "receipt_hash" + ], + "properties": { + "receipt_type": {"const": "famm_braidstorm_sidon_crossing_receipt"}, + "schema_version": {"type": "string"}, + "problem": {"type": "string"}, + "strand_count_requested": {"type": "integer"}, + "strand_count_labeled": {"type": "integer"}, + "address_budget": {"type": "integer"}, + "address_mode": {"type": "string"}, + "allow_self_crossings": {"type": "boolean"}, + "constructed_by_runner": {"type": "boolean"}, + "labels": {"type": "array", "items": {"type": "integer"}}, + "capacity": {"type": "object"}, + "validation": {"type": "object"}, + "famm": {"type": "object"}, + "nuvmap": {"type": "object"}, + "no_drift_boundary": {"type": "string"}, + "receipt_hash": {"type": "string"} + } +}