{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/invowerk-dev/json-schema/invowerk-dev-render-response-schema.json",
  "title": "RenderResponse",
  "description": "The answer of POST /v1/render?format=json: the HTML and what invowerk detected.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/invowerk-dev-openapi.yml#/components/schemas/RenderResponse",
  "properties": {
    "html": {
      "type": "string",
      "title": "Html",
      "description": "The rendered invoice as a complete HTML document."
    },
    "lang": {
      "type": "string",
      "title": "Lang",
      "description": "The label language used: 'de' or 'en'."
    },
    "flavor": {
      "type": "string",
      "title": "Flavor",
      "description": "The detected rule set, e.g. 'xrechnung', 'peppol_bis' or 'unknown'."
    },
    "syntax": {
      "type": "string",
      "title": "Syntax",
      "description": "The detected XML syntax, e.g. 'ubl_invoice' or 'cii'."
    }
  },
  "type": "object",
  "required": [
    "html",
    "lang",
    "flavor",
    "syntax"
  ]
}