Properties
| Name | Type | Description |
|---|---|---|
| object | string | |
| schema_version | string | |
| space | object | |
| scan | object | |
| enrichment | object | |
| summary | stringnull | |
| confidence | numbernull | |
| stats | object | |
| features | array | |
| areas | array | |
| items | array | |
| issues | array | |
| key_locations | array | |
| instructions | array | |
| facts | array | |
| qa | array | |
| transcript | object | |
| frames | array | |
| continuity | object | |
| coverage | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/spacecontext-app/json-schema/spacecontext-app-space-document-schema.json",
"title": "SpaceDocument",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/spacecontext-app-openapi.json#/components/schemas/SpaceDocument",
"type": "object",
"required": [
"object",
"schema_version",
"space",
"scan",
"enrichment",
"summary",
"confidence",
"stats",
"features",
"areas",
"items",
"issues",
"key_locations",
"instructions",
"facts",
"qa",
"frames",
"continuity",
"coverage"
],
"properties": {
"object": {
"type": "string",
"enum": [
"space_document"
]
},
"schema_version": {
"type": "string",
"enum": [
"1.0"
]
},
"space": {
"type": "object",
"required": [
"id",
"source",
"name",
"description",
"space_type",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "string",
"pattern": "^(app|spc)_"
},
"source": {
"type": "string",
"enum": [
"app",
"api"
]
},
"name": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"space_type": {
"$ref": "#/$defs/SpaceType"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
},
"scan": {
"type": "object",
"required": [
"id",
"analyzed_at",
"recorded_at",
"duration_seconds",
"device",
"video_sha256",
"frame_count"
],
"properties": {
"id": {
"type": "string",
"pattern": "^scn_"
},
"analyzed_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"recorded_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"duration_seconds": {
"type": [
"number",
"null"
]
},
"device": {
"type": [
"string",
"null"
]
},
"video_sha256": {
"type": [
"string",
"null"
]
},
"frame_count": {
"type": [
"integer",
"null"
]
}
}
},
"enrichment": {
"type": "object",
"required": [
"level",
"status",
"updated_at"
],
"properties": {
"level": {
"type": "string",
"enum": [
"base",
"deep"
]
},
"status": {
"type": "string",
"enum": [
"not_requested",
"pending",
"complete",
"failed"
]
},
"updated_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
},
"summary": {
"type": [
"string",
"null"
]
},
"confidence": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
},
"stats": {
"type": "object",
"required": [
"areas",
"items",
"issues",
"key_locations",
"instructions",
"facts"
],
"properties": {
"areas": {
"type": "integer"
},
"items": {
"type": "integer"
},
"issues": {
"type": "integer"
},
"key_locations": {
"type": "integer"
},
"instructions": {
"type": "integer"
},
"facts": {
"type": "integer"
}
}
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"areas": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceArea"
}
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceItem"
}
},
"issues": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceIssue"
}
},
"key_locations": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceKeyLocation"
}
},
"instructions": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceInstruction"
}
},
"facts": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceFact"
}
},
"qa": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceQA"
}
},
"transcript": {
"type": "object",
"required": [
"text",
"segments"
],
"properties": {
"text": {
"type": [
"string",
"null"
]
},
"segments": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceTranscriptSegment"
}
}
}
},
"frames": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceFrame"
}
},
"continuity": {
"anyOf": [
{
"$ref": "#/$defs/SpaceContinuity"
},
{
"type": "null"
}
]
},
"coverage": {
"type": "object",
"required": [
"warnings",
"not_documented",
"checklist"
],
"properties": {
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"not_documented": {
"type": "array",
"items": {
"type": "string"
}
},
"checklist": {
"type": "array",
"description": "Key locations every frame was checked for, seen or not: those of the space's type (`GET /capture-profiles`), in their order. Empty when the frames were not checked.",
"items": {
"$ref": "#/$defs/SpaceCoverageCheck"
}
}
}
}
},
"$defs": {
"AreaType": {
"type": "string",
"enum": [
"entrance",
"hallway",
"living_room",
"kitchen",
"dining_room",
"bedroom",
"bathroom",
"laundry",
"office",
"storage",
"garage",
"balcony_terrace",
"garden_exterior",
"stairs",
"technical_room",
"sales_floor",
"warehouse_floor",
"vehicle_cabin",
"vehicle_exterior",
"engine_bay",
"boat_deck",
"boat_cabin",
"appliance_view",
"other"
]
},
"ConditionCode": {
"type": "string",
"enum": [
"new",
"excellent",
"good",
"fair",
"poor",
"damaged",
"not_working",
"unknown"
]
},
"FactKind": {
"type": "string",
"enum": [
"access",
"wifi",
"rule",
"contact",
"schedule",
"quirk",
"measurement",
"history",
"other"
]
},
"IssueCategory": {
"type": "string",
"enum": [
"damage",
"wear",
"malfunction",
"missing",
"cleanliness",
"safety",
"maintenance",
"other"
]
},
"IssueSeverity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
},
"ItemCategory": {
"type": "string",
"enum": [
"furniture",
"appliance",
"electronics",
"lighting",
"fixture",
"kitchenware",
"textile",
"decor",
"storage",
"tool",
"safety",
"utility",
"climate",
"plumbing",
"document",
"consumable",
"vehicle_part",
"structural",
"other"
]
},
"KeyLocationKind": {
"type": "string",
"enum": [
"electrical_panel",
"water_shutoff",
"gas_shutoff",
"water_heater",
"heating_control",
"air_conditioning_control",
"router",
"fire_extinguisher",
"smoke_detector",
"first_aid",
"emergency_exit",
"keys",
"waste_recycling",
"electricity_meter",
"gas_meter",
"water_meter",
"alarm_panel",
"spare_supplies",
"identification_plate",
"instrument_panel",
"engine_bay",
"spare_wheel",
"safety_equipment",
"battery_isolator",
"bilge_pump",
"seacock",
"fuel_shutoff",
"water_tank",
"sprinkler_valve",
"control_panel",
"filter",
"utility_connections",
"other"
]
},
"PlacementRelation": {
"type": "string",
"enum": [
"on",
"inside",
"under",
"above",
"below",
"left_of",
"right_of",
"in_front_of",
"behind",
"opposite",
"beside",
"unknown"
],
"description": "How a thing sits against its anchor. `left_of`, `right_of`, `in_front_of`, `behind` and `opposite` hold only from the placement's `viewpoint`; the others hold from anywhere. `unknown`: the recording does not show where it is."
},
"SpaceArea": {
"type": "object",
"required": [
"id",
"name",
"type",
"level",
"condition",
"description",
"layout",
"orientation",
"features",
"access_from",
"item_ids",
"issue_ids",
"evidence",
"confidence"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"anyOf": [
{
"$ref": "#/$defs/AreaType"
},
{
"type": "null"
}
]
},
"level": {
"type": [
"string",
"null"
]
},
"condition": {
"$ref": "#/$defs/SpaceCondition"
},
"description": {
"type": [
"string",
"null"
]
},
"layout": {
"type": [
"string",
"null"
]
},
"orientation": {
"type": [
"string",
"null"
],
"description": "One sentence that places the main fixed things of the area from its canonical viewpoint (facing the entrance door from inside for an entrance or hallway; standing in the doorway one enters it from, looking in, for any other area): \"Coming in from the hallway: window ahead, bed on the left, desk on the right.\" Null when the recording does not show enough, and always null at the base level."
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"access_from": {
"type": "array",
"items": {
"type": "string"
}
},
"item_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"issue_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"evidence": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
},
"confidence": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
}
}
},
"SpaceCondition": {
"type": "object",
"required": [
"code",
"label",
"notes"
],
"properties": {
"code": {
"$ref": "#/$defs/ConditionCode"
},
"label": {
"type": [
"string",
"null"
],
"description": "The label as written in the language of the report (\"Good\", \"Buono\", \"Bueno\", \"Gut\"...); `code` is the same in every language."
},
"notes": {
"type": [
"string",
"null"
]
}
}
},
"SpaceContinuity": {
"type": "object",
"description": "How this scan was checked against the scan before it. Items and issues seen again carry `previous_item_id` / `previous_issue_id`; what is gone is listed only when a frame of this scan shows the place where it was. A previous record that is neither linked nor listed was not seen: it may be gone, or simply not filmed.",
"required": [
"previous_scan_id",
"absent_items",
"resolved_issues"
],
"properties": {
"previous_scan_id": {
"type": "string",
"pattern": "^scn_"
},
"absent_items": {
"type": "array",
"items": {
"type": "object",
"required": [
"item_id",
"name",
"note",
"evidence"
],
"properties": {
"item_id": {
"type": "string",
"description": "Id in the previous scan."
},
"name": {
"type": "string",
"description": "Its name in the previous scan."
},
"note": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "array",
"description": "Frames of this scan that show the place.",
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
}
}
}
},
"resolved_issues": {
"type": "array",
"items": {
"type": "object",
"required": [
"issue_id",
"title",
"note",
"evidence"
],
"properties": {
"issue_id": {
"type": "string",
"description": "Id in the previous scan."
},
"title": {
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
}
}
}
}
}
},
"SpaceCoverageCheck": {
"type": "object",
"required": [
"kind",
"seen",
"probability",
"evidence"
],
"properties": {
"kind": {
"$ref": "#/$defs/KeyLocationKind"
},
"seen": {
"type": "boolean",
"description": "At least one frame shows it (probability from 0.7)."
},
"probability": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "The highest probability over the frames."
},
"evidence": {
"type": "array",
"maxItems": 3,
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
}
}
},
"SpaceEvidenceRef": {
"type": "object",
"required": [
"frame_id",
"timestamp_ms"
],
"properties": {
"frame_id": {
"type": "string"
},
"timestamp_ms": {
"type": [
"integer",
"null"
]
}
}
},
"SpaceFact": {
"type": "object",
"required": [
"id",
"kind",
"statement",
"value",
"area_id",
"sensitive",
"redacted",
"transcript_segment_ids",
"evidence",
"confidence"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"$ref": "#/$defs/FactKind"
},
"statement": {
"type": "string"
},
"value": {
"type": [
"string",
"null"
]
},
"area_id": {
"type": [
"string",
"null"
]
},
"sensitive": {
"type": "boolean"
},
"redacted": {
"type": "boolean"
},
"transcript_segment_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"evidence": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
},
"confidence": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
}
}
},
"SpaceFrame": {
"type": "object",
"required": [
"id",
"index",
"timestamp_ms",
"url",
"url_expires_at"
],
"properties": {
"id": {
"type": "string"
},
"index": {
"type": "integer"
},
"timestamp_ms": {
"type": [
"integer",
"null"
]
},
"url": {
"type": [
"string",
"null"
],
"format": "uri"
},
"url_expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
},
"SpaceInstruction": {
"type": "object",
"required": [
"id",
"title",
"area_id",
"item_id",
"steps",
"source_quote",
"transcript_segment_ids",
"confidence"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"area_id": {
"type": [
"string",
"null"
]
},
"item_id": {
"type": [
"string",
"null"
]
},
"steps": {
"type": "array",
"items": {
"type": "string"
}
},
"source_quote": {
"type": [
"string",
"null"
]
},
"transcript_segment_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"confidence": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
}
}
},
"SpaceIssue": {
"type": "object",
"required": [
"id",
"area_id",
"item_id",
"title",
"description",
"category",
"severity",
"suggested_action",
"previous_issue_id",
"evidence",
"verification",
"confidence"
],
"properties": {
"id": {
"type": "string"
},
"area_id": {
"type": [
"string",
"null"
]
},
"item_id": {
"type": [
"string",
"null"
]
},
"title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"category": {
"anyOf": [
{
"$ref": "#/$defs/IssueCategory"
},
{
"type": "null"
}
]
},
"severity": {
"anyOf": [
{
"$ref": "#/$defs/IssueSeverity"
},
{
"type": "null"
}
]
},
"suggested_action": {
"type": [
"string",
"null"
]
},
"previous_issue_id": {
"type": [
"string",
"null"
],
"description": "The same issue in the previous scan, still there."
},
"evidence": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
},
"verification": {
"anyOf": [
{
"$ref": "#/$defs/SpaceVerification"
},
{
"type": "null"
}
],
"description": "Checked again on its frames. Null at the base level, on documents made before verification existed, and where it could not be computed."
},
"confidence": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
}
}
},
"SpaceItem": {
"type": "object",
"required": [
"id",
"area_id",
"name",
"canonical_name",
"description",
"category",
"subcategory",
"quantity",
"location",
"placement",
"condition",
"brand",
"model",
"attributes",
"visible_text",
"aliases",
"note",
"issue_ids",
"previous_item_id",
"evidence",
"verification",
"confidence"
],
"properties": {
"id": {
"type": "string"
},
"area_id": {
"type": "string"
},
"name": {
"type": "string"
},
"canonical_name": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
],
"description": "What it is, where it is with the viewpoint, what was said about it (use, settings, quirks, what to watch out for), its condition when notable, in one paragraph of 1-3 sentences in the report language. Never a sensitive value. Null at the base level and on app spaces."
},
"category": {
"anyOf": [
{
"$ref": "#/$defs/ItemCategory"
},
{
"type": "null"
}
]
},
"subcategory": {
"type": [
"string",
"null"
]
},
"quantity": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"location": {
"type": [
"string",
"null"
],
"description": "Where it is inside the area, as one sentence that carries the viewpoint when left and right matter: \"on the wall left of the entrance door, facing the door from inside; on your right as you enter\"."
},
"placement": {
"anyOf": [
{
"$ref": "#/$defs/SpacePlacement"
},
{
"type": "null"
}
],
"description": "The same place as anchor + relation + viewpoint. Null at the base level and on app spaces."
},
"condition": {
"anyOf": [
{
"$ref": "#/$defs/SpaceCondition"
},
{
"type": "null"
}
]
},
"brand": {
"type": [
"string",
"null"
]
},
"model": {
"type": [
"string",
"null"
]
},
"attributes": {
"type": "array",
"items": {
"type": "string"
}
},
"visible_text": {
"type": "array",
"items": {
"type": "string"
}
},
"aliases": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": [
"string",
"null"
]
},
"issue_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"previous_item_id": {
"type": [
"string",
"null"
],
"description": "The same object in the previous scan (`continuity.previous_scan_id`), when this scan was checked against it."
},
"evidence": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
},
"verification": {
"anyOf": [
{
"$ref": "#/$defs/SpaceVerification"
},
{
"type": "null"
}
],
"description": "Checked again on its frames. Null at the base level, on documents made before verification existed, and where it could not be computed."
},
"confidence": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
}
}
},
"SpaceKeyLocation": {
"type": "object",
"required": [
"id",
"kind",
"label",
"description",
"area_id",
"location",
"placement",
"notes",
"evidence",
"verification",
"confidence"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"$ref": "#/$defs/KeyLocationKind"
},
"label": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
],
"description": "What it is, where it is with the viewpoint, what was said about it (how to reach or operate it, what to watch out for), its condition when notable, in one paragraph. Never a code or a password. Null at the base level and on app spaces."
},
"area_id": {
"type": [
"string",
"null"
]
},
"location": {
"type": [
"string",
"null"
],
"description": "Specific enough to walk straight to it, with the viewpoint when left and right matter."
},
"placement": {
"anyOf": [
{
"$ref": "#/$defs/SpacePlacement"
},
{
"type": "null"
}
],
"description": "The same place as anchor + relation + viewpoint. Null at the base level and on app spaces."
},
"notes": {
"type": [
"string",
"null"
]
},
"evidence": {
"type": "array",
"items": {
"$ref": "#/$defs/SpaceEvidenceRef"
}
},
"verification": {
"anyOf": [
{
"$ref": "#/$defs/SpaceVerification"
},
{
"type": "null"
}
],
"description": "Checked again on its frames. Null at the base level, on documents made before verification existed, and where it could not be computed."
},
"confidence": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1
}
}
},
"SpacePlacement": {
"type": "object",
"description": "Where a thing is, as anchor + relation + viewpoint, so that a person or an agent can orient themselves (\"on the wall left of the entrance door, facing the door from inside\"). `location` on the same record is this placement written as one sentence in the report language.",
"required": [
"anchor",
"anchor_item_id",
"relation",
"viewpoint",
"detail"
],
"properties": {
"anchor": {
"type": [
"string",
"null"
],
"description": "A fixed landmark the thing is placed against: a door, a window, the hob, a radiator. Never the thing itself."
},
"anchor_item_id": {
"type": [
"string",
"null"
],
"description": "The id of the item in this document that is the anchor, when the anchor is one of its items."
},
"relation": {
"$ref": "#/$defs/PlacementRelation"
},
"viewpoint": {
"type": [
"string",
"null"
],
"description": "Where a person stands and what they face for the relation to hold (\"inside the flat, facing the entrance door\"). Always set for a lateral relation. One canonical viewpoint per area: facing the entrance door from inside for an entrance or hallway, standing in the doorway one enters it from and looking in for any other area. An agent describing the place to someone mirrors left and right only when it knows that person's own viewpoint; otherwise it repeats this one."
},
"detail": {
"type": [
"string",
"null"
],
"description": "Height, the part of the anchor, or a second anchor: \"at chest height, above the shoe rack\"."
}
}
},
"SpaceQA": {
"type": "object",
"required": [
"id",
"question",
"answer",
"source",
"category",
"area_id"
],
"properties": {
"id": {
"type": "string"
},
"question": {
"type": "string"
},
"answer": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"owner",
"generated"
]
},
"category": {
"type": [
"string",
"null"
]
},
"area_id": {
"type": [
"string",
"null"
]
}
}
},
"SpaceTranscriptSegment": {
"type": "object",
"required": [
"id",
"start_ms",
"end_ms",
"text"
],
"properties": {
"id": {
"type": "string"
},
"start_ms": {
"type": "integer"
},
"end_ms": {
"type": "integer"
},
"text": {
"type": "string"
}
}
},
"SpaceType": {
"type": [
"string",
"null"
],
"enum": [
"apartment",
"house",
"office",
"warehouse",
"vehicle",
"boat",
"camper",
"shop",
"garage",
"appliance",
"other",
null
]
},
"SpaceVerification": {
"type": "object",
"description": "The record checked again on the frames it cites, by a second model that answers closed questions with probabilities and never writes text. `verified`: one of its frames clearly shows it (probability 0.7 or more); `unconfirmed`: its frames were checked and none clearly does, so treat it as uncertain; `not_visual`: nothing a photo could confirm (it comes from the narration, or states a fault or something missing).",
"required": [
"status",
"probability",
"frame_id"
],
"properties": {
"status": {
"type": "string",
"enum": [
"verified",
"unconfirmed",
"not_visual"
]
},
"probability": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 1,
"description": "Best probability over the frames checked. Null for `not_visual`."
},
"frame_id": {
"type": [
"string",
"null"
],
"description": "The frame that shows it best; it i
# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/spacecontext-app/json-schema/spacecontext-app-space-document-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/spacecontext-app-space-document"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.