Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deco/deps.ts>JSONSchema7

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
interface JSONSchema7
import { type JSONSchema7 } from "https://deno.land/x/deco@1.75.1/deps.ts";

Properties

optional
$id: string | undefined
optional
$ref: string | undefined
optional
$schema: JSONSchema7Version | undefined
optional
$comment: string | undefined
optional
$defs: { [key: string]: JSONSchema7Definition; } | undefined
optional
type: JSONSchema7TypeName | JSONSchema7TypeName[] | undefined
optional
enum: JSONSchema7Type[] | undefined
optional
const: JSONSchema7Type | undefined
optional
multipleOf: number | undefined
optional
maximum: number | undefined
optional
exclusiveMaximum: number | undefined
optional
minimum: number | undefined
optional
exclusiveMinimum: number | undefined
optional
maxLength: number | undefined
optional
minLength: number | undefined
optional
pattern: string | undefined
optional
items: JSONSchema7Definition | JSONSchema7Definition[] | undefined
optional
additionalItems: JSONSchema7Definition | undefined
optional
maxItems: number | undefined
optional
minItems: number | undefined
optional
uniqueItems: boolean | undefined
optional
contains: JSONSchema7 | undefined
optional
maxProperties: number | undefined
optional
minProperties: number | undefined
optional
required: string[] | undefined
optional
properties: { [key: string]: JSONSchema7Definition; } | undefined
optional
patternProperties: { [key: string]: JSONSchema7Definition; } | undefined
optional
additionalProperties: JSONSchema7Definition | undefined
optional
dependencies: { [key: string]: JSONSchema7Definition | string[]; } | undefined
optional
propertyNames: JSONSchema7Definition | undefined
optional
if: JSONSchema7Definition | undefined
optional
then: JSONSchema7Definition | undefined
optional
else: JSONSchema7Definition | undefined
optional
allOf: JSONSchema7Definition[] | undefined
optional
anyOf: JSONSchema7Definition[] | undefined
optional
oneOf: JSONSchema7Definition[] | undefined
optional
not: JSONSchema7Definition | undefined
optional
format: string | undefined
optional
contentMediaType: string | undefined
optional
contentEncoding: string | undefined
optional
definitions: { [key: string]: JSONSchema7Definition; } | undefined
optional
title: string | undefined
optional
description: string | undefined
optional
default: JSONSchema7Type | undefined
optional
readOnly: boolean | undefined
optional
writeOnly: boolean | undefined
optional
examples: JSONSchema7Type | undefined