Validation schemas

Luna API input data schemas

Note

Required properties are in bold.

EVENT_STATISTICS_SCHEMA

event statistic request validation schema.

type

object

properties

  • targets

type

array

  • filters

type

array

  • period

type

array

  • group_by

type

string

META

Liveness META schema.

type

object

properties

  • OS

type

string

enum

IOS, ANDROID, DESKTOP, UNKNOWN

  • MANUFACTURE

type

string

  • MODEL

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

  • urls

LIVENESS_LIST_OF_URLS

  • meta

META

  • x_meta

X_META

additionalProperties

False

LIVENESS_HANDLER_V2_BODY

Liveness HANDLER_V2_BODY schema.

type

object

properties

  • urls

LIVENESS_LIST_OF_URLS

additionalProperties

True

EVENT_RAW_SCHEMA

event raw validation schema.

type

object

properties

  • face

type

object

properties

  • face_id

type

string

  • lists

type

array

  • detections

type

array

items

type

object

properties

  • samples

type

object

properties

  • face

type

object / null

properties

  • sample_id

type

string / null

  • body

type

object / null

properties

  • sample_id

type

string / null

  • face_attributes

type

object / null

properties

  • attribute_id

type

string