{
  "additionalProperties": false,
  "oneOf": [
    {
      "properties": {
        "pdfBase64": {}
      },
      "required": [
        "pdfBase64"
      ]
    },
    {
      "properties": {
        "url": {}
      },
      "required": [
        "url"
      ]
    }
  ],
  "properties": {
    "pageRanges": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "end": {
            "maximum": 25,
            "minimum": 1,
            "type": "integer"
          },
          "start": {
            "maximum": 25,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "type": "object"
      },
      "maxItems": 25,
      "type": "array"
    },
    "pdfBase64": {
      "maxLength": 2796204,
      "minLength": 4,
      "pattern": "^[A-Za-z0-9+/]*={0,2}$",
      "type": "string"
    },
    "quotes": {
      "items": {
        "maxLength": 512,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 16,
      "type": "array"
    },
    "url": {
      "maxLength": 2048,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [],
  "type": "object",
  "title": "PDF Text Extraction, Page Citations & Quote Matching — input"
}
