Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms widow orphan page plan

An agent that paginates an exported CMS document needs its proposed page breaks checked against orphan widow and keep-next constraints and the minimum possible page count.

POST https://detect.halowerk.com/v1/cms/cms-widow-orphan-page-plan

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "paragraphs": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "lines": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              },
              "orphans": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              },
              "widows": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              },
              "keep_next": {
                "type": "boolean"
              }
            },
            "required": [
              "lines",
              "orphans",
              "widows",
              "keep_next"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 16
        },
        "page_lines": {
          "type": "integer",
          "minimum": 1,
          "maximum": 128
        },
        "claimed_breaks": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1024
          },
          "minItems": 1,
          "maxItems": 1024
        }
      },
      "required": [
        "paragraphs",
        "page_lines",
        "claimed_breaks"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "paragraphs": [
      {
        "lines": 3,
        "orphans": 1,
        "widows": 1,
        "keep_next": false
      }
    ],
    "page_lines": 2,
    "claimed_breaks": [
      1,
      3
    ]
  }
}

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 →