Data Validation (Schema Validation)

Card Puncher Data Processing

About

Data Validation is:

To be able to validate, a schema must be available for the data been validated.

The schema may be:

  • implicit: defined in specification (ie an email, a telefoon)
  • explicit: defined in a file or api.

Data validation is also known as schema validation

Send strict accept strict.

  • You should not accept bad inputs
  • send lax is a protocol violation.

strict is a reference to the strict keyword in javascript

Library

Regular expression

Data validation with regular expression is regularly done with Lookahead pattern

False Assumption about data type (time, …)

Documentation





Discover More
Data System Architecture
Data Modeling - What is a schema ?

A ''schema'' is a metadata that defines the structure of data. This article tells you more.
Card Puncher Data Processing
Data Processing - Operations / Operator / Filter

A data processing function takes an input and creates an output in a pipeline. transition in Automata functional interface in Functional Programming Filter in Data Processing (Shell and Log Pipeline)...
Probabilistic Script Pclean
Data Quality - Data (cleaning|scrubbing|wrangling)

Data cleansing or data scrubbing is the act of: detecting (ie data validation) and correcting (or removing) corrupt or inaccurate records from a record set, table, or database. Used mainly in...
Object - Proxy

A proxy is an object that can intercept (trap) operation on a object and property Ref doc audit:
Regexp
Regexp - Look-around group (Assertion) - ( Lookahead | Lookbehind )

Look-around are non-capturing group that implements an assertion. question mark Assertion (?=X) X, positive lookahead (via zero-width) (?!X) X, negative lookahead (via zero-width) (?<=X) X,...
Web Security - Fake Form Submission (Signup,..)

Spam or fake form submissions can be made by: a bot (spambot) and a human Example of form: newsletter Sign-up Account Sign-up Comments ... Fake form submission happen due to bots that scour...
What is an HTML Form?

A form is an HTML element that represents a user-submittable form. When parsed as HTML, a form element's start tag will imply a p element's end tag just before. The pizza order form (taken...



Share this page:
Follow us:
Task Runner