-Updated Json.NET Schema URL

This commit is contained in:
James Newton-King
2015-01-29 21:11:06 +13:00
parent e8ca53e788
commit ca76003256
33 changed files with 72 additions and 72 deletions
+3 -3
View File
@@ -16,9 +16,9 @@
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
+2 -2
View File
@@ -17,8 +17,8 @@
</listItem> </listItem>
<listItem> <listItem>
<para><legacyBold>JSON Schema</legacyBold> - Loading schemas and validating JSON. Note that JSON Schema validation has been moved to its own package. See <externalLink> <para><legacyBold>JSON Schema</legacyBold> - Loading schemas and validating JSON. Note that JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details.</para> for more details.</para>
@@ -7,9 +7,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
+3 -3
View File
@@ -8,9 +8,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
@@ -8,9 +8,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
@@ -8,9 +8,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
+3 -3
View File
@@ -7,9 +7,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
@@ -7,9 +7,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
@@ -7,9 +7,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
+3 -3
View File
@@ -7,9 +7,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
+3 -3
View File
@@ -7,9 +7,9 @@
</introduction> </introduction>
<alert class="caution"> <alert class="caution">
<para> <para>
JSON Schema validation has been moved to its own package. See <externalLink> <legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText> <linkText>http://www.newtonsoft.com/jsonschema</linkText>
<linkUri>http://www.newtonsoft.com</linkUri> <linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
<linkTarget>_blank</linkTarget> <linkTarget>_blank</linkTarget>
</externalLink> </externalLink>
for more details. for more details.
+1 -1
View File
@@ -48,7 +48,7 @@
<NamespaceSummaryItem name="Newtonsoft.Json.Linq" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq&lt;/b&gt; namespace provides classes that are used to implement LINQ to JSON.</NamespaceSummaryItem> <NamespaceSummaryItem name="Newtonsoft.Json.Linq" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq&lt;/b&gt; namespace provides classes that are used to implement LINQ to JSON.</NamespaceSummaryItem>
<NamespaceSummaryItem name="Newtonsoft.Json.Linq.ComponentModel" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq.ComponentModel&lt;/b&gt; namespace provides classes for LINQ to JSON databinding.</NamespaceSummaryItem> <NamespaceSummaryItem name="Newtonsoft.Json.Linq.ComponentModel" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq.ComponentModel&lt;/b&gt; namespace provides classes for LINQ to JSON databinding.</NamespaceSummaryItem>
<NamespaceSummaryItem name="Newtonsoft.Json.Schema" isDocumented="True">&lt;para&gt;The &lt;b&gt;Newtonsoft.Json.Schema&lt;/b&gt; namespace provides classes that are used to implement JSON schema.&lt;/para&gt; <NamespaceSummaryItem name="Newtonsoft.Json.Schema" isDocumented="True">&lt;para&gt;The &lt;b&gt;Newtonsoft.Json.Schema&lt;/b&gt; namespace provides classes that are used to implement JSON schema.&lt;/para&gt;
&lt;para&gt;&lt;b&gt;Obsolete.&lt;/b&gt; JSON Schema validation has been moved to its own package. See &lt;a href="http://www.newtonsoft.com"&gt;http://www.newtonsoft.com&lt;/a&gt; for more details.&lt;/para&gt;</NamespaceSummaryItem> &lt;para&gt;&lt;b&gt;Obsolete.&lt;/b&gt; JSON Schema validation has been moved to its own package. See &lt;a href="http://www.newtonsoft.com/jsonschema"&gt;http://www.newtonsoft.com/jsonschema&lt;/a&gt; for more details.&lt;/para&gt;</NamespaceSummaryItem>
<NamespaceSummaryItem name="Newtonsoft.Json.Serialization" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq&lt;/b&gt; namespace provides classes that are used when serializing and deserializing JSON.</NamespaceSummaryItem> <NamespaceSummaryItem name="Newtonsoft.Json.Serialization" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq&lt;/b&gt; namespace provides classes that are used when serializing and deserializing JSON.</NamespaceSummaryItem>
<NamespaceSummaryItem name="Newtonsoft.Json.Utilities" isDocumented="False" /> <NamespaceSummaryItem name="Newtonsoft.Json.Utilities" isDocumented="False" />
<NamespaceSummaryItem name="Newtonsoft.Json.Bson" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq&lt;/b&gt; namespace provides classes that are used to implement BSON.</NamespaceSummaryItem> <NamespaceSummaryItem name="Newtonsoft.Json.Bson" isDocumented="True">The &lt;b&gt;Newtonsoft.Json.Linq&lt;/b&gt; namespace provides classes that are used to implement BSON.</NamespaceSummaryItem>
@@ -57,4 +57,4 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("7.0.0.0")] [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.1.18113")] [assembly: AssemblyFileVersion("7.0.1.18126")]
@@ -76,4 +76,4 @@ using System.Security;
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("7.0.0.0")] [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.1.18113")] [assembly: AssemblyFileVersion("7.0.1.18126")]
+1 -1
View File
@@ -68,7 +68,7 @@ namespace Newtonsoft.Json
/// Gets the <see cref="JsonSchema"/> of the JSON produced by the JsonConverter. /// Gets the <see cref="JsonSchema"/> of the JSON produced by the JsonConverter.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
/// <returns>The <see cref="JsonSchema"/> of the JSON produced by the JsonConverter.</returns> /// <returns>The <see cref="JsonSchema"/> of the JSON produced by the JsonConverter.</returns>
+2 -2
View File
@@ -47,10 +47,10 @@ namespace Newtonsoft.Json
/// Represents a reader that provides <see cref="JsonSchema"/> validation. /// Represents a reader that provides <see cref="JsonSchema"/> validation.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public class JsonValidatingReader : JsonReader, IJsonLineInfo public class JsonValidatingReader : JsonReader, IJsonLineInfo
{ {
private class SchemaScope private class SchemaScope
@@ -92,5 +92,5 @@ using System.Security;
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("7.0.0.0")] [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.1.18113")] [assembly: AssemblyFileVersion("7.0.1.18126")]
[assembly: CLSCompliant(true)] [assembly: CLSCompliant(true)]
+10 -10
View File
@@ -35,10 +35,10 @@ namespace Newtonsoft.Json.Schema
/// Contains the JSON schema extension methods. /// Contains the JSON schema extension methods.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public static class Extensions public static class Extensions
{ {
/// <summary> /// <summary>
@@ -46,7 +46,7 @@ namespace Newtonsoft.Json.Schema
/// Determines whether the <see cref="JToken"/> is valid. /// Determines whether the <see cref="JToken"/> is valid.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
/// <param name="source">The source <see cref="JToken"/> to test.</param> /// <param name="source">The source <see cref="JToken"/> to test.</param>
@@ -54,7 +54,7 @@ namespace Newtonsoft.Json.Schema
/// <returns> /// <returns>
/// <c>true</c> if the specified <see cref="JToken"/> is valid; otherwise, <c>false</c>. /// <c>true</c> if the specified <see cref="JToken"/> is valid; otherwise, <c>false</c>.
/// </returns> /// </returns>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public static bool IsValid(this JToken source, JsonSchema schema) public static bool IsValid(this JToken source, JsonSchema schema)
{ {
bool valid = true; bool valid = true;
@@ -67,7 +67,7 @@ namespace Newtonsoft.Json.Schema
/// Determines whether the <see cref="JToken"/> is valid. /// Determines whether the <see cref="JToken"/> is valid.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
/// <param name="source">The source <see cref="JToken"/> to test.</param> /// <param name="source">The source <see cref="JToken"/> to test.</param>
@@ -76,7 +76,7 @@ namespace Newtonsoft.Json.Schema
/// <returns> /// <returns>
/// <c>true</c> if the specified <see cref="JToken"/> is valid; otherwise, <c>false</c>. /// <c>true</c> if the specified <see cref="JToken"/> is valid; otherwise, <c>false</c>.
/// </returns> /// </returns>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public static bool IsValid(this JToken source, JsonSchema schema, out IList<string> errorMessages) public static bool IsValid(this JToken source, JsonSchema schema, out IList<string> errorMessages)
{ {
IList<string> errors = new List<string>(); IList<string> errors = new List<string>();
@@ -92,12 +92,12 @@ namespace Newtonsoft.Json.Schema
/// Validates the specified <see cref="JToken"/>. /// Validates the specified <see cref="JToken"/>.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
/// <param name="source">The source <see cref="JToken"/> to test.</param> /// <param name="source">The source <see cref="JToken"/> to test.</param>
/// <param name="schema">The schema to test with.</param> /// <param name="schema">The schema to test with.</param>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public static void Validate(this JToken source, JsonSchema schema) public static void Validate(this JToken source, JsonSchema schema)
{ {
source.Validate(schema, null); source.Validate(schema, null);
@@ -108,13 +108,13 @@ namespace Newtonsoft.Json.Schema
/// Validates the specified <see cref="JToken"/>. /// Validates the specified <see cref="JToken"/>.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
/// <param name="source">The source <see cref="JToken"/> to test.</param> /// <param name="source">The source <see cref="JToken"/> to test.</param>
/// <param name="schema">The schema to test with.</param> /// <param name="schema">The schema to test with.</param>
/// <param name="validationEventHandler">The validation event handler.</param> /// <param name="validationEventHandler">The validation event handler.</param>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public static void Validate(this JToken source, JsonSchema schema, ValidationEventHandler validationEventHandler) public static void Validate(this JToken source, JsonSchema schema, ValidationEventHandler validationEventHandler)
{ {
ValidationUtils.ArgumentNotNull(source, "source"); ValidationUtils.ArgumentNotNull(source, "source");
+2 -2
View File
@@ -37,10 +37,10 @@ namespace Newtonsoft.Json.Schema
/// An in-memory representation of a JSON Schema. /// An in-memory representation of a JSON Schema.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public class JsonSchema public class JsonSchema
{ {
/// <summary> /// <summary>
@@ -37,7 +37,7 @@ using Newtonsoft.Json.Linq;
namespace Newtonsoft.Json.Schema namespace Newtonsoft.Json.Schema
{ {
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
internal class JsonSchemaBuilder internal class JsonSchemaBuilder
{ {
private readonly IList<JsonSchema> _stack; private readonly IList<JsonSchema> _stack;
@@ -28,7 +28,7 @@ using System.Collections.Generic;
namespace Newtonsoft.Json.Schema namespace Newtonsoft.Json.Schema
{ {
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
internal static class JsonSchemaConstants internal static class JsonSchemaConstants
{ {
public const string TypePropertyName = "type"; public const string TypePropertyName = "type";
@@ -33,13 +33,13 @@ namespace Newtonsoft.Json.Schema
/// Returns detailed information about the schema exception. /// Returns detailed information about the schema exception.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
#if !(NETFX_CORE || PORTABLE40 || PORTABLE) #if !(NETFX_CORE || PORTABLE40 || PORTABLE)
[Serializable] [Serializable]
#endif #endif
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public class JsonSchemaException : JsonException public class JsonSchemaException : JsonException
{ {
/// <summary> /// <summary>
@@ -44,10 +44,10 @@ namespace Newtonsoft.Json.Schema
/// Generates a <see cref="JsonSchema"/> from a specified <see cref="Type"/>. /// Generates a <see cref="JsonSchema"/> from a specified <see cref="Type"/>.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public class JsonSchemaGenerator public class JsonSchemaGenerator
{ {
/// <summary> /// <summary>
@@ -30,7 +30,7 @@ using Newtonsoft.Json.Utilities;
namespace Newtonsoft.Json.Schema namespace Newtonsoft.Json.Schema
{ {
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
internal class JsonSchemaModel internal class JsonSchemaModel
{ {
public bool Required { get; set; } public bool Required { get; set; }
@@ -34,7 +34,7 @@ using System.Linq;
namespace Newtonsoft.Json.Schema namespace Newtonsoft.Json.Schema
{ {
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
internal class JsonSchemaModelBuilder internal class JsonSchemaModelBuilder
{ {
private JsonSchemaNodeCollection _nodes = new JsonSchemaNodeCollection(); private JsonSchemaNodeCollection _nodes = new JsonSchemaNodeCollection();
+1 -1
View File
@@ -35,7 +35,7 @@ using System.Linq;
namespace Newtonsoft.Json.Schema namespace Newtonsoft.Json.Schema
{ {
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
internal class JsonSchemaNode internal class JsonSchemaNode
{ {
public string Id { get; private set; } public string Id { get; private set; }
@@ -28,7 +28,7 @@ using System.Collections.ObjectModel;
namespace Newtonsoft.Json.Schema namespace Newtonsoft.Json.Schema
{ {
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
internal class JsonSchemaNodeCollection : KeyedCollection<string, JsonSchemaNode> internal class JsonSchemaNodeCollection : KeyedCollection<string, JsonSchemaNode>
{ {
protected override string GetKeyForItem(JsonSchemaNode item) protected override string GetKeyForItem(JsonSchemaNode item)
@@ -39,10 +39,10 @@ namespace Newtonsoft.Json.Schema
/// Resolves <see cref="JsonSchema"/> from an id. /// Resolves <see cref="JsonSchema"/> from an id.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public class JsonSchemaResolver public class JsonSchemaResolver
{ {
/// <summary> /// <summary>
+2 -2
View File
@@ -32,11 +32,11 @@ namespace Newtonsoft.Json.Schema
/// The value types allowed by the <see cref="JsonSchema"/>. /// The value types allowed by the <see cref="JsonSchema"/>.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Flags] [Flags]
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public enum JsonSchemaType public enum JsonSchemaType
{ {
/// <summary> /// <summary>
@@ -37,7 +37,7 @@ using System.Linq;
namespace Newtonsoft.Json.Schema namespace Newtonsoft.Json.Schema
{ {
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
internal class JsonSchemaWriter internal class JsonSchemaWriter
{ {
private readonly JsonWriter _writer; private readonly JsonWriter _writer;
@@ -32,10 +32,10 @@ namespace Newtonsoft.Json.Schema
/// Specifies undefined schema Id handling options for the <see cref="JsonSchemaGenerator"/>. /// Specifies undefined schema Id handling options for the <see cref="JsonSchemaGenerator"/>.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public enum UndefinedSchemaIdHandling public enum UndefinedSchemaIdHandling
{ {
/// <summary> /// <summary>
@@ -33,10 +33,10 @@ namespace Newtonsoft.Json.Schema
/// Returns detailed information related to the <see cref="ValidationEventHandler"/>. /// Returns detailed information related to the <see cref="ValidationEventHandler"/>.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public class ValidationEventArgs : EventArgs public class ValidationEventArgs : EventArgs
{ {
private readonly JsonSchemaException _ex; private readonly JsonSchemaException _ex;
@@ -32,9 +32,9 @@ namespace Newtonsoft.Json.Schema
/// Represents the callback method that will handle JSON schema validation events and the <see cref="ValidationEventArgs"/>. /// Represents the callback method that will handle JSON schema validation events and the <see cref="ValidationEventArgs"/>.
/// </para> /// </para>
/// <note type="caution"> /// <note type="caution">
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com">http://www.newtonsoft.com</see> for more details. /// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
/// </note> /// </note>
/// </summary> /// </summary>
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com for more details.")] [Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
public delegate void ValidationEventHandler(object sender, ValidationEventArgs e); public delegate void ValidationEventHandler(object sender, ValidationEventArgs e);
} }