Add missing braces. Remove null value from aggregation enum. Make aggregation optional. Add required properties.