Skip to main content

A Robot Framework library for JSON Schema validation.

Project description

Provides a simple interface to jsonschema, the Python implementation of JSON Schema.

Usage

You can import library like this:

Library     JSONSchemaLibrary

or:

Library     JSONSchemaLibrary  /path/to/schemas

and you can write your testcase like this:

My Test Case:
    Validate Json   schema_name.schema.json  {"foo": "bar"}

My Test Case2:
    Validate Json   /path/to/schema_name.schema.json  {"foo": "bar"}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for robot-jsonschemalibrary, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size robot_jsonschemalibrary-0.1.1-py3-none-any.whl (2.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size robot-jsonschemalibrary-0.1.1.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page