AIJsonSchemaCreateOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides options for configuring the behavior of AIJsonUtilities JSON schema creation functionality.
public ref class AIJsonSchemaCreateOptions sealed
public sealed class AIJsonSchemaCreateOptions
type AIJsonSchemaCreateOptions = class
Public NotInheritable Class AIJsonSchemaCreateOptions
- Inheritance
-
AIJsonSchemaCreateOptions
Constructors
AIJsonSchemaCreateOptions() |
Properties
Default |
Gets the default options instance. |
DisallowAdditionalProperties |
Gets a value indicating whether to generate schemas with the additionalProperties set to false for .NET objects. |
IncludeSchemaKeyword |
Gets a value indicating whether to include the $schema keyword in inferred schemas. |
IncludeTypeInEnumSchemas |
Gets a value indicating whether to include the type keyword in inferred schemas for .NET enums. |
RequireAllProperties |
Gets a value indicating whether to mark all properties as required in the schema. |
TransformSchemaNode |
Gets a callback that is invoked for every schema that is generated within the type graph. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |