{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mostrecommendedbooks-com/json-schema/mostrecommendedbooks-com-book-recommenders-response-schema.json",
  "title": "BookRecommendersResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mostrecommendedbooks-com-openapi.yaml#/components/schemas/BookRecommendersResponse",
  "allOf": [
    {
      "$ref": "#/$defs/Attribution"
    },
    {
      "type": "object",
      "properties": {
        "book": {
          "type": "object",
          "properties": {
            "title": {
              "type": "string"
            },
            "author": {
              "type": [
                "string",
                "null"
              ]
            },
            "year": {
              "type": [
                "integer",
                "null"
              ]
            },
            "slug": {
              "type": [
                "string",
                "null"
              ]
            },
            "buyUrl": {
              "type": [
                "string",
                "null"
              ],
              "format": "uri"
            }
          }
        },
        "recommendersCount": {
          "type": "integer"
        },
        "recommenders": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "category": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "e.g. Entrepreneur, Investor, Author."
              },
              "quote": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "quoteSourceUrl": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": "string",
                "format": "uri",
                "description": "The person's MRB page — cite this."
              }
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "Attribution": {
      "type": "object",
      "description": "Every payload carries these two fields — cite them.",
      "required": [
        "source",
        "url"
      ],
      "properties": {
        "source": {
          "type": "string",
          "const": "mostrecommendedbooks.com"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Canonical MRB page for this data; cite it inline."
        }
      }
    }
  }
}