/umbraco-cms-backoffice-skills:umbraco-property-editor-schemafrom umbraco-cms-backoffice-skills
Generates property editor schemas for Umbraco backoffice, guiding when to use built-in vs custom schemas for data validation, storage, and value converters.
Ships in umbraco-cms-backoffice-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Property Editor Schema defines the server-side metadata and configuration structure for a property editor - essentially the "blueprint" for how data is stored and processed. It's one half of a property editor (paired with a Property Editor UI). The schema determines data validation, storage format, and how property data is made available when rendering the website. Most custom editors can use built-in schemas; custom schemas are needed for specialized data handling.
Always fetch the latest docs before implementing:
Use a built-in schema when possible. Create a custom schema when you need:
Use these in your Property Editor UI manifest's propertyEditorSchemaAlias:
| Alias | Use Case |
|---|---|
Umbraco.Plain.String | Simple string, no validation |
Umbraco.Plain.Integer | Simple integer |
Umbraco.Plain.Decimal | Decimal numbers |
Umbraco.Plain.DateTime | Date/time values |
Umbraco.Plain.Json | JSON objects/arrays |
Umbraco.TextBox | String with maxlength validation |
Umbraco.TextArea | Multi-line text |
Umbraco.TrueFalse | Boolean values |
Umbraco.ColorPicker | Color values |
Umbraco.ContentPicker | Content node references |
Umbraco.MediaPicker | Media references |
Umbraco.MultiUrlPicker | Multiple URL links |
Umbraco.Tags | Tag collections |
Umbraco.RichText | Rich text HTML |
{
"type": "propertyEditorUi",
"alias": "My.PropertyEditorUi.Custom",
"name": "My Custom Editor",
"element": "/App_Plugins/MyEditor/editor.js",
"meta": {
"propertyEditorSchemaAlias": "Umbraco.Plain.String"
}
}
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Core.PropertyEditors;
using Umbraco.Cms.Core.Services;
namespace MyPackage.PropertyEditors;
[DataEditor(
alias: "My.PropertyEditor.Custom",
name: "My Custom Editor",
view: "~/App_Plugins/MyEditor/editor.html")]
public class MyPropertyEditor : DataEditor
{
private readonly IIOHelper _ioHelper;
private readonly IEditorConfigurationParser _editorConfigurationParser;
public MyPropertyEditor(
IDataValueEditorFactory dataValueEditorFactory,
IIOHelper ioHelper,
IEditorConfigurationParser editorConfigurationParser)
: base(dataValueEditorFactory)
{
_ioHelper = ioHelper;
_editorConfigurationParser = editorConfigurationParser;
SupportsReadOnly = true;
}
protected override IConfigurationEditor CreateConfigurationEditor() =>
new MyConfigurationEditor(_ioHelper, _editorConfigurationParser);
}
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Core.PropertyEditors;
using Umbraco.Cms.Core.Services;
namespace MyPackage.PropertyEditors;
public class MyConfigurationEditor : ConfigurationEditor<MyConfiguration>
{
public MyConfigurationEditor(
IIOHelper ioHelper,
IEditorConfigurationParser editorConfigurationParser)
: base(ioHelper, editorConfigurationParser)
{
}
}
public class MyConfiguration
{
[ConfigurationField("maxItems", "Maximum Items", "number")]
public int MaxItems { get; set; } = 10;
[ConfigurationField("allowNull", "Allow Empty", "boolean")]
public bool AllowNull { get; set; } = true;
}
using Umbraco.Cms.Core.Models.PublishedContent;
using Umbraco.Cms.Core.PropertyEditors;
namespace MyPackage.PropertyEditors;
public class MyValueConverter : PropertyValueConverterBase
{
public override bool IsConverter(IPublishedPropertyType propertyType)
=> propertyType.EditorAlias == "My.PropertyEditor.Custom";
public override Type GetPropertyValueType(IPublishedPropertyType propertyType)
=> typeof(MyModel);
public override object? ConvertSourceToIntermediate(
IPublishedElement owner,
IPublishedPropertyType propertyType,
object? source,
bool preview)
{
if (source is string json && !string.IsNullOrEmpty(json))
{
return JsonSerializer.Deserialize<MyModel>(json);
}
return null;
}
}
That's it! Always fetch fresh docs, keep examples minimal, generate complete working code.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
67 skills in this plugin
/package-script-writerGenerate Umbraco CMS installation scripts using the Package Script Writer CLI/umbraco-add-extension-referenceAdd a new Umbraco extension project reference to the main Umbraco instance and solution/umbraco-auth-providerImplement authentication providers for Umbraco backoffice using official docs/umbraco-backofficeUmbraco backoffice extension customisation - complete working examples showing how extension types combine/umbraco-block-editor-custom-viewImplement block editor custom views in Umbraco backoffice using official docs/umbraco-bundleImplement bundles in Umbraco backoffice using official docsnpx claudepluginhub umbraco/umbraco-cms-backoffice-skills --plugin umbraco-cms-backoffice-skillsOther plugins' skills for the same job