• 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 {
        stock_article_id: string;
        stock_change: string;
        stock_delivery_note_number: string;
        stock_description: string;
        stock_id: string;
        stock_invoice_number: string;
        stock_timestamp: string;
    }