type-get-json-schema
Installation
SKILL.md
Type / Get Json Schema
Generates a JSON Schema for a given C# type name using reflection. Supports primitives, enums, arrays, generic collections, dictionaries, and complex objects. The type must be present in any loaded assembly. Use the full type name (e.g. 'UnityEngine.Vector3') for best results.
Inputs
typeName— full type name preferred (e.g.UnityEngine.Vector3,System.Collections.Generic.List<System.Int32>). Simple names work when unambiguous.descriptionMode(defaultIgnore) — controls type-leveldescription:Includekeeps it on the target only,IncludeRecursivelyalso keeps it inside$defs,Ignorestrips all.propertyDescriptionMode(defaultIgnore) — controls property/field/itemdescription:Includekeeps on the target's own properties/items only,IncludeRecursivelyalso keeps inside$defs,Ignorestrips all.includeNestedTypes(defaultfalse) — when true, complex nested types are extracted into$defsand referenced via$ref. Useful for recursive or large types.writeIndented(defaultfalse) — pretty-print the output JSON.