import users: JSON schema not accurate
lfleischmann opened this issue · comments
Lennart Fleischmann commented
Checklist
- I could not find a solution in the existing issues or docs.
- I agree to follow this project's Code of Conduct.
Describe the bug
The JSON schema for the user import file is not accurate. Certain fields/properties are marked as required but should be optional.
Reproducing the bug
- Create a JSON file. Add contents according to the schema in
backend/json_schema/hanko.user_import.json
. Try to omit fields that are currently required but should be optional as suggested by code comments, e.g.user_id
orcreated_at
/updated_at
for anImportEntry
:
[
{
"emails": [],
}
]
- Validate the file using the schema by associating with the
backend/json_schema/hanko.user_import.json
schema in your IDE or use different validator.
Logs
No response
Configuration
No response
Hanko Version
OS Hanko Backend
None
OS Version Hanko Backend
No response
OS
None
OS Version
No response
Browser Version
No response
Environment
None
Additional Context
No response