UNPKG

@poseidat/schemas

Version:

The core schemas for the PoseiDAT data interchange formats

24 lines 612 B
import { ErrorObject } from 'ajv'; import { ICoreJournal } from './schema-types'; /** * Convenience class for constructing and validating a Journal * * @export * @class Journal */ export declare class Journal { data: ICoreJournal; /** * Creates an instance of Journal * * @param {ICoreJournal} [data={}] The data to initialize the Journal with */ constructor(data: ICoreJournal); /** * Validates the current Journal data against the core schema * * @returns {ajv.ErrorObject[]} */ validate(): ErrorObject[]; } //# sourceMappingURL=journal.d.ts.map