Added a defined properties only

This means that if the object contains anything other than those, it
will fail validation.
Updated documentation to the latest master version