1. A method comprising: receiving input data from an application comprising information descriptive of at least one field; processing the input data to form an array comprised of legal data for the at least one field, the array being formed by merging a result of processing syntactic constraints and a result of processing semantic constraints; and outputting the array to the application.