summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels/JsonValidator/JsonValidatorRequestModel.cs
blob: 43114d94ff8e7d09e35012b657155a7affd50e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#nullable disable

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; }
    }
}