Namespace: Json.Schema.Generation
Inheritance: SchemaGenerationContextBase
🡒 object
Provides base functionality and data for generation contexts.
Fields
Name | Type | Summary |
---|---|---|
False | SchemaGenerationContextBase | Represents a false schema. |
True | SchemaGenerationContextBase | Represents a true schema. |
Properties
Name | Type | Summary |
---|---|---|
Hash | int | A calculated hash value that represents and identifies this context. |
Intents | List<ISchemaKeywordIntent> | The keyword intents required for this type. |
ReferenceCount | int | The number of times this context has been referenced. |
Type | Type | The type. |
Methods
Apply(JsonSchemaBuilder builder)
Applies the keyword to the Json.Schema.JsonSchemaBuilder.
Declaration
1
public JsonSchema Apply(JsonSchemaBuilder builder)
Parameter | Type | Description |
---|---|---|
builder | JsonSchemaBuilder | The schema builder. |
Returns
The schema builder (for fluent syntax support).