namespace StardewModdingAPI.Web.ViewModels.JsonValidator
{
/// The view model for a JSON validation request.
public class JsonValidatorRequestModel
{
/*********
** Accessors
*********/
/// The schema name with which to validate the JSON.
public string SchemaName { get; }
/// The raw content to validate.
public string Content { get; }
/*********
** Accessors
*********/
/// Construct an instance.
/// The schema name with which to validate the JSON.
/// The raw content to validate.
public JsonValidatorRequestModel(string schemaName, string content)
{
this.SchemaName = schemaName;
this.Content = content;
}
}
}