Includes an implementation of JSON Schema Draft 4, an implementation of JSON pointer, and a JSON-schema-to-C# code generator
Перейти к файлу
Shaopeng d65f4a9f51
FEATURE: Merge `HintKind`: `PropertyNameHint` and `PropertyModifiersHint` into one `PropertyHint` and Add a new setting `typeName` (#171)
* Add GenerateJsonIntegerAsHint

* Update naming

* rename to `TypeName`

* SupportedPropertyTypeHint

* PropertyTypeHintTests

* Add tests

* Fix test

* add tests

* Release History

* Update tests

* Add tests

* Merge `HintKind`: `PropertyNameHint` and `PropertyModifiersHint` into one `PropertyHint`

* Update names

* Add test

* fix over write issue

* Fix case
2023-07-27 13:23:45 -07:00
.github/workflows jschema Fix build (#174) 2023-07-27 13:16:22 -07:00
.nuget Fixing wrong array logic (#138) 2021-08-05 19:29:53 -03:00
src FEATURE: Merge `HintKind`: `PropertyNameHint` and `PropertyModifiersHint` into one `PropertyHint` and Add a new setting `typeName` (#171) 2023-07-27 13:23:45 -07:00
.gitattributes Initial commit to add default .gitIgnore and .gitAttribute files. 2016-02-14 16:14:39 -08:00
.gitignore Add launchsettings.json to .gitignore. 2018-07-25 17:07:48 -07:00
BuildAndTest.cmd PowerShell-based BuildAndTest 2018-06-27 07:12:28 -07:00
BuildAndTest.ps1 Migrating to netcoreapp3.1 (#143) 2022-02-23 16:18:51 -08:00
CreateSigningDirectory.cmd Migrating to netcoreapp3.1 (#143) 2022-02-23 16:18:51 -08:00
License.txt Add License.txt and README.md 2016-02-14 16:38:28 -08:00
PushSignedBinariesIntoBuild.cmd Migrating to netcoreapp3.1 (#143) 2022-02-23 16:18:51 -08:00
README.md Set up CI with Azure Pipelines (#134) 2020-12-08 14:01:02 -03:00
SECURITY.md Microsoft mandatory file (#149) 2022-05-18 17:02:13 -07:00
azure-pipelines.yml jschema Fix build (#174) 2023-07-27 13:16:22 -07:00
jschema.png Finish package changes for autosigning 2018-08-13 14:32:03 -07:00

README.md

Microsoft/jschema

A set of .NET components for working with JSON Schema Draft 4

The JSchema repo consists of the following components, each of which is documented in its own README.md:

  • Microsoft.Json.Pointer: an implementation of the JSON Pointer specification (RFC 6901). Documentation: src/Json.Pointer/README.md.

  • Microsoft.Json.Schema: an almost but not quite complete implementation of JSON Schema Draft 4. Documentation: coming soon.

  • Microsoft.Json.Schema.Validation: a library to validate a JSON instance document against a JSON schema document. Documentation: coming soon.

  • Microsoft.Json.Schema.Validation.Cli: a command-line tool to validate a JSON instance document against a JSON schema document, built on the Microsoft.Json.Schema.Validation library.

  • Microsoft.Json.Schema.ToDotNet: a library to generate .NET classes from a JSON schema. Documentation (incomplete): src/Json.Schema.ToDotNet/README.md.

  • Microsoft.Json.Schema.ToDotNet.Cli: a command-line tool to generate .NET classes from a JSON schema, built on the Microsoft.Json.Schema.ToDotNet library. Documentation: coming soon.

All facilities built from the JSchema repo, including the command line tools, are available for both the net461 and netcoreapp2.1 platforms.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ, or contact opencode@microsoft.com with any additional questions or comments.