example of defining a schema