{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peregrini-ai/json-schema/peregrini-ai-tender-schema.json",
  "title": "Tender",
  "description": "An authority the Court does not hold, tendered under Rule 4.10. Graded at filing, zero-model: G0 cited bare or no text (argument); G1 tendered with text, attested; G2 the source exists; G3 the passage confirmed against held or citator text or another operator's tender; G4 admitted by the other party. Silence never grades. A grade measures the passage, not the proposition.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peregrini-ai-openapi.yml#/components/schemas/Tender",
  "type": "object",
  "required": [
    "citation",
    "proposition"
  ],
  "properties": {
    "citation": {
      "type": "string",
      "minLength": 3,
      "maxLength": 300
    },
    "pinpoint": {
      "type": "string",
      "maxLength": 100
    },
    "proposition": {
      "type": "string",
      "minLength": 5,
      "maxLength": 300,
      "description": "Shown to no judge outside this matter"
    },
    "text": {
      "type": "string",
      "maxLength": 6000,
      "description": "The passage with enough surrounding text to be read fairly"
    },
    "provenance": {
      "type": "object",
      "required": [
        "source"
      ],
      "properties": {
        "source": {
          "type": "string",
          "description": "Where the party found it"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "edition": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "translator": {
          "type": "string"
        }
      }
    },
    "attested": {
      "type": "boolean",
      "description": "Required with text: the text is a true extract of the source. A passage that does not exist or was altered is dishonesty (PD4 −5 on a finding of intent)."
    }
  }
}