Skip to content

Documentation / @facturometro/validator / ValidationRulesetInfo

Interface: ValidationRulesetInfo ​

Defined in: packages/validator/src/engine/validate.ts:123

The composition a run resolved, plus the customization id it was resolved from.

Example ​

ts
import type { ValidationRulesetInfo } from '@facturometro/validator';

const describe = (info: ValidationRulesetInfo) => `${info.id}@${info.version}`;

Extends ​

Properties ​

customizationId? ​

readonly optional customizationId?: string

Defined in: packages/validator/src/engine/validate.ts:125

normalize-space(cbc:CustomizationID) of the document, when it has one.


id ​

readonly id: string

Defined in: packages/core/src/issue.ts:97

The members' ids joined with +, in list order, for example en16931+peppol.

Inherited from ​

RulesetInfo.id


ids ​

readonly ids: readonly string[]

Defined in: packages/core/src/issue.ts:99

Ids of the composed rulesets, in list order.

Inherited from ​

RulesetInfo.ids


version ​

readonly version: string

Defined in: packages/core/src/issue.ts:101

The members' versions joined with +, in the order of ids, for example 1.3.15+3.0.21.

Inherited from ​

RulesetInfo.version


versions ​

readonly versions: readonly string[]

Defined in: packages/core/src/issue.ts:103

Versions of the composed rulesets, parallel to ids.

Inherited from ​

RulesetInfo.versions

MIT licensed. Specification artefacts belong to OpenPEPPOL, CEN and OASIS.