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

Use Avram format to express schema #1

Closed
7 of 10 tasks
nichtich opened this issue Oct 23, 2023 · 2 comments · Fixed by #12
Closed
7 of 10 tasks

Use Avram format to express schema #1

nichtich opened this issue Oct 23, 2023 · 2 comments · Fixed by #12

Comments

@nichtich
Copy link
Collaborator

nichtich commented Oct 23, 2023

The schema format can be changed without much modification to comply with Avram format. Seems like independent invention of a MARC schema format resulted in very similar outcome, so it must be good.

By the way feedback to the specification is appreciated. Final version 1.0 should be released in 2024 with formal test suite.

nichtich added a commit to pkiraly/qa-catalogue that referenced this issue Nov 24, 2023
As listed at <timathom/marc-schema#1>:

- wrap the list of fields in a root object with key 'fields' and add key family with value 'marc'
- rename key 'name' to 'label'
- rename key 'values' to 'codes'
- remove key 'fixed', its value is implied by non-existence of 'subfields'
nichtich added a commit to pkiraly/qa-catalogue that referenced this issue Nov 24, 2023
As listed at <timathom/marc-schema#1>:

- wrap the list of fields in a root object with key 'fields' and add key family with value 'marc'
- rename key 'name' to 'label'
- rename key 'values' to 'codes'
- rename key 'staticValues' to 'positions'
- remove key 'fixed', its value is implied by non-existence of 'subfields'
nichtich added a commit to pkiraly/qa-catalogue that referenced this issue Nov 24, 2023
As listed at <timathom/marc-schema#1>:

- wrap the list of fields in a root object with key 'fields' and add key family with value 'marc'
- rename key 'name' to 'label'
- rename key 'values' to 'codes'
- rename key 'staticValues' to 'positions'
- remove key 'fixed', its value is implied by non-existence of 'subfields'
@nichtich
Copy link
Collaborator Author

In addition rename key value to code (in code lists), this will be added in Avram specification: dini-ag-kim/avram#38

nichtich added a commit to nichtich/marc-schema that referenced this issue Nov 26, 2023
- name to label
- value to code
- staticValues to codes
- values to positions
@nichtich nichtich mentioned this issue Nov 26, 2023
pkiraly added a commit to pkiraly/qa-catalogue that referenced this issue Dec 7, 2023
* First steps to convert MARC schema to Avram format

As listed at <timathom/marc-schema#1>:

- wrap the list of fields in a root object with key 'fields' and add key family with value 'marc'
- rename key 'name' to 'label'
- rename key 'values' to 'codes'
- rename key 'staticValues' to 'positions'
- remove key 'fixed', its value is implied by non-existence of 'subfields'

* First steps to convert MARC schema to Avram format #371

---------

Co-authored-by: Péter Király <pkiraly@gwdg.de>
@nichtich
Copy link
Collaborator Author

nichtich commented Jan 4, 2024

This can be closed with #12 although some errors remain - I will open independent issues for these.

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 a pull request may close this issue.

1 participant