1. A method, comprising: accessing, by a system including a processor, a repository comprising respective documents separate from and associated with objects, wherein the documents comprise respective validation information associated with the objects, there is a one-to-one relationship between the documents and the objects, and the respective validation information comprises source code for validating the associated objects; obtaining, by the system, validation information maintained in a document of the documents associated with an object of the objects; executing, by the system during runtime, validation code using the validation information to determine whether part of the object or data associated with the part of the object passes validation or fails the validation, wherein the executing the validation code comprises, in response to identifying an inheritance relationship between the object and another object, accessing, by the system, other validation information maintained in an additional document of the documents separate from and associated with the other object; and running, by the system, code of the object in response to a first determination by the validation code that the part of the object or the data associated with the part of the object passes the validation, or outputting, by the system, an error in response to a second determination by the validation code that the part of the object or the data associated with the part of the object fails the validation.