csharpfritz / csharpfritz/MyFirstTextGame

Add world.json schema validation with JSON Schema

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
architecture enhancement squad:fury
Dominant language
C#
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Create a JSON Schema file for world.json that validates structure, required fields, and ID formats. Add a build-time or load-time validation step. This catches content errors earlier than the runtime WorldValidator and gives better error messages for content authors.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating world.json and the runtime WorldValidator to understand the existing structure, required fields, and ID formats. Define a JSON Schema for those rules, then identify the build-time or load-time entry point where validation should run. Done means malformed world.json content is rejected earlier with clearer errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, json
Domain
build-system, content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.