Add QR title block and content blocks

This commit is contained in:
mpabi
2026-07-15 17:07:27 +02:00
parent c66f72f73e
commit 30566840d0
8 changed files with 286 additions and 41 deletions
+28
View File
@@ -32,6 +32,9 @@
"type": "string",
"minLength": 1
},
"title_block": {
"$ref": "#/$defs/titleBlock"
},
"dictionary_refs": {
"type": "object",
"properties": {
@@ -225,6 +228,31 @@
},
"additionalProperties": false
},
"titleBlock": {
"type": "object",
"description": "Tekstowa tabliczka w nagłówku: metadane dokumentu oraz opcjonalny adres kodowany w QR.",
"properties": {
"category": { "type": "string" },
"standard": { "type": "string" },
"prepared_by": { "type": "string" },
"prepared_on": { "type": "string" },
"checked_by": { "type": "string" },
"approved_by": { "type": "string" },
"title": { "type": "string" },
"url": { "type": "string" },
"url_host_uuid": { "type": "string" },
"url_port": { "type": ["string", "integer"] },
"doc_uuid": { "type": "string" },
"revision": { "type": "string" },
"issued_on": { "type": "string" },
"series": { "type": "string" },
"document_type": { "type": "string" },
"tool": { "type": "string" },
"sheet": { "type": "string" },
"show_qr": { "type": "boolean" }
},
"additionalProperties": false
},
"sideMarginLayout": {
"type": "object",
"required": ["columns"],