Skip to content

Validation error on schema type "enum" #47

@megafetis

Description

@megafetis

unfortunately, the validator does not allow the enum type in the json schema.

"contacts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {

              "description": {
                "type": "string"
              },

              "is_main": {
                "type": "boolean"
              },
              "contact_value": {
                "type": "string"
              },
              "contact_type": {
                "enum": [
                  "email",
                  "phone",
                  "social_url",
                  "web_site"
                ]
              }
            }
          }
        },

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions