restcontroller will have default schema as empty array