Adding Mark-up to the content-type Resource

Once you have decided on the mark-up to use, you can add it to the required field definitions in your content-type resource. For example:

<field name="my-custom-field" type="number">
 <my-custom-property-editor xmlns="http://my-company.com/2008/studio-plugin" enabled="true">
   <min>2</min>
   <max>300</max>
 </my-custom-property-editor>
</field>