JSON Schema

The Sovrium app schema defines the complete structure of your application configuration. Published as a standard JSON Schema, it enables editor autocomplete, real-time validation, and programmatic config verification.

Interactive Schema Explorer

Browse the full schema visually with the JSON Schema Viewer. Expand properties, view types, and explore nested structures.

Open Schema Explorer

Schema Explorer

Browse the Sovrium app schema interactively. Expand properties to explore types, constraints, and nested structures.

Schema URLs

Reference the Sovrium JSON Schema by URL in your editor, CI pipeline, or validation scripts.

Versioned (recommended)

Pin to a specific version for production stability. The schema URL includes the exact package version.

Text
https://sovrium.com/schema/app.json

Editor Integration

Add the JSON Schema to your editor for autocomplete, inline documentation, and real-time validation as you write your Sovrium config.

VS Code

VS Code supports JSON Schema natively for both JSON and YAML files with the YAML extension.

Option 1: Add $schema directly to your config file

JSON
{
  "$schema": "https://sovrium.com/schema/app.json",
  "name": "my-app",
  "version": "1.0.0"
}

Option 2: Configure in VS Code settings.json

JSON
{
  "yaml.schemas": {
    "https://sovrium.com/schema/app.json": "app.yaml"
  },
  "json.schemas": [
    {
      "url": "https://sovrium.com/schema/app.json",
      "fileMatch": ["app.json"]
    }
  ]
}

JetBrains

IntelliJ IDEA, WebStorm, and other JetBrains IDEs support JSON Schema mapping natively.

Go to Settings > Languages & Frameworks > Schemas and DTDs > JSON Schema Mappings. Click + to add a new mapping, paste the schema URL below, and set the file pattern to match your config file (e.g., app.yaml or app.json).

Text
https://sovrium.com/schema/app.json