Namespace: Json.Schema.DataGeneration
Inheritance: JsonSchemaExtensions
🡒 object
Provides extension methods for Json.Schema.JsonSchema to generate sample data.
Methods
GenerateData(this JsonSchema schema, EvaluationOptions options)
Attempts to generate sample data that meets the requirements of the schema.
Declaration
1
public static GenerationResult GenerateData(this JsonSchema schema, EvaluationOptions options)
Parameter | Type | Description |
---|---|---|
schema | JsonSchema | The schema. |
options | EvaluationOptions | A set of evaluation options. |
Returns
A result object indicating success and containing the result or error message.