Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 06 / drawingml scrgb theme ordered channel alpha transform reconstruction

Reconstruct theme-resolved linear RGB color and opacity through ordered DrawingML channel transforms.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-06/drawingml-scrgb-theme-ordered-channel-alpha-transform-reconstruction

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": [
        "drawingmlColor"
      ],
      "properties": {
        "drawingmlColor": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "base",
                "theme",
                "color_map",
                "placeholder_rgba",
                "transforms"
              ],
              "properties": {
                "base": {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "rgba"
                      ],
                      "properties": {
                        "kind": {
                          "enum": [
                            "direct"
                          ]
                        },
                        "rgba": {
                          "type": "array",
                          "items": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1
                          },
                          "maxItems": 4,
                          "minItems": 4
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "slot"
                      ],
                      "properties": {
                        "kind": {
                          "enum": [
                            "scheme"
                          ]
                        },
                        "slot": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1,
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "kind": {
                          "enum": [
                            "placeholder"
                          ]
                        }
                      }
                    }
                  ]
                },
                "theme": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "slot",
                      "rgba"
                    ],
                    "properties": {
                      "slot": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z0-9_.-]+$"
                      },
                      "rgba": {
                        "type": "array",
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        },
                        "maxItems": 4,
                        "minItems": 4
                      }
                    }
                  },
                  "maxItems": 32,
                  "minItems": 0
                },
                "color_map": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "source",
                      "target"
                    ],
                    "properties": {
                      "source": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z0-9_.-]+$"
                      },
                      "target": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z0-9_.-]+$"
                      }
                    }
                  },
                  "maxItems": 32,
                  "minItems": 0
                },
                "placeholder_rgba": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                      },
                      "maxItems": 4,
                      "minItems": 4
                    }
                  ]
                },
                "transforms": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "op",
                      "value"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "tint",
                          "shade",
                          "inv",
                          "red",
                          "redOff",
                          "redMod",
                          "green",
                          "greenOff",
                          "greenMod",
                          "blue",
                          "blueOff",
                          "blueMod",
                          "alpha",
                          "alphaOff",
                          "alphaMod"
                        ]
                      },
                      "value": {
                        "type": "integer",
                        "minimum": -400000,
                        "maximum": 400000
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "resolved_theme_slot",
                    "rgba",
                    "after_each_transform"
                  ],
                  "properties": {
                    "resolved_theme_slot": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1,
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      ]
                    },
                    "rgba": {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                      },
                      "maxItems": 4,
                      "minItems": 4
                    },
                    "after_each_transform": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        },
                        "maxItems": 4,
                        "minItems": 4
                      },
                      "maxItems": 64,
                      "minItems": 0
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →