prepare schema and app page