If you encounter error like cloud-init devel: error: argument subcommand: invalid choice: 'schema' (choose from 'hotplug-hook', 'net-convert', 'render', 'make-mime')
Simply remove devel
your command: it is a command by itself right now.
cloud-init devel schema --config-file user-data
-> cloud-init schema --config-file user-data