type-get-json-schema

Community

Generate JSON Schema from C# types.

Authorlunafish
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of JSON Schemas from C# types, simplifying data validation and API contract definition.

Core Features & Use Cases

  • Reflection-based Schema Generation: Creates JSON Schemas for various C# types including primitives, enums, collections, and complex objects.
  • Customizable Descriptions: Control the inclusion of descriptions at type and property levels.
  • Nested Type Handling: Option to extract nested types into $defs for cleaner schemas.
  • Use Case: Generate a JSON Schema for a User C# class to validate incoming API requests.

Quick Start

Generate a JSON schema for the C# type 'MyNamespace.MyClass' with indented output.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: type-get-json-schema
Download link: https://github.com/lunafish/Game00/archive/main.zip#type-get-json-schema

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.