Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F B NIGHT STRUCTURED CLONE / whatwg structured clone transfer graph state

A cross-realm serialization conformance agent needs the exact resulting alias graph, transferred/detached buffer facts and atomic DataCloneError outcome for a supplied finite symbolic object/array/map/set/buffer/view graph. Not merely ArrayBuffer copy/detach or JSON tree copying.

POST https://detect.halowerk.com/v1/F-B-NIGHT-STRUCTURED-CLONE/whatwg-structured-clone-transfer-graph-state

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "clone_graph"
      ],
      "properties": {
        "clone_graph": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "nodes",
            "root",
            "transfer",
            "claim"
          ],
          "properties": {
            "nodes": {
              "type": "array",
              "minItems": 1,
              "maxItems": 48,
              "items": {
                "oneOf": [
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "edges"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "object",
                          "array",
                          "set"
                        ]
                      },
                      "edges": {
                        "type": "array",
                        "minItems": 0,
                        "maxItems": 48,
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 47
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "entries"
                    ],
                    "properties": {
                      "kind": {
                        "const": "map"
                      },
                      "entries": {
                        "type": "array",
                        "minItems": 0,
                        "maxItems": 24,
                        "items": {
                          "type": "array",
                          "minItems": 2,
                          "maxItems": 2,
                          "items": false,
                          "prefixItems": [
                            {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 47
                            },
                            {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 47
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "length",
                      "detached"
                    ],
                    "properties": {
                      "kind": {
                        "const": "buffer"
                      },
                      "length": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1024
                      },
                      "detached": {
                        "type": "boolean"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "buffer",
                      "offset",
                      "length"
                    ],
                    "properties": {
                      "kind": {
                        "const": "view"
                      },
                      "buffer": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 47
                      },
                      "offset": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1024
                      },
                      "length": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1024
                      }
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "function",
                          "symbol"
                        ]
                      }
                    }
                  }
                ]
              }
            },
            "root": {
              "type": "integer",
              "minimum": 0,
              "maximum": 47
            },
            "transfer": {
              "type": "array",
              "minItems": 0,
              "maxItems": 16,
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 47
              }
            },
            "claim": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "completion",
                "cloned_nodes",
                "newly_detached_buffers"
              ],
              "properties": {
                "completion": {
                  "enum": [
                    "normal",
                    "DataCloneError"
                  ]
                },
                "cloned_nodes": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 48
                },
                "newly_detached_buffers": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 16
                }
              }
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

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

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →