Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms custom token variable resolution

An agent that compiles CMS style tokens needs requested variable substitutions checked with fallback expressions and cyclic custom-property definitions kept invalid.

POST https://detect.halowerk.com/v1/cms/cms-custom-token-variable-resolution

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "nodes": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "literal"
                  },
                  "tokens": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 1000000
                    },
                    "minItems": 0,
                    "maxItems": 128
                  }
                },
                "required": [
                  "kind",
                  "tokens"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "variable"
                  },
                  "name": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 31
                  },
                  "fallback": {
                    "type": "integer",
                    "minimum": -1,
                    "maximum": 511
                  }
                },
                "required": [
                  "kind",
                  "name",
                  "fallback"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "const": "concat"
                  },
                  "children": {
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 511
                    },
                    "minItems": 0,
                    "maxItems": 32
                  }
                },
                "required": [
                  "kind",
                  "children"
                ],
                "additionalProperties": false
              }
            ]
          },
          "minItems": 1,
          "maxItems": 512
        },
        "definitions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "root": {
                "type": "integer",
                "minimum": 0,
                "maximum": 511
              }
            },
            "required": [
              "name",
              "root"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 32
        },
        "requests": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "root": {
                "type": "integer",
                "minimum": 0,
                "maximum": 511
              },
              "expected": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 1000000
                },
                "minItems": 0,
                "maxItems": 2048
              }
            },
            "required": [
              "root",
              "expected"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 64
        }
      },
      "required": [
        "nodes",
        "definitions",
        "requests"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "nodes": [
      {
        "kind": "literal",
        "tokens": [
          1
        ]
      }
    ],
    "definitions": [
      {
        "name": 0,
        "root": 0
      }
    ],
    "requests": [
      {
        "root": 0,
        "expected": [
          1
        ]
      }
    ]
  }
}

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 →