• Validates a given object against a given schema. Throws an error if the object is invalid

    Parameters

    • object: any

      The object to be validated

    Returns {
        articles: {
            article_billReference: string;
            article_category_id?: number;
            article_code?: string;
            article_comment?: string;
            article_eanCode?: string;
            article_gross_sellingPrice?: string;
            article_id?: string;
            article_minStock: string;
            article_name: string;
            article_negativeStock?: boolean;
            article_net_purchacePrice?: string;
            article_net_sellingPrice?: string;
            article_stock?: string;
            article_stockStatus?: number;
            article_taxRate?: string;
            article_unit?: string;
        }[];
    }