Skip to content

Support for array of types in JSON schema #77

Closed
@florianreinhart

Description

@florianreinhart

The following is a valid schema, but currently unsupported by fast-json-stringify:

{
    "type": "object",
    "properties": {
      "stringOrNumber": {"type": ["string", "number"], "maxLength": 10}
    }
}

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