summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels/JsonValidator/JsonValidatorRequestModel.cs
blob: 1313264f4c2b95328533853632981db0a76cd826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace StardewModdingAPI.Web.ViewModels.JsonValidator
{
    /// <summary>The view model for a JSON validation request.</summary>
    public class JsonValidatorRequestModel
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The schema name with which to validate the JSON.</summary>
        public string? SchemaName { get; set; }

        /// <summary>The raw content to validate.</summary>
        public string? Content { get; set; }
    }
}