support inlined schema definition