Zum Inhalt
HALOWERK

Gamingwerk

cross game bridge

Applies caller-supplied rename and numeric scale/offset rules to scalar attributes, optionally retaining unmapped fields, then hashes the canonical mapped payload. It does not transfer ownership, call a chain, validate either game, preserve semantics, or authorize asset use.

POST https://gaming.halowerk.com/v1/cross-game-bridge

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
source_gamestringJa
target_gamestringJa
asset_idstringJa
attributesarrayJa
mappingsarrayJa
retain_unmappedbooleanJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source_game",
    "target_game",
    "asset_id",
    "attributes",
    "mappings",
    "retain_unmapped"
  ],
  "additionalProperties": false,
  "properties": {
    "source_game": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "target_game": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "asset_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "attributes": {
      "type": "array",
      "maxItems": 1000,
      "items": {
        "type": "object",
        "required": [
          "key",
          "value"
        ],
        "additionalProperties": false,
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "value": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          }
        }
      }
    },
    "mappings": {
      "type": "array",
      "maxItems": 1000,
      "items": {
        "type": "object",
        "required": [
          "source_key",
          "target_key"
        ],
        "additionalProperties": false,
        "properties": {
          "source_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "target_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "numeric_scale": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000
          },
          "numeric_offset": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000
          }
        }
      }
    },
    "retain_unmapped": {
      "type": "boolean"
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "source_game": "HarborQuest",
  "target_game": "SkyFrontier",
  "asset_id": "blade-42",
  "attributes": [
    {
      "key": "damage",
      "value": 80
    },
    {
      "key": "element",
      "value": "water"
    },
    {
      "key": "rarity",
      "value": "rare"
    }
  ],
  "mappings": [
    {
      "source_key": "damage",
      "target_key": "power",
      "numeric_scale": 0.5,
      "numeric_offset": 5
    },
    {
      "source_key": "element",
      "target_key": "affinity"
    }
  ],
  "retain_unmapped": false
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://gaming.halowerk.com/v1/cross-game-bridge/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

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 →