RicoSuter/NJsonSchema

Support JSON Schema Draft v6 & v7

Ouverte

#574 ouverte le 30 nov. 2017

 (7 commentaires) (3 réactions) (0 personne assignée)C# (550 forks)github user discovery
help wantedtype: enhancement

Métriques du dépôt

Stars
 (1 581 étoiles)
Métriques de merge PR
 (Merge moyen 39j 6h) (1 PR mergée en 30 j)

Description

(+ update: http://json-schema.org/implementations.html#validator-dotnet ;-) )

Tasks v6:

  • "id" replaced by "$id"
  • "exclusiveMinimum" and "exclusiveMaximum"
  • booleans as schemas | allowable anywhere, not just "additionalProperties" and "additionalItems"
  • "propertyNames" | added
  • "contains" | added
  • "const" | added
  • "required" | allows an empty array
  • "dependencies" | allows an empty array for property dependencies
  • "format": "uri-reference"
  • "format": "uri-template"
  • "format": "json-pointer"
  • "examples" added

Tasks v7:

  • "$comment" | added to Core
  • "if", "then", "else"
  • "readOnly"
  • "writeOnly"
  • "contentMediaType"
  • "contentEncoding"
  • New format strings

Guide contributeur