RicoSuter/NJsonSchema

Support JSON Schema Draft v6 & v7

オープン

#574 opened on 2017/11/30

 (7 件のコメント) (3 件のリアクション) (0 人の担当者)C# (549 件のフォーク)github user discovery
help wantedtype: enhancement

Repository metrics

Stars
 (1,581 個のスター)
PR merge metrics
 (平均マージ 39d 6h) (30d で 1 merged PR)

説明

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

コントリビューターガイド