Looking for some advice. In my project’s api (currently non JSON:API), I conceal the primary key and instead am using a sequenced, organisation and entity scoped identifier.
Side note: My app will validate a resource using on the currently authenticated organisation and the entity’s identifier. The reason for this design stemmed from wanting to keep entities easily trackable for system users, the id is used for ordering records in tables and record links.
I read that:
id pair MUST identify a single, unique resource.”
How could such a schema be handled?