New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

robotframework-jsonschemalibrary

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

robotframework-jsonschemalibrary

A Robot Framework library for JSON Schema validation.

  • 1.0
  • PyPI
  • Socket score

Maintainers
1

==================================================== A Robot Framework library for JSON Schema validation

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

Usage

The library needs access to the file system location of the schemas, in order to resolve references between schemas. Default is a subdirectory called schemas - you could make a symlink here to wherever the schema definition files are::

Library JSONSchemaLibrary /path/to/schemas ... My Test Case: Validate Json schema_name.schema.json {"foo": "bar"}

Per default, only prints the validation error message when there's an error. Run with log level DEBUG in order to see more info, including a dump of the schema, in the Robot Framework logs.

Development

::

$ pybot --pythonpath . tests

Todo

  • HTTP resolver

.. _jsonschema: https://github.com/Julian/jsonschema

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc