43 lines
934 B
JSON
43 lines
934 B
JSON
{
|
|
"title": "User",
|
|
"description": "A forge user.",
|
|
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"index": {
|
|
"description": "Unique identifier of the user.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "User readable name of the user.",
|
|
"type": "string"
|
|
},
|
|
"email": {
|
|
"description": "Mail of the user.",
|
|
"type": "string"
|
|
},
|
|
"username": {
|
|
"description": "Unique name of the user.",
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"description": "Password of the user.",
|
|
"type": "string"
|
|
},
|
|
"admin": {
|
|
"description": "True if the user has administrative permissions on the forge.",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"index",
|
|
"name",
|
|
"username"
|
|
],
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"$id": "https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/user.json",
|
|
"$$target": "user.json"
|
|
}
|