Organize workspace: Frontend, Backend, and Tests in one repo

This commit is contained in:
2026-03-04 22:04:07 +00:00
parent a24e901b7f
commit c065cbf61e
5390 changed files with 844081 additions and 446 deletions

View File

@@ -0,0 +1,5 @@
{
"version": 2,
"contentHash": "6H/B3Wqyz1DqVxb0SVZzTfS8DSnvwuh/UCPa2OUB5GNepWP1ynIkWEmwWEJRG4c5BDwX3o4C5RtTcYCm+viYmQ==",
"source": "https://api.nuget.org/v3/index.json"
}

Binary file not shown.

View File

@@ -0,0 +1,67 @@
## Summary
_JsonSchema.Net_ fully implements the [JSON Schema](https://json-schema.org/) specifications, a declarative syntax for validation and annotating JSON data.
Supported specifications:
- Draft 6 - `http://json-schema.org/draft-06/schema#`
- Draft 7 - `http://json-schema.org/draft-07/schema#`
- Draft 2019-09 - `https://json-schema.org/draft/2019-09/schema`
- Draft 2020-12 - `https://json-schema.org/draft/2020-12/schema`
This project also operates as a test bed for features proposed for the next version ("draft/next").
## Links
- [Documentation](https://docs.json-everything.net/schema/basics/)
- [API Reference](https://docs.json-everything.net/api/JsonSchema.Net/JsonSchema/)
- [Release Notes](https://docs.json-everything.net/rn-json-schema/)
## Usage
Parse a schema:
```c#
var schema = JsonSchema.FromText(content);
```
Load one from a file:
```c#
var schema = JsonSchema.FromFile(filename);
```
Directly deserialize it:
```c#
var schema = JsonSerializer.Deserialize<JsonSchema>(content);
```
Or build it explicitly in code:
```c#
var schema = new JsonSchemaBuilder()
.Comment("a comment")
.Title("A title for my schema")
.Type(SchemaValueType.Object)
.Properties(
("foo", new JsonSchemaBuilder()
.Type(SchemaValueType.String)
),
("bar", new JsonSchemaBuilder()
.Type(SchemaValueType.Number)
)
)
.Build();
```
Use the schema to evaluate and annotate data:
```c#
var instance = JsonNode.Parse("{\"foo\":\"a value\",\"bar\":42}");
var results = schema.Evaluate(instance);
```
## Sponsorship
If you found this library helpful and would like to promote continued development, please consider [sponsoring the maintainers](https://github.com/sponsors/gregsdennis).

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

View File

@@ -0,0 +1 @@
55or4YXuYnNAwAoKoixIARAmcpecddqYybzwRqrbNRHVjAvD0sUdv9eO9uLa0fIy3lvLZmDKliDPdHAHRwrS2A==

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>JsonSchema.Net</id>
<version>7.3.1</version>
<authors>Greg Dennis</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>json-logo-256.png</icon>
<readme>README.md</readme>
<projectUrl>https://github.com/json-everything/json-everything</projectUrl>
<description>JSON Schema built on the System.Text.Json namespace.</description>
<releaseNotes>Release notes can be found at https://json-everything.net/json-schema</releaseNotes>
<tags>json-schema validation schema json</tags>
<repository type="git" url="https://github.com/json-everything/json-everything" />
<dependencies>
<group>
<dependency id="JsonPointer.Net" version="5.1.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
</package>

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff