Yes, I have defined them
The schema:
{
"type": "object",
"properties": {
"response": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alias1": { "type": ["string", "null"] },
"alias2": { "type": ["string", "null"] },
"alias3": { "type": "null" },
"alias4": { "type": "null" },
"aliases": {
"type": "object",
"properties": {
"alias1": { "type": "string" },
"alias2": { "type": "string" }
},
"required": ["alias1", "alias2"]
},
"created": { "type": "integer" },
"email": { "type": "string" },
"firstname": { "type": "string" },
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"desc": { "type": "string" },
"group_id": { "type": "string" },
"mobile_otp_enabled": { "type": "boolean" },
"name": { "type": "string" },
"push_enabled": { "type": "boolean" },
"sms_enabled": { "type": "boolean" },
"status": { "type": "string" },
"voice_enabled": { "type": "boolean" }
},
"required": [
"desc",
"group_id",
"mobile_otp_enabled",
"name",
"push_enabled",
"sms_enabled",
"status",
"voice_enabled"
]
}
},
"is_enrolled": { "type": "boolean" },
"last_directory_sync": { "type": ["integer", "null"] },
"last_login": { "type": "integer" },
"lastname": { "type": "string" },
"lockout_reason": { "type": "string" },
"notes": { "type": "string" },
"phones": {
"type": "array",
"items": {
"type": "object",
"properties": {
"activated": { "type": "boolean" },
"capabilities": {
"type": "array",
"items": { "type": "string" }
},
"encrypted": { "type": "string" },
"extension": { "type": "string" },
"fingerprint": { "type": "string" },
"last_seen": { "type": "string" },
"model": { "type": "string" },
"name": { "type": "string" },
"number": { "type": "string" },
"phone_id": { "type": "string" },
"platform": { "type": "string" },
"postdelay": { "type": "string" },
"predelay": { "type": "string" },
"screenlock": { "type": "string" },
"sms_passcodes_sent": { "type": "boolean" },
"tampered": { "type": "string" },
"type": { "type": "string" }
},
"required": [
"activated",
"capabilities",
"encrypted",
"extension",
"fingerprint",
"last_seen",
"model",
"name",
"number",
"phone_id",
"platform",
"postdelay",
"predelay",
"screenlock",
"sms_passcodes_sent",
"tampered",
"type"
]
}
},
"realname": { "type": "string" },
"status": { "type": "string" },
"tokens": {
"type": "array",
"items": {
"type": "object",
"properties": {
"serial": { "type": "string" },
"token_id": { "type": "string" },
"type": { "type": "string" }
},
"required": ["serial", "token_id", "type"]
}
},
"u2ftokens": { "type": "array" },
"user_id": { "type": "string" },
"username": { "type": "string" },
"webauthncredentials": {
"type": "array",
"items": {
"type": "object",
"properties": {
"credential_name": { "type": "string" },
"date_added": { "type": "integer" },
"label": { "type": "string" },
"webauthnkey": { "type": "string" }
},
"required": ["credential_name", "date_added", "label", "webauthnkey"]
}
}
},
"required": [
"alias1",
"alias2",
"alias3",
"alias4",
"aliases",
"created",
"email",
"firstname",
"groups",
"is_enrolled",
"last_directory_sync",
"last_login",
"lastname",
"lockout_reason",
"notes",
"phones",
"realname",
"status",
"tokens",
"u2ftokens",
"user_id",
"username",
"webauthncredentials"
]
}
}
}
}