Skip to content

Commit 80e0f2c

Browse files
author
json-everything-ci
committed
regenerated api docs
1 parent a9f41ae commit 80e0f2c

14 files changed

+51
-11
lines changed

_docs/api/JsonSchema.Net/JsonSchema.md

+19
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,25 @@ public static JsonSchema FromText(string jsonText, JsonSerializerOptions options
123123

124124
A new **Json.Schema.JsonSchema**.
125125

126+
### GetAnchor(string anchorName)
127+
128+
Gets a defined anchor.
129+
130+
#### Declaration
131+
132+
```c#
133+
public JsonSchema GetAnchor(string anchorName)
134+
```
135+
136+
| Parameter | Type | Description |
137+
|---|---|---|
138+
| anchorName | string | The name of the anchor (excluding the `#`) |
139+
140+
141+
#### Returns
142+
143+
The associated subschema, if the anchor exists, or null.
144+
126145
### GetConstraint(JsonPointer relativeEvaluationPath, JsonPointer baseInstanceLocation, JsonPointer relativeInstanceLocation, EvaluationContext context)
127146

128147
Builds a constraint for the schema.

_docs/api/JsonSchema.Net/title.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ bookmark: JsonSchema.Net
44
permalink: /api/JsonSchema.Net/:title/
55
folder: true
66
order: "9.01"
7-
version: "5.1.3"
7+
version: "5.2.0"
88
---

_docs/release-notes/rn-json-logic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonLogic.Net
44
icon: fas fa-tag
5-
order: "8.10"
5+
order: "8.11"
66
---
77
# [4.0.4](https://github.com/gregsdennis/json-everything/pull/422) {#release-logic-4.0.4}
88

_docs/release-notes/rn-json-more.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: Json.More.Net
44
icon: fas fa-tag
5-
order: "8.11"
5+
order: "8.12"
66
---
77
# [1.8.0](https://github.com/gregsdennis/json-everything/pull/418) {#release-more-1.8.0}
88

_docs/release-notes/rn-json-patch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonPatch.Net
44
icon: fas fa-tag
5-
order: "8.08"
5+
order: "8.09"
66
---
77
# [2.1.0](https://github.com/gregsdennis/json-everything/pull/472) {#release-patch-2.1.0}
88

_docs/release-notes/rn-json-path.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonPath.Net
44
icon: fas fa-tag
5-
order: "8.07"
5+
order: "8.08"
66
---
77
# [0.6.4](https://github.com/gregsdennis/json-everything/pull/496) {#release-path-0.6.4}
88

_docs/release-notes/rn-json-pointer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonPointer.Net
44
icon: fas fa-tag
5-
order: "8.09"
5+
order: "8.10"
66
---
77
# [3.0.2](https://github.com/gregsdennis/json-everything/pull/492) {#release-pointer-3.0.2}
88

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: page
3+
title: JsonSchema.Net.CodeGeneration
4+
icon: fas fa-tag
5+
order: "8.03"
6+
---
7+
# [0.1.0](https://github.com/gregsdennis/json-everything/pull/???) {#release-schemacodegen-0.1.0}
8+
9+
Initial release.

_docs/release-notes/rn-json-schema-data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonSchema.Net.Data
44
icon: fas fa-tag
5-
order: "8.04"
5+
order: "8.05"
66
---
77
# [4.0.0](https://github.com/gregsdennis/json-everything/pull/316) {#release-schemadata-4.0.0}
88

_docs/release-notes/rn-json-schema-datageneration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonSchema.Net.DataGeneration
44
icon: fas fa-tag
5-
order: "8.03"
5+
order: "8.04"
66
---
77
# 1.1.0 (no PR) {#release-schemadatagen-1.1.0}
88

_docs/release-notes/rn-json-schema-openapi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonSchema.Net.OpenApi
44
icon: fas fa-tag
5-
order: "8.06"
5+
order: "8.07"
66
---
77
# [2.0.0](https://github.com/gregsdennis/json-everything/pull/316) {#release-schemadata-2.0.0}
88

_docs/release-notes/rn-json-schema-unique-keys.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: JsonSchema.Net.UniqueKeys
44
icon: fas fa-tag
5-
order: "8.05"
5+
order: "8.06"
66
---
77
# [3.0.1](https://github.com/gregsdennis/json-everything/pull/499) {#release-schemadata-3.0.1}
88

_docs/release-notes/rn-json-schema.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ title: JsonSchema.Net
44
icon: fas fa-tag
55
order: "8.01"
66
---
7+
# [5.2.0](https://github.com/gregsdennis/json-everything/pull/505) {#release-schema-5.2.0}
8+
9+
Added `JsonSchema.GetAnchor()`.
10+
11+
`oneOf` now produces an annotation of the number of successful validations (not required by the spec).
12+
13+
Fixed bug in keyword access extensions. These methods should return null if the keyword is not found, but instead would throw exceptions.
14+
15+
[#504](https://github.com/gregsdennis/json-everything/issues/504) - Fixed bug for `JsonSchema.GetKeyword()` and `JsonSchema[string]`. These should return null if the keyword doesn't exist but would throw exceptions. Thanks to [@mirkoSekulic](https://github.com/mirkoSekulic) for reporting this.
16+
17+
[#506](https://github.com/gregsdennis/json-everything/issues/506) - Fixed bug for `JsonSchema.FindSubschema()` where the pointer lead into a keyword that held a single subschema, e.g. `additionalProperties`. Thanks to [@Splamy](https://github.com/Splamy) for reporting this.
18+
719
# [5.1.3](https://github.com/gregsdennis/json-everything/commit/fe728123a712a43bad6f8a51a625e41f9d459925) {#release-schema-5.1.3}
820

921
Just expose the local schema that you're already storing, you doof.

_docs/release-notes/rn-yaml.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: page
33
title: Yaml2JsonNode
44
icon: fas fa-tag
5-
order: "8.12"
5+
order: "8.13"
66
---
77
# [1.2.4](https://github.com/gregsdennis/json-everything/pull/486) {#release-yaml-1.2.4}
88

0 commit comments

Comments
 (0)