{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "AuthenticateCompleteRequest",
"type": "object",
"properties": {
"credential": {
"$ref": "#/$defs/AuthenticationPublicKeyCredential"
},
"id": {
"type": "integer",
"format": "int64"
},
"login_hash": {
"type": [
"array",
"null"
],
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
}
}
},
"required": [
"id",
"credential"
],
"$defs": {
"AuthenticationPublicKeyCredential": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"raw_id": {
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
}
},
"response": {
"$ref": "#/$defs/AuthenticatorAssertionResponse"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"raw_id",
"response",
"type"
]
},
"AuthenticatorAssertionResponse": {
"type": "object",
"properties": {
"authenticator_data": {
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
}
},
"client_data_json": {
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
}
},
"signature": {
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
}
},
"user_handle": {
"type": [
"array",
"null"
],
"items": {
"type": "integer",
"format": "uint8",
"maximum": 255,
"minimum": 0
}
}
},
"required": [
"authenticator_data",
"client_data_json",
"signature"
]
}
}
}