Skip to content

Support for anyOf and etc. #7

Description

@sananguliyev

First thanks for the repo. It looks fantastic. I have just question whether you have a plan to cover all json schema options like anyOf and etc. E.g. current version is not able to convert this.

{
  "$schema": "http://json-schema.org/schema#",
  "type": "object",
  "properties": {
    "hi": {
      "anyOf": [
        {
          "type": [
            "integer",
            "string"
          ]
        },
        {
          "type": "array",
          "items": {
            "type": [
              "integer",
              "string"
            ]
          }
        },
        {
          "type": "object",
          "properties": {
            "a": {
              "type": "string"
            }
          },
          "required": [
            "a"
          ]
        }
      ]
    }
  },
  "required": [
    "hi"
  ]
}

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