The RAML 1.0 spec includes type expressions, but doesn’t really given a formal syntax for expressions.
I’d like to know whether something like this is consider legal (if a little overkill on syntax):
( string )
In particular, I think the array types in the following definition are equivalent:
types: Name: type: string minLength: 1 Names_0: type: array items: Name Names_1: type: array items: type: Name Names_2: type: array items: type: ( Name ) Names_3: type: ( Name ) Names_4: type: Name Names_5: Name Names_6: ( Name ) Names_7: ( Name )
Am I understanding the spec’s intention correctly?