Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 15 / relaxng10 tree pattern attribute interleave complete validation

Validate an explicit bounded RELAX NG simplified grammar against a complete expanded-name XML element/text/attribute tree, retaining admissibility and full validation witnesses.. Compare the complete typed result SHA256.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/relaxng10-tree-pattern-attribute-interleave-complete-validation

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": [
        "relaxNG"
      ],
      "properties": {
        "relaxNG": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "patterns",
                "roots",
                "nodes"
              ],
              "properties": {
                "patterns": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "enum": [
                              "empty",
                              "notAllowed",
                              "text"
                            ]
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "datatype"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "const": "data"
                          },
                          "datatype": {
                            "enum": [
                              "string",
                              "token"
                            ]
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "datatype",
                          "value"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "const": "value"
                          },
                          "datatype": {
                            "enum": [
                              "string",
                              "token"
                            ]
                          },
                          "value": {
                            "type": "string",
                            "maxLength": 512
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "target"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "const": "ref"
                          },
                          "target": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "name",
                          "pattern"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "enum": [
                              "element",
                              "attribute"
                            ]
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "namespace",
                                  "local"
                                ],
                                "properties": {
                                  "kind": {
                                    "const": "name"
                                  },
                                  "namespace": {
                                    "type": "string",
                                    "maxLength": 128
                                  },
                                  "local": {
                                    "$ref": "#/properties/artifact/%24defs/a"
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind",
                                  "namespace"
                                ],
                                "properties": {
                                  "kind": {
                                    "const": "namespace"
                                  },
                                  "namespace": {
                                    "type": "string",
                                    "maxLength": 128
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "kind"
                                ],
                                "properties": {
                                  "kind": {
                                    "const": "any"
                                  }
                                }
                              }
                            ]
                          },
                          "pattern": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "pattern"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "enum": [
                              "list",
                              "oneOrMore"
                            ]
                          },
                          "pattern": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "left",
                          "right"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "enum": [
                              "group",
                              "choice",
                              "interleave"
                            ]
                          },
                          "left": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "right": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          }
                        }
                      }
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 48
                },
                "roots": {
                  "type": "array",
                  "items": {
                    "$ref": "#/properties/artifact/%24defs/a"
                  },
                  "minItems": 1,
                  "maxItems": 8
                },
                "nodes": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "parent",
                          "kind",
                          "namespace",
                          "local",
                          "attributes"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "parent": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "minLength": 1,
                            "maxLength": 48,
                            "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                          },
                          "kind": {
                            "const": "element"
                          },
                          "namespace": {
                            "type": "string",
                            "maxLength": 128
                          },
                          "local": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "attributes": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "namespace",
                                "local",
                                "value"
                              ],
                              "properties": {
                                "namespace": {
                                  "type": "string",
                                  "maxLength": 128
                                },
                                "local": {
                                  "$ref": "#/properties/artifact/%24defs/a"
                                },
                                "value": {
                                  "type": "string",
                                  "maxLength": 1024
                                }
                              }
                            },
                            "maxItems": 16
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "parent",
                          "kind",
                          "data"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "parent": {
                            "$ref": "#/properties/artifact/%24defs/a"
                          },
                          "kind": {
                            "const": "text"
                          },
                          "data": {
                            "type": "string",
                            "maxLength": 2048
                          }
                        }
                      }
                    ]
                  },
                  "minItems": 1,
                  "maxItems": 64
                }
              }
            },
            "claim": {
              "type": [
                "string",
                "null"
              ],
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-f]{64}$"
            }
          }
        }
      },
      "$defs": {
        "a": {
          "type": "string",
          "minLength": 1,
          "maxLength": 48,
          "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
        }
      }
    }
  }
}

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 →