Make TITRE_TEXT.#text optional for JORF articles

This commit is contained in:
Emmanuel 2023-10-21 09:36:27 +02:00
parent fdf395e645
commit 187d3bb8f2
2 changed files with 2 additions and 2 deletions

View file

@ -662,7 +662,7 @@ function auditTitreTxt(audit: Audit, dataUnknown: unknown): [unknown, unknown] {
remainingKeys, remainingKeys,
auditTrimString, auditTrimString,
auditEmptyToNull, auditEmptyToNull,
auditRequire, // auditRequire,
) )
audit.attribute( audit.attribute(
data, data,

View file

@ -46,7 +46,7 @@ export interface JorfArticle {
"@num"?: string "@num"?: string
"@num_parution_jo"?: string "@num_parution_jo"?: string
TITRE_TXT?: Array<{ TITRE_TXT?: Array<{
"#text": string "#text"?: string
"@c_titre_court"?: string "@c_titre_court"?: string
"@debut": string "@debut": string
"@fin": string "@fin": string