{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nulegal-eu/json-schema/nulegal-eu-check-quote-request-schema.json",
  "title": "CheckQuoteRequest",
  "description": "checkQuote's request. Unknown fields are a 400.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nulegal-eu-openapi.yml#/components/schemas/CheckQuoteRequest",
  "properties": {
    "quote": {
      "type": "string",
      "maxLength": 1000,
      "minLength": 1,
      "title": "Quote",
      "description": "The quotation, as written."
    },
    "citation": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1,
      "title": "Citation",
      "description": "What the quotation is attributed to: a provision ('§ 573 Abs. 2 BGB', 'Art. 6 DSGVO') or a decision (docket with court, ECLI, Fundstelle; ', Rn. 27' may follow)."
    },
    "as_of": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 10
        },
        {
          "type": "null"
        }
      ],
      "title": "As Of",
      "description": "Provisions: the Fassung in force on this day (YYYY-MM-DD). Default: the text in force today. Ignored for a decision."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "quote",
    "citation"
  ]
}