3 | import Data.List.Quantifiers as Bug
4 | import Data.List.Elem
6 | import Data.SortedMap
18 | , SortedMap String AnyJSON
24 | anyJSON : {schema: Type -> Type} ->
28 | transformNamed (unqualifiedName "AnyJSON") (\(MkAnyJSON u) => u) MkAnyJSON $
29 | unionNamed (unqualifiedName "AnyJSON") $
30 | unionMemberWithIndex Here text
31 | #| unionMemberWithIndex (There Here) boolean
33 | #| unionMemberWithIndex (There $
There Here) anyArray
34 | #| unionMemberWithIndex (There $
There $
There Here) anyObject
35 | #| unionMemberWithIndex (There $
There $
There $
There Here) Lana.Class.null
37 | anyArray : {schema: Type -> Type} -> Lana schema => schema (List AnyJSON)
41 | anyObject : {schema: Type -> Type} -> Lana schema => schema (SortedMap String AnyJSON)
43 | objectNamed {schema} (unqualifiedName "AnyJSON object") $
45 | #* additionalFields id anyJSON