ModelSchemaCompiledItemDefinition
interface
A simplified version of ModelSchemaItemDefinition after
compilation by the schema.
Rules fed to the schema by register
and extend methods are defined in the
ModelSchemaItemDefinition format.
Later on, they are compiled to ModelSchemaCompiledItemDefinition so when you use e.g.
the getDefinition method you get the compiled version.
The compiled version contains only the following properties:
- The
nameproperty, - The
is*properties, - The
allowInarray, - The
allowChildrenarray, - The
allowAttributesarray.
Properties
allowAttributes: Array<string>module:engine/model/schema~ModelSchemaCompiledItemDefinition#allowAttributesallowChildren: Array<string>module:engine/model/schema~ModelSchemaCompiledItemDefinition#allowChildrenallowIn: Array<string>module:engine/model/schema~ModelSchemaCompiledItemDefinition#allowInisBlock: booleanmodule:engine/model/schema~ModelSchemaCompiledItemDefinition#isBlockisContent: booleanmodule:engine/model/schema~ModelSchemaCompiledItemDefinition#isContentisInline: booleanmodule:engine/model/schema~ModelSchemaCompiledItemDefinition#isInlineisLimit: booleanmodule:engine/model/schema~ModelSchemaCompiledItemDefinition#isLimitisObject: booleanmodule:engine/model/schema~ModelSchemaCompiledItemDefinition#isObjectisSelectable: booleanmodule:engine/model/schema~ModelSchemaCompiledItemDefinition#isSelectablename: stringmodule:engine/model/schema~ModelSchemaCompiledItemDefinition#name