All Projects → peterservice-rnd → robotframework-jsonvalidator

peterservice-rnd / robotframework-jsonvalidator

Licence: Apache-2.0 license
Robot Framework library for JSON validation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to robotframework-jsonvalidator

Minecraft-bedrock-json-schemas
The JSON validation schema files for Minecraft bedrock
Stars: ✭ 17 (-19.05%)
Mutual labels:  json-schema, json-validation
json-validator
A json validator in PHP
Stars: ✭ 52 (+147.62%)
Mutual labels:  json-schema, json-validation
json matcher
Library for simplifying data verification in functional tests for your JSON-based APIs
Stars: ✭ 24 (+14.29%)
Mutual labels:  json-schema, jsonpath
flowjv
Flow based approach to JSON validation.
Stars: ✭ 20 (-4.76%)
Mutual labels:  json-schema, json-validation
json-schema
Clojure library JSON Schema validation and generation - Draft-07 compatible
Stars: ✭ 52 (+147.62%)
Mutual labels:  json-schema, json-validation
helm-schema-gen
So that you don't have to write values.schema.json by hand from scratch for your Helm 3 charts. [CURRENTLY NOT MAINTAINED]
Stars: ✭ 104 (+395.24%)
Mutual labels:  json-schema
jsonschema
A node package based on jsonschema-rs for performing JSON schema validation
Stars: ✭ 48 (+128.57%)
Mutual labels:  json-schema
openapi4j
OpenAPI 3 parser, JSON schema and request validator.
Stars: ✭ 92 (+338.1%)
Mutual labels:  json-schema
json-path-comparison
Comparison of the different implementations of JSONPath and language agnostic test suite.
Stars: ✭ 64 (+204.76%)
Mutual labels:  jsonpath
json-schema-core
A framework for building JSON Schema validators
Stars: ✭ 26 (+23.81%)
Mutual labels:  json-schema
robotframework-seleniumtestability
Extension for SeleniumLibrary that provides manual and automatic waiting for asyncronous events like fetch, xhr, etc.
Stars: ✭ 34 (+61.9%)
Mutual labels:  robotframework
jsonSchema-to-uml
A tool to generate UML class diagrams from JSON schema documents
Stars: ✭ 33 (+57.14%)
Mutual labels:  json-schema
awesome-testing
Software Testing for QA.
Stars: ✭ 48 (+128.57%)
Mutual labels:  robotframework
prisma-json-schema-generator
A generator for Prisma 2 to generate a valid JSON Schema (v7)
Stars: ✭ 145 (+590.48%)
Mutual labels:  json-schema
nz-schema-form
ng-zorro-antd form generation based on JSON-Schema
Stars: ✭ 40 (+90.48%)
Mutual labels:  json-schema
jsonresume-theme-caffeine
Caffeine theme for the JSON Resume project
Stars: ✭ 78 (+271.43%)
Mutual labels:  json-schema
typescript-to-json-schema
Generate JSON schema from your Typescript sources
Stars: ✭ 54 (+157.14%)
Mutual labels:  json-schema
graphql-to-json-schema
GraphQL Schema to JSON Schema
Stars: ✭ 146 (+595.24%)
Mutual labels:  json-schema
express-json-validator-middleware
Express middleware for validating requests against JSON schema
Stars: ✭ 148 (+604.76%)
Mutual labels:  json-schema
mock-json-schema
Simple utility to mock example objects based on JSON schema definitions
Stars: ✭ 23 (+9.52%)
Mutual labels:  json-schema

robotframework-jsonvalidator

Build Status

Short Description

Robot Framework library for JSON validation based on JSONSchema, JSONPath, JSONSelect.

Additional Information

Installation

Install the library from PyPI using pip:

pip install robotframework-jsonvalidator

Dependencies

Documentation

See keyword documentation for JsonValidator library on GitHub.

Example

json_example.json

{
  "store": {
    "book": [
      {
        "category": "reference",
        "author": "Nigel Rees",
        "title": "Sayings of the Century",
        "price": 8.95
      },
      {
        "category": "fiction",
        "author": "Evelyn Waugh",
        "title": "Sword of Honour",
        "price": 12.99
      },
      {
        "category": "fiction",
        "author": "Herman Melville",
        "title": "Moby Dick",
        "isbn": "0-553-21311-3",
        "price": 8.99
      },
      {
        "category": "fiction",
        "author": "J. R. R. Tolkien",
        "title": "The Lord of the Rings",
        "isbn": "0-395-19395-8",
        "price": 22.99
      }
    ],
    "bicycle": {
      "color": "red",
      "price": 19.95
    }
  }
}

Robot Framework test case:

*** Settings ***
Library    JsonValidator
Library    OperatingSystem

*** Test Cases ***
Check Element
    ${json_example}=    OperatingSystem.Get File   ${CURDIR}${/}json_example.json
    Element should exist    ${json_example}    .author:contains("Evelyn Waugh")

License

Apache License 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].