Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 07 / icu783 decoded messageformat select plural offset rendering

Reconstruct a localized message from a complete decoded ICU MessageFormat program before publication.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-07/icu783-decoded-messageformat-select-plural-offset-rendering

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": [
        "messageFormat"
      ],
      "properties": {
        "messageFormat": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "locale",
                "arguments",
                "nodes",
                "root"
              ],
              "properties": {
                "locale": {
                  "type": "string",
                  "maxLength": 128,
                  "minLength": 1
                },
                "arguments": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "name",
                      "value"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 2048,
                            "minLength": 0
                          },
                          {
                            "type": "number",
                            "minimum": -1000000000000,
                            "maximum": 1000000000000
                          }
                        ]
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "nodes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "op",
                      "text",
                      "argument",
                      "children",
                      "options",
                      "offset"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "literal",
                          "sequence",
                          "argument",
                          "pound",
                          "select",
                          "plural",
                          "selectordinal"
                        ]
                      },
                      "text": {
                        "type": "string",
                        "maxLength": 2048,
                        "minLength": 0
                      },
                      "argument": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 0
                      },
                      "children": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 127
                        },
                        "maxItems": 32,
                        "minItems": 0
                      },
                      "options": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "selector",
                            "body"
                          ],
                          "properties": {
                            "selector": {
                              "type": "string",
                              "maxLength": 64,
                              "minLength": 1
                            },
                            "body": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 127
                            }
                          }
                        },
                        "maxItems": 32,
                        "minItems": 0
                      },
                      "offset": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1000000
                      }
                    }
                  },
                  "maxItems": 128,
                  "minItems": 1
                },
                "root": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 127
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "message",
                    "locale"
                  ],
                  "properties": {
                    "message": {
                      "type": "string",
                      "maxLength": 12000,
                      "minLength": 0
                    },
                    "locale": {
                      "type": "string",
                      "maxLength": 128,
                      "minLength": 1
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →