{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/professorotter-com/json-schema/professorotter-com-catalog-overview-schema.json",
  "title": "CatalogOverview",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/professorotter-com-openapi.json#/components/schemas/CatalogOverview",
  "type": "object",
  "required": [
    "name",
    "url",
    "description",
    "brand",
    "activities",
    "counts",
    "levels",
    "shop",
    "endpoints",
    "howToFetchMarkdown"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "description": {
      "type": "string"
    },
    "brand": {
      "type": "string"
    },
    "activities": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "slug",
          "name",
          "blurb",
          "status",
          "levels",
          "url",
          "markdownUrl"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "blurb": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "available",
              "coming_soon"
            ]
          },
          "levels": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "easy",
                "challenge",
                "expert"
              ]
            }
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "markdownUrl": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          }
        }
      }
    },
    "counts": {
      "type": "object",
      "required": [
        "wordSearches",
        "easyWordSearches",
        "challengeWordSearches",
        "colorByNumber",
        "mazes",
        "dotToDot",
        "drawingPractice",
        "crissCross",
        "wordScrambles",
        "spotTheDifference",
        "sudoku",
        "coloringPages",
        "games",
        "seekAndCount",
        "colorByMath",
        "secretCodes",
        "crosswords",
        "nonograms",
        "bingo",
        "logicPuzzles",
        "shopProducts"
      ],
      "properties": {
        "wordSearches": {
          "type": "integer"
        },
        "easyWordSearches": {
          "type": "integer"
        },
        "challengeWordSearches": {
          "type": "integer"
        },
        "colorByNumber": {
          "type": "integer"
        },
        "mazes": {
          "type": "integer"
        },
        "dotToDot": {
          "type": "integer"
        },
        "drawingPractice": {
          "type": "integer"
        },
        "crissCross": {
          "type": "integer"
        },
        "wordScrambles": {
          "type": "integer"
        },
        "spotTheDifference": {
          "type": "integer"
        },
        "sudoku": {
          "type": "integer"
        },
        "coloringPages": {
          "type": "integer"
        },
        "games": {
          "type": "integer"
        },
        "seekAndCount": {
          "type": "integer"
        },
        "colorByMath": {
          "type": "integer"
        },
        "secretCodes": {
          "type": "integer"
        },
        "crosswords": {
          "type": "integer"
        },
        "nonograms": {
          "type": "integer"
        },
        "bingo": {
          "type": "integer"
        },
        "logicPuzzles": {
          "type": "integer"
        },
        "shopProducts": {
          "type": "integer"
        }
      }
    },
    "levels": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "shopUrl"
        ],
        "properties": {
          "id": {
            "type": "string",
            "enum": [
              "easy",
              "challenge",
              "expert"
            ]
          },
          "name": {
            "type": "string"
          },
          "shopUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "shop": {
      "type": "object",
      "required": [
        "url",
        "markdownUrl",
        "products",
        "payment"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "markdownUrl": {
          "type": "string",
          "format": "uri"
        },
        "products": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Product"
          }
        },
        "payment": {
          "type": "string"
        }
      }
    },
    "endpoints": {
      "type": "object",
      "required": [
        "llmsTxt",
        "llmsFullTxt",
        "sitemap",
        "sitemapMarkdown",
        "openapi",
        "apiCatalog",
        "ard",
        "aiCatalog",
        "agentSkills",
        "developers",
        "pricing",
        "catalog",
        "products",
        "wordSearches",
        "colorByNumber",
        "mazes",
        "dotToDot",
        "drawingPractice",
        "crissCross",
        "wordScrambles",
        "spotTheDifference",
        "sudoku",
        "coloringPages",
        "games",
        "seekAndCount",
        "colorByMath",
        "secretCodes",
        "crosswords",
        "nonograms",
        "bingo",
        "logicPuzzles"
      ],
      "properties": {
        "llmsTxt": {
          "type": "string",
          "format": "uri"
        },
        "llmsFullTxt": {
          "type": "string",
          "format": "uri"
        },
        "sitemap": {
          "type": "string",
          "format": "uri"
        },
        "sitemapMarkdown": {
          "type": "string",
          "format": "uri"
        },
        "openapi": {
          "type": "string",
          "format": "uri"
        },
        "apiCatalog": {
          "type": "string",
          "format": "uri"
        },
        "ard": {
          "type": "string",
          "format": "uri"
        },
        "aiCatalog": {
          "type": "string",
          "format": "uri"
        },
        "agentSkills": {
          "type": "string",
          "format": "uri"
        },
        "developers": {
          "type": "string",
          "format": "uri"
        },
        "pricing": {
          "type": "string",
          "format": "uri"
        },
        "catalog": {
          "type": "string",
          "format": "uri"
        },
        "products": {
          "type": "string",
          "format": "uri"
        },
        "wordSearches": {
          "type": "string",
          "format": "uri"
        },
        "colorByNumber": {
          "type": "string",
          "format": "uri"
        },
        "mazes": {
          "type": "string",
          "format": "uri"
        },
        "dotToDot": {
          "type": "string",
          "format": "uri"
        },
        "drawingPractice": {
          "type": "string",
          "format": "uri"
        },
        "crissCross": {
          "type": "string",
          "format": "uri"
        },
        "wordScrambles": {
          "type": "string",
          "format": "uri"
        },
        "spotTheDifference": {
          "type": "string",
          "format": "uri"
        },
        "sudoku": {
          "type": "string",
          "format": "uri"
        },
        "coloringPages": {
          "type": "string",
          "format": "uri"
        },
        "games": {
          "type": "string",
          "format": "uri"
        },
        "seekAndCount": {
          "type": "string",
          "format": "uri"
        },
        "colorByMath": {
          "type": "string",
          "format": "uri"
        },
        "secretCodes": {
          "type": "string",
          "format": "uri"
        },
        "crosswords": {
          "type": "string",
          "format": "uri"
        },
        "nonograms": {
          "type": "string",
          "format": "uri"
        },
        "bingo": {
          "type": "string",
          "format": "uri"
        },
        "logicPuzzles": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "howToFetchMarkdown": {
      "type": "string"
    }
  },
  "$defs": {
    "Product": {
      "type": "object",
      "required": [
        "id",
        "name",
        "description",
        "kind",
        "level",
        "activity",
        "bookTitle",
        "price",
        "availability",
        "url",
        "markdownUrl",
        "checkout"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "digital",
            "print"
          ]
        },
        "level": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "easy",
            "challenge",
            "expert",
            null
          ]
        },
        "activity": {
          "type": "string",
          "enum": [
            "word-searches",
            "mazes",
            "color-by-number",
            "dot-to-dot",
            "criss-cross",
            "word-scrambles",
            "spot-the-difference",
            "sudoku",
            "season-books",
            "topic-packs",
            "bundle"
          ]
        },
        "bookTitle": {
          "type": "string"
        },
        "price": {
          "type": "object",
          "required": [
            "currency",
            "cents",
            "formatted"
          ],
          "properties": {
            "currency": {
              "type": "string",
              "const": "USD"
            },
            "cents": {
              "type": "integer"
            },
            "formatted": {
              "type": "string"
            }
          }
        },
        "availability": {
          "type": "string",
          "enum": [
            "in_stock",
            "coming_soon",
            "free"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "markdownUrl": {
          "type": "string",
          "format": "uri"
        },
        "checkout": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "method",
                "url",
                "encoding",
                "fields",
                "note"
              ],
              "properties": {
                "method": {
                  "type": "string",
                  "const": "POST"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "encoding": {
                  "type": "string"
                },
                "fields": {
                  "type": "object",
                  "required": [
                    "product"
                  ],
                  "properties": {
                    "product": {
                      "type": "string"
                    }
                  }
                },
                "note": {
                  "type": "string"
                }
              }
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}