Space Context · Schema

ScanCreateRequest

Home InventoryReal EstateInsuranceAI AgentsFacilities

Properties

Name Type Description
input object
View JSON Schema on GitHub

JSON Schema

spacecontext-app-scan-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spacecontext-app/json-schema/spacecontext-app-scan-create-request-schema.json",
  "title": "ScanCreateRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spacecontext-app-openapi.json#/components/schemas/ScanCreateRequest",
  "type": "object",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "kind"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "frames",
            "video"
          ]
        },
        "language": {
          "type": "string",
          "enum": [
            "en",
            "it",
            "es",
            "fr",
            "de",
            "pt",
            "nl"
          ],
          "default": "en",
          "description": "The language the report is written in: area and item names, descriptions, issues, instructions, facts, questions and answers (`en` English, `it` Italian, `es` Spanish, `fr` French, `de` German, `pt` Portuguese, `nl` Dutch). Portuguese is written as in Brazil. The narration can be in any language. Spaces scanned with the iPhone app are in `en` or `it`."
        },
        "frames": {
          "type": "array",
          "minItems": 1,
          "maxItems": 120,
          "items": {
            "type": "object",
            "properties": {
              "timestamp_ms": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              }
            }
          }
        },
        "video": {
          "type": "object",
          "required": [
            "content_type",
            "content_length"
          ],
          "properties": {
            "content_type": {
              "type": "string",
              "enum": [
                "video/mp4",
                "video/quicktime",
                "video/x-m4v",
                "video/3gpp",
                "video/webm",
                "video/x-matroska",
                "video/matroska"
              ],
              "description": "The container of the file: MP4, MOV, M4V or 3GP (H.264, HEVC 8 or 10 bit, AV1, ProRes, MPEG-4 part 2, H.263; AAC, Opus, PCM, AMR or no audio; any frame rate; rotation metadata applied, fragmented MP4 included), WebM or Matroska. A WebM recorded in a browser (MediaRecorder) states no duration: where the API reads videos with its own ffmpeg (`limits.max_video_bytes` of `GET /v1` above 100 MiB) its length is measured and it is read like any other; elsewhere it fails with `VIDEO_UNREADABLE`, not charged (remux it first: `ffmpeg -i in.webm -c copy out.webm`). Any other type is refused here with 400 `INVALID_CONTENT_TYPE`."
            },
            "content_length": {
              "type": "integer",
              "minimum": 1,
              "maximum": 4294967296,
              "description": "The size of the file in bytes. Up to 4294967296 (4 GiB) where the API reads videos with its own ffmpeg ingest, 104857600 (100 MiB) otherwise; `limits.max_video_bytes` of `GET /` says which. A test scan takes at most 99614720 (95 MiB): it uploads through the API. Larger is refused here with 400 `VALIDATION_ERROR`. Above 99614720 (95 MiB) the video can only be sent to the direct upload link (`upload.url`)."
            }
          }
        },
        "transcript": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "text": {
              "type": [
                "string",
                "null"
              ]
            },
            "segments": {
              "type": "array",
              "maxItems": 600,
              "items": {
                "type": "object",
                "required": [
                  "start_ms",
                  "end_ms",
                  "text"
                ],
                "properties": {
                  "start_ms": {
                    "type": "integer"
                  },
                  "end_ms": {
                    "type": "integer"
                  },
                  "text": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "recorded_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "device": {
          "type": [
            "string",
            "null"
          ]
        },
        "duration_seconds": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/spacecontext-app-scan-create-request"
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.