From 912e356a095823003877764084e19112c93da247 Mon Sep 17 00:00:00 2001 From: Jennifer Melot Date: Wed, 16 Aug 2023 23:13:47 -0400 Subject: [PATCH] Resurrect the right schema this time --- schemas/all_metadata_norm.json | 57 ++++++++++++++++++++++++++++++++ schemas/article_merged_meta.json | 38 --------------------- 2 files changed, 57 insertions(+), 38 deletions(-) create mode 100644 schemas/all_metadata_norm.json delete mode 100644 schemas/article_merged_meta.json diff --git a/schemas/all_metadata_norm.json b/schemas/all_metadata_norm.json new file mode 100644 index 0000000..b0d35ff --- /dev/null +++ b/schemas/all_metadata_norm.json @@ -0,0 +1,57 @@ +[ + { + "mode": "NULLABLE", + "name": "id", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "title", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "abstract", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "clean_doi", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "year", + "type": "INTEGER" + }, + { + "mode": "REPEATED", + "name": "last_names", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "references", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "dataset", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "title_norm", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "abstract_norm", + "type": "STRING" + }, + { + "mode": "NULLABLE", + "name": "last_names_norm", + "type": "STRING" + } +] diff --git a/schemas/article_merged_meta.json b/schemas/article_merged_meta.json deleted file mode 100644 index b5c7a9d..0000000 --- a/schemas/article_merged_meta.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "mode": "REQUIRED", - "name": "merged_id", - "type": "STRING", - "description": "*deprecated, use gcp_cset_links_v2.corpus_merged* - CSET merged id of a set of articles judged to be the same" - }, - { - "mode": "NULLABLE", - "name": "title", - "type": "STRING", - "description": "*deprecated, use gcp_cset_links_v2.corpus_merged* - Article title" - }, - { - "mode": "NULLABLE", - "name": "abstract", - "type": "STRING", - "description": "*deprecated, use gcp_cset_links_v2.corpus_merged* - Article abstrac" - }, - { - "mode": "NULLABLE", - "name": "doi", - "type": "STRING", - "description": "*deprecated, use gcp_cset_links_v2.corpus_merged* - Article doi" - }, - { - "mode": "NULLABLE", - "name": "year", - "type": "INTEGER", - "description": "*deprecated, use gcp_cset_links_v2.corpus_merged* - Article publication year" - }, - { - "mode": "REPEATED", - "name": "normalized_last_names", - "type": "STRING", - "description": "*deprecated, use gcp_cset_links_v2.corpus_merged* - Normalized author last names" - } -]