Current section

Files

Jump to
jsv lib jsv resolver embedded draft202012 meta content.ex
Raw

lib/jsv/resolver/embedded/draft202012/meta/content.ex

defmodule JSV.Resolver.Embedded.Draft202012.Meta.Content do
@moduledoc false
@spec schema :: map
def schema do
%{
"$dynamicAnchor" => "meta",
"$id" => "https://json-schema.org/draft/2020-12/meta/content",
"$schema" => "https://json-schema.org/draft/2020-12/schema",
"properties" => %{
"contentEncoding" => %{"type" => "string"},
"contentMediaType" => %{"type" => "string"},
"contentSchema" => %{"$dynamicRef" => "#meta"}
},
"title" => "Content vocabulary meta-schema",
"type" => ["object", "boolean"]
}
end
end