interface FuncKeywordDefinition {
    $data?: boolean;
    $dataError?: KeywordErrorDefinition;
    allowUndefined?: boolean;
    async?: boolean;
    before?: string;
    compile?: CompileKeywordFunc;
    dependencies?: string[];
    error?: KeywordErrorDefinition;
    errors?: boolean | "full";
    implements?: string[];
    keyword: string | string[];
    metaSchema?: AnySchemaObject;
    modifying?: boolean;
    post?: boolean;
    schema?: boolean;
    schemaType?: "string" | "number" | "boolean" | "object" | "integer" | "null" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[];
    type?: "string" | "number" | "boolean" | "object" | "integer" | "null" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[];
    valid?: boolean;
    validate?: SchemaValidateFunction | DataValidateFunction;
    validateSchema?: AnyValidateFunction<any>;
}

Hierarchy (view full)

Properties

$data?: boolean
allowUndefined?: boolean
async?: boolean
before?: string
dependencies?: string[]
errors?: boolean | "full"
implements?: string[]
keyword: string | string[]
metaSchema?: AnySchemaObject
modifying?: boolean
post?: boolean
schema?: boolean
schemaType?: "string" | "number" | "boolean" | "object" | "integer" | "null" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[]
type?: "string" | "number" | "boolean" | "object" | "integer" | "null" | "array" | ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[]
valid?: boolean
validateSchema?: AnyValidateFunction<any>