json-schema validations.
NIO creation refactoring.