Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / component.json
Schema registry

component.json

Web component file

component.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your component.json and it validates in your browser — nothing is uploaded.

Validate a component.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
privatebooleanIndicates whether the component should be treated as private and not published to public registries.
default: false
namestringThe name of the component. Must be lowercase, can contain hyphens and underscores.
typestringType of the component (e.g., 'component', 'block', 'template').
urlstringURL to the component.
repostringThe repository location in the format 'username/repository'.
descriptionstringA brief description of the component's purpose and functionality.
versionstringThe semantic version number of the component (e.g., '1.0.0').
frameworkstringFramework compatibility (e.g., 'react', 'vue', 'angular', 'svelte', 'alpinejs', 'laravel', 'web-components').
keywordsarray<string>An array of keywords that describe the component, used for search and categorization.
mainstringThe primary entry point file of the component.
scriptsoneOfScripts that are part of the component. Can be specified as an array of files or an object with named entries.
stylesoneOfStyles that are part of the component. Can be specified as an array of files or an object with named entries.
jsononeOfJson data that are part of the component. Can be specified as an array of files or an object with named entries.
imagesoneOfImage assets that are part of the component. Can be specified as an array of files or an object with named entries.
fontsoneOfFonts that are part of the component. Can be specified as an array of files or an object with named entries.
filesoneOfAdditional files that are part of the component. Can be specified as an array of files or an object with named entries.
dependenciesoneOfDependencies that are required by the component. Can be specified as an array of files or an object with named entries.
localsoneOfLocal dependencies that are required by the component. Can be specified as an array of files or an object with named entries.
remotesoneOfRemote dependencies that are required by the component. Can be specified as an array of files or an object with named entries.
pathsoneOfCustom file paths configuration for the component.
templatesoneOfTemplates that can be imported to be used within the component.
demostringPath to or URL of a demonstration of the component.
developmentobject
development.privatebooleanIndicates whether the component should be treated as private and not published to public registries.
default: false
development.namestringThe name of the component. Must be lowercase, can contain hyphens and underscores.
development.typestringType of the component (e.g., 'component', 'block', 'template').
development.urlstringURL to the component.
development.repostringThe repository location in the format 'username/repository'.
development.descriptionstringA brief description of the component's purpose and functionality.
development.versionstringThe semantic version number of the component (e.g., '1.0.0').
development.frameworkstringFramework compatibility (e.g., 'react', 'vue', 'angular', 'svelte', 'alpinejs', 'laravel', 'web-components').
development.keywordsarray<string>An array of keywords that describe the component, used for search and categorization.
development.mainstringThe primary entry point file of the component.
development.scriptsoneOfScripts that are part of the component. Can be specified as an array of files or an object with named entries.
development.stylesoneOfStyles that are part of the component. Can be specified as an array of files or an object with named entries.
development.jsononeOfJson data that are part of the component. Can be specified as an array of files or an object with named entries.
development.imagesoneOfImage assets that are part of the component. Can be specified as an array of files or an object with named entries.
development.fontsoneOfFonts that are part of the component. Can be specified as an array of files or an object with named entries.
development.filesoneOfAdditional files that are part of the component. Can be specified as an array of files or an object with named entries.
development.dependenciesoneOfDependencies that are required by the component. Can be specified as an array of files or an object with named entries.
development.localsoneOfLocal dependencies that are required by the component. Can be specified as an array of files or an object with named entries.
development.remotesoneOfRemote dependencies that are required by the component. Can be specified as an array of files or an object with named entries.
development.pathsoneOfCustom file paths configuration for the component.
development.templatesoneOfTemplates that can be imported to be used within the component.
development.demostringPath to or URL of a demonstration of the component.
development.developmentobject
development.development.privatebooleanIndicates whether the component should be treated as private and not published to public registries.
default: false
development.development.namestringThe name of the component. Must be lowercase, can contain hyphens and underscores.
development.development.typestringType of the component (e.g., 'component', 'block', 'template').
development.development.urlstringURL to the component.
development.development.repostringThe repository location in the format 'username/repository'.
development.development.descriptionstringA brief description of the component's purpose and functionality.
development.development.versionstringThe semantic version number of the component (e.g., '1.0.0').
development.development.frameworkstringFramework compatibility (e.g., 'react', 'vue', 'angular', 'svelte', 'alpinejs', 'laravel', 'web-components').
development.development.keywordsarray<string>An array of keywords that describe the component, used for search and categorization.
development.development.mainstringThe primary entry point file of the component.
development.development.scriptsoneOfScripts that are part of the component. Can be specified as an array of files or an object with named entries.
development.development.stylesoneOfStyles that are part of the component. Can be specified as an array of files or an object with named entries.
development.development.jsononeOfJson data that are part of the component. Can be specified as an array of files or an object with named entries.
development.development.imagesoneOfImage assets that are part of the component. Can be specified as an array of files or an object with named entries.
development.development.fontsoneOfFonts that are part of the component. Can be specified as an array of files or an object with named entries.
development.development.filesoneOfAdditional files that are part of the component. Can be specified as an array of files or an object with named entries.
development.development.dependenciesoneOfDependencies that are required by the component. Can be specified as an array of files or an object with named entries.
development.development.localsoneOfLocal dependencies that are required by the component. Can be specified as an array of files or an object with named entries.
development.development.remotesoneOfRemote dependencies that are required by the component. Can be specified as an array of files or an object with named entries.
development.development.pathsoneOfCustom file paths configuration for the component.
development.development.templatesoneOfTemplates that can be imported to be used within the component.
development.development.demostringPath to or URL of a demonstration of the component.
development.development.developmentobject
development.development.licensestringThe license identifier under which the component is distributed (e.g., 'MIT', 'Apache-2.0').
development.licensestringThe license identifier under which the component is distributed (e.g., 'MIT', 'Apache-2.0').
licensestringThe license identifier under which the component is distributed (e.g., 'MIT', 'Apache-2.0').

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
minItemsJSON Schema Validation, draft 2020-12§6.4.2 — "minItems"
minPropertiesJSON Schema Validation, draft 2020-12§6.5.2 — "minProperties"
oneOfJSON Schema Core, draft 2020-12§10.2.1.3 — "oneOf"
patternJSON Schema Validation, draft 2020-12§6.3.3 — "pattern"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas