Schema
import type { Schema } from "https://googleapis.deno.dev/v1/ces:v1.ts";Represents a select subset of an OpenAPI 3.0 schema object.
§Properties
Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]}
Optional. Allows indirect references between schema nodes. The value
should be a valid reference to a child of the root defs. For example, the
following schema defines a reference to a schema node named "Pet": type:
object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties:
name: type: string The value of the "pet" property is a reference to the
schema node named "Pet". See details in
https://json-schema.org/understanding-json-schema/structuring.