Skip to content

TYPO3 Budget Ideas 2026 Round 1: Content Blocks JSON Schema Validation#471

Merged
nhovratov merged 73 commits intomainfrom
feature-json-schema
Mar 13, 2026
Merged

TYPO3 Budget Ideas 2026 Round 1: Content Blocks JSON Schema Validation#471
nhovratov merged 73 commits intomainfrom
feature-json-schema

Conversation

@nhovratov
Copy link
Copy Markdown
Contributor

No description provided.

@nhovratov nhovratov changed the title [WIP] Add bundler for json schema TYPO3 Budget Ideas 2026 Q1: Content Blocks JSON Schema Validation Jan 30, 2026
@nhovratov nhovratov force-pushed the feature-json-schema branch from 0be54cc to efc9560 Compare February 2, 2026 09:07
@nhovratov nhovratov changed the title TYPO3 Budget Ideas 2026 Q1: Content Blocks JSON Schema Validation TYPO3 Budget Ideas 2026 Round 1: Content Blocks JSON Schema Validation Feb 13, 2026
@jonaseberle
Copy link
Copy Markdown
Contributor

Cool stuff, thank you!

I've had it moan about a regex validation when including a Basic: (misses the /)
grafik

@nhovratov
Copy link
Copy Markdown
Contributor Author

nhovratov commented Feb 18, 2026

Cool stuff, thank you!

I've had it moan about a regex validation when including a Basic: (misses the /) grafik

Basics not yet implemented, but will come soon!

Edit: Will fix the regex for identifier, but only for type Basic then. Thanks!

I wonder, some also use dash "-" in their identifier. But we do not recommend it. Not sure if this should fail with hard validation error. But maybe it should, as it might cause serious problems in DB level.

@nhovratov nhovratov force-pushed the feature-json-schema branch from 0d7c718 to 912ddc8 Compare March 3, 2026 11:29
@nhovratov nhovratov force-pushed the feature-json-schema branch from 0c6f208 to 5235238 Compare March 6, 2026 12:14
@sbuerk
Copy link
Copy Markdown
Contributor

sbuerk commented Mar 6, 2026

@nhovratov I'm pretty sure you have it on the todo list, just wanted to document it that it does not get forgotten:

This comes with an additional dependency not available in the core, which means that this needs to be bundeld for classic mode (TER) during tailor artifact building and uploading,
otherwise it would faile because opis/json-schema is not available (and it's a hard requirement and not a development dependency).

=> bundling & ensuring autoloading (namespaces).

@nhovratov
Copy link
Copy Markdown
Contributor Author

nhovratov commented Mar 7, 2026

@sbuerk

I'm pretty sure you have it on the todo list, just wanted to document it that it does not get forgotten:

This comes with an additional dependency not available in the core, which means that this needs to be bundeld for classic mode (TER) during tailor artifact building and uploading, otherwise it would faile because opis/json-schema is not available (and it's a hard requirement and not a development dependency).

=> bundling & ensuring autoloading (namespaces).

I don't think this feature is very useful for classic installations, as they usually don't have a CI pipeline to run it.
Is it possible to upload to TER with a missing dependency? This should only fail on runtime, if users try to run the command. I could maybe even catch this with a "class_exists" and print "command does not work in non-composer mode" or something like that.

@nhovratov nhovratov merged commit f8871f1 into main Mar 13, 2026
18 checks passed
nhovratov added a commit that referenced this pull request Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants