Adding "required": true in content-types/your-content-type-name/schema.json does solve it. After that if you try to publish a post and a relation is required, it will not let you save/publish it and show an error that reads something like:
Warning: your-content-type-name cannot be null