Add runtime assertion for edge schema conformity