Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 17 / matrix v11 state resolution v2 auth chain mainline conflict projection

Resolve finite room-v11 state conflicts using auth-chain difference, reverse-topological power ordering, mainline sorting and iterative auth. Complete graph and publicly exact auth facts/rules required; no network/moderation verdict.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-17/matrix-v11-state-resolution-v2-auth-chain-mainline-conflict-projection

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": {
        "matrixState": {
          "type": "object",
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "room_id": {
                  "type": "string",
                  "maxLength": 80,
                  "pattern": "^![^:]+:.+$",
                  "not": {
                    "pattern": "[\r\n

]"
                  }
                },
                "events": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 48
                      },
                      "type": {
                        "type": "string",
                        "maxLength": 80
                      },
                      "state_key": {
                        "type": "string",
                        "maxLength": 80
                      },
                      "sender": {
                        "type": "string",
                        "maxLength": 80,
                        "pattern": "^@[^:]+:.+$",
                        "not": {
                          "pattern": "[\r\n

]"
                        }
                      },
                      "origin_server_ts": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000000000
                      },
                      "auth_events": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 48
                        },
                        "maxItems": 10,
                        "minItems": 0
                      },
                      "prev_events": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 48
                        },
                        "maxItems": 20,
                        "minItems": 0
                      },
                      "content": {
                        "type": "object",
                        "maxProperties": 24,
                        "additionalProperties": true
                      },
                      "signature_valid": {
                        "type": "boolean"
                      },
                      "third_party_valid": {
                        "type": "boolean"
                      },
                      "auth_chain_valid": {
                        "type": "boolean"
                      },
                      "rejected": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "type",
                      "state_key",
                      "sender",
                      "origin_server_ts",
                      "auth_events",
                      "prev_events",
                      "content",
                      "signature_valid",
                      "third_party_valid",
                      "auth_chain_valid",
                      "rejected"
                    ]
                  },
                  "maxItems": 40,
                  "minItems": 1
                },
                "states": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 48
                    },
                    "maxItems": 32,
                    "minItems": 0
                  },
                  "maxItems": 8,
                  "minItems": 1
                }
              },
              "additionalProperties": false,
              "required": [
                "room_id",
                "events",
                "states"
              ]
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "string",
                  "minLength": 64,
                  "maxLength": 64,
                  "pattern": "^[0-9a-f]{64}$"
                }
              ]
            }
          },
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "matrixState"
      ]
    }
  }
}

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 →