Type alias SchemaProperties

SchemaProperties: {
    level: ValidationLevel;
    message: string;
    rule: any;
    type: "json";
}

Properties for validating documents in a collection.

Type declaration

  • level: ValidationLevel

    When validation should be applied.

  • message: string

    Message to be used if validation fails.

  • rule: any

    JSON Schema description of the validation schema for documents.

  • type: "json"

    Type of document validation.

Generated using TypeDoc