Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 03 / pdf optional content usage membership visibility expression

Resolve PDF optional-content group state and OCMD visibility expressions.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-03/pdf-optional-content-usage-membership-visibility-expression

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": [
        "pdfOptionalContent"
      ],
      "properties": {
        "pdfOptionalContent": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "base_on",
                "groups",
                "on",
                "off",
                "event",
                "usage",
                "memberships"
              ],
              "properties": {
                "base_on": {
                  "type": "boolean"
                },
                "groups": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "on": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "off": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "event": {
                  "enum": [
                    "View",
                    "Print",
                    "Export"
                  ]
                },
                "usage": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "event",
                      "group",
                      "on"
                    ],
                    "properties": {
                      "event": {
                        "enum": [
                          "View",
                          "Print",
                          "Export"
                        ]
                      },
                      "group": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1
                      },
                      "on": {
                        "type": "boolean"
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                },
                "memberships": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "id",
                      "groups",
                      "policy",
                      "expression"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 64,
                        "minLength": 1
                      },
                      "groups": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 64,
                          "minLength": 1
                        },
                        "maxItems": 64,
                        "minItems": 0
                      },
                      "policy": {
                        "enum": [
                          "AllOn",
                          "AnyOn",
                          "AllOff",
                          "AnyOff"
                        ]
                      },
                      "expression": {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "op",
                                "group"
                              ],
                              "properties": {
                                "op": {
                                  "const": "group"
                                },
                                "group": {
                                  "type": "string",
                                  "maxLength": 64,
                                  "minLength": 1
                                }
                              }
                            },
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "op",
                                "children"
                              ],
                              "properties": {
                                "op": {
                                  "enum": [
                                    "not",
                                    "and",
                                    "or"
                                  ]
                                },
                                "children": {
                                  "type": "array",
                                  "items": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 63
                                  },
                                  "maxItems": 8,
                                  "minItems": 1
                                }
                              }
                            }
                          ]
                        },
                        "maxItems": 64,
                        "minItems": 0
                      }
                    }
                  },
                  "maxItems": 64,
                  "minItems": 0
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "groups",
                    "memberships"
                  ],
                  "properties": {
                    "groups": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "on"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "on": {
                            "type": "boolean"
                          }
                        }
                      }
                    },
                    "memberships": {
                      "type": "array",
                      "maxItems": 4096,
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "visible"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "visible": {
                            "type": "boolean"
                          }
                        }
                      }
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

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 →