My JSON input is as below
{
"test" : ["t1259", "t2895"]
}
I want to generate RAML data type for the above as below but it is failing with the validation, please let me know whether the below RAML data type is the correct representation for the above JSON.
#%RAML 1.0 DataType
type: object
properties:
test:
type: array
items:
properties:
type: string