RicoSuter/NJsonSchema

Support JSON Schema Draft v6 & v7

Aperta

#574 aperta il 30 nov 2017

 (7 commenti) (3 reazioni) (0 assegnatari)C# (549 fork)github user discovery
help wantedtype: enhancement

Metriche repository

Star
 (1580 stelle)
Metriche merge PR
 (Merge medio 39g 6h) (1 PR mergiata in 30 g)

Descrizione

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

Guida contributor