Interface APISchemaValidationString

Interface representing the data structure for a string schema validation.

interface APISchemaValidationString {
    type: "string";
    required?: boolean;
    enum?: any[];
    minLength?: number;
    maxLength?: number;
    pattern?: string;
}

Hierarchy (View Summary)

Properties

type: "string"
required?: boolean
enum?: any[]
minLength?: number
maxLength?: number
pattern?: string