package Ġbr . com . project . key . validator Ċ Ċ 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 Ġ= Ġ"^ [ 0 - 9 a - f ]{ 8 }- [ 0 - 9 a - f ]{ 4 }- [ 1 - 5 ][ 0 - 9 a - f ]{ 3 }- [ 8 9 ab ][ 0 - 9 a - f ]{ 3 }- [ 0 - 9 a - f ]{ 1 2 }$ ", ĊĠĠĠ Ġflags Ġ= Ġ[ Pattern . Flag . CASE _ INS ENS ITIVE ] Ċ ) Ċ @ Retention ( ĠAnnotation Retention . RUNTIME Ġ) Ċ @ Target ( ĠAnnotation Target . FIELD Ġ) Ċ annotation Ġclass ĠUUID Valid ( ĊĠĠĠ Ġval Ġmessage Ġ: ĠString Ġ= Ġ" UUID Ġinvalid ", ĊĠĠĠ Ġval Ġgroups Ġ: ĠArray < K Class < Any >> Ġ= Ġ[], ĊĠĠĠ Ġval Ġpayload : ĠArray < K Class < Payload >> Ġ= Ġ[] Ċ ) Ċ