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

add script to update schema file #11

Open
jorol opened this issue Nov 20, 2024 · 0 comments
Open

add script to update schema file #11

jorol opened this issue Nov 20, 2024 · 0 comments

Comments

@jorol
Copy link
Owner

jorol commented Nov 20, 2024

Get schema file and extract MARC field descriptions:

#!/bin/bash

curl -s https://raw.githubusercontent.com/pkiraly/qa-catalogue/refs/heads/main/avram-schemas/marc-schema.json | jq -c '.fields' > marc-schema.json 

Adopt _load_schema() in MARC::Schema.pm to new JSON structure.

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

No branches or pull requests

1 participant