message: Update: format.
diff: @@ -129,6 +129,10 @@ export const getRegisterOptions = function ({
  if (schema.not) {
  options.validate.not = getValidateNot(schema.not);
  }
  + // format
  + if (schema.format) {
  + options.validate.format = getValidateFormat(schema.format, schema.type);
  + }
  return options;
  };
  @@ -463,3 +467,14 @@ export const getValidateNot = function (
  return true;
  };
  };
  +
  +// @see: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-7
  +export const getValidateFormat = function (
  + format: NonNullable<Schema['format']>,
  + type: Schema['type']
  +): Validate<any> {
  + return function (data) {
  + // TODO
  + return true;
  + };
  +};
  