{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aihardwaredb.com/data/v1/schema.json",
  "title": "AIHardwareDB Consumer AI Hardware 2-Year Ownership Cost Dataset",
  "description": "Document-verified structured dataset of consumer AI hardware retail prices, 24-month Free/Annual Pro/Unlimited total costs, lifecycle availability status, privacy LEDs, local storage, export formats, and BYOK openness.",
  "version": "1.2.0",
  "type": "object",
  "required": [
    "schema_version",
    "verified_date",
    "currency",
    "total_indexed_devices",
    "devices"
  ],
  "properties": {
    "schema_version": {
      "type": "string"
    },
    "schema_url": {
      "type": "string",
      "format": "uri"
    },
    "source": {
      "type": "string",
      "format": "uri"
    },
    "license": {
      "type": "string",
      "format": "uri"
    },
    "verified_date": {
      "type": "string",
      "format": "date",
      "description": "Most recent verification date included in this rolling dataset snapshot."
    },
    "update_cadence": {
      "type": "string"
    },
    "currency": {
      "type": "string",
      "enum": [
        "USD"
      ]
    },
    "formula": {
      "type": "string",
      "description": "Standardized 24-month ownership cost formula applied across active rows."
    },
    "archived_doi_version": {
      "type": "string",
      "description": "Frozen dataset version preserved at the Zenodo/Figshare archival DOI."
    },
    "archived_doi_url": {
      "type": "string",
      "format": "uri",
      "description": "Persistent DOI URL pointing to the frozen historical archive release."
    },
    "total_indexed_devices": {
      "type": "integer"
    },
    "deep_audited_devices": {
      "type": "integer"
    },
    "devices": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "slug",
          "name",
          "brand",
          "category",
          "status",
          "shipping_status",
          "coverage_level",
          "hardware_usd",
          "subscription_model",
          "subscription_trap_rating",
          "verified_date"
        ],
        "properties": {
          "slug": {
            "type": "string",
            "description": "Unique stable kebab-case identifier."
          },
          "name": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "release_year": {
            "type": "integer"
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "discontinued",
              "service_shutdown"
            ],
            "description": "Current commercial & cloud lifecycle status. Discontinued/service_shutdown models are not currently buyable."
          },
          "shipping_status": {
            "type": "string",
            "enum": [
              "in_stock",
              "pre_order",
              "crowdfunding",
              "discontinued",
              "graveyard"
            ],
            "description": "Granular vendor fulfillment and lifecycle state (distinguishes in-stock retail from crowdfunding, discontinued direct sales, and bricked graveyard hardware)."
          },
          "availability_note": {
            "type": "string"
          },
          "coverage_level": {
            "type": "string",
            "enum": [
              "deep_audit",
              "indexed_spec"
            ],
            "description": "deep_audit = dedicated full specification & 24-month cost review page live; indexed_spec = verified pricing & spec row in master dataset."
          },
          "hardware_usd": {
            "type": "number",
            "description": "Verified retail hardware MSRP or standard promo price in USD."
          },
          "subscription_model": {
            "type": "string",
            "enum": [
              "none",
              "optional_freemium",
              "mandatory"
            ],
            "description": "Whether recurring cloud fees are absent (none), optional above a free tier (optional_freemium), or required for core features (mandatory)."
          },
          "subscription_trap_rating": {
            "type": "string",
            "enum": [
              "none",
              "low",
              "medium",
              "high",
              "bricked"
            ],
            "description": "Standardized AIHardwareDB subscription risk classification documented at /methodology/."
          },
          "monthly_sub_annual_pro_usd": {
            "type": "number",
            "minimum": 0,
            "description": "Monthly equivalent USD rate of the standard Annual Pro / regular paid tier (0 if no paid tier applies at typical usage)."
          },
          "monthly_sub_unlimited_usd": {
            "type": "number",
            "minimum": 0,
            "description": "Monthly equivalent USD rate of the top consumer Unlimited / Heavy tier (0 if buy-once hardware has no recurring tier)."
          },
          "two_year_total_min_usd": {
            "type": [
              "number",
              "null"
            ],
            "description": "24-month Free/Minimum tier total in USD. Null when device status is discontinued or service_shutdown."
          },
          "two_year_total_annual_pro_usd": {
            "type": [
              "number",
              "null"
            ],
            "description": "24-month Annual Pro tier total in USD (hardware_usd + 24 × monthly_sub_annual_pro_usd). Null when device status is discontinued or service_shutdown."
          },
          "two_year_total_unlimited_usd": {
            "type": [
              "number",
              "null"
            ],
            "description": "24-month Unlimited/Heavy tier total in USD (hardware_usd + 24 × monthly_sub_unlimited_usd). Null when device status is discontinued or service_shutdown."
          },
          "documented_cost_historical_usd": {
            "type": [
              "number",
              "null"
            ],
            "description": "Historical 24-month nominal total preserved for discontinued or service_shutdown devices only; null for active models."
          },
          "weight_grams": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Vendor-documented device mass in grams."
          },
          "battery_life": {
            "type": "string"
          },
          "has_recording_led": {
            "type": "boolean"
          },
          "has_camera": {
            "type": "boolean"
          },
          "local_storage": {
            "type": "string"
          },
          "export_formats": {
            "type": "string"
          },
          "byok_api_support": {
            "type": "boolean"
          },
          "open_source_firmware": {
            "type": "boolean"
          },
          "openness_score_out_of_5": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5
          },
          "origin_region": {
            "type": "string",
            "description": "Primary hardware design/manufacturing ecosystem region."
          },
          "verified_date": {
            "type": "string",
            "format": "date"
          },
          "price_verified_at": {
            "type": "string",
            "format": "date",
            "description": "Most recent date the official vendor store MSRP and plan pricing were manually re-verified."
          },
          "plans_updated_at": {
            "type": "string",
            "format": "date",
            "description": "Most recent date a subscription plan tier or pricing baseline changed."
          },
          "official_source_url": {
            "type": "string",
            "format": "uri"
          },
          "detail_page_url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          }
        }
      }
    }
  }
}