Skip to content

Validating json fails when key = "type" #3

@m3s5ts

Description

@m3s5ts

I'm using jsonvalidator v2.0.0 with RF v4.1.3 and Python v3.10

Whenever I have a json that contains the key "type", the validator returns "Failed validating 'type'

Below are two jsons where the only difference is the second key:

Works
Schema: { "id": "integer", "custom": "string" }
Body: { "id": 1024, "custom": "TEST" }

image

Doesn't work
Schema: { "id": "integer", "type": "string" }
Body: { "id": 1024, "type": "TEST" }

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions