mod_rest/jsonmap.lib.lua
changeset 4746 b7df2c61a144
parent 4737 755dd83e9214
child 4747 0a501df823fd
equal deleted inserted replaced
4745:3f2342eacb26 4746:b7df2c61a144
    17 			end
    17 			end
    18 		end
    18 		end
    19 		schema.properties.message.properties.archive.properties.forward = schema.properties.message.properties.forwarded;
    19 		schema.properties.message.properties.archive.properties.forward = schema.properties.message.properties.forwarded;
    20 		schema.properties.message.properties.forwarded.properties.delay = schema._common.delay;
    20 		schema.properties.message.properties.forwarded.properties.delay = schema._common.delay;
    21 		schema.properties.message.properties.forwarded.properties.message.properties = schema.properties.message.properties;
    21 		schema.properties.message.properties.forwarded.properties.message.properties = schema.properties.message.properties;
       
    22 		schema.properties.iq.properties.archive.properties.form = schema._common.dataform;
       
    23 		schema.properties.iq.properties.archive.properties.page = schema._common.rsm;
    22 		schema._common = nil;
    24 		schema._common = nil;
    23 	end
    25 	end
    24 end
    26 end
    25 
    27 
    26 -- Some mappings that are still hard to do in a nice way with util.datamapper
    28 -- Some mappings that are still hard to do in a nice way with util.datamapper