{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "authors": {
            "items": {
              "maxGraphemes": 100,
              "maxLength": 1000,
              "type": "string"
            },
            "maxLength": 10,
            "minLength": 1,
            "type": "array"
          },
          "coverUrl": {
            "description": "Open Library cover image for the work.",
            "format": "uri",
            "maxLength": 200,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "evidenceUrls": {
            "description": "Links showing the book exists and when it was published.",
            "items": {
              "format": "uri",
              "maxLength": 1000,
              "type": "string"
            },
            "maxLength": 5,
            "type": "array"
          },
          "note": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "openLibraryWork": {
            "description": "Open Library work id, e.g. OL123W, when the book was picked from an Open Library lookup.",
            "maxLength": 32,
            "type": "string"
          },
          "publicationDate": {
            "description": "YYYY, YYYY-MM or YYYY-MM-DD.",
            "maxLength": 10,
            "type": "string"
          },
          "publisher": {
            "maxGraphemes": 200,
            "maxLength": 2000,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "version": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "title",
          "authors",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A voter's suggestion that Nerd Ballot add a book to its catalog, with evidence. Suggestions are reviewed by hand and never become eligible automatically.",
  "id": "com.nerdballot.suggestion",
  "lexicon": 1
}
