Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 06 / epub cfi xml id resource indirection utf16 point range binding

Reconstruct exact EPUB CFI point and range bindings on explicitly supplied publication resource trees.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-06/epub-cfi-xml-id-resource-indirection-utf16-point-range-binding

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": [
        "epubCfi"
      ],
      "properties": {
        "epubCfi": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "nodes",
                "resources",
                "start_resource",
                "cfi"
              ],
              "properties": {
                "nodes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "xml_id",
                      "namespace",
                      "local",
                      "alt",
                      "target_resource",
                      "children"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z0-9_.-]+$"
                      },
                      "xml_id": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "maxLength": 64,
                            "minLength": 1
                          }
                        ]
                      },
                      "namespace": {
                        "type": "string",
                        "maxLength": 256,
                        "minLength": 0
                      },
                      "local": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$"
                      },
                      "alt": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "maxLength": 2048,
                            "minLength": 0
                          }
                        ]
                      },
                      "target_resource": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "maxLength": 64,
                            "minLength": 1,
                            "pattern": "^[A-Za-z0-9_.-]+$"
                          }
                        ]
                      },
                      "children": {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "element"
                              ],
                              "properties": {
                                "element": {
                                  "type": "string",
                                  "maxLength": 64,
                                  "minLength": 1,
                                  "pattern": "^[A-Za-z0-9_.-]+$"
                                }
                              }
                            },
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "text"
                              ],
                              "properties": {
                                "text": {
                                  "type": "string",
                                  "maxLength": 2048,
                                  "minLength": 0
                                }
                              }
                            }
                          ]
                        },
                        "maxItems": 128,
                        "minItems": 0
                      }
                    }
                  },
                  "maxItems": 96,
                  "minItems": 1
                },
                "resources": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "root"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z0-9_.-]+$"
                      },
                      "root": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1,
                        "pattern": "^[A-Za-z0-9_.-]+$"
                      }
                    }
                  },
                  "maxItems": 16,
                  "minItems": 1
                },
                "start_resource": {
                  "type": "string",
                  "maxLength": 64,
                  "minLength": 1,
                  "pattern": "^[A-Za-z0-9_.-]+$"
                },
                "cfi": {
                  "type": "string",
                  "maxLength": 2048,
                  "minLength": 1
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "is_range",
                    "start",
                    "end"
                  ],
                  "properties": {
                    "is_range": {
                      "type": "boolean"
                    },
                    "start": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "resource",
                        "node",
                        "kind",
                        "text_slot",
                        "offset",
                        "side_bias",
                        "path_steps"
                      ],
                      "properties": {
                        "resource": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1,
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        },
                        "node": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1,
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        },
                        "kind": {
                          "enum": [
                            "element",
                            "text",
                            "img_alt"
                          ]
                        },
                        "text_slot": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 128
                            }
                          ]
                        },
                        "offset": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 2048
                            }
                          ]
                        },
                        "side_bias": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "enum": [
                                "a",
                                "b"
                              ]
                            }
                          ]
                        },
                        "path_steps": {
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 1000000
                          },
                          "maxItems": 64,
                          "minItems": 0
                        }
                      }
                    },
                    "end": {
                      "anyOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "resource",
                            "node",
                            "kind",
                            "text_slot",
                            "offset",
                            "side_bias",
                            "path_steps"
                          ],
                          "properties": {
                            "resource": {
                              "type": "string",
                              "maxLength": 64,
                              "minLength": 1,
                              "pattern": "^[A-Za-z0-9_.-]+$"
                            },
                            "node": {
                              "type": "string",
                              "maxLength": 64,
                              "minLength": 1,
                              "pattern": "^[A-Za-z0-9_.-]+$"
                            },
                            "kind": {
                              "enum": [
                                "element",
                                "text",
                                "img_alt"
                              ]
                            },
                            "text_slot": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 128
                                }
                              ]
                            },
                            "offset": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 2048
                                }
                              ]
                            },
                            "side_bias": {
                              "anyOf": [
                                {
                                  "type": "null"
                                },
                                {
                                  "enum": [
                                    "a",
                                    "b"
                                  ]
                                }
                              ]
                            },
                            "path_steps": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 1000000
                              },
                              "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 →