code: public final DataModel fromJson(final InputStream resource) {
  		ObjectMapper mapper = new ObjectMapper();
  		mapper
  			.addMixInAnnotations(DataType.class, DataTypeConfigMixin.class);
  		mapper
  			.addMixInAnnotations(ObjectDataType.class, ObjectDataTypeConfigMixin.class);
  		try {
  			return mapper.readValue(resource, DataModel.class);
  		} catch (Exception e) {
  			throw new RuntimeException(e);
  		}
  	}
docs: Create data model definition from JSON file.
  @param resource resource with JSON definition
  @return created data model
  @throws RuntimeException when definition is incorrect or there is a i/o problem with stream