SpaceSpec™ v0.1
Validate built-world spatial clearance checks, buyer-brief handoffs, and building-product compliance envelopes against one open Draft 2020-12 JSON Schema spanning residential (kjhx:), procurement (bts:), and regulatory (rs:) domains.
https://spacespec.org/schema/0.1/spacespec.json
did:web:reshelling.ai
Pending IP clearance gate
Core Envelope & Domain Namespaces
SpaceSpec™ v0.1 uses strict finite JSON (rejecting NaN and Infinity) with zero category hardcoding. Shared physical fields live at the root, while domain metadata stays isolated in optional namespaces.
| Namespace / Block | Purpose | Boundary Rules |
|---|---|---|
| Core root fields | spec_id, schema_version, version, subject_kind, category_key, jurisdictions, quantity_key, unit, physical_anchor, uncertainty_envelope, measurement_provenance, issuer_did, issuer_key_id, verdict_state, measurements[], evidence_refs[]. |
Required across all domains. Catalog-driven category_key avoids single-category lock-in. |
kjhx: |
Residential interior spatial measurements, depth capture source (physical_tape_laser, mobile_lidar, monocular_depth_anchored, cad_drawing), scale calibration flag, and installation receipt status. |
Minimal public field set. Specific street addresses, apartment numbers, and raw notes are stripped from public view=basic outputs. |
bts: |
Cross-border buyer-brief intake and handoff context (handoff_schema_version, request_id, case_id, country, category, action_label_4tier). |
Retains independent 4-tier triage labels (continue_investigating, clarify_first, defer, not_fit_current_path); never forced into three-tier Spec Pass verdicts. |
rs: |
Regulatory pre-verification governance and test-report envelope summary (profile_id, profile_sha256, calibration_status, reviewer_registry_status, market counts, evaluation pack digests). |
Strictly pre-verification metadata. Public view=basic redacts raw lab report numbers, specimen dimensions, and proprietary component identifiers. |
extensions |
Controlled dictionary requiring key format ^[a-z][a-z0-9_-]{1,24}:[A-Za-z0-9_.:-]+$ for forward compatibility (for example, future eu_dpp:* mappings under Regulation (EU) 2024/3110). |
External statutory DPP registry integration remains out of scope until delegated acts for the applicable construction product families take effect. |
Canonical spacespec/0.1 Example (Public Basic View)
{
"schema_version": "spacespec/0.1",
"spec_id": "sspec-a9f3c210e48b1d7042f1",
"version": "0.1.0",
"subject_kind": "building_assembly_system",
"category_key": "fire_door_assembly_system",
"jurisdictions": ["HK", "UK"],
"quantity_key": "fire_resistance_integrity",
"unit": "min",
"physical_anchor": {
"anchor_kind": "specimen_baseline",
"anchor_id": "profile:[email protected]",
"reference_datum": "fire_door_assembly_system",
"specimen_scope_type": "full_assembly_system",
"originals_verified": false,
"scale_calibrated": false,
"calibration_unit": "mm"
},
"uncertainty_envelope": {
"envelope_kind": "specimen_extension_envelope",
"profile_id": "ENV-FIRE-DOOR-BSEN-DCD-V1",
"profile_version": "1.0.0",
"profile_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"calibration_status": "software_candidate_heuristic",
"tolerance_unit": "mm",
"clearance_margin_applied": false,
"envelope_verdict": "envelope_deviation",
"checked_rule_count": 12,
"deviation_count": 1,
"missing_input_count": 0
},
"measurement_provenance": {
"source_kind": "deterministic_rule_engine",
"engine_version": "rulespan-norm-graph/0.3.0",
"as_of": "2026-12-04",
"ml_inference_used": false,
"ocr_used": false
},
"issuer_did": "did:web:reshelling.ai",
"issuer_key_id": "did:web:reshelling.ai#rs-signing-2026-01",
"verdict_state": "FAIL",
"measurements": [
{
"quantity_key": "mortise_lockset_coverage",
"label": "Hardware lockset coverage in full-assembly report",
"unit": null,
"family": "hardware_binding",
"extension_rule": "exact_listed_model_or_exap",
"status": "deviation",
"is_binding_key": true
}
],
"evidence_refs": [
{
"ref_id": "edition:bs-en-1634-1-2014-a1-2018",
"ref_kind": "standard_edition",
"jurisdiction": "UK",
"edition_id": "bs-en-1634-1-2014-a1-2018",
"status": "referenced"
}
],
"rs": {
"profile_id": "ENV-FIRE-DOOR-BSEN-DCD-V1",
"profile_version": "1.0.0",
"profile_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"taxonomy_node_id": "fire_door_assembly_system",
"performance_domain": "fire_resistance",
"category_label": "Fire Door Assemblies",
"calibration_status": "software_candidate_heuristic",
"reviewer_registry_status": "empty_pending_pm",
"roster_kind": "jurisdiction_licensed_specialist",
"registered_reviewers": 0,
"unsigned_warning": true,
"evaluated_market_count": 2,
"markets_pass": 0,
"markets_fail": 1,
"markets_reverify": 1
},
"bts": {
"handoff_schema_version": "bts.handoff/0.1",
"country": "HK",
"category": "fire_door_assembly_system",
"action_label_4tier": "clarify_first",
"project_context_status": "public_illustrative_example"
},
"extensions": {}
}
Deterministic Geometry & Three-Tier Verdict Semantics
Every spatial clearance check and compliance evaluation projects into one of three bounded verdict states. Implementations must never emit unqualified fit promises or claim equivalence with statutory laboratory certification.
verdict_state |
Residential Clearance Label | Issuance Criteria & Mandatory Boundaries |
|---|---|---|
| PASS | Clearance OK | Geometry or assembly parameters sit inside the stated envelope with a calibrated physical anchor. For regulatory Spec Pass issuance, every participating rule must be signed by a registered jurisdiction specialist (expert_signed_active) and originals_verified must be true. Candidate software heuristics must never emit an unqualified PASS. |
| REVERIFY_REQUIRED | Borderline — Re-measure Required | Margin is close to tolerance, required dimensions or original test reports are missing, rules are still in preliminary software candidate status, or site conditions (skirting, wall plumbness, floor flatness) require human verification before proceeding. |
| FAIL | Not Recommended | Confirmed envelope deviation, insufficient operating clearance, or invalid component substitution such as presenting a standalone hardware or material paper in place of a full-assembly fire test report. |
Verification & Cryptographic Trust Root
SpaceSpec™ documents are verified offline using standard W3C did:web resolution and RFC 8037 Ed25519 signatures keyed by kid, avoiding private blockchains or proprietary identity networks.
- Public DID Document
- Resolved from read-only static JSON-LD at https://reshelling.ai/.well-known/did.json ↗ using
JsonWebKey2020and OKPEd25519public keys only. Private key material (d) is never published or committed to version control. - Two-Tier Key Hierarchy
- An offline root key (
#root-1, roleoffline_root) signs only key-delegation assertions and is never listed inassertionMethod. Offline verifiers reject any payload signed directly by the root key. Rotatable online product keys (such as#rs-signing-YYYY-MMand#kjhx-signing-YYYY-MM) sign payloads and fail closed immediately upon revocation. - Issuance Authority
- External partner API keys never possess signing or issuance authority (strictly rejected with HTTP
403). - Dual-View Disclosure
- Public
view=basiclinks expose non-sensitive verdicts, tolerance metadata, and signature proofs without login. Full evidence vaults (view=full) require approval-gated header tokens (never URL query parameters) and bind a 128-bit saltedevidence_vault_sha256into signed claims so any single-byte modification breaks offline verification.
Ed25519 signing keys will activate after the P2 offline root key ceremony. Until that ceremony completes, https://reshelling.ai/.well-known/did.json serves an explicit pre-production-placeholder document with no active keys.
Licensing & Intellectual Property Boundary
The planned lightweight open-source reference shell for SpaceSpec™ v0.1 is scoped under the BSD 3-Clause License paired with an explicit non-grant of patent, design, and trademark rights.
Open-Source Repository Status
Pending IP clearance gate — schema preview published first. The public reference repository URL will be published only after all patent clearance gates and legal reviews are finalized.
Explicit IP Non-Grant Notice
No license is granted under any invention patent, utility model, industrial design patent, or trademark (including SpaceSpec™ and Reshelling™) by the publication of this specification, its JSON Schema, or any subsequent BSD-3-Clause reference code.
BSD 3-Clause License (Target Reference Shell Notice)
Copyright (c) 2026, Beijing Kaiwu Chengshi Technology Co., Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
NO PATENT, DESIGN, OR TRADEMARK LICENSE:
Nothing in this license grants any license or right under any invention
patent, utility model, industrial design patent, or trademark owned or
controlled by Beijing Kaiwu Chengshi Technology Co., Ltd.