code: function getModelProperty(model) {
      const className = model.constructor.name;
      const propsForModel = getProperties(model);
      return (prop) => {
          return propsForModel.find(value => {
              return value.property === prop;
          });
      };
  }
docs: lookup meta data for schema properties