hjsonschema-0.5.1.0: JSON Schema Draft 4 library

Safe HaskellNone
LanguageHaskell2010

Data.JsonSchema.Helpers

Description

Embedded schema layouts and functions for use in Validators.hs.

fetchRefs uses embedded schema layouts to correctly find subschemas so it can check for "$ref" and "id" keywords.

Documentation

hmToVector :: HashMap k a -> Vector (k, a) Source

vectorToHm :: (Eq k, Hashable k) => Vector (k, a) -> HashMap k a Source

count :: Eq a => a -> Vector a -> Int Source

greaterThanZero :: (Num a, Ord a) => a -> Maybe () Source

tshow :: Show a => a -> Text Source