Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
751 B

// ==========================================================================
// CreateFieldDto.cs
// PinkParrot Headless CMS
// ==========================================================================
// Copyright (c) PinkParrot Group
// All rights reserved.
// ==========================================================================
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace PinkParrot.Modules.Api.Schemas.Models
{
public class CreateFieldDto
{
[Required]
[JsonProperty("$type")]
public string Type { get; set; }
[Required]
public string Name { get; set; }
public JObject Properties { get; set; }
}
}