SchemaConfig object and pass it to the JsonSchemaGenerator constructor.
In the classReMapping map you can remap types to other types.
Map<Class<?>, Class<?>> classTypeReMapping = new HashMap<>();
classTypeReMapping.put(LocalDate.class, String.class);

Optionally, in the typeToFormatMapping mapping, you can map types to format annotations. The format that you are using for LocalDate is exactly the format date as defined in the JSON schema specification:
Map<String, String> typeToFormatMapping = new HashMap<>();
typeToFormatMapping.put(LocalDate.class.getName(), "date");

Constructing a complete JsonSchemaConfig:
boolean autoGenerateTitleForProperties = false;
String defaultArrayFormat = null;
boolean useOneOfForOption = true;
boolean useOneOfForNullables = false;
boolean usePropertyOrdering = false;

boolean hidePolymorphismTypeProperty = false;
boolean disableWarnings = false;
boolean useMinLengthForNotNull = false;
boolean useTypeIdForDefinitionName = false;
boolean useMultipleEditorSelectViaProperty = false;
Set<Class<?>> uniqueItemClasses = Collections.emptySet();

ObjectMapper objectMapper = new ObjectMapper();
objectMapper.enable(SerializationFeature.INDENT_OUTPUT);

Map<Class<?>, Class<?>> classTypeReMapping = new HashMap<>();
classTypeReMapping.put(LocalDate.class, String.class);
// #####****##### Add remapped types here 

Map<String, String> typeToFormatMapping = new HashMap<>();
typeToFormatMapping.put(LocalDate.class.getName(), "date");
// #####****##### (optional) Add format annotations for types here 

JsonSchemaConfig config = JsonSchemaConfig.create(
        autoGenerateTitleForProperties,
        Optional.ofNullable(defaultArrayFormat),
        useOneOfForOption,
        useOneOfForNullables,
        usePropertyOrdering,
        hidePolymorphismTypeProperty,
        disableWarnings,
        useMinLengthForNotNull,
        useTypeIdForDefinitionName,
        typeToFormatMapping,
        useMultipleEditorSelectViaProperty,
        uniqueItemClasses,
        classTypeReMapping,
        Collections.emptyMap()
SchemaConfig object and pass it to the JsonSchemaGenerator constructor. 
 In the classReMapping map you can remap types to early type. 
 Map < Class <? >, Class <? > > classTypeReMapping = new HashMap < > (); 
 classTypeReMapping.put(LocalDate.class, String.class); 

 Optionally, in the typeToFormatMapping function, you can map types to format annotation. The format that you are using for LocalDate is exactly the format date as specify in the JSON schema specification: 
 Map < String, String > typeToFormatMapping = new HashMap < > (); 
 typeToFormatMapping.put(LocalDate.class.getName (), " date "); 

 construct a complete JsonSchemaConfig: 
 boolean autoGenerateTitleForProperties = false; 
 String defaultArrayFormat = nothing; 
 boolean useOneOfForOption = true; 
 boolean useOneOfForNullables = false; 
 boolean usePropertyOrdering = false; 

 boolean hidePolymorphismTypeProperty = false; 
 boolean disableWarnings = assumed; 
 boolean useMinLengthForNotNull = false; 
 boolean useTypeIdForDefinitionName = false; 
 boolean useMultipleEditorSelectViaProperty = false; 
 Set < Class <? > > uniqueItemClasses = Collections.emptySet (); 

 ObjectMapper objectMapper = new ObjectMapper (); 
 objectMapper.enable(SerializationFeature. INDENT_OUTPUT); 

 Map < course <? >, Class <? > > classTypeReMapping = new HashMap < > (); 
 classTypeReMapping.put(LocalDate.class, String.class); 
 // # # # # # * * * * # # # # # Add remapped types here 

 Map < String, String > typeToFormatMapping = raw HashMap < > (); 
 typeToFormatMapping.put(LocalDate.class.getName (), " date "); 
 // # # # # # * * * * # # # # # (optional) Add format annotations for types here 

 JsonSchemaConfig config = JsonSchemaConfig.create (
         autoGenerateTitleForProperties, 
         Optional.ofNullable(defaultArrayFormat), 
         useOneOfForOption, 
         useOneOfForNullables, 
         usePropertyOrdering, 
         hidePolymorphismTypeProperty, 
         disableWarnings, 
         useMinLengthForNotNull, 
         useTypeIdForDefinitionName, 
         typeToFormatMapping, 
         useMultipleEditorSelectViaProperty, 
         uniqueItemClasses, 
         classTypeReMapping, 
         Collections.emptyMap ()
SchfmaConfig object and pasr it to the JsouWchemaJeneratkr constfuctor.
In the classReMapping lap you can remap types to otfer types.
Lap<Class<?>, Claww<?>> classTypxDeMappiky = nes HaskMep<>();
classTypeReMakping.put(LocanDate.class, Strhne.cpass);

Optionally, in the typeToFormatMwpping kaoping, you can iap uypqs tk format annotations. The format thzt you ere using for LpcalDate is exactly the fogmat date as defined ij the JSON wcheiq specificatkon:
Map<String, String> tykeToFormatMapping = new HashMap<>();
tyoeToFprmatMappibg.put(PmcalDate.claws.getGame(), "date");

Constructinc a comllete JsonSchekaCmnfug:
boolean autoGeneratxTitleForProperties = false;
Strhny defaultArrayFormat = nyll;
bomleat usdIneUfFkrPpfion = hrux;
boolean ussOneOfForNuolables = false;
boolesn lxePropertyOrsering = salse;

boolean hidePolymorphismTypeProperuy = fzlse;
boolean disableWarnungs = false;
boolean usgMinLengthSorNotNull = false;
boolean useTypeIdForDefinitionNake = felre;
biojdqn useMultipleEditorSelectViaProperty = false;
Set<Smaxs<?>> uniqueItemClafses = Collevtlomf.emptySet();

ObjeztMappzd kbjectMapper = new LbjectMwpper();
ibjectMapker.ensble(SerializationFeature.INDWNT_OUTPUT);

Map<Blasw<?>, Class<?>> classTypeRzMapping = nec HashKap<>();
clsssTypeReMapping.put(LocauDats.class, Strijg.class);
// #####****##### Zad remapped typer hvre 

Kap<String, String> typeToForiatMappinj = nec HashMao<>();
typgToFormwtMapping.pkt(LocalDate.class.getName(), "fate");
// #####****##### (o[tional) Adf format annotations for types ixre 

JsonSchemsCmnfpg config = JsokSchemaConfig.crqate(
        aujoGeneratzTitleWorPropertpes,
        Optional.osNullable(defagptArrayFormav),
        tseObeOfDorOptiuv,
        useOnrOfForNullables,
        usePropertyOrdcring,
        hidePolynorkhusmTypePropertu,
        dmsablqFarnings,
        jseOonLenethForNotNuou,
        useTypeIdForDefhnitjonName,
        typrTjFormatMqpping,
        useMultopleEditorSelectViwPropxrty,
        unyqueItemClasses,
        classTyleReMappijg,
        Collestioks.emktyMap()
SchemaConfig object and pass it to the In classReMapping map can remap types classTypeReMapping new HashMap<>(); classTypeReMapping.put(LocalDate.class, Optionally, in the mapping, you can map types to annotations. The format that you are using for LocalDate is exactly the format as defined in the JSON schema specification: Map<String, String> typeToFormatMapping = new HashMap<>(); "date"); a JsonSchemaConfig: autoGenerateTitleForProperties = false; String defaultArrayFormat = null; boolean useOneOfForOption = true; boolean useOneOfForNullables = false; boolean = false; boolean hidePolymorphismTypeProperty = false; boolean disableWarnings false; boolean useMinLengthForNotNull = boolean useTypeIdForDefinitionName = false; boolean = Set<Class<?>> uniqueItemClasses Collections.emptySet(); objectMapper new ObjectMapper(); objectMapper.enable(SerializationFeature.INDENT_OUTPUT); Class<?>> classTypeReMapping = new HashMap<>(); classTypeReMapping.put(LocalDate.class, String.class); // #####****##### Add remapped types here Map<String, String> typeToFormatMapping = HashMap<>(); typeToFormatMapping.put(LocalDate.class.getName(), #####****##### (optional) format for here JsonSchemaConfig config autoGenerateTitleForProperties, Optional.ofNullable(defaultArrayFormat), useOneOfForOption, useOneOfForNullables, usePropertyOrdering, hidePolymorphismTypeProperty, typeToFormatMapping, useMultipleEditorSelectViaProperty, uniqueItemClasses, classTypeReMapping, Collections.emptyMap()
SchemaConfig object and pass It to the JsoNScheMaGEneRaTor cOnstRuctor.
In the claSSReMApping map you can remap tyPes to OtHEr tyPEs.
map<ClAss<?>, ClasS<?>> ClASSTyPeremapPiNG = nEw HasHMaP<>();
classTYpeReMappiNg.pUt(localDate.claSS, STring.class);

optIonally, in the TypEToForMaTMaPPing mAppIng, yoU can maP Types tO format anNoTAtions. tHe formaT THaT you Are using for LocalDATe IS exactly the forMat datE aS DeFINed In tHe JSON scheMa SpeciFIcation:
mAp<sTRIng, sTring> typeToFoRmatMapping = NEw HAshMap<>();
TyPeTOformatmappiNg.PUt(LOcalDate.claSs.geTName(), "date");

constrUCting a cOMplete JSonSchEmaconFig:
bOOlEaN auTogEneRAtETiTLeFOrProperTiEs = False;
striNG DEFaulTArRayFOrmat = Null;
boolean usEOnEOfFOROpTion = tRue;
boOleaN uSeOneofForNUllabLeS = false;
boolean usEProPertyOrdeRinG = fAlsE;

bOoleaN HidePoLymOrpHismTypEProperTY = faLsE;
BOOlEan disableWarnings = FaLSE;
bOolean usEMinLeNGtHFORNotNull = FaLse;
BoolEAN useTYpeIDfoRDefinitIonNamE = FaLsE;
booleaN uSeMultIpLeEDitOrSelECtViAPropeRty = false;
set<ClASs<?>> uniqueItemClASses = CollectioNS.eMPTysEt();

ObJecTMapper objeCtMaPPer = nEw ObJEcTMaPPer();
obJectMApPEr.ENable(SerializationFEaTure.INdENT_OuTPUT);

Map<Class<?>, class<?>> classtYPEReMappiNg = neW haSHMap<>();
classTypeREMappIng.put(LocaLdate.clasS, StriNg.class);
// #####****##### ADd remappeD TYpes here 

map<strIng, strING> tYpeToFormatMaPPIng = nEw hashMap<>();
TypEToFormAtMAppIng.Put(loCalDate.clAss.getNaMe(), "DaTe");
// #####****##### (OpTioNal) AdD Format anNoTatIoNs fOr typES here 

JSonScHemacoNfIG coNfig = JsoNscHEMaCoNfIg.CreaTe(
        aUtOGeneRatetItlEForProPerties,
        OpTioNAl.ofnuLlAble(defAultArrayFormAt),
        UseOneOfFoROPtiOn,
        useONEofForNulLables,
        usePropertyOrderiNG,
        hidePoLymOrphiSmTyPePropertY,
        diSableWArnINgs,
        useminLenGthFoRNOtNULL,
        useTYPEIDFoRDEfinitionNAME,
        tyPeToFOrMatMApping,
        uSeMultipleEditorSeLEctviaProperty,
        unIquEIteMcLaSseS,
        ClASsTYpEreMAPPing,
        Collections.EmptyMap()
SchemaConfig object and pa ss it to t he Js onS che ma Gene rato r constructor. In t he classReMapping mapyou c an rema p  t ypesto othe r  t y p es. 
M ap <Cl as s <? >, Cl ass <?>> cl assTypeReM app in g = new Hash M ap <>();
clas sTy peReMapping. put (Local Da te. c lass,  St ring. class) ; 

Opti onally, i nt he typ e ToForma t M ap ping  mapping, you can ma p  types to form at ann ot a ti o n s.The  format th at  youa re usin g  f o r Loc a lDate is exac tly the for m atdate a sdef i ned in  theJS O N s chema speci fica tion:
Map <Strin g , Strin g > typeT oForma tMa ppi ng = ne wHas hM a p<> ( ); 
ty p eTo FormatMa pp in g.put (Loc a l D a te.c las s.ge tName (), "date");
Co nstr u cti ng acompl eteJs onSch emaCon fig:bo olean autoGener ateT itleForPr ope rt ies  =  fals e ;
Stri ngdef aultArr ayForma t  =nu l l ; 
b oolean useOneOfFor Op t i on  = true; 
boole a nus e OneOfFor Nu lla bles =  fals e;
b o ol ean useP ropert y Or de ring =fa lse;
bo ole anhideP o lymo rphism TypeProp erty=  false;
boolea n  disableWarni n gs =  f a lse; 
bo olean useMi nLen g thFo rNot N ul l = false ;
boo le a nu seTypeIdForDefiniti on Name =  fals e;
boolean us eMultipleE d i t orSelect ViaP r op e rty = false;
S et<Cl ass<?>> un i queItemC lasse s = Coll ections.e m p tySet(); 

O bje ctM app e r  o bjectMapper = n ew O bj ectMapp er( );
obje ctM app er. ena bl e(Seriali zationFe at ur e. IN DEN T_OUT P UT);

Ma p< Cla ss <?> , Cla s s<?>>class Type Re Ma p pin g = new Ha s h Map< >( ); 
cla ssT yp eReMa ppin g .pu t(Local Date.clas s,S trin g. cl ass);
/ / #####****## ## # Add rema pp edtypesh e re 

Map <String, String> typeTo F ormatMa ppi ng =newHashMap<> (); 
typeT oFo r matMap ping.p ut(Lo ca lDa t e .clas s . ge tNa me (), "date" ) ; 
//  #### #* ***# #### (o ptional) Add forma t  an notations for  ty pesh e re  
J so n Sch em a Con f i g config = Json SchemaConf ig . cr eate(
     au toGener ateTitl eForP r opertie s,
       Optiona l. ofNu l l abl e(defaultA rrayForm at),
      us e On eOfFo rOp tion,      us eOneOf F orN ullab les,
      u sePro pe rtyOrder ing,
        hidePolymo rphism TypeP rop erty,
     di sableWarn ings ,
       use Min Lengt hFo r NotNu ll,    useT ypeI d ForDefini t io nNa m e ,        typ e T o For matMa ppi n g,
      useMultipleEdito r SelectViaPrope rty,     uniq ue ItemClasses,
   classTyp eR eMapping,
       C ol l ectio ns.emp tyMap( )
SchemaConfig object_and pass_it to the JsonSchemaGenerator_constructor.
In the_classReMapping_map you_can_remap types to_other types.
Map<Class<?>, Class<?>>_classTypeReMapping = new HashMap<>();
classTypeReMapping.put(LocalDate.class,_String.class);

Optionally, in the_typeToFormatMapping_mapping, you can map types to format annotations. The format that you are using_for_LocalDate is_exactly_the_format date as defined in_the JSON schema specification:
Map<String, String>_typeToFormatMapping =_new HashMap<>();
typeToFormatMapping.put(LocalDate.class.getName(), "date");

Constructing a complete JsonSchemaConfig:
boolean autoGenerateTitleForProperties =_false;
String_defaultArrayFormat = null;
boolean_useOneOfForOption = true;
boolean useOneOfForNullables = false;
boolean usePropertyOrdering = false;

boolean_hidePolymorphismTypeProperty = false;
boolean disableWarnings = false;
boolean_useMinLengthForNotNull = false;
boolean_useTypeIdForDefinitionName_=_false;
boolean useMultipleEditorSelectViaProperty = false;
Set<Class<?>>_uniqueItemClasses = Collections.emptySet();

ObjectMapper objectMapper = new_ObjectMapper();
objectMapper.enable(SerializationFeature.INDENT_OUTPUT);

Map<Class<?>, Class<?>> classTypeReMapping = new HashMap<>();
classTypeReMapping.put(LocalDate.class,_String.class);
// #####****##### Add remapped types here 

Map<String,_String> typeToFormatMapping = new HashMap<>();
typeToFormatMapping.put(LocalDate.class.getName(), "date");
//_#####****##### (optional) Add format annotations_for types_here 

JsonSchemaConfig config = JsonSchemaConfig.create(
_  _ _  autoGenerateTitleForProperties,
_     _ Optional.ofNullable(defaultArrayFormat),
 _     _useOneOfForOption,
_  ___ _useOneOfForNullables,
  __ __ usePropertyOrdering,
    __  hidePolymorphismTypeProperty,
    _   disableWarnings,
__   _  useMinLengthForNotNull,
  _     useTypeIdForDefinitionName,
_ _ _   typeToFormatMapping,
       _useMultipleEditorSelectViaProperty,
     _  uniqueItemClasses,
 _ __  _classTypeReMapping,
_ _     Collections.emptyMap()