Archived
1
0

Structure: make it more generic

* changes `orgas` directory to `by_json` (explain what we do: using JSON
    to geneate schema)
* makes Makefile more generic to permit to generate more SVG files in
the future
This commit is contained in:
2020-02-07 14:06:20 +01:00
parent 51351b402a
commit 7bf5972250
18 changed files with 11 additions and 12 deletions

View File

@ -0,0 +1,6 @@
.[] | {
name,
pid,
code,
organisation: .organisation."$ref"
}

View File

@ -0,0 +1,5 @@
.[] | {
name,
pid,
code
}

View File

@ -0,0 +1,5 @@
.[] | {
pid,
name,
organisation: .organisation."$ref"
}

9
by_json/filters/users Normal file
View File

@ -0,0 +1,9 @@
.[] | {
email,
first_name,
last_name,
barcode,
roles,
library: .library."$ref",
pt: .patron_type."$ref"
}