code: function (model, property) {
    // TODO the reference to model.api is not available
    if (model.api && model.api.modelPropertyMacro) {
      return model.api.modelPropertyMacro(model, property);
    } else {
      return property.default;
    }
  }
docs: allows overriding the default value of an model property