Add unique and autovalue in the validation of the schema definition