{{m.tag|escape}}
<% if (m.parent && m.parent.schema && m.parent.schema.additionalProperties) { %>
element (appears in an array and can have any name)
<% } else { %>
property (describes its parent and has a specific name)
<% } %>
<% if (m.schema && m.schema.additionalProperties && m.schema.additionalProperties.properties) { %>
array of
objects
(its children are elements and can have any name)
<% } else if (m.schema && m.schema.additionalProperties && m.schema.additionalProperties.type) { %>
array of
{{devTools.arrayToList(m.schema.additionalProperties.type)|escape}}
(its children are elements and can have any name)
<% } else if (m.schema && m.schema.type) { %>
{{devTools.arrayToList(m.schema.type)|escape}}
<% if (m.schema.type == 'object') { %>
(its children are properties and have specific names)
<% } %>
<% } else if (m.schema && m.schema.enum) { %>
enum ({{devTools.arrayToList(m.schema.enum)|escape}})
<% } %>
<% if (m.parent && m.parent.schema && m.parent.schema.additionalProperties) { %>
<% } else { %>
<% if (m.data === undefined) { %>
<% if (m.isRequired) { %>
missing required property
<% } else { %>
optional, isn't set
<% } %>
<% } else { %>
<% if (m.isRequired) { %>
required
<% } else { %>
optional
<% } %>
<% } %>
<% } %>
<% if (m.schema.description) { %>
{{marked(m.schema.description, {breaks: true})}}
<% } %>