Created
January 28, 2026 03:00
-
-
Save coopermayne/53e6a4ecc09f61aa58f05fb0a6141815 to your computer and use it in GitHub Desktop.
Two Not Touch Puzzle JSON Schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "$id": "https://example.com/two-not-touch-puzzle.schema.json", | |
| "title": "Two Not Touch Puzzle", | |
| "description": "A Two Not Touch puzzle with solution and solving steps", | |
| "type": "object", | |
| "required": ["puzzle", "solution", "steps"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "puzzle": { | |
| "description": "10x10 grid where each cell contains a region ID (0-9). Cells with the same ID belong to the same region.", | |
| "type": "array", | |
| "minItems": 10, | |
| "maxItems": 10, | |
| "items": { | |
| "type": "array", | |
| "minItems": 10, | |
| "maxItems": 10, | |
| "items": { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 9 | |
| } | |
| } | |
| }, | |
| "solution": { | |
| "description": "10x10 grid where 1 = star position, 0 = empty cell. Each row, column, and region contains exactly 2 stars.", | |
| "type": "array", | |
| "minItems": 10, | |
| "maxItems": 10, | |
| "items": { | |
| "type": "array", | |
| "minItems": 10, | |
| "maxItems": 10, | |
| "items": { | |
| "type": "integer", | |
| "enum": [0, 1] | |
| } | |
| } | |
| }, | |
| "steps": { | |
| "description": "Human-readable solving steps explaining the logical deductions to solve the puzzle", | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment