Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 06 / xml dtd one unambiguous content model child sequence

Reconstruct whether a supplied DTD content model is deterministic and accepts the complete element-child sequence.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-06/xml-dtd-one-unambiguous-content-model-child-sequence

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": [
        "xmlDtdContent"
      ],
      "properties": {
        "xmlDtdContent": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "nodes",
                "root",
                "mixed_names",
                "child_elements",
                "character_data"
              ],
              "properties": {
                "kind": {
                  "enum": [
                    "children",
                    "empty",
                    "any",
                    "mixed"
                  ]
                },
                "nodes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "op",
                      "name",
                      "children"
                    ],
                    "properties": {
                      "op": {
                        "enum": [
                          "name",
                          "seq",
                          "choice",
                          "optional",
                          "star",
                          "plus"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 0
                      },
                      "children": {
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 63
                        },
                        "maxItems": 64,
                        "minItems": 0
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "root": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 63
                },
                "mixed_names": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1,
                    "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "child_elements": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1,
                    "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                  },
                  "maxItems": 128,
                  "minItems": 0
                },
                "character_data": {
                  "type": "string",
                  "maxLength": 2000,
                  "minLength": 0
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "matches_content_expression",
                    "deterministic_model",
                    "valid_document_content",
                    "accepted_element_prefix",
                    "possible_next_elements",
                    "position_count",
                    "ambiguity_witness"
                  ],
                  "properties": {
                    "matches_content_expression": {
                      "type": "boolean"
                    },
                    "deterministic_model": {
                      "type": "boolean"
                    },
                    "valid_document_content": {
                      "type": "boolean"
                    },
                    "accepted_element_prefix": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 128
                    },
                    "possible_next_elements": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                      },
                      "maxItems": 64,
                      "minItems": 0
                    },
                    "position_count": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 64
                    },
                    "ambiguity_witness": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "after_position",
                            "name",
                            "positions"
                          ],
                          "properties": {
                            "after_position": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 63
                                }
                              ]
                            },
                            "name": {
                              "type": "string",
                              "maxLength": 64,
                              "minLength": 1,
                              "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                            },
                            "positions": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 63
                              },
                              "maxItems": 2,
                              "minItems": 2
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →