Skip to content

Update amgrss_xpaths_description.csv for publication restrictions - #205

Merged
shaik-mdabdulkareem merged 2 commits into
mainfrom
shaik-mdabdulkareem-patch-1
Jun 15, 2026
Merged

Update amgrss_xpaths_description.csv for publication restrictions#205
shaik-mdabdulkareem merged 2 commits into
mainfrom
shaik-mdabdulkareem-patch-1

Conversation

@shaik-mdabdulkareem

@shaik-mdabdulkareem shaik-mdabdulkareem commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Fix amg:publicationRestrictions documentation in amgrss schema CSV

The existing entries for publicationRestrictions under amg:rights, amg:season/amg:rights, and amg:series/amg:rights had incorrect XPaths and element names, and were missing several leaf-level fields. Corrections:

Fixed (wrong → correct):

amg:publicationRestrictions/amg:rightsStartDateTime → amg:publicationRestrictions/amg:publicationRestriction/amg:publicationStartDateTime
amg:publicationRestrictions/amg:rightsEndDateTime → amg:publicationRestrictions/amg:publicationRestriction/amg:publicationEndDateTime
amg:publicationCap/publicationLimit → amg:publicationCap/amg:publicationCapValue (wrong name + missing namespace prefix)
amg:publicationCap/publicationCapPeriod (flat string e.g. "6M") → split into amg:publicationPeriod/amg:publicationPeriodValue (integer) and amg:publicationPeriod/amg:publicationPeriodUnit (string: D/W/M/H), matching actual XML structure
Added (missing leaf fields):

amg:publicationRestriction/amg:minCapping
amg:publicationRestriction/amg:maxCapping
All changes applied consistently across all three levels (amg:rights, amg:season/amg:rights, amg:series/amg:rights). Verified against actual transformer output XMLs.

https://amagiengg.atlassian.net/browse/AN30-19013

@shaik-mdabdulkareem
shaik-mdabdulkareem merged commit cd14adb into main Jun 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants