{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orvel-dev/json-schema/orvel-dev-body-embed-v1-invoices-embed-post-schema.json",
  "title": "Body_embed_v1_invoices_embed_post",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/facturx-orvel-dev-openapi.json#/components/schemas/Body_embed_v1_invoices_embed_post",
  "properties": {
    "pdf": {
      "type": "string",
      "contentMediaType": "application/octet-stream",
      "title": "Pdf",
      "description": "The visual PDF invoice"
    },
    "invoice_json": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Invoice Json",
      "description": "Invoice JSON to generate the XML from"
    },
    "profile": {
      "$ref": "#/$defs/Profile",
      "default": "en16931"
    },
    "check": {
      "type": "string",
      "enum": [
        "base",
        "fr-ctc"
      ],
      "title": "Check",
      "default": "fr-ctc"
    },
    "language": {
      "type": "string",
      "enum": [
        "fr",
        "en"
      ],
      "title": "Language",
      "default": "fr"
    },
    "party_check": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Party Check"
    }
  },
  "type": "object",
  "required": [
    "pdf"
  ],
  "$defs": {
    "Profile": {
      "type": "string",
      "enum": [
        "basicwl",
        "en16931",
        "extended",
        "extended-ctc-fr"
      ],
      "title": "Profile",
      "description": "Factur-X / CII profile for generation."
    }
  }
}