{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/professorotter-com/json-schema/professorotter-com-secret-code-schema.json",
  "title": "SecretCode",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/professorotter-com-openapi.json#/components/schemas/SecretCode",
  "type": "object",
  "required": [
    "type",
    "slug",
    "title",
    "level",
    "description",
    "question",
    "theme",
    "category",
    "categoryName",
    "code",
    "keyGiven",
    "hints",
    "letters",
    "url",
    "pdfUrl",
    "markdownUrl"
  ],
  "properties": {
    "type": {
      "type": "string",
      "const": "secret-code"
    },
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "level": {
      "type": "string",
      "enum": [
        "easy",
        "challenge",
        "expert"
      ]
    },
    "description": {
      "type": "string"
    },
    "question": {
      "type": "string"
    },
    "theme": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "categoryName": {
      "type": "string"
    },
    "code": {
      "type": "string",
      "enum": [
        "pictures",
        "letters"
      ]
    },
    "keyGiven": {
      "type": "boolean"
    },
    "hints": {
      "type": "integer"
    },
    "letters": {
      "type": "integer"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "pdfUrl": {
      "type": "string",
      "format": "uri"
    },
    "markdownUrl": {
      "type": "string",
      "format": "uri"
    }
  }
}