Skip to content

fix jsonschema test #839

Open
Open
@shadowpigy

Description

@shadowpigy

The jsonschema tests are outdated.

The main difference is that the properties field is now omitempty.
Another problem is that the last test case with regard to array is incorrect. The following is not a valid json schema. The properties keyword should be nested within an object type, not at the root level of an array type.

{
   "type":"array",
   "items":{
      "type":"string",
      "properties":{
         
      }
   },
   "properties":{
      "name":{
         "type":"string",
         "properties":{}
      }
   }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions