code: public static Schema fromYaml(String yaml) {
          try{
              return JsonMappers.getMapperYaml().readValue(yaml, Schema.class);
          } catch (Exception e){
              //TODO better exceptions
              throw new RuntimeException(e);
          }
      }
docs: Create a schema from the given
  yaml string
  @param yaml the yaml to create the schema from
  @return the created schema based on the yaml