Signed-off-by: Daniel Nephin <dnephin@docker.com>
Signed-off-by: Philip Walls <pawalls@rabidgeek.com>
Reworked the two schema validation functions to read from the same schema but use different parts of it. Error handling is now split as well by the schema that is being used to validate. Signed-off-by: Daniel Nephin <dnephin@docker.com>