Type alias StringSchema

StringSchema: {
    enum?: string[];
    format?: string;
    maxLength?: number;
    minLength?: number;
    pattern?: string | RegExp;
    type: "string";
}

Type declaration

  • Optional enum?: string[]
  • Optional format?: string
  • Optional maxLength?: number
  • Optional minLength?: number
  • Optional pattern?: string | RegExp
  • type: "string"

Generated using TypeDoc