package Ġcom . z up edu . gab riel ped ric o . valid ations Ċ Ċ import Ġjavax . validation . Constraint Ċ import Ġjavax . validation . Payload Ċ import Ġjavax . validation . Report As Single Violation Ċ import Ġjavax . validation . constraints . Pattern Ċ import Ġkotlin . reflect . K Class Ċ Ċ @ Report As Single Violation Ċ @ Constraint ( validated By Ġ= Ġ[]) Ċ @ Pattern ( regexp Ġ= Ġ"[ a - f 0 - 9 ]{ 8 } (- [ a - f 0 - 9 ]{ 4 } ){ 4 }[ a - f 0 - 9 ]{ 8 }$ ", ĊĠĠĠĠĠĠĠĠ Ġflags Ġ= Ġ[ Pattern . Flag . CASE _ INS ENS ITIVE ] Ġ) Ċ @ Retention ( Annotation Retention . RUNTIME ) Ċ annotation Ġclass ĠValid UUID ( ĊĠĠĠ Ġval Ġmessage : ĠString Ġ= Ġ" n Ã£o ĠÃ© Ġum Ġformato ĠvÃ¡l ido ĠUUID ", ĊĠĠĠ Ġval Ġgroups : ĠArray < K Class < Any >> Ġ= Ġ[], ĊĠĠĠ Ġval Ġpayload : ĠArray < K Class < Payload >> Ġ= Ġ[], Ċ ) Ċ