Skip to content

Supporting all aspects of JSON schema specification. #13

@dydus0x14

Description

@dydus0x14

According to http://json-schema.org/latest/json-schema-validation.html there is the list of used validation categories for JSON (already supported items are marked ✔):

  • validation of string instances;
  • validation of numeric instances;
  • regular expressions and patterns;
  • default values for missing keywords;
  • validation of container instances;
  • validation keywords sorted by instance types;
  • multiplyOf;
  • maximum and exclusiveMaximum (for numeric items);
  • minimum and exclusiveMinimum (for numeric items);
  • maxLength and minLength (for stringified items);
  • maxItems and minItems (for arrays);
  • maxProperties and minProperties (for dictionaries);
  • uniqueItems;
  • required;
  • enum;
  • type;
  • allOf;
  • anyOf;
  • oneOf;
  • not;
  • definitions;
  • additionalProperties, properties and patternProperties;
  • date-time;
  • email;
  • hostname / ipv4 / ipv6 / uri /

Bender may support all of them by default. If something cannot be added into framework for any reasons need to implement examples of its usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions