#92503JSON Schemas for YAML configurations
Description
With a JSON schema for YAML configurations shipped by the core extensions, the configuration would be much easier.
Such schemas brings for example:
- Auto completion
- Tooltips
- Validation
- Site configuration
- Form configuration
- RTE configuration
Reviews 1
History 1011
-
Jan Kiesewetter commented <span data-processor="relativetime" data-value="2020-10-08T15:12:42+00:00" > 10/08/20, 15:12 </span>
-
Jan Kiesewetter commented <span data-processor="relativetime" data-value="2020-10-09T10:02:33+00:00" > 10/09/20, 10:02 </span>
I started a POC for ext:form
https://github.com/t3easy/TYPO3-Form-Schema -
Jan Kiesewetter commented <span data-processor="relativetime" data-value="2020-10-09T13:57:48+00:00" > 10/09/20, 13:57 </span>
For automatic discovery of the schema files, they must be added to the catalog https://github.com/SchemaStore/schemastore/blob/master/src/api/json/catalog.json
-
Georg Ringer changed status
NewAccepted <span data-processor="relativetime" data-value="2021-02-09T13:20:10+00:00" > 02/09/21, 13:20 </span> -
Jan Kiesewetter commented <span data-processor="relativetime" data-value="2023-02-17T13:27:05+00:00" > 02/17/23, 13:27 </span>
Just seen, the routing was just added to the schemastore repository!
https://github.com/SchemaStore/schemastore/commits/master/src/schemas/json/typo3.json -
Georg Ringer commented and changed TYPO3 Version
1014 <span data-processor="relativetime" data-value="2026-11-01T17:16:42+00:00" > 11/01/26, 17:16 </span>WHAT NEEDS A SCHEMA (all YAML configuration core reads)
Sites (config/sites/<identifier>/, in classic mode typo3conf/sites/<identifier>/)<br> [ ] config.yaml covered by SchemaStore, has drifted, see below<br> [ ] settings.yaml free values, defined by the Sets in use<br> [ ] csp.yaml Content Security Policy<br>Site Sets (EXT:<ext>/Configuration/Sets/<name>/)<br> [ ] config.yaml name, label, dependencies, …<br> [ ] settings.definitions.yaml<br> [ ] settings.yaml free values, as above<br> [ ] route-enhancers.yaml shares its routeEnhancers definition with sites config.yaml<br>System (config/system/, in classic mode typo3conf/system/)<br> [ ] file-storages.yaml new in 15.0 (#110762). Driver options depend on the driver,<br> <span>env()</span> placeholders are expected for credentials<br>Lower priority<br> [ ] RTE presets EXT:<ext>/Configuration/RTE/*.yaml, mostly CKEditor options<br> [ ] Form *.form.yaml and Configuration/Form/<name>/config.yaml,<br> extensions add to it</name></ext></name></ext></identifier></identifier>Checked on main (c573af252d9). Core still ships no schema. The site configuration is covered by https://www.schemastore.org/typo3.json, Form and RTE are not, and Site Sets are new since this issue was filed and also not covered.
Validating sample configurations against the SchemaStore schema shows it has drifted. These are reported as errors although core accepts them:errorHandler: LoginRedirect(since 13.3)%env(...)%forlanguageId,rootPageIdandenabledbaseprovided throughimportslimitToPageswith an expression (since 14.2)
Routing is covered in
typo3.jsonforrouteEnhancersin the site configuration, but not forroute-enhancers.yamlin Site Sets (since 14.1). -
Maike Kiebele changed assigned to Maike Kiebele <span data-processor="relativetime" data-value="2026-11-02T11:43:22+00:00" > 11/02/26, 11:43 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 97345 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-11-04T18:37:07+00:00" > 11/04/26, 18:37 </span> -
Maike Kiebele commented <span data-processor="relativetime" data-value="2026-11-09T07:27:48+00:00" > 11/09/26, 07:27 </span>
Hi,
I’ve added the schemas here: https://github.com/SchemaStore/schemastore . -
Maike Kiebele changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2026-11-09T07:27:59+00:00" > 11/09/26, 07:27 </span>
Georg Ringer created a POC of the site configuration schema:
https://github.com/georgringer/site-config-validation