RAML version of the node. "RAML10" for RAML 1.0 and "RAML08" for RAML 0.8.
Restrictions on where annotations of this type can be applied. If this property is specified, annotations of this type may only be applied on a property corresponding to one of the target names specified as the value of this property.
Most of RAML model elements may have attached annotations decribing additional meta data about this element
Provides default value for a property
object representing class of the node
A longer, human-friendly description of the type
The displayName attribute specifies the type display name. It is a friendly name used only for display or documentation purposes. If displayName is not specified, it defaults to the element's key (the name of the property itself).
Array of errors
An example of this type instance represented as string or yaml map/sequence. This can be used, e.g., by documentation generators to generate sample values for an object of this type. Cannot be present if the examples property is present.
An example of this type instance represented as string. This can be used, e.g., by documentation generators to generate sample values for an object of this type. Cannot be present if the example property is present.
When extending from a type you can define new facets (which can then be set to concrete values by subtypes).
Returns facets fixed by the type. Value is an object with properties named after facets fixed. Value of each property is a value of the corresponding facet.
Whether the type represents annotation
Actual name of instance interface
Location of the parameter (can not be edited by user)
Kind of location
name of the parameter
Whether the element is an optional sibling of trait or resource type
For siblings of traits or resource types returns an array of optional properties names.
For types defined in traits or resource types returns object representation of parametrized properties
Direct ancestor in RAML hierarchy
Sets if property is optional or not
for user class instances returns object representing actual user class
Runtime representation of type represented by this AST node
Scalar properties annotations accessor
A base type which the current type extends, or more generally a type expression.
Inlined supertype definition.
Turns model node into an object.
Stringifyable object representation of the node.
A base type which the current type extends, or more generally a type expression.
validate an instance against type
validate an instance against type
Generated using TypeDoc