A simple object schema with properties. SimpleObjectSchema

Extends

  • BasicSchema

Properties

description?

optional description: string;

Inherited from

BasicSchema.description

properties

properties: Record<string, SimpleObjectStringSchema>;
The properties of the object.

required

required: string[];
The required properties of the object.

type

type: "object";
The type of the schema, which is always “object”.

Overrides

BasicSchema.type