Reported in #616 (comment)
When trying to define a setting with an empty array, it is validated as null, what can fail validation.
This may be related to the conversions from yaml to json that we do to use jsonschema and so on.
Once this is solved, check if elastic-package is able to override array fields with empty values when importing them from ECS (see https://github.com/elastic/elastic-package/blob/9d8ce35eb3051b832057b37e75ad454e28069ee6/internal/fields/dependency_manager.go#L349)
Reported in #616 (comment)
When trying to define a setting with an empty array, it is validated as
null, what can fail validation.This may be related to the conversions from yaml to json that we do to use jsonschema and so on.
Once this is solved, check if elastic-package is able to override array fields with empty values when importing them from ECS (see https://github.com/elastic/elastic-package/blob/9d8ce35eb3051b832057b37e75ad454e28069ee6/internal/fields/dependency_manager.go#L349)