package Ġio . github . leg ion 2 . to sca _ orche strator . to sca . model . property Ċ Ċ import Ġio . github . leg ion 2 . to sca _ orche strator . to sca . definitions . Constraint Clause Ċ import Ġio . github . leg ion 2 . to sca _ orche strator . to sca . model . resolved . Resolved Attribute Ċ import Ġio . github . leg ion 2 . to sca _ orche strator . to sca . model . resolved . Resolved Property Ċ import Ġio . github . leg ion 2 . to sca _ orche strator . to sca . model . resolved . Resolved Schema Ċ import Ġio . github . leg ion 2 . to sca _ orche strator . to sca . model . resolved . type . Resolved DataType Ċ Ċ data Ġclass ĠValidation Info ( ĊĠĠĠ Ġval Ġprimitive Type : ĠPrimitive Type , ĊĠĠĠ Ġval Ġproperties : ĠMap < String , ĠResolved Property >, ĊĠĠĠ Ġval Ġconstraints : ĠList < Constraint Clause > Ġ= Ġempty List (), ĊĠĠĠ Ġval Ġkey _ schema : ĠResolved Schema ? Ġ= Ġnull , ĊĠĠĠ Ġval Ġentry _ schema : ĠResolved Schema ? Ġ= Ġnull Ċ ) Ċ Ċ fun ĠResolved Property . to Validation Info (): ĠValidation Info Ġ{ ĊĠĠĠ Ġval Ġresolved Type Ġ= Ġtype ĊĠĠĠ Ġval Ġentry Schema Ġ= Ġentry _ schema Ġ?: Ġresolved Type . entry _ schema ĊĠĠĠ Ġval Ġkey Schema Ġ= Ġkey _ schema Ġ?: Ġresolved Type . key _ schema ĊĠĠĠ Ġreturn ĠValidation Info ( ĊĠĠĠĠĠĠĠ Ġtype . primitive Type , ĊĠĠĠĠĠĠĠ Ġtype . properties , ĊĠĠĠĠĠĠĠ Ġresolved Type . constraints Ġ+ Ġconstraints , ĊĠĠĠĠĠĠĠ Ġkey Schema , ĊĠĠĠĠĠĠĠ Ġentry Schema ĊĠĠĠ Ġ) Ċ } Ċ Ċ fun ĠResolved Attribute . to Validation Info (): ĠValidation Info Ġ{ ĊĠĠĠ Ġval Ġresolved Type Ġ= Ġtype ĊĠĠĠ Ġval Ġentry Schema Ġ= Ġentry _ schema Ġ?: Ġresolved Type . entry _ schema ĊĠĠĠ Ġval Ġkey Schema Ġ= Ġkey _ schema Ġ?: Ġresolved Type . key _ schema ĊĠĠĠ Ġreturn ĠValidation Info ( type . primitive Type , Ġtype . properties , Ġresolved Type . constraints , Ġkey Schema , Ġentry Schema ) Ċ } Ċ Ċ fun ĠResolved Schema . to Validation Info (): ĠValidation Info Ġ{ ĊĠĠĠ Ġval Ġresolved Type Ġ= Ġtype ĊĠĠĠ Ġval Ġentry Schema Ġ= Ġentry _ schema Ġ?: Ġresolved Type . entry _ schema ĊĠĠĠ Ġval Ġkey Schema Ġ= Ġkey _ schema Ġ?: Ġresolved Type . key _ schema ĊĠĠĠ Ġreturn ĠValidation Info ( ĊĠĠĠĠĠĠĠ Ġtype . primitive Type , ĊĠĠĠĠĠĠĠ Ġtype . properties , ĊĠĠĠĠĠĠĠ Ġresolved Type . constraints Ġ+ Ġconstraints , ĊĠĠĠĠĠĠĠ Ġkey Schema , ĊĠĠĠĠĠĠĠ Ġentry Schema ĊĠĠĠ Ġ) Ċ } Ċ Ċ fun ĠResolved DataType . to Validation Info (): ĠValidation Info Ġ{ ĊĠĠĠ Ġreturn ĠValidation Info ( primitive Type , Ġproperties , Ġconstraints , Ġkey _ schema , Ġentry _ schema ) Ċ } Ċ