From T362108: Implement JSON schema validation in ArrayDef ArrayDef::validate now implements JSON schema validation
We should investigate how much of that code we may be able to move into JsonSchemaTrait so it can be shared between ArrayDef and ConfigSchemaAggregator.