item replace entity @s weapon.offhand with written_book[written_book_content={title:"",author:"",generation:0,resolved:0b,pages:['[{"text":"///////////////////\\n\\n"},{"translate":"misc.passport"},{"text":"\\n\\n"},{"translate":"passport.name"},": ",{"selector":"@s"},{"text":"\\n\\n"},{"translate":"passport.legalpay"},": ",{"score":{"name":"@s","objective":"pay.legal"},"color":"dark_green","bold":true},{"text":"$","color":"dark_green"},{"text":"\\n\\n"},{"translate":"passport.maxpay"},": ",{"score":{"name":"@s","objective":"pay.max"},"color":"dark_green","bold":true},{"text":"$","color":"dark_green"},{"text":"\\n\\n"},{"translate":"passport.income"},": ",{"score":{"name":"@s","objective":"income"},"color":"gold","bold":true},{"text":"$","color":"gold"}]']},item_name='{"translate":"misc.passport"}',minecraft:custom_data={passport:1}] 1