@ -37,6 +37,11 @@ namespace Squidex.Areas.Api.Controllers.Schemas.Models
/// </summary>
public bool Publish { get; set; }
/// <summary>
/// Set to true to allow a single content item only.
public bool Singleton { get; set; }
public CreateSchema ToCommand()
{
var command = new CreateSchema();
@ -44,6 +44,11 @@ namespace Squidex.Areas.Api.Controllers.Schemas.Models
public bool IsPublished { get; set; }
/// Indicates if the schema is a singleton.
public bool IsSingleton { get; set; }
/// The user that has created the schema.