Packages

Work with JSON Schema in Gleam. Supports building schemas as well as encoding decoding from json schema file.

Current section

Files

Jump to
castor include castor_Object.hrl
Raw

include/castor_Object.hrl

-record(object, {
properties :: gleam@dict:dict(binary(), castor:ref(castor:schema())),
required :: list(binary()),
additional_properties :: gleam@option:option(castor:ref(castor:schema())),
max_properties :: gleam@option:option(integer()),
min_properties :: integer(),
nullable :: boolean(),
title :: gleam@option:option(binary()),
description :: gleam@option:option(binary()),
deprecated :: boolean()
}).