Purge spurious required attributes

Make sure “attributes.required” is a subset of “attributes”.