Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 07 / xliff21 inline paired code replication deletion reorder obligations

Reconcile translation inline-code identity, pairing and protected sequences before localized content import.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-07/xliff21-inline-paired-code-replication-deletion-reorder-obligations

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": [
        "xliffCodes"
      ],
      "properties": {
        "xliffCodes": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "codes",
                "source",
                "target"
              ],
              "properties": {
                "codes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "kind",
                      "can_copy",
                      "can_delete",
                      "can_reorder"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                      },
                      "kind": {
                        "enum": [
                          "ph",
                          "pc"
                        ]
                      },
                      "can_copy": {
                        "type": "boolean"
                      },
                      "can_delete": {
                        "type": "boolean"
                      },
                      "can_reorder": {
                        "enum": [
                          "yes",
                          "firstNo",
                          "no"
                        ]
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "source": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "id",
                      "text"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "text",
                          "ph",
                          "start",
                          "end"
                        ]
                      },
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 0
                      },
                      "text": {
                        "type": "string",
                        "maxLength": 1024,
                        "minLength": 0
                      }
                    }
                  },
                  "maxItems": 128,
                  "minItems": 0
                },
                "target": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "kind",
                      "id",
                      "copy_of",
                      "text"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "text",
                          "ph",
                          "start",
                          "end"
                        ]
                      },
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 0
                      },
                      "copy_of": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "maxLength": 64,
                            "minLength": 1,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          }
                        ]
                      },
                      "text": {
                        "type": "string",
                        "maxLength": 1024,
                        "minLength": 0
                      }
                    }
                  },
                  "maxItems": 128,
                  "minItems": 0
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "conforms",
                    "source_code_count",
                    "target_code_count",
                    "protected_sequences",
                    "violations"
                  ],
                  "properties": {
                    "conforms": {
                      "type": "boolean"
                    },
                    "source_code_count": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 64
                    },
                    "target_code_count": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 128
                    },
                    "protected_sequences": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1,
                          "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                        },
                        "maxItems": 64,
                        "minItems": 0
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "violations": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind",
                          "id"
                        ],
                        "properties": {
                          "kind": {
                            "enum": [
                              "target_pair_nesting",
                              "unresolved_source_code",
                              "duplicate_target_code_id",
                              "copy_reuses_source_id",
                              "copy_forbidden",
                              "target_code_kind",
                              "unclosed_target_pair",
                              "required_source_code_deleted",
                              "replication_forbidden",
                              "protected_code_sequence_reordered"
                            ]
                          },
                          "id": {
                            "type": "string",
                            "maxLength": 64,
                            "minLength": 1,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          }
                        }
                      },
                      "maxItems": 512,
                      "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 →