nhovratov / content-blocks-json-schema

1 stars 1 forks source link

Missing required property fields #7

Closed woemar closed 1 month ago

woemar commented 2 months ago

Using PHPStorm 2024.1.4 even a very simple content block will trigger a validation error for "required property fields". Indeed this poperty is not required at this point.

Not sure if PHPStorm is messing up as the only property fields I can see in the schema that is required should only be required for flexforms. missing_fields

PKuhlmay commented 2 months ago

Hi, thank you for testing the schema. We have the same problem, but I am not sure how to solve this. This indeed worked one day, but some of the latest changes destroyed it 🙈.

If you know how to solve this, a PR would be nice.

woemar commented 2 months ago

Here you are: https://github.com/nhovratov/content-blocks-json-schema/pull/8/commits

PKuhlmay commented 1 month ago

Fixed by #8