The schema.json file seems outdated as it only allows MongoDB as a storage type, but according to the current documentation, PowerSync now supports PostgreSQL as a storage option.
The schema should be updated to:
- Allow "postgresql" as a valid storage type
- Include PostgreSQL-specific configuration options for the storage section
- Make it consistent with the example configurations in the documentation
Example from docs showing PostgreSQL storage:
storage:
type: postgresql
uri: postgresql://user:pass@localhost:5432/db
sslmode: disable