Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 17 / indexeddb202610 objectstore index cursor key range update transaction ledger

Replay IndexedDB cursor transactions.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-17/indexeddb202610-objectstore-index-cursor-key-range-update-transaction-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "indexedCursor": {
          "type": "object",
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "initial": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "key": {
                        "$ref": "#/properties/artifact/%24defs/key"
                      },
                      "value": {
                        "$ref": "#/properties/artifact/%24defs/value"
                      }
                    },
                    "additionalProperties": false,
                    "minProperties": 2
                  },
                  "maxItems": 16
                },
                "indexes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 8,
                        "pattern": "^[a-z]{1,8}$",
                        "not": {
                          "pattern": "[^a-z]"
                        }
                      },
                      "field": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 8,
                        "pattern": "^[a-z]{1,8}$",
                        "not": {
                          "pattern": "[^a-z]"
                        }
                      },
                      "unique": {
                        "type": "boolean"
                      },
                      "multi_entry": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false,
                    "minProperties": 4
                  },
                  "maxItems": 3
                },
                "commands": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "op": {
                        "enum": [
                          "add",
                          "put",
                          "delete",
                          "clear",
                          "get",
                          "count",
                          "cursor"
                        ]
                      },
                      "key": {
                        "$ref": "#/properties/artifact/%24defs/key"
                      },
                      "value": {
                        "$ref": "#/properties/artifact/%24defs/value"
                      },
                      "range": {
                        "type": [
                          "null",
                          "object"
                        ],
                        "properties": {
                          "lower": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "$ref": "#/properties/artifact/%24defs/key"
                              }
                            ]
                          },
                          "upper": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "$ref": "#/properties/artifact/%24defs/key"
                              }
                            ]
                          },
                          "lower_open": {
                            "type": "boolean"
                          },
                          "upper_open": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false,
                        "minProperties": 4
                      },
                      "source": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 8,
                            "pattern": "^[a-z]{1,8}$",
                            "not": {
                              "pattern": "[^a-z]"
                            }
                          }
                        ]
                      },
                      "direction": {
                        "enum": [
                          "next",
                          "nextunique",
                          "prev",
                          "prevunique"
                        ]
                      },
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "mutation": {
                              "enum": [
                                "none",
                                "update",
                                "delete"
                              ]
                            },
                            "value": {
                              "$ref": "#/properties/artifact/%24defs/value"
                            },
                            "method": {
                              "enum": [
                                "continue",
                                "advance",
                                "continue_primary",
                                "stop"
                              ]
                            },
                            "key": {
                              "$ref": "#/properties/artifact/%24defs/key"
                            },
                            "primary_key": {
                              "$ref": "#/properties/artifact/%24defs/key"
                            },
                            "count": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 32
                            }
                          },
                          "required": [],
                          "additionalProperties": false
                        },
                        "maxItems": 16
                      }
                    },
                    "required": [
                      "op"
                    ],
                    "additionalProperties": false
                  },
                  "maxItems": 16
                },
                "abort": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false,
              "minProperties": 4
            },
            "claim": {
              "type": [
                "null",
                "string"
              ],
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-f]{64}$"
            }
          },
          "additionalProperties": false,
          "minProperties": 2
        }
      },
      "additionalProperties": false,
      "minProperties": 1,
      "$defs": {
        "key": {
          "type": "object",
          "properties": {
            "type": {},
            "value": {}
          },
          "additionalProperties": false,
          "anyOf": [
            {
              "properties": {
                "type": {
                  "const": "number"
                },
                "value": {
                  "type": "number",
                  "minimum": -1000000000,
                  "maximum": 1000000000
                }
              }
            },
            {
              "properties": {
                "type": {
                  "const": "date"
                },
                "value": {
                  "type": "integer",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000
                }
              }
            },
            {
              "properties": {
                "type": {
                  "const": "string"
                },
                "value": {
                  "type": "string",
                  "maxLength": 32
                }
              }
            },
            {
              "properties": {
                "type": {
                  "const": "binary"
                },
                "value": {
                  "type": "string",
                  "maxLength": 32,
                  "pattern": "^(?:[0-9a-f]{2})*$",
                  "not": {
                    "pattern": "[^0-9a-f]"
                  }
                }
              }
            },
            {
              "properties": {
                "type": {
                  "const": "array"
                },
                "value": {
                  "type": "array",
                  "items": {
                    "$ref": "#/properties/artifact/%24defs/key"
                  },
                  "maxItems": 8
                }
              }
            }
          ],
          "minProperties": 2
        },
        "value": {
          "type": "object",
          "properties": {
            "payload": {
              "type": "string",
              "maxLength": 32
            },
            "fields": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 8,
                    "pattern": "^[a-z]{1,8}$",
                    "not": {
                      "pattern": "[^a-z]"
                    }
                  },
                  "key": {
                    "$ref": "#/properties/artifact/%24defs/key"
                  }
                },
                "additionalProperties": false,
                "minProperties": 2
              },
              "maxItems": 3
            }
          },
          "additionalProperties": false,
          "minProperties": 2
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 20:49 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →