Schema URL

Type: object

Properties

javascript string[]

A list of Javascript files with full path to load for your property editor

uniqueItems=true
css string[]

A list of CSS files with full path to load for your property editor

uniqueItems=true
propertyEditors array

Returns an array of editor objects, each object specifies an editor to make available to data types as an editor component. These editors are primarily property editors for content, media and members, but can also be made available as a macro parameter editor.

minItems=1
parameterEditors editors[]

Returns an array of editor objects, each object specifies an editor to make available to macro parameters as an editor component. These editors work solely as parameter editors, and will not show up on the property editors list.

minItems=1
gridEditors gridEditor[]

Returns an array of grid editor objects, each object specifies a grid editor to make available in the Grid Layout property editor.

minItems=1

Definitions

editor object

This describes details about the editor

view string

This is the full path to the HTML view for your property editor

hideLabel boolean

If set to true this hides the label for the property editor when used in Umbraco on a document type

valueType string

This is the type of data you want your property editor to save to Umbraco

Values: "STRING" "JSON" "DATETIME" "TEXT" "INT"
validation object

Object describing required validators on the editor

isReadOnly boolean

If set to true this makes the property editor read only

Default: false
editors object
alias string required

This must be a unique alias to your property editor

editor object required

This describes details about the editor

5 nested properties
view string

This is the full path to the HTML view for your property editor

hideLabel boolean

If set to true this hides the label for the property editor when used in Umbraco on a document type

valueType string

This is the type of data you want your property editor to save to Umbraco

Values: "STRING" "JSON" "DATETIME" "TEXT" "INT"
validation object

Object describing required validators on the editor

isReadOnly boolean

If set to true this makes the property editor read only

Default: false
name string required

The friendly name of the property editor, shown in the Umbraco backoffice

defaultConfig object

Provides a collection of default configuration values, in cases the property editor is not configured or is used a parameter editor, which doesn't allow configuration. The object is a key/value collection and must match the prevalue fields keys.

isParameterEditor boolean

Enables the property editor as a macro parameter editor can be true/false

Default: false
icon string

A CSS class for the icon to be used in the 'Select Editor' dialog eg: icon-autofill

group string

The group to place this editor in within the 'Select Editor' dialog. Use a new group name or alternatively use an existing one such as 'Pickers'

gridEditor object
name string required

The friendly name of the grid editor, shown in the Umbraco backoffice

alias string required

This must be a unique alias to your grid editor

view string required

This is backoffice HTML view for your grid editor. Either refers to one of the built-in view (textstring, rte, embed, macro, media) or the full path to a custom view eg.: '~/App_Plugins/FolderName/editor.html'

icon string

A CSS class for the icon to be used in the 'Select Editor' dialog eg: icon-autofill

render string

This is front end razor view for your grid editor. Accepts full path to a custom view eg.: '~/App_Plugins/FolderName/editor.cshtml

config object

Configuration for the grid editor. Can be used with textstring and media views or for custom configuration properties

3 nested properties
style string

If used with the textstring view this accepts inline css to style the textstring box eg.: font-size: 30px; line-height: 40px; font-weight: bold

markup string

If used with the textstring view this allows wrapping the value in custom markup eg.:

#value#

size object

If used with the media view this accepts height and width key/value pairs for cropping

2 nested properties
height integer

Height of image in pixels

width integer

Width of image in pixels

preValues object
prevalues object

This is an object that stores an array of prevalue fields or options to configure your property editor

1 nested properties
fields object[]

This is the collection of prevalue fields

minItems=1
fields object[]

This is the collection of prevalue fields