aboutsummaryrefslogtreecommitdiffstats
path: root/proposals/2021-10-12_v04_schema_tweaks.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2023-01-04 19:55:30 -0800
committerBryan Newbold <bnewbold@robocracy.org>2023-01-04 20:18:25 -0800
commit276ac2aa24166660bc6ffe7601cee44b5d848dae (patch)
tree8a35ce06e7ab9e6755b24abc41dee1115cf62788 /proposals/2021-10-12_v04_schema_tweaks.md
parentee46c33544941a5104182a2e221e841a32cbbf78 (diff)
downloadfatcat-276ac2aa24166660bc6ffe7601cee44b5d848dae.tar.gz
fatcat-276ac2aa24166660bc6ffe7601cee44b5d848dae.zip
proposals: update status; add some old ones; consistent file names
Diffstat (limited to 'proposals/2021-10-12_v04_schema_tweaks.md')
-rw-r--r--proposals/2021-10-12_v04_schema_tweaks.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/proposals/2021-10-12_v04_schema_tweaks.md b/proposals/2021-10-12_v04_schema_tweaks.md
new file mode 100644
index 00000000..15ca489e
--- /dev/null
+++ b/proposals/2021-10-12_v04_schema_tweaks.md
@@ -0,0 +1,30 @@
+
+Status: implemented
+
+## Schema Changes for v0.4
+
+Small SQL and API changes. Calling these a minor-level API version increment.
+
+API Schema Changes:
+
+- release `ext_ids`: `hdl` (handle) identifier
+- fileset: `mimetype` for manifest files as a field. This is a SQL schema change as well.
+- container: `issne` and `issnp` as top-level fields, indexed for lookup. SQL
+ schema change.
+- container: `publication_status` as a top-level field, to indicate "active",
+ "discontinued", etc. SQL schema change.
+
+API Endpoints:
+
+- `GET /editor/lookup`: editor lookup by username
+
+Elasticsearch Schemas:
+
+- release: 'hdl' identifier
+- release: `container_publication_status` and `container_issns`
+- release: add missing `version` field (not related to any API change)
+- release: add `tags` for future extensibility
+- release: `is_work_alias` boolean flag for unversioned releases which point
+ to the overall work, or the latest published version of the work. Included
+ from field with the same name in release `extra`.
+- container: `publication_status`