diff options
-rw-r--r-- | fatcat-openapi2.yml | 1 | ||||
-rw-r--r-- | notes/alignments.csv | 2 | ||||
-rw-r--r-- | rust/migrations/2018-05-12-001226_init/up.sql | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml index c4bf9e16..8403f644 100644 --- a/fatcat-openapi2.yml +++ b/fatcat-openapi2.yml @@ -166,6 +166,7 @@ definitions: publisher: type: string language: + description: "Two-letter RFC1766/ISO639-1 language code, with extensions" type: string contribs: type: array diff --git a/notes/alignments.csv b/notes/alignments.csv index d6d2c171..b8619ddc 100644 --- a/notes/alignments.csv +++ b/notes/alignments.csv @@ -13,7 +13,7 @@ RELEASE,,,,,,,Instance,,,,,, ,doi,always lower-case,DOI,,doi,DOI,,Identifier,,,,citation_doi, ,isbn13,,ISBN (converted),,,ISBN,,Identifier,,,,citation_isbn, ,publisher,,publisher,,publisher,,,Publisher,,,,"citation_dissertation_institution, citation_technical_report_institution", -,language,NEW; ISO 639-3 (3 char),,,,,,Language,,,,, +,language,NEW; RFC1766 (ISO 639-1 superset); may transition,,,,,,Language,,,,, ,ref:index,,reference:[index],,,Citation-number,,,,,,, ,ref:key,NEW,reference:key,,,citation-label,,,,,,, ,ref:raw,RENAME,reference:unstructured,,,,,,,,,, diff --git a/rust/migrations/2018-05-12-001226_init/up.sql b/rust/migrations/2018-05-12-001226_init/up.sql index 1973e69d..165bf123 100644 --- a/rust/migrations/2018-05-12-001226_init/up.sql +++ b/rust/migrations/2018-05-12-001226_init/up.sql @@ -141,7 +141,7 @@ CREATE TABLE release_rev ( issue TEXT, pages TEXT, publisher TEXT, -- for books, NOT if container exists - language TEXT -- primary language of the work's fulltext + language TEXT -- primary language of the work's fulltext; RFC1766/ISO639-1 -- TODO: identifier table? ); |