Skip to content

Document template · generic.business.competitive_comparison

Competitive Comparison

  • Render-verified
  • Commercial
  • Version 1.0.0

Country-agnostic feature/price competitive comparison document. Must respect applicable comparative-advertising rules (Dir. 2006/114/EC for EU callers) — claims should be verifiable and substantiated.

JSON Schema

Fields in this template

Data sent to the API is validated against the template’s JSON Schema before anything is rendered. This template defines 24 fields:

Field Required Type Description
issuer Required object
issuer.name Required string
issuer.address Optional string
issuer.vat_id Optional string
issuer.contact_email Required string
our_offer_name Required string
competitors Required array of object
competitors[].name Required string
competitors[].offer_name Required string
dimensions Required array of object
dimensions[].dimension_name Required string
dimensions[].our_value Required string
dimensions[].competitor_values Required array of object
dimensions[].advantage_indicator Required enum
dimensions[].source_or_note Optional string Optional citation or methodology note for the values.
our_summary_pros Required array of string
our_summary_cons Required array of string
recommendation_context Required string
methodology_note Optional string
issue_date Optional date
signatory Optional object
signatory.name Required string
signatory.role Required string
signatory.date Optional date

POST /render

Generate it

One POST /render call: send your JSON, get the finished PDF back. Or skip the JSON entirely and describe the document in plain language on chut.app.

curl
curl -X POST https://api.papii.eu/render \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "generic.business.competitive_comparison",
    "data": { ... },
    "options": {"language": "en"}
  }' -o competitive-comparison.pdf

Frequently asked questions

What is “Competitive Comparison”?

Country-agnostic feature/price competitive comparison document. Must respect applicable comparative-advertising rules (Dir. 2006/114/EC for EU callers) — claims should be verifiable and substantiated. On papii this document is available as template generic.business.competitive_comparison: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a Competitive Comparison with AI?

Yes. chut.app — the AI back office papii powers — fills this template from a plain-language description: you describe the document in one sentence, the AI structures the data, papii validates it against the schema and renders the PDF. Developers can also call the papii API directly with structured JSON.

Is the Competitive Comparison template legally compliant?

This template is render-verified: its schema, sample data and PDF output are automatically tested on every release. It is published with status “ready”, meaning it has not yet been through papii’s final legal review. Where it references specific legislation, that is stated in the template description — always have a professional check documents with legal effect before relying on them.