
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@expeed/ngx-schema-editor
Advanced tools
Visual JSON Schema editor for Angular - create and edit schemas for dynamic form rendering
A visual JSON Schema editor component for Angular applications. Create and edit JSON Schema definitions with a drag-and-drop interface.
string, number, integer, boolean, object, arrayx-display-type) for form renderingnpm install @expeed/ngx-schema-editor
npm install @angular/cdk @angular/material
import { Component } from '@angular/core';
import { SchemaEditorComponent, JsonSchema } from '@expeed/ngx-schema-editor';
@Component({
selector: 'app-schema-page',
standalone: true,
imports: [SchemaEditorComponent],
template: `
<schema-editor
[schema]="schema"
(schemaChange)="onSchemaChange($event)"
/>
`
})
export class SchemaPageComponent {
schema: JsonSchema = {
type: 'object',
title: 'Customer',
properties: {}
};
onSchemaChange(updated: JsonSchema): void {
console.log('Schema updated:', updated);
this.schema = updated;
}
}
schema: JsonSchema = {
type: 'object',
title: 'Customer',
properties: {
firstName: {
type: 'string',
title: 'First Name',
minLength: 1,
maxLength: 50
},
email: {
type: 'string',
title: 'Email',
format: 'email' // Form renderer auto-infers email input type
},
age: {
type: 'integer',
title: 'Age',
minimum: 0,
maximum: 150
},
status: {
type: 'string',
title: 'Status',
oneOf: [
{ const: 'active', title: 'Active' },
{ const: 'inactive', title: 'Inactive' }
],
'x-display-type': 'dropdown'
}
},
required: ['firstName', 'email']
};
| Input | Type | Default | Description |
|---|---|---|---|
schema | JsonSchema | {} | The JSON Schema to edit |
| Output | Type | Description |
|---|---|---|
schemaChange | EventEmitter<JsonSchema> | Emits when schema changes |
interface JsonSchema {
type?: string;
title?: string;
description?: string;
properties?: Record<string, JsonSchema>;
items?: JsonSchema;
required?: string[];
enum?: unknown[];
oneOf?: Array<{ const: unknown; title?: string }>;
minimum?: number;
maximum?: number;
minLength?: number;
maxLength?: number;
pattern?: string;
format?: string;
default?: unknown;
'x-display-type'?: string;
}
| Type | Description |
|---|---|
string | Text values |
number | Decimal numbers |
integer | Whole numbers |
boolean | True/false values |
object | Nested object with properties |
array | Array of items |
The editor supports the x-display-type extension property to hint how fields should be rendered in forms:
| Display Type | Field Type | Description |
|---|---|---|
textbox | String | Single-line text input |
textarea | String | Multi-line text input |
richtext | String | Rich text editor (HTML) |
dropdown | String (enum) | Select dropdown |
datepicker | Date | Date picker |
datetimepicker | Date | Date and time picker |
timepicker | Time | Time picker |
stepper | Number | Number stepper with +/- buttons |
checkbox | Boolean | Checkbox |
toggle | Boolean | Toggle switch |
Note: Email and URL fields use format (email, uri) in JSON Schema. The form renderer auto-infers the appropriate input type from the format.
Configure field validation constraints:
| Validator | Applies To | Description |
|---|---|---|
minLength | string | Minimum character length |
maxLength | string | Maximum character length |
pattern | string | Regex pattern |
format | string | Built-in format (email, uri, date, etc.) |
minimum | number/integer | Minimum value |
maximum | number/integer | Maximum value |
Define allowed values with optional display labels:
// Simple enum
{
type: 'string',
enum: ['small', 'medium', 'large']
}
// Enum with labels (using oneOf)
{
type: 'string',
oneOf: [
{ const: 'sm', title: 'Small' },
{ const: 'md', title: 'Medium' },
{ const: 'lg', title: 'Large' }
]
}
The component uses Angular Material and can be themed using CSS custom properties:
schema-editor {
--se-bg: #ffffff;
--se-border: #e2e8f0;
--se-text-primary: #1e293b;
--se-text-secondary: #64748b;
--se-accent: #6366f1;
}
// Components
export { SchemaEditorComponent } from './lib/components/schema-editor/schema-editor.component';
// Types
export { JsonSchema } from './lib/models/json-schema.model';
export { LabeledValue } from './lib/models/labeled-value.model';
// Utilities
export { isLabeledValue, getRawValue, getDisplayText } from './lib/utils/allowed-value.utils';
items.enum. This is planned for a future release.Apache 2.0
FAQs
Visual JSON Schema editor for Angular - create and edit schemas for dynamic form rendering
The npm package @expeed/ngx-schema-editor receives a total of 61 weekly downloads. As such, @expeed/ngx-schema-editor popularity was classified as not popular.
We found that @expeed/ngx-schema-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.