Each postgres table has a payload field (jsonb) and a primary key field with default name _id.
"What benefits does the column offer over an index on the id property extracted from the JSON?" was asked in
PRIMARY KEY (and UNIQUE) and the foreign key constraint REFERENCES only work on a column, not on an expression like jsonb->'id'.
id saves 9 characters compared to jsonb->'id'.