Pyscii-BBS/docs/user.schema.json
2025-07-19 17:33:10 -06:00

36 lines
873 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://bbs.sb17.space/user.schema.json",
"title": "User",
"description": "A Pyscii-BBS user object",
"type": "object",
"properties": {
"id" : {
"description": "The unique ID of the user entity",
"type": "integer"
},
"name": {
"description": "The unique username of the user entity",
"type": "string"
},
"description": {
"description": "Description of the user Entity. Like a Profile String",
"type": "string"
},
"password": {
"description": "The user entity's password hash.",
"type": "string",
},
"salt":{
"description": "The user entity's salt. This will be generated by the application.",
"type": "string"
}
},
"required": [
"id",
"name",
"password",
"salt"
]
}