Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
234 changes: 234 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2696,6 +2696,240 @@
"fileMatch": ["envilder.json", "envilder.*.json"],
"url": "https://envilder.com/schema/map-file.v1.json"
},
{
"name": "Enonic XP API descriptor",
"description": "YAML descriptor for Enonic XP Universal and Harmonized APIs",
"fileMatch": [
"**/src/main/resources/apis/*/*.yaml",
"**/src/main/resources/apis/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-api-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-api-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-api-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Admin Extension descriptor",
"description": "YAML descriptor for Enonic XP Admin Extensions",
"fileMatch": [
"**/src/main/resources/admins/extensions/*/*.yaml",
"**/src/main/resources/admins/extensions/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-admin-extension-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-admin-extension-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-admin-extension-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Admin Tool descriptor",
"description": "YAML descriptor for Enonic XP Admin Tools",
"fileMatch": [
"**/src/main/resources/admin/tools/*/*.yaml",
"**/src/main/resources/admin/tools/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-admin-tool-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-admin-tool-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-admin-tool-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Application descriptor",
"description": "YAML descriptor for Enonic XP Applications",
"fileMatch": [
"**/src/main/resources/application.yaml",
"**/src/main/resources/application.yml"
],
"url": "https://www.schemastore.org/enonic-xp-application-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-application-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-application-8.0.0-B4.json"
}
},
{
"name": "Enonic XP CMS descriptor",
"description": "YAML descriptor for Enonic XP CMS configuration",
"fileMatch": [
"**/src/main/resources/cms/cms.yaml",
"**/src/main/resources/cms/cms.yml"
],
"url": "https://www.schemastore.org/enonic-xp-cms-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-cms-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-cms-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Content Type descriptor",
"description": "YAML descriptor for Enonic XP Content Types",
"fileMatch": [
"**/src/main/resources/cms/content-types/*/*.yaml",
"**/src/main/resources/cms/content-types/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-content-type-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-content-type-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-content-type-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Form Fragment descriptor",
"description": "YAML descriptor for Enonic XP Form Fragments",
"fileMatch": [
"**/src/main/resources/cms/form-fragments/*/*.yaml",
"**/src/main/resources/cms/form-fragments/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-form-fragment-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-form-fragment-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-form-fragment-8.0.0-B4.json"
}
},
{
"name": "Enonic XP ID Provider descriptor",
"description": "YAML descriptor for Enonic XP ID Providers",
"fileMatch": [
"**/src/main/resources/idprovider/idprovider.yaml",
"**/src/main/resources/idprovider/idprovider.yml"
],
"url": "https://www.schemastore.org/enonic-xp-idprovider-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-idprovider-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-idprovider-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Layout descriptor",
"description": "YAML descriptor for Enonic XP Layouts",
"fileMatch": [
"**/src/main/resources/cms/layouts/*/*.yaml",
"**/src/main/resources/cms/layouts/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-layout-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-layout-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-layout-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Macro descriptor",
"description": "YAML descriptor for Enonic XP Macros",
"fileMatch": [
"**/src/main/resources/cms/macros/*/*.yaml",
"**/src/main/resources/cms/macros/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-macro-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-macro-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-macro-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Mixin descriptor",
"description": "YAML descriptor for Enonic XP Mixins",
"fileMatch": [
"**/src/main/resources/cms/mixins/*/*.yaml",
"**/src/main/resources/cms/mixins/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-mixin-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-mixin-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-mixin-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Page descriptor",
"description": "YAML descriptor for Enonic XP Pages",
"fileMatch": [
"**/src/main/resources/cms/pages/*/*.yaml",
"**/src/main/resources/cms/pages/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-page-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-page-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-page-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Part descriptor",
"description": "YAML descriptor for Enonic XP Parts",
"fileMatch": [
"**/src/main/resources/cms/parts/*/*.yaml",
"**/src/main/resources/cms/parts/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-part-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-part-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-part-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Service descriptor",
"description": "YAML descriptor for Enonic XP Services",
"fileMatch": [
"**/src/main/resources/services/*/*.yaml",
"**/src/main/resources/services/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-service-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-service-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-service-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Site descriptor",
"description": "YAML descriptor for Enonic XP Sites",
"fileMatch": [
"**/src/main/resources/cms/site.yaml",
"**/src/main/resources/cms/site.yml"
],
"url": "https://www.schemastore.org/enonic-xp-site-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-site-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-site-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Style descriptor",
"description": "YAML descriptor for Enonic XP Styles",
"fileMatch": [
"**/src/main/resources/cms/style/style.yaml",
"**/src/main/resources/cms/style/style.yml"
],
"url": "https://www.schemastore.org/enonic-xp-style-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-style-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-style-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Task descriptor",
"description": "YAML descriptor for Enonic XP Tasks",
"fileMatch": [
"**/src/main/resources/tasks/*/*.yaml",
"**/src/main/resources/tasks/*/*.yml"
],
"url": "https://www.schemastore.org/enonic-xp-task-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-task-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-task-8.0.0-B4.json"
}
},
{
"name": "Enonic XP Webapp descriptor",
"description": "YAML descriptor for Enonic XP Webapps",
"fileMatch": [
"**/src/main/resources/webapp/webapp.yaml",
"**/src/main/resources/webapp/webapp.yml"
],
"url": "https://www.schemastore.org/enonic-xp-webapp-8.0.0-B4.json",
"versions": {
"latest": "https://www.schemastore.org/enonic-xp-webapp-8.0.0-B4.json",
"8.0.0-B4": "https://www.schemastore.org/enonic-xp-webapp-8.0.0-B4.json"
}
},
{
"name": ".esmrc.json",
"description": "Configuration files for the esm module/package in Node.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-admin-extension-8.0.0-B4.json
kind: 'AdminExtension'
title: 'Invalid Extension'
unknownProp: 'value'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-admin-tool-8.0.0-B4.json
kind: 'AdminTool'
title: 'My Admin Tool'
unknownProp: 'value'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-api-8.0.0-B4.json
kind: 'API'
title: 'My API'
mount:
- 'unknown-mount'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-application-8.0.0-B4.json
kind: 'Application'
description: 123
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-cms-8.0.0-B4.json
kind: 'CMS'
form:
- type: 'TextLine'
name: 'myField'
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-content-type-8.0.0-B4.json
kind: 'ContentType'
title: 'Invalid Content type'
form:
- type: 'TextLine'
label: 'Title'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-form-fragment-8.0.0-B4.json
kind: 'FormFragment'
title: 'Invalid Form Fragment'
unknownProp: 'value'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-idprovider-8.0.0-B4.json
kind: 'IdProvider'
form:
- type: 'FormFragment'
name: 'myFragment'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-layout-8.0.0-B4.json
kind: 'Layout'
title: 'Invalid Layout'
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-macro-8.0.0-B4.json
kind: 'Macro'
title: 'Invalid macro'
form:
- type: 'FormFragment'
name: 'myFragment'
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-mixin-8.0.0-B4.json
kind: 'Mixin'
title: 'My Mixin'
form:
- type: 'TextLine'
name: 'myField'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-page-8.0.0-B4.json
kind: 'Page'
title: 'My Page'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-part-8.0.0-B4.json
kind: 'Part'
title: 'My Part'
unknownProp: 'value'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-service-8.0.0-B4.json
kind: 'Service'
title: 'My Service'
allow:
- 123
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-site-8.0.0-B4.json
kind: 'Site'
mappings:
- pattern: '/path/*'
match: "_path like '/path/*'"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-style-8.0.0-B4.json
kind: 'Style'
unknownProp: 'value'
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-task-8.0.0-B4.json
kind: 'Task'
form:
- type: 'FormFragment'
name: 'myFragment'
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# yaml-language-server: $schema=../../schemas/json/enonic-xp-webapp-8.0.0-B4.json
kind: 'WebApp'
description:
text: 'My WebApp'
i18n: 'webapps.mywebapp.description'
unknownProp: 'value'
38 changes: 37 additions & 1 deletion src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,24 @@
"dotnetcli.host.json",
"drone.json",
"drupal-recipe.json",
"enonic-xp-admin-extension-8.0.0-B4.json",
"enonic-xp-admin-tool-8.0.0-B4.json",
"enonic-xp-api-8.0.0-B4.json",
"enonic-xp-application-8.0.0-B4.json",
"enonic-xp-cms-8.0.0-B4.json",
"enonic-xp-content-type-8.0.0-B4.json",
"enonic-xp-form-fragment-8.0.0-B4.json",
"enonic-xp-idprovider-8.0.0-B4.json",
"enonic-xp-layout-8.0.0-B4.json",
"enonic-xp-macro-8.0.0-B4.json",
"enonic-xp-mixin-8.0.0-B4.json",
"enonic-xp-page-8.0.0-B4.json",
"enonic-xp-part-8.0.0-B4.json",
"enonic-xp-service-8.0.0-B4.json",
"enonic-xp-site-8.0.0-B4.json",
"enonic-xp-style-8.0.0-B4.json",
"enonic-xp-task-8.0.0-B4.json",
"enonic-xp-webapp-8.0.0-B4.json",
"electron-builder.json",
"eslintrc.json",
"esmrc.json",
Expand Down Expand Up @@ -316,7 +334,25 @@
"zarf.json",
"yamllint.json",
"vector.json",
"scarb.json"
"scarb.json",
"enonic-xp-admin-extension-8.0.0-B4.json",
"enonic-xp-admin-tool-8.0.0-B4.json",
"enonic-xp-api-8.0.0-B4.json",
"enonic-xp-application-8.0.0-B4.json",
"enonic-xp-cms-8.0.0-B4.json",
"enonic-xp-content-type-8.0.0-B4.json",
"enonic-xp-form-fragment-8.0.0-B4.json",
"enonic-xp-idprovider-8.0.0-B4.json",
"enonic-xp-layout-8.0.0-B4.json",
"enonic-xp-macro-8.0.0-B4.json",
"enonic-xp-mixin-8.0.0-B4.json",
"enonic-xp-page-8.0.0-B4.json",
"enonic-xp-part-8.0.0-B4.json",
"enonic-xp-service-8.0.0-B4.json",
"enonic-xp-site-8.0.0-B4.json",
"enonic-xp-style-8.0.0-B4.json",
"enonic-xp-task-8.0.0-B4.json",
"enonic-xp-webapp-8.0.0-B4.json"
],
"missingCatalogUrl": [
// Below this line are subschemas that are included from other schema
Expand Down
Loading