Hello, i am trying to think of the best way to create a way to store the signatures of objects, in particular products. There will be several types of products that will each have their own set of attributes and therefore different required attributes.
There will be different types of actions performed on the products, i.e validation etc.
At the moment the best i can think of is an associative array which has the attribute, whether its required or not and its data type but surely there must be a better way to do this.