20. An article of manufacture including code to cause operations to be performed, the operations, comprising: receiving a schema definition describing a structure and a format of at least one column in a first data set having a plurality of columns and records providing data for each of the columns; generating at least one model, wherein each model asserts conditions for the at least one column in the first data set whose structure is described in the schema, wherein the rules for each model validate values in the at least one column; storing the schema definition and the at least one model in a data quality model, wherein the data quality model comprises a data structure; receiving selection of a second data set and the data quality model; determining whether a structure of at least one column in the second data set is compatible with at least one column described in the schema definition in the selected data quality model; applying the rules in each model in the data quality model to the records in the at least one column of the second data set to validate the records in the at least one column in the second data set in response to determining that the structure of the second data set and the schema definition are compatible.
23. The article of manufacture of claim 20 , further comprising: applying each generated model to each record in the first data set to validate each record based on a result of applying each generated model to the columns of the record to generate benchmark statistics for the data quality model; storing the benchmark statistics with the data quality model; generating statistics on the records of the second data set in response to applying each model in the data quality model to the records in the second data set; and comparing the generated statistics for the second data set with the benchmark statistics to compare differences in data quality between the second data set and the first data set.