/* tslint:disable */ /* eslint-disable */ /** * Credify API doc version 2 * API documentations version 2. * * The version of the OpenAPI document: 1.0.0-oas3 * Contact: dev@credify.one * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { Validation } from './validation'; /** * * @export * @interface Requirement */ export interface Requirement { /** * The claim is required or not. * @type {boolean} * @memberof Requirement */ 'essential': boolean; /** * Value the claim has to be equal to. * @type {any} * @memberof Requirement */ 'value'?: any; /** * Nested claim requirements, with key is claim name. * @type {{ [key: string]: Requirement; }} * @memberof Requirement */ 'claims'?: { [key: string]: Requirement; }; /** * Set of values the claim has to be in. * @type {Array} * @memberof Requirement */ 'values'?: Array; /** * Validation requirement of the claim. * @type {Array} * @memberof Requirement */ 'validations'?: Array; }