Structurize
Work with JSON Structure schema format. Transform schemas, generate code, and export to databases while preserving validation rules and documentation.
What is JSON Structure?
A clean, focused schema format for data structures
JSON Structure is a schema format that focuses on describing data structures clearly and concisely. Unlike JSON Schema which is primarily designed for validation, JSON Structure emphasizes type definitions, inheritance, and code generation capabilities.
Clean Type Definitions
Express types clearly with support for primitives, objects, arrays, maps, and unions.
Type Extensions
Support for type inheritance and composition with $extends.
Discriminated Unions
Tagged unions with clear discriminator properties for polymorphism.
Validation Rules
Preserve validation constraints like minLength, maxLength, pattern, etc.
Convert TO JSON Structure
Transform schemas into JSON Structure format
JSON Schema → Structure
Convert JSON Schema to JSON Structure, preserving validation and composition.
structurize j2s schema.json --out schema.struct.json
Avro → Structure
Convert Avro Schema to JSON Structure format.
structurize a2s schema.avsc --out schema.struct.json
Convert FROM JSON Structure
Export JSON Structure to other formats
Structure → Protobuf
Generate Protocol Buffer definitions from JSON Structure.
structurize s2p schema.struct.json --out ./proto
Structure → XSD
Generate XML Schema from JSON Structure with full type support.
structurize s2x schema.struct.json --out schema.xsd
Structure → SQL
Generate SQL table definitions for multiple database engines.
structurize struct2sql schema.struct.json --dialect postgresql
Structure → Kusto
Generate Kusto/KQL table definitions.
structurize s2k schema.struct.json --out table.kql
Structure → Iceberg
Generate Apache Iceberg schemas.
structurize s2ib schema.struct.json --out schema.json
Structure → Markdown
Generate documentation from JSON Structure schemas.
structurize struct2md schema.struct.json --out docs/
Generate Code
Create type-safe code from JSON Structure
Python
Generate dataclasses with validation and type hints.
structurize s2py schema.struct.json --out ./python
C#
Generate C# classes with JSON serialization attributes.
structurize s2cs schema.struct.json --out ./csharp
Java
Generate Java POJOs with Jackson annotations.
structurize s2java schema.struct.json --out ./java
TypeScript
Generate TypeScript interfaces and types.
structurize s2ts schema.struct.json --out ./typescript
Go
Generate Go structs with JSON tags.
structurize s2go schema.struct.json --out ./go
Rust
Generate Rust structs with serde derives.
structurize s2rust schema.struct.json --out ./rust
C++
Generate C++ classes with nlohmann/json support.
structurize s2cpp schema.struct.json --out ./cpp
GraphQL
Generate GraphQL type definitions.
structurize struct2gql schema.struct.json --out schema.graphql
Database Exports
Generate database schemas from JSON Structure