key must not be a duplicate from existing local keys, because the API doesn't allow adding duplicate key:
When adding a new field, the app should check the local storage for duplicate keys, and if any duplicates are found, it should show an alert that explains that the field can’t be added from the app, but it can be done from wp-admin.
When editing an existing field, there is no need for the check, as existing fields are identified by their ids and not their keys.
Rules are:
The validation should show inline error, e.g:
https://github.com/user-attachments/assets/06fd27b3-fc8e-4a43-ac8d-676f6962c329