{
  "$id": "https://redlightindex.com/schema/devices.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "items": {
    "additionalProperties": false,
    "properties": {
      "aliases": {
        "type": "string"
      },
      "brand": {
        "type": "string"
      },
      "demand_query": {
        "type": "string"
      },
      "device_class": {
        "enum": [
          "panel",
          "mask",
          "handheld_belt",
          "hair_cap",
          "bed_blanket"
        ],
        "type": "string"
      },
      "device_id": {
        "type": "string"
      },
      "has_page": {
        "enum": [
          "true",
          "false"
        ],
        "type": "string"
      },
      "import_status": {
        "enum": [
          "imported",
          "supplemental"
        ],
        "type": "string"
      },
      "model": {
        "type": "string"
      },
      "notes": {
        "type": "string"
      },
      "search_volume_us": {
        "pattern": "^$|^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
        "type": "string"
      },
      "slug": {
        "type": "string"
      },
      "source_row": {
        "type": "string"
      }
    },
    "required": [
      "device_id",
      "device_class",
      "brand",
      "model",
      "slug",
      "aliases",
      "source_row",
      "import_status",
      "demand_query",
      "search_volume_us",
      "has_page",
      "notes"
    ],
    "type": "object"
  },
  "title": "Red Light Index devices rows",
  "type": "array"
}
