class Dry::Schema::JSONSchema::SchemaCompiler

def to_hash

Other tags:
    Api: - private
def to_hash
  result = {}
  result[:$schema] = "http://json-schema.org/draft-06/schema#" if root?
  result.merge!(type: "object", properties: keys, required: required.to_a)
  result
end