{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flyreel/json-schema/flyreel-v2-get-inspection-by-id-response-dto-schema.json",
  "title": "V2GetInspectionByIdResponseDto",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flyreel-openapi.yml#/components/schemas/V2GetInspectionByIdResponseDto",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string"
    },
    "first_name": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "phone": {
      "type": "string"
    },
    "invalid_email": {
      "type": "boolean"
    },
    "suppress_notifications": {
      "type": "boolean"
    },
    "business": {
      "description": "Business information. Required for commercial bots and not allowed for residential bots",
      "allOf": [
        {
          "$ref": "#/$defs/BusinessInfo"
        }
      ]
    },
    "policy_id": {
      "type": "string",
      "description": "Required for underwriting flyreels"
    },
    "policy_type": {
      "type": "string",
      "description": "Policy type"
    },
    "claim_number": {
      "type": "string",
      "description": "Required for claims flyreels"
    },
    "flyreel_type": {
      "type": "string",
      "enum": [
        "inspection",
        "home_review",
        "claim",
        "unknown"
      ]
    },
    "expiration": {
      "type": "string",
      "format": "date-time"
    },
    "carrier_expiration": {
      "type": "string",
      "format": "date-time"
    },
    "review_completed": {
      "type": "string",
      "format": "date-time"
    },
    "address1": {
      "type": "string"
    },
    "address2": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "description": "State/province code"
    },
    "zip_code": {
      "type": "string"
    },
    "country": {
      "type": "string",
      "enum": [
        "US",
        "CA"
      ]
    },
    "timezone": {
      "$ref": "#/$defs/V2Timezone"
    },
    "status": {
      "type": "string"
    },
    "agent_name": {
      "type": "string"
    },
    "agent_email": {
      "type": "string",
      "format": "email"
    },
    "agent_phone": {
      "type": "string"
    },
    "custom_fields": {
      "$ref": "#/$defs/V2InspectionCustomFields"
    },
    "meta": {
      "$ref": "#/$defs/V2InspectionMeta"
    },
    "carrier": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "insightsCount": {
      "type": "integer"
    },
    "criticalDetectionsCount": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "manualFlyreel": {
      "type": "boolean",
      "default": false,
      "description": "Indicates if the inspection was created without a customer email"
    },
    "activation": {
      "$ref": "#/$defs/V2InspectionActivation"
    },
    "conversation": {
      "$ref": "#/$defs/V2Conversation_Populated"
    },
    "location": {
      "$ref": "#/$defs/V2Location"
    },
    "ordered_location": {
      "$ref": "#/$defs/V2Location"
    },
    "detected_address": {
      "type": "string"
    },
    "estated": {
      "description": "Property data from Estated API",
      "oneOf": [
        {
          "$ref": "#/$defs/EstatedProperties"
        },
        {
          "$ref": "#/$defs/V3EstatedProperties"
        }
      ]
    },
    "reviewer": {
      "type": "string"
    },
    "review_started": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "flyreel_completed": {
      "type": "boolean"
    },
    "contact_log": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/V2ContactLog"
      }
    },
    "last_contacted": {
      "type": "string",
      "format": "date-time"
    },
    "sha1": {
      "type": "string"
    },
    "expiration_localized": {
      "type": "string"
    },
    "notes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/V2Note"
      }
    },
    "insights": {
      "type": "array",
      "default": [],
      "items": {
        "$ref": "#/$defs/Insight"
      }
    },
    "criticalDetections": {
      "type": "object",
      "default": {},
      "description": "Record<string, string[]>",
      "additionalProperties": true
    },
    "follow_up": {
      "description": "The full follow-up inspection created from this inspection, if one exists.",
      "allOf": [
        {
          "$ref": "#/$defs/V2FollowUpInspection"
        }
      ]
    }
  },
  "required": [
    "_id",
    "first_name",
    "last_name",
    "email",
    "invalid_email",
    "expiration",
    "carrier_expiration",
    "address1",
    "city",
    "state",
    "zip_code",
    "country",
    "timezone",
    "status",
    "carrier",
    "code",
    "insightsCount",
    "criticalDetectionsCount",
    "createdAt",
    "updatedAt",
    "conversation",
    "sha1",
    "notes",
    "insights",
    "criticalDetections"
  ],
  "$defs": {
    "BusinessInfo": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Customer business name"
        },
        "email": {
          "type": "string",
          "description": "Customer business email"
        },
        "phone": {
          "type": "string",
          "description": "Customer business phone number - must be a valid phone number"
        }
      },
      "required": [
        "name",
        "email"
      ]
    },
    "EstatedAddress": {
      "type": "object",
      "properties": {
        "street_number": {
          "type": "string"
        },
        "street_pre_direction": {
          "type": "string"
        },
        "street_name": {
          "type": "string"
        },
        "street_suffix": {
          "type": "string"
        },
        "street_post_direction": {
          "type": "string"
        },
        "unit_type": {
          "type": "string"
        },
        "unit_number": {
          "type": "string"
        },
        "formatted_street_address": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip_code": {
          "type": "string"
        },
        "zip_code_plus_four": {
          "type": "string"
        },
        "carrier_code": {
          "type": "string"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "geocoding_accuracy": {
          "type": "string"
        },
        "census_tract": {
          "type": "string"
        }
      },
      "required": [
        "street_number",
        "street_pre_direction",
        "street_name",
        "street_suffix",
        "street_post_direction",
        "unit_type",
        "unit_number",
        "formatted_street_address",
        "city",
        "state",
        "zip_code",
        "zip_code_plus_four",
        "carrier_code",
        "latitude",
        "longitude",
        "geocoding_accuracy",
        "census_tract"
      ]
    },
    "EstatedAssessment": {
      "type": "object",
      "properties": {
        "year": {
          "type": "number"
        },
        "land_value": {
          "type": "number"
        },
        "improvement_value": {
          "type": "number"
        },
        "total_value": {
          "type": "number"
        }
      },
      "required": [
        "year",
        "land_value",
        "improvement_value",
        "total_value"
      ]
    },
    "EstatedBoundary": {
      "type": "object",
      "properties": {
        "wkt": {
          "type": "string"
        },
        "geojson": {
          "$ref": "#/$defs/EstatedGeoJson"
        }
      },
      "required": [
        "wkt",
        "geojson"
      ]
    },
    "EstatedDeeds": {
      "type": "object",
      "properties": {
        "document_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "recording_date": {
          "type": "string"
        },
        "original_contract_date": {
          "type": "string"
        },
        "deed_book": {
          "type": [
            "string",
            "null"
          ]
        },
        "deed_page": {
          "type": [
            "string",
            "null"
          ]
        },
        "document_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "sale_price": {
          "type": "number"
        },
        "sale_price_description": {
          "type": [
            "string",
            "null"
          ]
        },
        "transfer_tax": {
          "type": [
            "number",
            "null"
          ]
        },
        "distressed_sale": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "real_estate_owned": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller2_first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller2_last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_unit_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_city": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_state": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_zip_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller_zip_plus_four_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer2_first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer2_last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_address": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_unit_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_unit_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_city": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_state": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_zip_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "buyer_zip_plus_four_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "lender_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "lender_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "loan_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "loan_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "loan_due_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "loan_finance_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "loan_interest_rate": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "document_type",
        "recording_date",
        "original_contract_date",
        "deed_book",
        "deed_page",
        "document_id",
        "sale_price",
        "sale_price_description",
        "transfer_tax",
        "distressed_sale",
        "real_estate_owned",
        "seller_first_name",
        "seller_last_name",
        "seller2_first_name",
        "seller2_last_name",
        "seller_address",
        "seller_unit_number",
        "seller_city",
        "seller_state",
        "seller_zip_code",
        "seller_zip_plus_four_code",
        "buyer_first_name",
        "buyer_last_name",
        "buyer2_first_name",
        "buyer2_last_name",
        "buyer_address",
        "buyer_unit_type",
        "buyer_unit_number",
        "buyer_city",
        "buyer_state",
        "buyer_zip_code",
        "buyer_zip_plus_four_code",
        "lender_name",
        "lender_type",
        "loan_amount",
        "loan_type",
        "loan_due_date",
        "loan_finance_type",
        "loan_interest_rate"
      ]
    },
    "EstatedGeoJson": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "coordinates": {
          "type": "array",
          "items": {
            "type": "number"
          }
        }
      },
      "required": [
        "type",
        "coordinates"
      ]
    },
    "EstatedMetadata": {
      "type": "object",
      "properties": {
        "publishing_date": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "publishing_date"
      ]
    },
    "EstatedOwner": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "second_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit_type": {
          "type": "string"
        },
        "unit_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "formatted_street_address": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip_code": {
          "type": "string"
        },
        "zip_plus_four_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "owner_occupied": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "name",
        "second_name",
        "unit_type",
        "unit_number",
        "formatted_street_address",
        "city",
        "state",
        "zip_code",
        "zip_plus_four_code",
        "owner_occupied"
      ]
    },
    "EstatedParcel": {
      "type": "object",
      "properties": {
        "apn_original": {
          "type": "string"
        },
        "apn_unformatted": {
          "type": "string"
        },
        "apn_previous": {
          "type": [
            "string",
            "null"
          ]
        },
        "fips_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "frontage_ft": {
          "type": [
            "number",
            "null"
          ]
        },
        "depth_ft": {
          "type": [
            "number",
            "null"
          ]
        },
        "area_sq_ft": {
          "type": [
            "number",
            "null"
          ]
        },
        "area_acres": {
          "type": [
            "number",
            "null"
          ]
        },
        "county_name": {
          "type": "string"
        },
        "county_land_use_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "county_land_use_description": {
          "type": [
            "string",
            "null"
          ]
        },
        "standardized_land_use_category": {
          "type": "string"
        },
        "standardized_land_use_type": {
          "type": "string"
        },
        "location_descriptions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "zoning": {
          "type": "string"
        },
        "building_count": {
          "type": "number"
        },
        "tax_account_number": {
          "type": [
            "number",
            "null"
          ]
        },
        "legal_description": {
          "type": [
            "string",
            "null"
          ]
        },
        "lot_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "lot_number": {
          "type": [
            "number",
            "null"
          ]
        },
        "subdivision": {
          "type": "string"
        },
        "municipality": {
          "type": "string"
        },
        "section_township_range": {
          "type": "string"
        }
      },
      "required": [
        "apn_original",
        "apn_unformatted",
        "apn_previous",
        "fips_code",
        "frontage_ft",
        "depth_ft",
        "area_sq_ft",
        "area_acres",
        "county_name",
        "county_land_use_code",
        "county_land_use_description",
        "standardized_land_use_category",
        "standardized_land_use_type",
        "location_descriptions",
        "zoning",
        "building_count",
        "tax_account_number",
        "legal_description",
        "lot_code",
        "lot_number",
        "subdivision",
        "municipality",
        "section_township_range"
      ]
    },
    "EstatedProperties": {
      "type": "object",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/EstatedMetadata"
        },
        "addresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EstatedAddress"
          }
        },
        "parcel": {
          "$ref": "#/$defs/EstatedParcel"
        },
        "structure": {
          "$ref": "#/$defs/EstatedStructure"
        },
        "taxes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EstatedTax"
          }
        },
        "assessments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EstatedAssessment"
          }
        },
        "market_assessments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EstatedAssessment"
          }
        },
        "valuation": {
          "nullable": true,
          "allOf": [
            {
              "$ref": "#/$defs/EstatedValuation"
            }
          ]
        },
        "owner": {
          "$ref": "#/$defs/EstatedOwner"
        },
        "deeds": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EstatedDeeds"
          }
        },
        "boundary": {
          "$ref": "#/$defs/EstatedBoundary"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "version": {
          "type": "number"
        },
        "message": {
          "type": "string"
        },
        "lastCalled": {
          "type": "string"
        }
      },
      "required": [
        "taxes",
        "deeds",
        "warnings",
        "version"
      ]
    },
    "EstatedStructure": {
      "type": "object",
      "properties": {
        "year_built": {
          "type": "number"
        },
        "effective_year_built": {
          "type": "number"
        },
        "stories": {
          "type": "string"
        },
        "rooms_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "beds_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "baths": {
          "type": [
            "number",
            "null"
          ]
        },
        "partial_baths_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "units_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "parking_type": {
          "type": "string"
        },
        "parking_spaces_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "pool_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "architecture_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "construction_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "exterior_wall_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "foundation_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "roof_material_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "roof_style_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "heating_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "heating_fuel_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "air_conditioning_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "fireplaces": {
          "type": [
            "string",
            "null"
          ]
        },
        "basement_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "quality": {
          "type": [
            "string",
            "null"
          ]
        },
        "condition": {
          "type": [
            "string",
            "null"
          ]
        },
        "flooring_types": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "plumbing_fixtures_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "interior_wall_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "water_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "sewer_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "total_area_sq_ft": {
          "type": "number"
        },
        "other_areas": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EstatedStructureOtherArea"
          }
        },
        "other_rooms": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "other_features": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "other_improvements": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "amenities": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "year_built",
        "effective_year_built",
        "stories",
        "rooms_count",
        "beds_count",
        "baths",
        "partial_baths_count",
        "units_count",
        "parking_type",
        "parking_spaces_count",
        "pool_type",
        "architecture_type",
        "construction_type",
        "exterior_wall_type",
        "foundation_type",
        "roof_material_type",
        "roof_style_type",
        "heating_type",
        "heating_fuel_type",
        "air_conditioning_type",
        "fireplaces",
        "basement_type",
        "quality",
        "condition",
        "flooring_types",
        "plumbing_fixtures_count",
        "interior_wall_type",
        "water_type",
        "sewer_type",
        "total_area_sq_ft",
        "other_areas",
        "other_rooms",
        "other_features",
        "other_improvements",
        "amenities"
      ]
    },
    "EstatedStructureOtherArea": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "sq_ft": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "sq_ft"
      ]
    },
    "EstatedTax": {
      "type": "object",
      "properties": {
        "year": {
          "type": "number"
        },
        "amount": {
          "type": "number"
        },
        "exemptions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "rate_code_area": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "year",
        "amount",
        "exemptions",
        "rate_code_area"
      ]
    },
    "EstatedValuation": {
      "type": "object",
      "properties": {
        "value": {
          "type": "number"
        },
        "high": {
          "type": "number"
        },
        "low": {
          "type": "number"
        },
        "forecast_standard_deviation": {
          "type": "number"
        },
        "date": {
          "type": "string"
        }
      },
      "required": [
        "value",
        "high",
        "low",
        "forecast_standard_deviation",
        "date"
      ]
    },
    "Insight": {
      "type": "object",
      "properties": {
        "rule": {
          "$ref": "#/$defs/InsightRule"
        },
        "insightName": {
          "type": "string"
        }
      },
      "required": [
        "rule"
      ]
    },
    "InsightConditionProperties": {
      "type": "object",
      "properties": {
        "fact": {
          "type": "string"
        },
        "path": {
          "type": "string"
        },
        "operator": {
          "type": "string",
          "enum": [
            "equal",
            "notEqual",
            "in",
            "notIn",
            "contains",
            "doesNotContain",
            "containsAny",
            "notContainsAny",
            "lessThan",
            "lessThanInclusive",
            "greaterThan",
            "greaterThanInclusive",
            "anyLessThan",
            "anyGreaterThan",
            "includes",
            "doesNotInclude",
            "includesAny",
            "doesNotIncludeAny"
          ]
        },
        "value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "array",
              "items": {
                "type": "number"
              }
            }
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "answer-value",
            "select-one-answer-value",
            "select-multiple-answer-value",
            "answer-location",
            "bot",
            "customFields",
            "customer",
            "detection",
            "estated",
            "source7",
            "source7-appliance-age",
            "status",
            "property",
            "extensionGranted",
            "roof-imagery",
            "insightsCount"
          ]
        },
        "matchedValues": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "boolean"
              },
              {
                "type": "number"
              },
              {
                "type": "integer"
              }
            ]
          }
        },
        "matchedPaths": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InsightMatchedPath"
          }
        }
      },
      "required": [
        "fact",
        "operator",
        "value",
        "type",
        "matchedValues"
      ]
    },
    "InsightConditions": {
      "type": "object",
      "properties": {
        "all": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InsightConditionProperties"
          }
        },
        "any": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InsightConditionProperties"
          }
        }
      }
    },
    "InsightMatchedPath": {
      "type": "object",
      "properties": {
        "moduleId": {
          "type": "string"
        },
        "messageId": {
          "type": "string"
        },
        "answerId": {
          "type": "string"
        },
        "frameId": {
          "type": "string"
        },
        "detectionId": {
          "type": "string"
        }
      },
      "required": [
        "moduleId",
        "messageId"
      ]
    },
    "InsightRule": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "conditions": {
          "$ref": "#/$defs/InsightConditions"
        },
        "source": {
          "type": "string",
          "enum": [
            "insight_configs",
            "notification_rules"
          ]
        }
      },
      "required": [
        "_id",
        "name",
        "conditions"
      ]
    },
    "Location": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "coordinates": {
          "type": "array",
          "maxItems": 2,
          "minItems": 2,
          "description": "[lng, lat]",
          "items": {
            "type": "number"
          }
        }
      },
      "required": [
        "type",
        "coordinates"
      ]
    },
    "ManufactureDate": {
      "type": "object",
      "properties": {
        "year": {
          "type": "number"
        },
        "month": {
          "type": "number"
        },
        "age": {
          "type": "number"
        },
        "remaining_life": {
          "type": "number"
        }
      }
    },
    "PickTypeClass": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "media_source": {
          "type": "string"
        },
        "thumb_url": {
          "type": "string"
        },
        "detections": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "_id": {
                "type": "string"
              },
              "class": {
                "type": "string"
              }
            },
            "required": [
              "_id"
            ]
          }
        }
      },
      "required": [
        "_id"
      ]
    },
    "Product": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number"
        },
        "name": {
          "type": "string"
        },
        "fire": {
          "type": "boolean"
        },
        "water": {
          "type": "boolean"
        },
        "property-damage-risk": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "boolean"
            }
          ],
          "nullable": true
        },
        "product-eval": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "boolean"
            }
          ],
          "nullable": true
        },
        "url": {
          "$ref": "#/$defs/ProductUrl"
        },
        "url_slug": {
          "type": [
            "string",
            "null"
          ]
        },
        "sub_products": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "ProductBrand": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "ProductUrl": {
      "type": "object",
      "properties": {
        "property-damage-risk": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "boolean"
            }
          ],
          "nullable": true
        },
        "product-eval": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "boolean"
            }
          ],
          "nullable": true
        }
      }
    },
    "Recall": {
      "type": "object",
      "properties": {
        "date_added": {
          "type": "string"
        },
        "recall_number": {
          "type": "string"
        },
        "hazard": {
          "type": "string"
        },
        "fix": {
          "type": "string"
        },
        "due_to": {
          "type": "string"
        },
        "recall_url": {
          "type": "string"
        },
        "date_started_being_sold": {
          "type": "string"
        },
        "date_stopped_being_sold": {
          "type": "string"
        },
        "date_recalled": {
          "type": "string"
        }
      }
    },
    "Source7": {
      "type": "object",
      "properties": {
        "version": {
          "type": "number",
          "enum": [
            2,
            3
          ]
        },
        "model_number": {
          "type": "string"
        },
        "serial_number": {
          "type": "string"
        },
        "product": {
          "$ref": "#/$defs/Product"
        },
        "brand": {
          "$ref": "#/$defs/ProductBrand"
        },
        "integration_response": {
          "$ref": "#/$defs/Source7IntegrationResponse"
        }
      }
    },
    "Source7IntegrationResponse": {
      "type": "object",
      "properties": {
        "reference_number": {
          "type": "string"
        },
        "last_database_update": {
          "type": "string"
        },
        "recall_code": {
          "type": "number"
        },
        "recalls": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Recall"
          }
        },
        "date_manufactured": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ManufactureDate"
          }
        },
        "expected_life": {
          "type": "number"
        },
        "serial_number_valid": {
          "type": "number"
        },
        "model_number_valid": {
          "type": "number"
        },
        "appliance_uid": {
          "type": "string"
        },
        "property_uid": {
          "type": "string"
        }
      }
    },
    "V2ContactLog": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "invite": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "sent": {
          "type": "string",
          "format": "date-time"
        },
        "meta": {
          "$ref": "#/$defs/V2ContactLogMeta"
        }
      },
      "required": [
        "_id",
        "invite",
        "type",
        "sent",
        "meta"
      ]
    },
    "V2ContactLogMeta": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "postmark",
            "twilio",
            "onesignal"
          ]
        },
        "external_message_id": {
          "type": "string"
        },
        "event_time": {
          "type": "string",
          "format": "date-time"
        },
        "status": {
          "type": "object"
        }
      },
      "required": [
        "provider",
        "external_message_id",
        "event_time",
        "status"
      ]
    },
    "V2ConversationModule_Populated": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "key": {
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "type": "string"
        },
        "hero_image": {
          "type": "string"
        },
        "completed": {
          "type": "boolean"
        },
        "messages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V2Message_Populated"
          }
        }
      },
      "required": [
        "_id",
        "name",
        "key",
        "messages"
      ]
    },
    "V2Conversation_Populated": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "version": {
          "type": "number"
        },
        "submitted": {
          "type": "string",
          "format": "date-time"
        },
        "started": {
          "type": "string",
          "format": "date-time"
        },
        "completed": {
          "type": "boolean"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "modules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V2ConversationModule_Populated"
          }
        }
      },
      "required": [
        "_id",
        "name",
        "version",
        "completed",
        "createdAt",
        "modules"
      ]
    },
    "V2FollowUpConversationModule_Populated": {
      "type": "object",
      "description": "A single module within a follow-up inspection's conversation.",
      "properties": {
        "_id": {
          "type": "string",
          "description": "Unique identifier of the module."
        },
        "name": {
          "type": "string",
          "description": "Display name of the module."
        },
        "key": {
          "type": [
            "string",
            "null"
          ],
          "description": "A consistent key used to map the module to secondary systems. May be null."
        },
        "text": {
          "type": "string",
          "description": "Prompt text shown to the customer for the module."
        },
        "hero_image": {
          "type": "string",
          "description": "URL of the module's hero image."
        },
        "completed": {
          "type": "boolean",
          "description": "Indicates whether the module has been completed."
        },
        "messages": {
          "type": "array",
          "description": "The ordered list of messages within the module.",
          "items": {
            "$ref": "#/$defs/V2FollowUpMessage_Populated"
          }
        }
      },
      "required": [
        "_id",
        "name",
        "key",
        "messages"
      ]
    },
    "V2FollowUpConversation_Populated": {
      "type": "object",
      "description": "The conversation for a follow-up inspection. Follow-up inspections do not run computer vision, so their messages do not include detections.",
      "properties": {
        "_id": {
          "type": "string",
          "description": "Unique identifier of the conversation."
        },
        "name": {
          "type": "string",
          "description": "Display name of the conversation."
        },
        "version": {
          "type": "number",
          "description": "Version number of the conversation."
        },
        "submitted": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time the conversation was submitted by the customer."
        },
        "started": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time the customer started the conversation."
        },
        "completed": {
          "type": "boolean",
          "description": "Indicates whether the conversation has been completed."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time the conversation was created."
        },
        "modules": {
          "type": "array",
          "description": "The ordered list of modules in the conversation.",
          "items": {
            "$ref": "#/$defs/V2FollowUpConversationModule_Populated"
          }
        }
      },
      "required": [
        "_id",
        "name",
        "version",
        "completed",
        "createdAt",
        "modules"
      ]
    },
    "V2FollowUpInspection": {
      "type": "object",
      "description": "A follow-up inspection with its full details. Customer and property details are inherited from the original inspection.",
      "properties": {
        "_id": {
          "type": "string",
          "description": "Unique identifier of the follow-up inspection."
        },
        "status": {
          "type": "string",
          "description": "Current status of the follow-up inspection.",
          "enum": [
            "pending",
            "ready_for_invite",
            "invited",
            "started",
            "submitted",
            "ready_for_review",
            "in_review",
            "pending_completion",
            "completed",
            "abandoned",
            "extension_pending",
            "expired",
            "cancelled"
          ]
        },
        "code": {
          "type": "string",
          "description": "Short human-readable access code for the follow-up inspection."
        },
        "expiration": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time when the follow-up inspection expires for the customer."
        },
        "carrier_expiration": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time when the follow-up inspection expires for the carrier."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time when the follow-up inspection was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time when the follow-up inspection was last updated."
        },
        "manualFlyreel": {
          "type": "boolean",
          "default": false,
          "description": "Indicates if the inspection was created without a customer email"
        },
        "activation": {
          "allOf": [
            {
              "$ref": "#/$defs/V2InspectionActivation"
            }
          ]
        },
        "sha1": {
          "type": "string",
          "description": "A unique SHA-1 hash for the follow-up inspection."
        },
        "location": {
          "description": "Geographic location (GeoJSON point) associated with the follow-up inspection.",
          "allOf": [
            {
              "$ref": "#/$defs/V2Location"
            }
          ]
        },
        "detected_address": {
          "type": "string",
          "description": "Address detected for the follow-up inspection."
        },
        "flyreel_completed": {
          "type": "boolean",
          "description": "Indicates whether the customer has completed the follow-up inspection."
        },
        "notes": {
          "type": "array",
          "description": "Reviewer notes attached to the follow-up inspection.",
          "items": {
            "$ref": "#/$defs/V2Note"
          }
        },
        "conversation": {
          "description": "The follow-up inspection's conversation, including its modules, messages, and answers.",
          "allOf": [
            {
              "$ref": "#/$defs/V2FollowUpConversation_Populated"
            }
          ]
        },
        "follow_up_config": {
          "description": "Details linking this follow-up to its original inspection and recommendation letter.",
          "allOf": [
            {
              "$ref": "#/$defs/V2InspectionFollowUpConfig"
            }
          ]
        }
      },
      "required": [
        "_id",
        "status",
        "code",
        "expiration",
        "carrier_expiration",
        "createdAt",
        "updatedAt",
        "sha1",
        "notes",
        "conversation"
      ]
    },
    "V2FollowUpMessage_Populated": {
      "type": "object",
      "description": "A message within a follow-up inspection's conversation. Follow-up inspections do not run computer vision, so their messages do not include detections.",
      "properties": {
        "answer": {
          "type": "object",
          "description": "The customer's answer to the message. The format varies by message type."
        },
        "answer_id": {
          "type": "string",
          "description": "Unique identifier of the customer's answer."
        },
        "answer_time": {
          "type": "string",
          "format": "date-time",
          "description": "Date/time the customer answered the message."
        },
        "iteration_id": {
          "type": "string",
          "description": "The answer number for a question. 0 is the first answer, 1 is the second, 2 is the third, and so on. (used for repeatable modules)"
        },
        "answer_location": {
          "description": "Geographic location captured with the customer's answer.",
          "allOf": [
            {
              "$ref": "#/$defs/Location"
            }
          ]
        },
        "third_party_data": {
          "description": "Third-party enrichment data associated with the answer.",
          "allOf": [
            {
              "$ref": "#/$defs/V2ThirdPartyData"
            }
          ]
        },
        "_id": {
          "type": "string",
          "description": "Unique identifier of the message."
        },
        "name": {
          "type": "string",
          "description": "Display name of the message."
        },
        "key": {
          "type": "string",
          "description": "A consistent key used to map the message and answer to secondary systems."
        },
        "text": {
          "type": "string",
          "description": "Prompt text shown to the customer for the message."
        },
        "type": {
          "type": "string",
          "description": "The message/answer type.",
          "enum": [
            "photo",
            "video",
            "select_multiple",
            "select_one",
            "location",
            "text",
            "year",
            "boolean",
            "number",
            "website",
            "bot",
            "assisted_video_360",
            "select_single_module",
            "repeat_module",
            "submit",
            "panorama",
            "fnol",
            "meshscan",
            "cyoa"
          ]
        },
        "completed": {
          "type": "boolean",
          "description": "Indicates whether the message has been completed."
        }
      },
      "required": [
        "_id",
        "name",
        "key",
        "text",
        "type",
        "completed"
      ]
    },
    "V2InspectionActivation": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "qrCode": {
          "type": "string"
        },
        "activatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "activationCode": {
          "type": "string"
        },
        "activationLetterUrl": {
          "type": "string"
        },
        "activationLetterPdfGenerationStatus": {
          "type": "string"
        }
      }
    },
    "V2InspectionCustomFields": {
      "type": "object",
      "properties": {},
      "additionalProperties": true,
      "description": "Carrier defined custom fields as key-value pairs"
    },
    "V2InspectionFollowUpConfig": {
      "type": "object",
      "description": "Links a follow-up inspection to the original inspection and the recommendation letter that triggered it.",
      "properties": {
        "initial_flyreel_id": {
          "type": "string",
          "description": "ID of the original inspection this follow-up was created from."
        },
        "recommendation_letter_id": {
          "type": "string",
          "description": "ID of the recommendation letter that triggered the follow-up inspection."
        }
      },
      "required": [
        "initial_flyreel_id",
        "recommendation_letter_id"
      ]
    },
    "V2InspectionMeta": {
      "type": "object",
      "properties": {
        "external_id": {
          "type": "string"
        },
        "inspection_form_id": {
          "type": "string"
        },
        "forms": {
          "$ref": "#/$defs/V2InspectionMetaForms"
        }
      }
    },
    "V2InspectionMetaForms": {
      "type": "object",
      "properties": {
        "self_inspection_form_id": {
          "type": "string"
        },
        "self_inspection_internal_form": {
          "type": "string"
        }
      }
    },
    "V2Location": {
      "type": "object",
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "Point"
          ]
        },
        "coordinates": {
          "type": [
            "array",
            "null"
          ],
          "minItems": 2,
          "maxItems": 2,
          "description": "[lng, lat]",
          "items": {
            "type": "number"
          }
        }
      },
      "required": [
        "type",
        "coordinates"
      ]
    },
    "V2Message_Populated": {
      "type": "object",
      "properties": {
        "answer": {
          "type": "object"
        },
        "answer_id": {
          "type": "string"
        },
        "answer_time": {
          "type": "string",
          "format": "date-time"
        },
        "iteration_id": {
          "type": "string"
        },
        "answer_location": {
          "$ref": "#/$defs/Location"
        },
        "detections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PickTypeClass"
          }
        },
        "third_party_data": {
          "$ref": "#/$defs/V2ThirdPartyData"
        },
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "photo",
            "video",
            "select_multiple",
            "select_one",
            "location",
            "text",
            "year",
            "boolean",
            "number",
            "website",
            "bot",
            "assisted_video_360",
            "select_single_module",
            "repeat_module",
            "submit",
            "panorama",
            "fnol",
            "meshscan",
            "cyoa"
          ]
        },
        "completed": {
          "type": "boolean"
        }
      },
      "required": [
        "_id",
        "name",
        "key",
        "text",
        "type",
        "completed"
      ]
    },
    "V2Note": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "carrier": {
          "type": "string"
        },
        "inspection": {
          "type": "string"
        },
        "author": {
          "$ref": "#/$defs/V2NoteAuthor"
        },
        "content": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "deleted": {
          "type": "boolean"
        }
      },
      "required": [
        "_id",
        "carrier",
        "inspection",
        "author",
        "content",
        "createdAt",
        "updatedAt",
        "deleted"
      ]
    },
    "V2NoteAuthor": {
      "type": "object",
      "properties": {
        "_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "deleted": {
          "type": "boolean"
        },
        "carrier": {
          "type": "string"
        },
        "role": {
          "type": "string"
        }
      },
      "required": [
        "_id",
        "name",
        "email",
        "deleted",
        "carrier",
        "role"
      ]
    },
    "V2ThirdPartyData": {
      "type": "object",
      "properties": {
        "source7": {
          "$ref": "#/$defs/Source7"
        }
      }
    },
    "V2Timezone": {
      "type": "object",
      "properties": {
        "dst_offset": {
          "type": "integer",
          "description": "Daylight saving time offset"
        },
        "raw_offset": {
          "type": "integer",
          "description": "Raw offset"
        },
        "timezone_id": {
          "type": "string"
        },
        "timezone_name": {
          "type": "string"
        }
      }
    },
    "V3EstatedAssessment": {
      "type": "object",
      "properties": {
        "appraised_improvement": {
          "type": [
            "number",
            "null"
          ]
        },
        "appraised_land": {
          "type": [
            "number",
            "null"
          ]
        },
        "appraised_total": {
          "type": [
            "number",
            "null"
          ]
        },
        "details": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "exemptions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "improvement": {
          "type": [
            "number",
            "null"
          ]
        },
        "land": {
          "type": [
            "number",
            "null"
          ]
        },
        "outstanding_tax": {
          "type": [
            "number",
            "null"
          ]
        },
        "tax_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "tax_year": {
          "type": [
            "number",
            "null"
          ]
        },
        "total": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "V3EstatedLandUse": {
      "type": "object",
      "properties": {
        "category": {
          "type": [
            "string",
            "null"
          ]
        },
        "classification_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "source_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "subcategory": {
          "type": [
            "string",
            "null"
          ]
        },
        "zoning": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "V3EstatedLegal": {
      "type": "object",
      "properties": {
        "apn_original": {
          "type": [
            "string",
            "null"
          ]
        },
        "apn_unformatted": {
          "type": [
            "string",
            "null"
          ]
        },
        "legal_description": {
          "type": [
            "string",
            "null"
          ]
        },
        "planned_urban_development": {
          "type": [
            "string",
            "null"
          ]
        },
        "tax_account": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "V3EstatedMortgage": {
      "type": "object",
      "properties": {
        "amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "date": {
          "type": [
            "string",
            "null"
          ]
        },
        "deed_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "details": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "due_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "lender_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "loan_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "term": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "V3EstatedOtherStructureDetails": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "sq_ft": {
          "type": "string"
        }
      }
    },
    "V3EstatedOwner": {
      "type": "object",
      "properties": {
        "address2": {
          "type": [
            "string",
            "null"
          ]
        },
        "address": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "corporate_flag": {
          "type": "boolean"
        },
        "ended_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "middle_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "started_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "suffix": {
          "type": [
            "string",
            "null"
          ]
        },
        "zip_code": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "V3EstatedParcel": {
      "type": "object",
      "properties": {
        "depth": {
          "type": "number"
        },
        "width": {
          "type": "number"
        },
        "size": {
          "type": "number"
        },
        "acres": {
          "type": "number"
        },
        "range": {
          "type": "string"
        },
        "township": {
          "type": "string"
        },
        "section": {
          "type": "string"
        },
        "block": {
          "type": "string"
        },
        "lot": {
          "type": "string"
        },
        "location_descriptions": {
          "type": [
            "string",
            "null"
          ]
        },
        "building_count": {
          "type": "number"
        },
        "boundaries": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "V3EstatedProperties": {
      "type": "object",
      "deprecated": true,
      "properties": {
        "assessments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedAssessment"
          }
        },
        "land_use": {
          "$ref": "#/$defs/V3EstatedLandUse"
        },
        "legal": {
          "$ref": "#/$defs/V3EstatedLegal"
        },
        "mortgages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedMortgage"
          }
        },
        "owners": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedOwner"
          }
        },
        "parcel": {
          "$ref": "#/$defs/V3EstatedParcel"
        },
        "sales": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedSale"
          }
        },
        "status": {
          "$ref": "#/$defs/V3EstatedStatus"
        },
        "structure_totals": {
          "$ref": "#/$defs/V3EstatedStructureTotals"
        },
        "structure": {
          "$ref": "#/$defs/V3EstatedStructureSolo"
        },
        "structures": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedStructure"
          }
        },
        "valuation": {
          "$ref": "#/$defs/V3EstatedValuation"
        }
      }
    },
    "V3EstatedSale": {
      "type": "object",
      "properties": {
        "buyer": {
          "type": [
            "string",
            "null"
          ]
        },
        "date": {
          "type": [
            "string",
            "null"
          ]
        },
        "deed_book": {
          "type": [
            "string",
            "null"
          ]
        },
        "deed_page": {
          "type": [
            "string",
            "null"
          ]
        },
        "document_id": {
          "type": [
            "number",
            "null"
          ]
        },
        "document_year": {
          "type": [
            "number",
            "null"
          ]
        },
        "hpi_adjusted_price_2010": {
          "type": [
            "number",
            "null"
          ]
        },
        "multi_apn": {
          "type": "boolean"
        },
        "price": {
          "type": [
            "number",
            "null"
          ]
        },
        "recording_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "sale_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "seller": {
          "type": [
            "string",
            "null"
          ]
        },
        "transaction_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "V3EstatedStatus": {
      "type": "object",
      "properties": {
        "absentee_owner": {
          "type": "boolean"
        },
        "listing_price": {
          "type": [
            "number",
            "null"
          ]
        },
        "market_status": {
          "type": [
            "string",
            "null"
          ]
        },
        "rental_price": {
          "type": [
            "number",
            "null"
          ]
        },
        "vacant": {
          "type": "boolean"
        }
      }
    },
    "V3EstatedStructure": {
      "type": "object",
      "properties": {
        "air_conditioning_type": {
          "type": "string"
        },
        "architecture_type": {
          "type": "string"
        },
        "basement_size": {
          "type": "number"
        },
        "basement_type": {
          "type": "string"
        },
        "baths_count": {
          "type": "number"
        },
        "beds_count": {
          "type": "number"
        },
        "building_type": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "condition": {
          "type": "string"
        },
        "construction_type": {
          "type": "string"
        },
        "effective_year_built": {
          "type": "number"
        },
        "electricity_type": {
          "type": "string"
        },
        "exterior_wall_type": {
          "type": "string"
        },
        "finished_size": {
          "type": "number"
        },
        "fireplace_count": {
          "type": "number"
        },
        "fireplace_type": {
          "type": "string"
        },
        "flooring_type": {
          "type": "string"
        },
        "foundation_type": {
          "type": "string"
        },
        "fuel_type": {
          "type": "string"
        },
        "full_baths_count": {
          "type": "number"
        },
        "garage_size": {
          "type": "number"
        },
        "garage_type": {
          "type": "string"
        },
        "half_baths_count": {
          "type": "number"
        },
        "heating_type": {
          "type": "string"
        },
        "height": {
          "type": "number"
        },
        "identifier": {
          "type": "string"
        },
        "is_primary": {
          "type": "boolean"
        },
        "mobile_home": {
          "type": "boolean"
        },
        "parking_spaces": {
          "type": "number"
        },
        "parking_type": {
          "type": "string"
        },
        "pool_type": {
          "type": "string"
        },
        "quality": {
          "type": "string"
        },
        "quarter_baths_count": {
          "type": "number"
        },
        "roof_style_type": {
          "type": "string"
        },
        "roof_type": {
          "type": "string"
        },
        "rooms_count": {
          "type": "number"
        },
        "sewer_type": {
          "type": "string"
        },
        "stories_count": {
          "type": "number"
        },
        "three_quarter_baths_count": {
          "type": "number"
        },
        "total_size": {
          "type": "number"
        },
        "unfinished_size": {
          "type": "number"
        },
        "units_count": {
          "type": "number"
        },
        "water_type": {
          "type": "string"
        },
        "year_built": {
          "type": "number"
        }
      }
    },
    "V3EstatedStructureSolo": {
      "type": "object",
      "properties": {
        "amenities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedOtherStructureDetails"
          }
        },
        "flooring_types": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedOtherStructureDetails"
          }
        },
        "other_features": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedOtherStructureDetails"
          }
        },
        "other_improvements": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V3EstatedOtherStructureDetails"
          }
        }
      }
    },
    "V3EstatedStructureTotals": {
      "type": "object",
      "properties": {
        "baths": {
          "type": [
            "number",
            "null"
          ]
        },
        "beds": {
          "type": [
            "number",
            "null"
          ]
        },
        "count": {
          "type": [
            "number",
            "null"
          ]
        },
        "rooms": {
          "type": [
            "number",
            "null"
          ]
        },
        "sqft": {
          "type": [
            "number",
            "null"
          ]
        },
        "units": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "V3EstatedValuation": {
      "type": "object",
      "properties": {
        "calculated_rental_value": {
          "type": [
            "number",
            "null"
          ]
        },
        "confidence": {
          "type": [
            "number",
            "null"
          ]
        },
        "forecast_1_year": {
          "type": [
            "number",
            "null"
          ]
        },
        "high": {
          "type": [
            "number",
            "null"
          ]
        },
        "low": {
          "type": [
            "number",
            "null"
          ]
        },
        "market_value_change_quarter": {
          "type": [
            "number",
            "null"
          ]
        },
        "market_value_change_year": {
          "type": [
            "number",
            "null"
          ]
        },
        "suggested_rental": {
          "type": [
            "number",
            "null"
          ]
        },
        "value": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    }
  }
}