Validation schemas¶
Luna API input data schemas
Note
Required properties are in bold.
LINK_SCHEMA¶
link to list request validation schema. |
||
type |
object |
|
properties |
||
|
type |
array |
minItems |
1 |
|
|
type |
string |
additionalProperties |
False |
EVENT_STATISTICS_SCHEMA¶
event statistic request validation schema. |
||
type |
object |
|
properties |
||
|
type |
array |
|
type |
array |
|
type |
array |
|
type |
string |
META¶
Liveness META schema. |
||
type |
object |
|
properties |
||
|
type |
string |
enum |
IOS, ANDROID, DESKTOP, UNKNOWN |
|
|
type |
string |
|
type |
string |
additionalProperties |
False |
X_META¶
Liveness X_META schema. |
|
type |
object |
properties |
|
additionalProperties |
True |
LIVENESS_LIST_OF_URLS¶
List of URLs. |
||
type |
array |
|
items |
type |
string |
maxItems |
8 |
|
minItems |
1 |
LIVENESS_HANDLER_V1_BODY¶
Liveness HANDLER_V1_BODY schema. |
|
type |
object |
properties |
|
|
|
|
|
|
|
additionalProperties |
False |
LIVENESS_HANDLER_V2_BODY¶
Liveness HANDLER_V2_BODY schema. |
|
type |
object |
properties |
|
|
|
additionalProperties |
True |
EVENT_RAW_SCHEMA¶
event raw validation schema. |
|||||||
type |
object |
||||||
properties |
|||||||
|
type |
object |
|||||
properties |
|||||||
|
#/definitions/non-empty-string |
||||||
|
type |
array |
|||||
|
type |
array |
|||||
items |
type |
object |
|||||
properties |
|||||||
|
type |
object |
|||||
properties |
|||||||
|
type |
object / null |
|||||
properties |
|||||||
|
oneOf |
#/definitions/non-empty-string |
|||||
type |
null |
||||||
|
type |
object / null |
|||||
properties |
|||||||
|
oneOf |
#/definitions/non-empty-string |
|||||
type |
null |
||||||
|
type |
object / null |
|||||
properties |
|||||||
|
oneOf |
#/definitions/non-empty-string |
|||||
type |
null |
||||||
definitions |
|||||||
|
type |
string |
|||||
minLength |
1 |
||||||
pattern |
^[-a-zA-Z0-9]*$ |
FACE_MATCHING_SCHEMA¶
face matching minimalistic validation schema. |
|||||
type |
object |
||||
properties |
|||||
|
type |
array |
|||
items |
|||||
type |
object |
||||
properties |
|||||
|
type |
object |
|||
properties |
|||||
|
type |
string |
|||
|
type |
array |
|||
items |
|||||
type |
object |
||||
properties |
|||||
|
type |
string |
BODY_MATCHING_SCHEMA¶
body matching minimalistic validation schema. |
|||||
type |
object |
||||
properties |
|||||
|
type |
array |
|||
items |
|||||
type |
object |
||||
properties |
|||||
|
type |
object |
|||
properties |
|||||
|
type |
string |
|||
|
type |
array |
|||
items |
|||||
type |
object |
||||
properties |
|||||
|
type |
string |