Enum
JsonSchemaDraft
OfficeIMO.Json
The JSON Schema dialect a schema is read with.
Inheritance
- Enum
- JsonSchemaDraft
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property JsonSchema.Draft
- Field JsonSchemaDraft.Draft202012
- Field JsonSchemaDraft.Draft7
- Property JsonSchemaOptions.Draft
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const JsonSchemaDraft Draft202012 #Draft 2020-12, the default for schemas without a recognised $schema.
Value:
0public const JsonSchemaDraft Draft7 #Draft 7 (also used for draft 6 schemas): definitions, array-form items with additionalItems, dependencies, and $ref that overrides its sibling keywords.
Value:
1