docs: private static ViewType parseType(JsonNode node) throws UnknownViewTypeException {
  		if (node.hasNonNull("type")) {
  			try {
  				return ViewType.valueOf(node.get("type").asText().toUpperCase(Locale.ENGLISH));
  			} catch (IllegalArgumentException e) {
  				throw new UnknownViewTypeException(node.get("type").asText());
  			}
  		} else {
  			throw new UnknownViewTypeException("missing type");
  		}
  	}