Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PICA: Implement PICA Path #145

Closed
pkiraly opened this issue Jun 20, 2022 · 0 comments
Closed

PICA: Implement PICA Path #145

pkiraly opened this issue Jun 20, 2022 · 0 comments

Comments

@pkiraly
Copy link
Owner

pkiraly commented Jun 20, 2022

PICA path is a mean to address data elements within a record. Its definitions is available at https://format.gbv.de/query/picapath. A cataloge will be able to filter data elements and records based on this addressing (e.g. in #137). In the first round the following basic rules will be implemented:

path             ::=  ( tag | xtag ) occurrence? subfields?
tag              ::=  [012.] [0-9.] [0-9.] [A-Z@.]
xtag             ::=  "2" [0-9.] [0-9.] [A-Z@.] "x" number
occurrence       ::=  "/" occurenceValue
occurenceValue   ::=  number "-" number | occurrencePattern | "*"
occurencePattern ::=  [0-9] [0-9]? [0-9]?
subfields        ::=  [$.]? ( [A-Za-z0-9]+ | "*" )
number           ::=  [0-9]+
@pkiraly pkiraly changed the title Implement PICA Path PICA: Implement PICA Path Jun 20, 2022
pkiraly added a commit that referenced this issue Jun 20, 2022
pkiraly added a commit that referenced this issue Jun 21, 2022
@pkiraly pkiraly closed this as completed Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant