{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artificialwit-com/json-schema/artificialwit-com-render-request-schema.json",
  "title": "RenderRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artificialwit-com-template-api-openapi.yml#/components/schemas/RenderRequest",
  "properties": {
    "template": {
      "$ref": "#/$defs/TemplateModel"
    },
    "data": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Data"
    }
  },
  "type": "object",
  "required": [
    "template"
  ],
  "$defs": {
    "TemplateModel": {
      "properties": {
        "page_body": {
          "type": "string",
          "title": "Page Body"
        },
        "page_header": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Page Header"
        },
        "page_footer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Page Footer"
        },
        "page_orientation_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Page Orientation Id"
        },
        "water_mark_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Water Mark Text"
        },
        "top_margin": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Top Margin"
        },
        "right_margin": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Right Margin"
        },
        "bottom_margin": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bottom Margin"
        },
        "left_margin": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Left Margin"
        }
      },
      "type": "object",
      "required": [
        "page_body"
      ],
      "title": "TemplateModel"
    }
  }
}