IndexedDB.Key

Key.

{
  "id": "Key",
  "type": "object",
  "description": "Key.",
  "properties": [
    {
      "name": "type",
      "type": "string",
      "enum": [
        "number",
        "string",
        "date",
        "array"
      ],
      "description": "Key type."
    },
    {
      "name": "number",
      "type": "number",
      "optional": true,
      "description": "Number value."
    },
    {
      "name": "string",
      "type": "string",
      "optional": true,
      "description": "String value."
    },
    {
      "name": "date",
      "type": "number",
      "optional": true,
      "description": "Date value."
    },
    {
      "name": "array",
      "type": "array",
      "optional": true,
      "items": {
        "$ref": "Key"
      },
      "description": "Array value."
    }
  ]
}