{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/portravo-com/json-schema/portravo-com-extraction-result-schema.json",
  "title": "ExtractionResult",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/portravo-com-openapi.json#/components/schemas/ExtractionResult",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    },
    "lines": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of extracted lines; read getOwnedTakeoff to retrieve the lines themselves."
    },
    "sheets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Sheet labels seen in the plan, not a sheet count."
    },
    "scopeNotes": {
      "type": "string"
    }
  },
  "required": [
    "ok",
    "lines",
    "sheets",
    "scopeNotes"
  ]
}