RicoSuter/NJsonSchema

Support JSON Schema Draft v6 & v7

Offen

#574 geöffnet am 30.11.2017

 (7 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)C# (550 Forks)github user discovery
help wantedtype: enhancement

Repository-Metriken

Stars
 (1.581 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 39T 6h) (1 gemergte PR in 30 T)

Beschreibung

(+ 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

Contributor Guide