Defining Schema with Gateway

You need to define the schema to let the mobile app manipulate the thing.

The way to define schemas is the same as that in the scenario with stand-alone things. See Defining Schema to learn how to implement schemas.