Storage Scheme Differences?

The article below mentions a few different storage schemes but does not explain their differences or use cases, as far as I can tell:

The starting point of a path in the native filesystem depends on the scheme. UXP supports plugin-specific storage schemes, such as “plugin:”, “plugin-data:”, and “plugin-temp:”, as well as a native “file:” scheme for the path parameter.

They are also mentioned briefly here in a second article:

The localFileSystem permission controls access to the user’s local file system. If not specified, the plugin has no access to the user’s file system other than the default access to plugin:// , plugin-temp:// , and plugin-data://

In a third article, I did find more descriptive text, but it does not mention the storage schemes specifically.

Files and folders in UXP for Photoshop can exist in four different places:

  • Your plugin’s home directory. Files in this directory are read-only. This is a good place to keep localizations, data files that never change, etc.

  • Your plugin’s data directory. This is a directory managed by UXP which allows read/write access for only your plugin. Files in this directory survive application restarts and OS reboots.

  • Your plugin’s temp directory. This is a place to store session-specific data which will not necessarily persist. You shouldn’t rely on anything in this directory lasting beyond an application restart.

  • The host OS filesystem. Access to specific files or folders in the computer’s filesystem must be requested of the user by your plugin, by showing a file or folder picker. If the user selects a file and does not cancel, your plugin code receives a token which you can use to access that file or folder.

The articles are a bit disjointed and not linked, but I assume they are all referring to the same thing?