Skip to content

Commit

Permalink
Pretty-print exported JSON Schemas #339
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Oct 27, 2023
1 parent afdbcc6 commit 1a151ef
Show file tree
Hide file tree
Showing 4 changed files with 412,242 additions and 6 deletions.
6 changes: 3 additions & 3 deletions common-script
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,9 @@ do_export_schema_files() {
run avram

untrace
./export-schema --withSubfieldCodelists > marc-schema/marc-schema.json
./export-schema --withSubfieldCodelists --solrFieldType mixed --withSelfDescriptiveCode > marc-schema/marc-schema-with-solr.json
./export-schema --withSubfieldCodelists --solrFieldType mixed --withSelfDescriptiveCode --withLocallyDefinedFields > marc-schema/marc-schema-with-solr-and-extensions.json
./export-schema --withSubfieldCodelists | jq . > marc-schema/marc-schema.json
./export-schema --withSubfieldCodelists --solrFieldType mixed --withSelfDescriptiveCode | jq . > marc-schema/marc-schema-with-solr.json
./export-schema --withSubfieldCodelists --solrFieldType mixed --withSelfDescriptiveCode --withLocallyDefinedFields | jq . > marc-schema/marc-schema-with-solr-and-extensions.json

log "files generated at 'marc-schema' directory: marc-schema.json, marc-schema-with-solr.json, marc-schema-with-solr-and-extensions.json"
}
Expand Down
152,362 changes: 152,361 additions & 1 deletion marc-schema/marc-schema-with-solr-and-extensions.json

Large diffs are not rendered by default.

131,494 changes: 131,493 additions & 1 deletion marc-schema/marc-schema-with-solr.json

Large diffs are not rendered by default.

128,386 changes: 128,385 additions & 1 deletion marc-schema/marc-schema.json

Large diffs are not rendered by default.

0 comments on commit 1a151ef

Please sign in to comment.