Data::Rx

the Rx schema and validation system

Latest version: 0.200008 registry icon
Maintenance score
0
Safety score
0
Popularity score
15
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
0.200008 0 0 0 0 0
0.200007 0 0 0 0 0
0.200006 0 0 0 0 0
0.200005 0 0 0 0 0
0.200004 0 0 0 0 0
0.200003 0 0 0 0 0
0.200002 0 0 0 0 0
0.200001-TRIAL 0 0 0 0 0
0.200000-TRIAL 0 0 0 0 0
0.100110 0 0 0 0 0
0.007 0 0 0 0 0
0.006 0 0 0 0 0
0.005 0 0 0 0 0
0.004 0 0 0 0 0
0.003 0 0 0 0 0
0.002 0 0 0 0 0
0.001 0 0 0 0 0

Stability
Latest release:

0.200008 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Artistic-1.0   -   Artistic License 1.0

Not a wildcard

Not proprietary

OSI Compliant


GPL-1.0-or-later   -   GNU General Public License v1.0 or later

Not a wildcard

Not proprietary

OSI Compliant



What is Rx?

When adding an API to your web service, you have to choose how to encode the data you send across the line. XML is one common choice for this, but it can grow arcane and cumbersome pretty quickly. Lots of webservice authors want to avoid thinking about XML, and instead choose formats that provide a few simple data types that correspond to common data structures in modern programming languages. In other words, JSON and YAML.

Unfortunately, while these formats make it easy to pass around complex data structures, they lack a system for validation. XML has XML Schemas and RELAX NG, but these are complicated and sometimes confusing standards. They're not very portable to the kind of data structure provided by JSON, and if you wanted to avoid XML as a data encoding, writing more XML to validate the first XML is probably even less appealing.

Rx is meant to provide a system for data validation that matches up with JSON-style data structures and is as easy to work with as JSON itself.