Enabling V.2 Schemas in your Project
The V.2 schemas are our improved schemas based on the original Enjin API. The v2 schemas consist of the Project and Player.
The project schema has all of its queries and mutations scoped to a singular project. This means that a project access token has unfettered control over everything to do with itself, this includes player authentication.
The player schema, on the other hand, is restricted to a singular player for a given project. This means that they can only query/mutate data that relates directly to themselves. This means that you cannot, for example, fetch the wallet address of another player or retrieve a list of players for the project.
The v2 schemas are available on all networks (Mainnet, Goerli, and JumpNet).
- 1.Go to your current collection.
- 2.Go to "Settings" in the left-side panel.
- 3.Scroll down to 'Beta Settings'.
- 4.Toggle on to enable v2 schemas for your project.