Skip to content

Instantly share code, notes, and snippets.

@magick93
Created March 21, 2023 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magick93/4e0bc58d7fb93142eeb6422c83d1f5ee to your computer and use it in GitHub Desktop.
Save magick93/4e0bc58d7fb93142eeb6422c83d1f5ee to your computer and use it in GitHub Desktop.
Cue from dereferenced json
version: "4.3.0"
title: "PublicationType"
description: "Basic type that contains all properties common to publication, which could be print or electronic."
type: "object"
properties: {
id: {
name: "id"
description: "An identifier of the publication."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "IdentifierType"
type: "object"
properties: {
value: {
description: "The identifier."
type: "string"
}
schemeId: {
description: "The identification of the identifier scheme."
type: "string"
}
schemeVersionId: {
description: "The identification of the version of the identifier scheme."
type: "string"
}
schemeAgencyId: {
description: "The identification of the agency that manages the identifier scheme."
type: "string"
}
description: {
description: "The description of the identifier."
type: "string"
}
schemeLink: {
description: "The URI that identifies where the identification scheme data is located."
type: "string"
format: "uri"
}
agencyUri: {
description: "The URI that identifies where the identification scheme is located."
type: "string"
format: "uri"
}
}
table: "PublicationType"
psqlType: "jsonb"
postgresType: "text"
}
publicationType: {
name: "publicationType"
description: "Type of publication, such as a book or article."
version: "4.3.0"
title: "PublicationTypeCodeList"
enum: ["Book", "Paper", "Article", "Conference", "Thesis", "WhitePaper", "Report", "TechnicalDocumentation", "Study", "Manual", "ResearchPaper", "OtherPublication"]
table: "PublicationType"
enumNames: ["Book", "Paper", "Article", "Conference", "Thesis", "White Paper", "Report", "Technical Documentation", "Study", "Manual", "Research Paper", "Other Publication"]
}
date: {
name: "date"
description: "The date that the publication was published."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "DateType"
type: "string"
hropenFormat: "date"
pattern: "^([\\+-]?\\d{4}(?!\\d{2}\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))?)?$"
table: "PublicationType"
postgresDateType: "date"
psqlType: "text"
postgresType: "text"
}
title: {
name: "title"
description: "The title of the publication."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
notnull: true
}
abstract: {
name: "abstract"
description: "A summary or abstract of the publication."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
contributors: {
name: "contributors"
description: "A list of contributors to the publication."
type: "array"
items: {
type: "object"
properties: {
name: {
description: "The name of the contributor."
type: "string"
}
role: {
description: "The role of the contributor."
type: "string"
}
}
}
table: "PublicationType"
psqlType: "jsonb"
postgresType: "text"
}
copyrights: {
name: "copyrights"
description: "A list of copyright holders and year when the copyright was issued."
type: "array"
items: {
type: "object"
properties: {
owner: {
description: "The owner(s) of the copyright."
type: "string"
}
year: {
description: "The year when the copyright was issued to the owner."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "YearType"
type: "string"
hropenFormat: "year"
pattern: "^([12]\\d{3})$"
}
}
}
table: "PublicationType"
psqlType: "jsonb"
postgresType: "text"
}
attachmentReferences: {
name: "attachmentReferences"
description: "A reference to an attachment related to the publication."
type: "array"
items: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "AttachmentReferenceType"
description: "A reference to an attachment that is within the current context of the document, or an external reference."
type: "object"
properties: {
reference: {
description: "An identifier or reference to a document."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "IdentifierType"
type: "object"
properties: {
value: {
description: "The identifier."
type: "string"
}
schemeId: {
description: "The identification of the identifier scheme."
type: "string"
}
schemeVersionId: {
description: "The identification of the version of the identifier scheme."
type: "string"
}
schemeAgencyId: {
description: "The identification of the agency that manages the identifier scheme."
type: "string"
}
description: {
description: "The description of the identifier."
type: "string"
}
schemeLink: {
description: "The URI that identifies where the identification scheme data is located."
type: "string"
format: "uri"
}
agencyUri: {
description: "The URI that identifies where the identification scheme is located."
type: "string"
format: "uri"
}
}
required: ["value"]
}
uri: {
description: "An internal reference (typically a JSON pointer reference)."
type: "string"
}
descriptions: {
description: "Descriptions of the attachment reference."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "StringTypeArray"
type: "array"
items: type: "string"
}
}
required: [
"uri",
]
}
table: "PublicationType"
psqlType: "jsonb"
postgresType: "text"
}
languageCode: {
name: "languageCode"
description: "The language of the publication."
version: "4.3.0"
title: "LanguageCodeList"
enum: ["aa", "ab", "ae", "af", "af-ZA", "ak", "am", "am-ET", "an", "ar", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-QA", "ar-SA", "ar-SY", "ar-TN", "ar-YE", "arn", "arn-CL", "as", "as-IN", "av", "ay", "az", "az-Cyrl", "az-Cyrl-AZ", "az-Latn", "az-Latn-AZ", "ba", "ba-RU", "be", "be-BY", "bg", "bg-BG", "bh", "bi", "bm", "bn", "bn-BD", "bn-IN", "bo", "bo-CN", "br", "br-FR", "bs", "bs, hr, or sr", "bs-Cyrl", "bs-Cyrl-BA", "bs-Latn", "bs-Latn-BA", "ca", "ca-ES", "ca-ES-valencia", "ce", "ch", "chr", "chr-Cher", "chr-Cher-US", "co", "co-FR", "cr", "cs", "cs-CZ", "cu", "cv", "cy", "cy-GB", "da", "da-DK", "de", "de-AT", "de-CH", "de-DE", "de-LI", "de-LU", "dsb or hsb", "dsb", "dsb-DE", "dv", "dv-MV", "dz", "ee", "el", "el-GR", "en", "en-029", "en-AU", "en-BZ", "en-CA", "en-GB", "en-HK", "en-IE", "en-IN", "en-JM", "en-MY", "en-NZ", "en-PH", "en-SG", "en-TT", "en-US", "en-ZA", "en-ZW", "eo", "es", "es-419", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-DO", "es-EC", "es-ES", "es-ES_tradnl", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et", "et-EE", "eu", "eu-ES", "fa", "fa-IR", "ff", "ff-Latn", "ff-Latn-SN", "fi", "fi-FI", "fil", "fil-PH", "fj", "fo", "fo-FO", "fr", "fr-BE", "fr-CA", "fr-CD", "fr-CH", "fr-CI", "fr-CM", "fr-FR", "fr-HT", "fr-LU", "fr-MA", "fr-MC", "fr-ML", "fr-RE", "fr-SN", "fy", "fy-NL", "ga", "ga-IE", "gd", "gd-GB", "gl", "gl-ES", "gn", "gn-PY", "gsw", "gsw-FR", "gu", "gu-IN", "gv", "ha", "ha-Latn", "ha-Latn-NG", "haw", "haw-US", "he", "he-IL", "hi", "hi-IN", "ho", "hr", "hr-BA", "hr-HR", "hsb-DE", "ht", "hu", "hu-HU", "hy", "hy-AM", "hz", "ia", "id", "id-ID", "ie", "ig", "ig-NG", "ii", "ii-CN", "ik", "io", "is", "is-IS", "it", "it-CH", "it-IT", "iu", "iu-Cans", "iu-Cans-CA", "iu-Latn", "iu-Latn-CA", "ja", "ja-JP", "jv", "jv-Latn", "jv-Latn-ID", "ka", "ka-GE", "kg", "ki", "kj", "kk", "kk-KZ", "kl", "kl-GL", "km", "km-KH", "kn", "kn-IN", "ko", "kok", "kok-IN", "ko-KR", "kr", "ks", "ku", "ku-Arab", "ku-Arab-IQ", "kv", "kw", "ky", "ky-KG", "la", "lb", "lb-LU", "lg", "li", "ln", "lo", "lo-LA", "lt", "lt-LT", "lu", "lv", "lv-LV", "mg", "mg-MG", "mh", "mi", "mi-NZ", "mk", "mk-MK", "ml", "ml-IN", "mn", "mn-Cyrl", "mn-MN", "mn-Mong", "mn-Mong-CN", "mo", "moh", "moh-CA", "mr", "mr-IN", "ms", "ms-BN", "ms-MY", "mt", "mt-MT", "my", "my-MM", "na", "nb", "nb-NO", "nd", "ne", "ne-IN", "ne-NP", "ng", "nl", "nl-BE", "nl-NL", "nn", "nn-NO", "no", "nqo", "nqo-GN", "nr", "nso", "nso-ZA", "nv", "ny", "oc", "oc-FR", "oj", "om", "om-ET", "or", "or-IN", "os", "pa", "pa-Arab", "pa-Arab-PK", "pa-IN", "pi", "pl", "pl-PL", "prs", "prs-AF", "ps", "ps-AF", "pt", "pt-AO", "pt-BR", "pt-PT", "qu", "qut", "qut-GT", "quz", "quz-BO", "quz-EC", "quz-PE", "rm", "rm-CH", "rn", "ro", "ro-MD", "ro-RO", "ru", "ru-RU", "rw", "rw-RW", "sa", "sah", "sah-RU", "sa-IN", "sc", "sd", "sd-Arab", "sd-Arab-PK", "se", "se-FI", "se-NO", "se-SE", "sg", "si", "si-LK", "sk", "sk-SK", "sl", "sl-SI", "sm", "sma", "sma-NO", "sma-SE", "smj", "smj-NO", "smj-SE", "smn", "smn-FI", "sms", "sms-FI", "sn", "sn-Latn", "sn-Latn-ZW", "so", "so-SO", "sq", "sq-AL", "sr", "sr-Cyrl", "sr-Cyrl-BA", "sr-Cyrl-CS", "sr-Cyrl-ME", "sr-Cyrl-RS", "sr-Latn", "sr-Latn-BA", "sr-Latn-CS", "sr-Latn-ME", "sr-Latn-RS", "ss", "st", "st-ZA", "su", "sv", "sv-FI", "sv-SE", "sw", "sw-KE", "syr", "syr-SY", "ta", "ta-IN", "ta-LK", "te", "te-IN", "tg", "tg-Cyrl", "tg-Cyrl-TJ", "th", "th-TH", "ti", "ti-ER", "ti-ET", "tk", "tk-TM", "tl", "tn", "tn-BW", "tn-ZA", "to", "tr", "tr-TR", "ts", "ts-ZA", "tt", "tt-RU", "tw", "ty", "tzm", "tzm-Latn", "tzm-Latn-DZ", "ug", "ug-CN", "uk", "uk-UA", "ur", "ur-IN", "ur-PK", "uz", "uz-Cyrl", "uz-Cyrl-UZ", "uz-Latn", "uz-Latn-UZ", "ve", "vi", "vi-VN", "vo", "wa", "wo", "wo-SN", "xh", "xh-ZA", "yi", "yo", "yo-NG", "za", "zgh", "zgh-Tfng", "zgh-Tfng-MA", "zh", "zh-CN", "zh-Hans", "zh-Hant", "zh-HK", "zh-MO", "zh-SG", "zh-TW", "zu", "zu-ZA"]
enumNames: ["Afar", "Abkhazian", "Avestan", "Afrikaans", "Afrikaans, South Africa", "Akan", "Amharic", "Amharic, Ethiopia", "Aragonese", "Arabic", "Arabic, U.A.E.", "Arabic, Bahrain", "Arabic, Algeria", "Arabic, Egypt", "Arabic, Iraq", "Arabic, Jordan", "Arabic, Kuwait", "Arabic, Lebanon", "Arabic, Libya", "Arabic, Morocco", "Arabic, Oman", "Arabic, Qatar", "Arabic, Saudi Arabia", "Arabic, Syria", "Arabic, Tunisia", "Arabic, Yemen", "Mapudungun", "Mapudungun, Chile", "Assamese", "Assamese, India", "Avaric", "Aymara", "Azerbaijani (Latin)", "Azerbaijani (Cyrillic)", "Azerbaijani (Cyrillic), Azerbaijan", "Azerbaijani (Latin)", "Azerbaijani (Latin), Azerbaijan", "Bashkir", "Bashkir, Russia", "Belarusian", "Belarusian, Belarus", "Bulgarian", "Bulgarian, Bulgaria", "Bihari languages", "Bislama", "Bambara", "Bangla", "Bangla, Bangladesh", "Bangla, India", "Tibetan", "Tibetan, People's Republic of China", "Breton", "Breton, France", "Bosnian (Latin)", "Croatian", "Bosnian (Cyrillic)", "Bosnian (Cyrillic), Bosnia and Herzegovina", "Bosnian (Latin)", "Bosnian (Latin), Bosnia and Herzegovina", "Catalan", "Catalan, Spain", "Valencian, Spain", "Chechen", "Chamorro", "Cherokee", "Cherokee", "Cherokee, United States", "Corsican", "Corsican, France", "Cree", "Czech", "Czech, Czech Republic", "Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic", "Chuvash", "Welsh", "Welsh, United Kingdom", "Danish", "Danish, Denmark", "German", "German, Austria", "German, Switzerland", "German, Germany", "German, Liechtenstein", "German, Luxembourg", "Upper Sorbian", "Lower Sorbian", "Lower Sorbian, Germany", "Divehi", "Divehi, Maldives", "Dzongkha", "Ewe", "Greek", "Greek, Greece", "English", "English, Caribbean", "English, Australia", "English, Belize", "English, Canada", "English, United Kingdom", "English, Hong Kong", "English, Ireland", "English, India", "English, Jamaica", "English, Malaysia", "English, New Zealand", "English, Republic of the Philippines", "English, Singapore", "English, Trinidad and Tobago", "English, United States", "English, South Africa", "English, Zimbabwe", "Esperanto", "Spanish", "Spanish, Latin America", "Spanish, Argentina", "Spanish, Bolivia", "Spanish, Chile", "Spanish, Colombia", "Spanish, Costa Rica", "Spanish, Dominican Republic", "Spanish, Ecuador", "Spanish, Spain", "Spanish, Spain", "Spanish, Guatemala", "Spanish, Honduras", "Spanish, Mexico", "Spanish, Nicaragua", "Spanish, Panama", "Spanish, Peru", "Spanish, Puerto Rico", "Spanish, Paraguay", "Spanish, El Salvador", "Spanish, United States", "Spanish, Uruguay", "Spanish, Bolivarian Republic of Venezuela", "Estonian", "Estonian, Estonia", "Basque", "Basque, Spain", "Persian", "Persian, Iran", "Fulah", "Fulah", "Fulah, Senegal", "Finnish", "Finnish, Finland", "Filipino", "Filipino, Philippines", "Fijian", "Faroese", "Faroese, Faroe Islands", "French", "French, Belgium", "French, Canada", "French, Congo, DRC", "French, Switzerland", "French, Côte d’Ivoire", "French, Cameroon", "French, France", "French, Haiti", "French, Luxembourg", "French, Morocco", "French, Principality of Monaco", "French, Mali", "French, Reunion", "French, Senegal", "Frisian", "Frisian, Netherlands", "Irish", "Irish, Ireland", "Scottish Gaelic", "Scottish Gaelic, United Kingdom", "Galician", "Galician, Spain", "Guarani", "Guarani, Paraguay", "Alsatian", "Alsatian, France", "Gujarati", "Gujarati, India", "Manx", "Hausa (Latin)", "Hausa (Latin)", "Hausa (Latin), Nigeria", "Hawaiian", "Hawaiian, United States", "Hebrew", "Hebrew, Israel", "Hindi", "Hindi, India", "Hiri Motu", "Croatian", "Croatian (Latin), Bosnia and Herzegovina", "Croatian, Croatia", "Upper Sorbian, Germany", "Haitian; Haitian Creole", "Hungarian", "Hungarian, Hungary", "Armenian", "Armenian, Armenia", "Herero", "Interlingua (International Auxiliary Language Association)", "Indonesian", "Indonesian, Indonesia", "Interlingue; Occidental", "Igbo", "Igbo, Nigeria", "Yi", "Yi, People's Republic of China", "Inupiaq", "Ido", "Icelandic", "Icelandic, Iceland", "Italian", "Italian, Switzerland", "Italian, Italy", "Inuktitut (Latin)", "Inuktitut (Syllabics)", "Inuktitut (Syllabics), Canada", "Inuktitut (Latin)", "Inuktitut (Latin), Canada", "Japanese", "Japanese, Japan", "Javanese", "Javanese, Latin", "Javanese, Latin, Indonesia", "Georgian", "Georgian, Georgia", "Kongo", "Kikuyu; Gikuyu", "Kuanyama; Kwanyama", "Kazakh", "Kazakh, Kazakhstan", "Greenlandic", "Greenlandic, Greenland", "Khmer", "Khmer, Cambodia", "Kannada", "Kannada, India", "Korean", "Konkani", "Konkani, India", "Korean, Korea", "Kanuri", "Kashmiri", "Central Kurdish", "Central Kurdish", "Central Kurdish, Iraq", "Komi", "Cornish", "Kyrgyz", "Kyrgyz, Kyrgyzstan", "Latin", "Luxembourgish", "Luxembourgish, Luxembourg", "Ganda", "Limburgan; Limburger; Limburgish", "Lingala", "Lao", "Lao, Lao P.D.R.", "Lithuanian", "Lithuanian, Lithuania", "Luba-Katanga", "Latvian", "Latvian, Latvia", "Malagasy", "Malagasy, Madagascar", "Marshallese", "Maori", "Maori, New Zealand", "Macedonian", "Macedonian, Macedonia (Former Yugoslav Republic of Macedonia)", "Malayalam", "Malayalam, India", "Mongolian (Cyrillic)", "Mongolian (Cyrillic)", "Mongolian (Cyrillic), Mongolia", "Mongolian (Traditional Mongolian)", "Mongolian (Traditional Mongolian), People's Republic of China", "Moldavian; Moldovan", "Mohawk", "Mohawk, Canada", "Marathi", "Marathi, India", "Malay", "Malay, Brunei Darussalam", "Malay, Malaysia", "Maltese", "Maltese, Malta", "Burmese", "Burmese, Myanmar", "Nauru", "Norwegian (Bokmal)", "Norwegian (Bokmal), Norway", "Ndebele; North; North Ndebele", "Nepali", "Nepali, India", "Nepali, Nepal", "Ndonga", "Dutch", "Dutch, Belgium", "Dutch, Netherlands", "Norwegian (Nynorsk)", "Norwegian (Nynorsk), Norway", "Norwegian (Bokmal)", "N’ko", "N’ko, Guinea", "Ndebele; South; South Ndebele", "Sesotho sa Leboa", "Sesotho sa Leboa, South Africa", "Navajo; Navaho", "Chichewa; Chewa; Nyanja", "Occitan", "Occitan, France", "Ojibwa", "Oromo", "Oromo, Ethiopia", "Odia", "Odia, India", "Ossetian; Ossetic", "Punjabi", "Punjabi", "Punjabi, Islamic Republic of Pakistan", "Punjabi, India", "Pali", "Polish", "Polish, Poland", "Dari", "Dari, Afghanistan", "Pashto", "Pashto, Afghanistan", "Portuguese", "Portuguese, Angola", "Portuguese, Brazil", "Portuguese, Portugal", "Quechua", "K'iche", "K'iche, Guatemala", "Quechua", "Quechua, Bolivia", "Quechua, Ecuador", "Quechua, Peru", "Romansh", "Romansh, Switzerland", "Rundi", "Romanian", "Romanian, Moldova", "Romanian, Romania", "Russian", "Russian, Russia", "Kinyarwanda", "Kinyarwanda, Rwanda", "Sanskrit", "Sakha", "Sakha, Russia", "Sanskrit, India", "Sardinian", "Sindhi", "Sindhi", "Sindhi, Islamic Republic of Pakistan", "Sami (Northern)", "Sami (Northern), Finland", "Sami (Northern), Norway", "Sami (Northern), Sweden", "Sango", "Sinhala", "Sinhala, Sri Lanka", "Slovak", "Slovak, Slovakia", "Slovenian", "Slovenian, Slovenia", "Samoan", "Sami (Southern)", "Sami (Southern), Norway", "Sami (Southern), Sweden", "Sami (Lule)", "Sami (Lule), Norway", "Sami (Lule), Sweden", "Sami (Inari)", "Sami (Inari), Finland", "Sami (Skolt)", "Sami (Skolt), Finland", "Shona", "Shona, Latin", "Shona, Zimbabwe", "Somali", "Somali, Somalia", "Albanian", "Albanian, Albania", "Serbian (Latin)", "Serbian (Cyrillic)", "Serbian (Cyrillic), Bosnia and Herzegovina", "Serbian (Cyrillic), Serbia and Montenegro (Former)", "Serbian (Cyrillic), Montenegro", "Serbian (Cyrillic), Serbia", "Serbian (Latin)", "Serbian (Latin), Bosnia and Herzegovina", "Serbian (Latin), Serbia and Montenegro (Former)", "Serbian (Latin), Montenegro", "Serbian (Latin), Serbia", "Swati", "Sotho", "Sotho, South Africa", "Sundanese", "Swedish", "Swedish, Finland", "Swedish, Sweden", "Kiswahili", "Kiswahili, Kenya", "Syriac", "Syriac, Syria", "Tamil", "Tamil, India", "Tamil, Sri Lanka", "Telugu", "Telugu, India", "Tajik (Cyrillic)", "Tajik (Cyrillic)", "Tajik (Cyrillic), Tajikistan", "Thai", "Thai, Thailand", "Tigrinya", "Tigrinya, Eritrea", "Tigrinya, Ethiopia", "Turkmen", "Turkmen, Turkmenistan", "Tagalog", "Setswana", "Setswana, Botswana", "Setswana, South Africa", "Tonga (Tonga Islands)", "Turkish", "Turkish, Turkey", "Tsonga", "Tsonga, South Africa", "Tatar", "Tatar, Russia", "Twi", "Tahitian", "Tamazight (Latin)", "Tamazight (Latin)", "Tamazight (Latin), Algeria", "Uyghur", "Uyghur, People's Republic of China", "Ukrainian", "Ukrainian, Ukraine", "Urdu", "Urdu, India", "Urdu, Islamic Republic of Pakistan", "Uzbek (Latin)", "Uzbek (Cyrillic)", "Uzbek (Cyrillic), Uzbekistan", "Uzbek (Latin)", "Uzbek (Latin), Uzbekistan", "Venda", "Vietnamese", "Vietnamese, Vietnam", "Volapük", "Walloon", "Wolof", "Wolof, Senegal", "isiXhosa", "isiXhosa, South Africa", "Yiddish", "Yoruba", "Yoruba, Nigeria", "Zhuang; Chuang", "Standard Moroccan Tamazight", "Standard Moroccan Tamazight, Tifinagh", "Standard Moroccan Tamazight, Morocco", "Chinese (Simplified)", "Chinese (Simplified), People's Republic of China", "Chinese (Simplified)", "Chinese (Traditional)", "Chinese (Traditional), Hong Kong S.A.R.", "Chinese (Traditional), Macao S.A.R.", "Chinese (Simplified), Singapore", "Chinese (Traditional), Taiwan", "isiZulu", "isiZulu, South Africa"]
table: "PublicationType"
links: [{
href: "http://www.unece.org/uncefact/codelist/standard/ISO_ISO2AlphaLanguageCode_2006-10-27.xsd"
rel: "partial"
mediaType: "application/xml"
}, {
href: "https://msdn.microsoft.com/en-us/library/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c#id1"
rel: "partial"
mediaType: "text/html"
}]
}
comments: {
name: "comments"
description: "Comments related to the publication."
type: "array"
items: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "CommentType"
description: "A comment to provide additional information concerning the related entity."
allOf: [{
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "LocalizationInclusion"
description: "Can be used for any entity to specify localization language code."
type: "object"
properties: language: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "LanguageCodeList"
description: "This list is based on Internet Engineering Task Force (IETF) RFC 4646 and RFC 4647 for language tags. This tag system is extensible to region, dialect, and private designations. The IANA Language Subtag Registry is a source of the tag values. See http://www.iana.org/assignments/language-subtag-registry"
enum: ["aa", "ab", "ae", "af", "af-ZA", "ak", "am", "am-ET", "an", "ar", "ar-AE", "ar-BH", "ar-DZ", "ar-EG", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-QA", "ar-SA", "ar-SY", "ar-TN", "ar-YE", "arn", "arn-CL", "as", "as-IN", "av", "ay", "az", "az-Cyrl", "az-Cyrl-AZ", "az-Latn", "az-Latn-AZ", "ba", "ba-RU", "be", "be-BY", "bg", "bg-BG", "bh", "bi", "bm", "bn", "bn-BD", "bn-IN", "bo", "bo-CN", "br", "br-FR", "bs", "bs, hr, or sr", "bs-Cyrl", "bs-Cyrl-BA", "bs-Latn", "bs-Latn-BA", "ca", "ca-ES", "ca-ES-valencia", "ce", "ch", "chr", "chr-Cher", "chr-Cher-US", "co", "co-FR", "cr", "cs", "cs-CZ", "cu", "cv", "cy", "cy-GB", "da", "da-DK", "de", "de-AT", "de-CH", "de-DE", "de-LI", "de-LU", "dsb or hsb", "dsb", "dsb-DE", "dv", "dv-MV", "dz", "ee", "el", "el-GR", "en", "en-029", "en-AU", "en-BZ", "en-CA", "en-GB", "en-HK", "en-IE", "en-IN", "en-JM", "en-MY", "en-NZ", "en-PH", "en-SG", "en-TT", "en-US", "en-ZA", "en-ZW", "eo", "es", "es-419", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-DO", "es-EC", "es-ES", "es-ES_tradnl", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PE", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et", "et-EE", "eu", "eu-ES", "fa", "fa-IR", "ff", "ff-Latn", "ff-Latn-SN", "fi", "fi-FI", "fil", "fil-PH", "fj", "fo", "fo-FO", "fr", "fr-BE", "fr-CA", "fr-CD", "fr-CH", "fr-CI", "fr-CM", "fr-FR", "fr-HT", "fr-LU", "fr-MA", "fr-MC", "fr-ML", "fr-RE", "fr-SN", "fy", "fy-NL", "ga", "ga-IE", "gd", "gd-GB", "gl", "gl-ES", "gn", "gn-PY", "gsw", "gsw-FR", "gu", "gu-IN", "gv", "ha", "ha-Latn", "ha-Latn-NG", "haw", "haw-US", "he", "he-IL", "hi", "hi-IN", "ho", "hr", "hr-BA", "hr-HR", "hsb-DE", "ht", "hu", "hu-HU", "hy", "hy-AM", "hz", "ia", "id", "id-ID", "ie", "ig", "ig-NG", "ii", "ii-CN", "ik", "io", "is", "is-IS", "it", "it-CH", "it-IT", "iu", "iu-Cans", "iu-Cans-CA", "iu-Latn", "iu-Latn-CA", "ja", "ja-JP", "jv", "jv-Latn", "jv-Latn-ID", "ka", "ka-GE", "kg", "ki", "kj", "kk", "kk-KZ", "kl", "kl-GL", "km", "km-KH", "kn", "kn-IN", "ko", "kok", "kok-IN", "ko-KR", "kr", "ks", "ku", "ku-Arab", "ku-Arab-IQ", "kv", "kw", "ky", "ky-KG", "la", "lb", "lb-LU", "lg", "li", "ln", "lo", "lo-LA", "lt", "lt-LT", "lu", "lv", "lv-LV", "mg", "mg-MG", "mh", "mi", "mi-NZ", "mk", "mk-MK", "ml", "ml-IN", "mn", "mn-Cyrl", "mn-MN", "mn-Mong", "mn-Mong-CN", "mo", "moh", "moh-CA", "mr", "mr-IN", "ms", "ms-BN", "ms-MY", "mt", "mt-MT", "my", "my-MM", "na", "nb", "nb-NO", "nd", "ne", "ne-IN", "ne-NP", "ng", "nl", "nl-BE", "nl-NL", "nn", "nn-NO", "no", "nqo", "nqo-GN", "nr", "nso", "nso-ZA", "nv", "ny", "oc", "oc-FR", "oj", "om", "om-ET", "or", "or-IN", "os", "pa", "pa-Arab", "pa-Arab-PK", "pa-IN", "pi", "pl", "pl-PL", "prs", "prs-AF", "ps", "ps-AF", "pt", "pt-AO", "pt-BR", "pt-PT", "qu", "qut", "qut-GT", "quz", "quz-BO", "quz-EC", "quz-PE", "rm", "rm-CH", "rn", "ro", "ro-MD", "ro-RO", "ru", "ru-RU", "rw", "rw-RW", "sa", "sah", "sah-RU", "sa-IN", "sc", "sd", "sd-Arab", "sd-Arab-PK", "se", "se-FI", "se-NO", "se-SE", "sg", "si", "si-LK", "sk", "sk-SK", "sl", "sl-SI", "sm", "sma", "sma-NO", "sma-SE", "smj", "smj-NO", "smj-SE", "smn", "smn-FI", "sms", "sms-FI", "sn", "sn-Latn", "sn-Latn-ZW", "so", "so-SO", "sq", "sq-AL", "sr", "sr-Cyrl", "sr-Cyrl-BA", "sr-Cyrl-CS", "sr-Cyrl-ME", "sr-Cyrl-RS", "sr-Latn", "sr-Latn-BA", "sr-Latn-CS", "sr-Latn-ME", "sr-Latn-RS", "ss", "st", "st-ZA", "su", "sv", "sv-FI", "sv-SE", "sw", "sw-KE", "syr", "syr-SY", "ta", "ta-IN", "ta-LK", "te", "te-IN", "tg", "tg-Cyrl", "tg-Cyrl-TJ", "th", "th-TH", "ti", "ti-ER", "ti-ET", "tk", "tk-TM", "tl", "tn", "tn-BW", "tn-ZA", "to", "tr", "tr-TR", "ts", "ts-ZA", "tt", "tt-RU", "tw", "ty", "tzm", "tzm-Latn", "tzm-Latn-DZ", "ug", "ug-CN", "uk", "uk-UA", "ur", "ur-IN", "ur-PK", "uz", "uz-Cyrl", "uz-Cyrl-UZ", "uz-Latn", "uz-Latn-UZ", "ve", "vi", "vi-VN", "vo", "wa", "wo", "wo-SN", "xh", "xh-ZA", "yi", "yo", "yo-NG", "za", "zgh", "zgh-Tfng", "zgh-Tfng-MA", "zh", "zh-CN", "zh-Hans", "zh-Hant", "zh-HK", "zh-MO", "zh-SG", "zh-TW", "zu", "zu-ZA"]
enumNames: ["Afar", "Abkhazian", "Avestan", "Afrikaans", "Afrikaans, South Africa", "Akan", "Amharic", "Amharic, Ethiopia", "Aragonese", "Arabic", "Arabic, U.A.E.", "Arabic, Bahrain", "Arabic, Algeria", "Arabic, Egypt", "Arabic, Iraq", "Arabic, Jordan", "Arabic, Kuwait", "Arabic, Lebanon", "Arabic, Libya", "Arabic, Morocco", "Arabic, Oman", "Arabic, Qatar", "Arabic, Saudi Arabia", "Arabic, Syria", "Arabic, Tunisia", "Arabic, Yemen", "Mapudungun", "Mapudungun, Chile", "Assamese", "Assamese, India", "Avaric", "Aymara", "Azerbaijani (Latin)", "Azerbaijani (Cyrillic)", "Azerbaijani (Cyrillic), Azerbaijan", "Azerbaijani (Latin)", "Azerbaijani (Latin), Azerbaijan", "Bashkir", "Bashkir, Russia", "Belarusian", "Belarusian, Belarus", "Bulgarian", "Bulgarian, Bulgaria", "Bihari languages", "Bislama", "Bambara", "Bangla", "Bangla, Bangladesh", "Bangla, India", "Tibetan", "Tibetan, People's Republic of China", "Breton", "Breton, France", "Bosnian (Latin)", "Croatian", "Bosnian (Cyrillic)", "Bosnian (Cyrillic), Bosnia and Herzegovina", "Bosnian (Latin)", "Bosnian (Latin), Bosnia and Herzegovina", "Catalan", "Catalan, Spain", "Valencian, Spain", "Chechen", "Chamorro", "Cherokee", "Cherokee", "Cherokee, United States", "Corsican", "Corsican, France", "Cree", "Czech", "Czech, Czech Republic", "Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic", "Chuvash", "Welsh", "Welsh, United Kingdom", "Danish", "Danish, Denmark", "German", "German, Austria", "German, Switzerland", "German, Germany", "German, Liechtenstein", "German, Luxembourg", "Upper Sorbian", "Lower Sorbian", "Lower Sorbian, Germany", "Divehi", "Divehi, Maldives", "Dzongkha", "Ewe", "Greek", "Greek, Greece", "English", "English, Caribbean", "English, Australia", "English, Belize", "English, Canada", "English, United Kingdom", "English, Hong Kong", "English, Ireland", "English, India", "English, Jamaica", "English, Malaysia", "English, New Zealand", "English, Republic of the Philippines", "English, Singapore", "English, Trinidad and Tobago", "English, United States", "English, South Africa", "English, Zimbabwe", "Esperanto", "Spanish", "Spanish, Latin America", "Spanish, Argentina", "Spanish, Bolivia", "Spanish, Chile", "Spanish, Colombia", "Spanish, Costa Rica", "Spanish, Dominican Republic", "Spanish, Ecuador", "Spanish, Spain", "Spanish, Spain", "Spanish, Guatemala", "Spanish, Honduras", "Spanish, Mexico", "Spanish, Nicaragua", "Spanish, Panama", "Spanish, Peru", "Spanish, Puerto Rico", "Spanish, Paraguay", "Spanish, El Salvador", "Spanish, United States", "Spanish, Uruguay", "Spanish, Bolivarian Republic of Venezuela", "Estonian", "Estonian, Estonia", "Basque", "Basque, Spain", "Persian", "Persian, Iran", "Fulah", "Fulah", "Fulah, Senegal", "Finnish", "Finnish, Finland", "Filipino", "Filipino, Philippines", "Fijian", "Faroese", "Faroese, Faroe Islands", "French", "French, Belgium", "French, Canada", "French, Congo, DRC", "French, Switzerland", "French, Côte d’Ivoire", "French, Cameroon", "French, France", "French, Haiti", "French, Luxembourg", "French, Morocco", "French, Principality of Monaco", "French, Mali", "French, Reunion", "French, Senegal", "Frisian", "Frisian, Netherlands", "Irish", "Irish, Ireland", "Scottish Gaelic", "Scottish Gaelic, United Kingdom", "Galician", "Galician, Spain", "Guarani", "Guarani, Paraguay", "Alsatian", "Alsatian, France", "Gujarati", "Gujarati, India", "Manx", "Hausa (Latin)", "Hausa (Latin)", "Hausa (Latin), Nigeria", "Hawaiian", "Hawaiian, United States", "Hebrew", "Hebrew, Israel", "Hindi", "Hindi, India", "Hiri Motu", "Croatian", "Croatian (Latin), Bosnia and Herzegovina", "Croatian, Croatia", "Upper Sorbian, Germany", "Haitian; Haitian Creole", "Hungarian", "Hungarian, Hungary", "Armenian", "Armenian, Armenia", "Herero", "Interlingua (International Auxiliary Language Association)", "Indonesian", "Indonesian, Indonesia", "Interlingue; Occidental", "Igbo", "Igbo, Nigeria", "Yi", "Yi, People's Republic of China", "Inupiaq", "Ido", "Icelandic", "Icelandic, Iceland", "Italian", "Italian, Switzerland", "Italian, Italy", "Inuktitut (Latin)", "Inuktitut (Syllabics)", "Inuktitut (Syllabics), Canada", "Inuktitut (Latin)", "Inuktitut (Latin), Canada", "Japanese", "Japanese, Japan", "Javanese", "Javanese, Latin", "Javanese, Latin, Indonesia", "Georgian", "Georgian, Georgia", "Kongo", "Kikuyu; Gikuyu", "Kuanyama; Kwanyama", "Kazakh", "Kazakh, Kazakhstan", "Greenlandic", "Greenlandic, Greenland", "Khmer", "Khmer, Cambodia", "Kannada", "Kannada, India", "Korean", "Konkani", "Konkani, India", "Korean, Korea", "Kanuri", "Kashmiri", "Central Kurdish", "Central Kurdish", "Central Kurdish, Iraq", "Komi", "Cornish", "Kyrgyz", "Kyrgyz, Kyrgyzstan", "Latin", "Luxembourgish", "Luxembourgish, Luxembourg", "Ganda", "Limburgan; Limburger; Limburgish", "Lingala", "Lao", "Lao, Lao P.D.R.", "Lithuanian", "Lithuanian, Lithuania", "Luba-Katanga", "Latvian", "Latvian, Latvia", "Malagasy", "Malagasy, Madagascar", "Marshallese", "Maori", "Maori, New Zealand", "Macedonian", "Macedonian, Macedonia (Former Yugoslav Republic of Macedonia)", "Malayalam", "Malayalam, India", "Mongolian (Cyrillic)", "Mongolian (Cyrillic)", "Mongolian (Cyrillic), Mongolia", "Mongolian (Traditional Mongolian)", "Mongolian (Traditional Mongolian), People's Republic of China", "Moldavian; Moldovan", "Mohawk", "Mohawk, Canada", "Marathi", "Marathi, India", "Malay", "Malay, Brunei Darussalam", "Malay, Malaysia", "Maltese", "Maltese, Malta", "Burmese", "Burmese, Myanmar", "Nauru", "Norwegian (Bokmal)", "Norwegian (Bokmal), Norway", "Ndebele; North; North Ndebele", "Nepali", "Nepali, India", "Nepali, Nepal", "Ndonga", "Dutch", "Dutch, Belgium", "Dutch, Netherlands", "Norwegian (Nynorsk)", "Norwegian (Nynorsk), Norway", "Norwegian (Bokmal)", "N’ko", "N’ko, Guinea", "Ndebele; South; South Ndebele", "Sesotho sa Leboa", "Sesotho sa Leboa, South Africa", "Navajo; Navaho", "Chichewa; Chewa; Nyanja", "Occitan", "Occitan, France", "Ojibwa", "Oromo", "Oromo, Ethiopia", "Odia", "Odia, India", "Ossetian; Ossetic", "Punjabi", "Punjabi", "Punjabi, Islamic Republic of Pakistan", "Punjabi, India", "Pali", "Polish", "Polish, Poland", "Dari", "Dari, Afghanistan", "Pashto", "Pashto, Afghanistan", "Portuguese", "Portuguese, Angola", "Portuguese, Brazil", "Portuguese, Portugal", "Quechua", "K'iche", "K'iche, Guatemala", "Quechua", "Quechua, Bolivia", "Quechua, Ecuador", "Quechua, Peru", "Romansh", "Romansh, Switzerland", "Rundi", "Romanian", "Romanian, Moldova", "Romanian, Romania", "Russian", "Russian, Russia", "Kinyarwanda", "Kinyarwanda, Rwanda", "Sanskrit", "Sakha", "Sakha, Russia", "Sanskrit, India", "Sardinian", "Sindhi", "Sindhi", "Sindhi, Islamic Republic of Pakistan", "Sami (Northern)", "Sami (Northern), Finland", "Sami (Northern), Norway", "Sami (Northern), Sweden", "Sango", "Sinhala", "Sinhala, Sri Lanka", "Slovak", "Slovak, Slovakia", "Slovenian", "Slovenian, Slovenia", "Samoan", "Sami (Southern)", "Sami (Southern), Norway", "Sami (Southern), Sweden", "Sami (Lule)", "Sami (Lule), Norway", "Sami (Lule), Sweden", "Sami (Inari)", "Sami (Inari), Finland", "Sami (Skolt)", "Sami (Skolt), Finland", "Shona", "Shona, Latin", "Shona, Zimbabwe", "Somali", "Somali, Somalia", "Albanian", "Albanian, Albania", "Serbian (Latin)", "Serbian (Cyrillic)", "Serbian (Cyrillic), Bosnia and Herzegovina", "Serbian (Cyrillic), Serbia and Montenegro (Former)", "Serbian (Cyrillic), Montenegro", "Serbian (Cyrillic), Serbia", "Serbian (Latin)", "Serbian (Latin), Bosnia and Herzegovina", "Serbian (Latin), Serbia and Montenegro (Former)", "Serbian (Latin), Montenegro", "Serbian (Latin), Serbia", "Swati", "Sotho", "Sotho, South Africa", "Sundanese", "Swedish", "Swedish, Finland", "Swedish, Sweden", "Kiswahili", "Kiswahili, Kenya", "Syriac", "Syriac, Syria", "Tamil", "Tamil, India", "Tamil, Sri Lanka", "Telugu", "Telugu, India", "Tajik (Cyrillic)", "Tajik (Cyrillic)", "Tajik (Cyrillic), Tajikistan", "Thai", "Thai, Thailand", "Tigrinya", "Tigrinya, Eritrea", "Tigrinya, Ethiopia", "Turkmen", "Turkmen, Turkmenistan", "Tagalog", "Setswana", "Setswana, Botswana", "Setswana, South Africa", "Tonga (Tonga Islands)", "Turkish", "Turkish, Turkey", "Tsonga", "Tsonga, South Africa", "Tatar", "Tatar, Russia", "Twi", "Tahitian", "Tamazight (Latin)", "Tamazight (Latin)", "Tamazight (Latin), Algeria", "Uyghur", "Uyghur, People's Republic of China", "Ukrainian", "Ukrainian, Ukraine", "Urdu", "Urdu, India", "Urdu, Islamic Republic of Pakistan", "Uzbek (Latin)", "Uzbek (Cyrillic)", "Uzbek (Cyrillic), Uzbekistan", "Uzbek (Latin)", "Uzbek (Latin), Uzbekistan", "Venda", "Vietnamese", "Vietnamese, Vietnam", "Volapük", "Walloon", "Wolof", "Wolof, Senegal", "isiXhosa", "isiXhosa, South Africa", "Yiddish", "Yoruba", "Yoruba, Nigeria", "Zhuang; Chuang", "Standard Moroccan Tamazight", "Standard Moroccan Tamazight, Tifinagh", "Standard Moroccan Tamazight, Morocco", "Chinese (Simplified)", "Chinese (Simplified), People's Republic of China", "Chinese (Simplified)", "Chinese (Traditional)", "Chinese (Traditional), Hong Kong S.A.R.", "Chinese (Traditional), Macao S.A.R.", "Chinese (Simplified), Singapore", "Chinese (Traditional), Taiwan", "isiZulu", "isiZulu, South Africa"]
links: [{
href: "http://www.unece.org/uncefact/codelist/standard/ISO_ISO2AlphaLanguageCode_2006-10-27.xsd"
rel: "partial"
mediaType: "application/xml"
}, {
href: "https://msdn.microsoft.com/en-us/library/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c#id1"
rel: "partial"
mediaType: "text/html"
}]
}
}]
type: "object"
properties: {
type: {
description: "A label describing the type of comment."
type: "string"
}
author: {
description: "The name of an author of a comment."
type: "string"
}
datetime: {
description: "The date and time that the comment was made."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "DateTimeType"
type: "string"
format: "date-time"
}
status: {
description: "The status of a comment."
type: "string"
}
note: {
description: "The comment."
type: "string"
}
}
required: [
"note",
]
}
table: "PublicationType"
psqlType: "jsonb"
postgresType: "text"
}
journal: {
name: "journal"
description: "The journal where the publication was published."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
issn: {
name: "issn"
description: "The ISSN (International Standard Serial Number) issued for the publication."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
volume: {
name: "volume"
description: "The volume of the publication if the publication is part of a series."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
issue: {
name: "issue"
description: "The issue of the publication if the publication is part of a series."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
pages: {
name: "pages"
description: "The pages related to the publication if the published material is only part of a larger work."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
edition: {
name: "edition"
description: "The edition or version number of the publication."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
chapters: {
name: "chapters"
description: "The chapters related to the publication if the published material is only part of a larger work."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
isbn: {
name: "isbn"
description: "The ISBN representing the publication. ISBN is an International Standard Book Number, which is typically 13 digits."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
publisher: {
name: "publisher"
description: "The publisher of the publication."
type: "string"
table: "PublicationType"
psqlType: "text"
postgresType: "text"
}
publisherLocation: {
name: "publisherLocation"
description: "The location of the publisher of the publication."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "LocationType"
allOf: [{
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "AddressType"
description: "The physical or mailing address of the entity. This may include the street and building number, city, region (state, province, etc), country and postal code."
type: "object"
properties: {
line: {
description: "Street line address"
type: "string"
}
extendedLines: {
description: "Extended address components (e.g. apartment or suite number)."
type: "array"
items: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "AddressComponentType"
description: "Holds address extension components."
type: "object"
properties: {
type: {
description: "Specify purpose of this extension (province, secondary line, house number, etc)."
type: "string"
}
value: {
description: "Actual component value."
type: "string"
}
}
required: ["type", "value"]
}
}
countryCode: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "CountryCodeList"
description: "Two letter country codes as defined by ISO 3166-1:2013. Content referenced from Wikipedia."
enum: ["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW"]
enumNames: ["ANDORRA", "UNITED ARAB EMIRATES", "AFGHANISTAN", "ANTIGUA AND BARBUDA", "ANGUILLA", "ALBANIA", "ARMENIA", "ANGOLA", "ANTARCTICA", "ARGENTINA", "AMERICAN SAMOA", "AUSTRIA", "AUSTRALIA", "ARUBA", "ÅLAND ISLANDS", "AZERBAIJAN", "BOSNIA AND HERZEGOVINA", "BARBADOS", "BANGLADESH", "BELGIUM", "BURKINA FASO", "BULGARIA", "BAHRAIN", "BURUNDI", "BENIN", "SAINT BARTHELEMY", "BERMUDA", "BRUNEI DARUSSALAM", "BOLIVIA", "BRAZIL", "BAHAMAS", "BHUTAN", "BOUVET ISLAND", "BOTSWANA", "BELARUS", "BELIZE", "CANADA", "COCOS (KEELING) ISLANDS", "CONGO, THE DEMOCRATIC REPUBLIC OF THE", "CENTRAL AFRICAN REPUBLIC", "CONGO", "SWITZERLAND", "COTE D'IVOIRE", "COOK ISLANDS", "CHILE", "CAMEROON", "CHINA", "COLOMBIA", "COSTA RICA", "CUBA", "CAPE VERDE", "CURACAO", "CHRISTMAS ISLAND", "CYPRUS", "CZECH REPUBLIC", "GERMANY", "DJIBOUTI", "DENMARK", "DOMINICA", "DOMINICAN REPUBLIC", "ALGERIA", "ECUADOR", "ESTONIA", "EGYPT", "WESTERN SAHARA", "ERITREA", "SPAIN", "ETHIOPIA", "FINLAND", "FIJI", "FALKLAND ISLANDS (MALVINAS)", "MICRONESIA, FEDERATED STATES OF", "FAROE ISLANDS", "FRANCE", "GABON", "UNITED KINGDOM", "GRENADA", "GEORGIA", "FRENCH GUIANA", "GUERNSEY", "GHANA", "GIBRALTAR", "GREENLAND", "GAMBIA", "GUINEA", "GUADELOUPE", "EQUATORIAL GUINEA", "GREECE", "SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS", "GUATEMALA", "GUAM", "GUINEA-BISSAU", "GUYANA", "HONG KONG", "HEARD ISLAND AND MCDONALD ISLANDS", "HONDURAS", "CROATIA", "HAITI", "HUNGARY", "INDONESIA", "IRELAND", "ISRAEL", "ISLE OF MAN", "INDIA", "BRITISH INDIAN OCEAN TERRITORY", "IRAQ", "IRAN, ISLAMIC REPUBLIC OF", "ICELAND", "ITALY", "JERSEY", "JAMAICA", "JORDAN", "JAPAN", "KENYA", "KYRGYZSTAN", "CAMBODIA", "KIRIBATI", "COMOROS", "SAINT KITTS AND NEVIS", "KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF", "KOREA, REPUBLIC OF", "KUWAIT", "CAYMAN ISLANDS", "KAZAKHSTAN", "LAO PEOPLE'S DEMOCRATIC REPUBLIC", "LEBANON", "SAINT LUCIA", "LIECHTENSTEIN", "SRI LANKA", "LIBERIA", "LESOTHO", "LITHUANIA", "LUXEMBOURG", "LATVIA", "LIBYAN ARAB JAMAHIRIYA", "MOROCCO", "MONACO", "MOLDOVA, REPUBLIC OF", "MONTENEGRO", "SAINT MARTIN (FRENCH PART)", "MADAGASCAR", "MARSHALL ISLANDS", "MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF", "MALI", "MYANMAR", "MONGOLIA", "MACAO", "NORTHERN MARIANA ISLANDS", "MARTINIQUE", "MAURITANIA", "MONTSERRAT", "MALTA", "MAURITIUS", "MALDIVES", "MALAWI", "MEXICO", "MALAYSIA", "MOZAMBIQUE", "NAMIBIA", "NEW CALEDONIA", "NIGER", "NORFOLK ISLAND", "NIGERIA", "NICARAGUA", "NETHERLANDS", "NORWAY", "NEPAL", "NAURU", "NIUE", "NEW ZEALAND", "OMAN", "PANAMA", "PERU", "FRENCH POLYNESIA", "PAPUA NEW GUINEA", "PHILIPPINES", "PAKISTAN", "POLAND", "SAINT PIERRE AND MIQUELON", "PITCAIRN", "PUERTO RICO", "PALESTINIAN TERRITORY, OCCUPIED", "PORTUGAL", "PALAU", "PARAGUAY", "QATAR", "REUNION", "ROMANIA", "SERBIA", "RUSSIAN FEDERATION", "RWANDA", "SAUDI ARABIA", "SOLOMON ISLANDS", "SEYCHELLES", "SUDAN", "SWEDEN", "SINGAPORE", "SAINT HELENA", "SLOVENIA", "SVALBARD AND JAN MAYEN", "SLOVAKIA", "SIERRA LEONE", "SAN MARINO", "SENEGAL", "SOMALIA", "SURINAME", "SOUTH SUDAN", "SAO TOME AND PRINCIPE", "EL SALVADOR", "SINT MAARTEN (DUTCH PART)", "SYRIAN ARAB REPUBLIC", "SWAZILAND", "TURKS AND CAICOS ISLANDS", "CHAD", "FRENCH SOUTHERN TERRITORIES", "TOGO", "THAILAND", "TAJIKISTAN", "TOKELAU", "TIMOR-LESTE", "TURKMENISTAN", "TUNISIA", "TONGA", "TURKEY", "TRINIDAD AND TOBAGO", "TUVALU", "TAIWAN, PROVINCE OF CHINA", "TANZANIA, UNITED REPUBLIC OF", "UKRAINE", "UGANDA", "UNITED STATES MINOR OUTLYING ISLANDS", "UNITED STATES", "URUGUAY", "UZBEKISTAN", "HOLY SEE (VATICAN CITY STATE)", "SAINT VINCENT AND THE GRENADINES", "VENEZUELA", "VIRGIN ISLANDS, BRITISH", "VIRGIN ISLANDS, U.S.", "VIET NAM", "VANUATU", "WALLIS AND FUTUNA", "SAMOA", "YEMEN", "MAYOTTE", "SOUTH AFRICA", "ZAMBIA", "ZIMBABWE"]
links: [{
href: "https://en.wikipedia.org/wiki/ISO_3166-1"
}]
}
countrySubDivisions: {
description: "Qualifies the further divisions of the Country. These may be Districts, Regions, States, Provinces etc."
type: "array"
items: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "AddressComponentType"
description: "Holds address extension components."
type: "object"
properties: {
type: {
description: "Specify purpose of this extension (province, secondary line, house number, etc)."
type: "string"
}
value: {
description: "Actual component value."
type: "string"
}
}
required: ["type", "value"]
}
}
city: type: "string"
postalCode: type: "string"
postOfficeBox: type: "string"
geoLocation: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "GeoType"
description: "A geographical coordinate."
type: "object"
properties: {
latitude: {
description: "The latitude of the geographical location."
type: "number"
minimum: -90
maximum: 90
}
longitude: {
description: "The longitude of the geographical location."
type: "number"
minimum: -180
maximum: 180
}
altitude: {
description: "The altitude of the geographical location. Defaults to meters above sea level in case no unitCode provided."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "MeasureType"
type: "object"
properties: {
value: {
description: "The numeric value of the measure."
type: "number"
}
unitCode: {
description: "The unit of measure."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "UnitCodeList"
enum: ["ACR", "ARE", "CMT", "DAY", "EA", "FOT", "GRM", "HAR", "HUR", "INH", "KGM", "KMT", "LTR", "MTR", "SMI", "MGM", "MLT", "MMT", "C26", "MIN", "MON", "C62", "ONZ", "PTI", "PT", "LBR", "QTI", "QT", "SEC", "STI", "WEE", "YRD", "ANN"]
enumNames: ["acre", "are", "centimeter", "day", "each", "foot", "gram", "hectare", "hour", "inch", "kilogram", "kilometre", "litre", "metre", "mile", "milligram", "millilitre", "millimetre", "millisecond", "minute", "month", "one [piece]", "ounce", "pint [UK]", "pint [US]", "pound", "quart [UK]", "quart [US]", "second", "stone", "week", "yard", "year"]
links: [{
href: "https://www.unece.org/cefact/codesfortrade/codes_index.html"
}]
}
}
required: ["value"]
}
name: {
description: "The label of the geo coordinates."
type: "string"
}
}
required: ["latitude", "longitude"]
}
formattedAddress: type: "string"
}
minProperties: 1
}]
type: "object"
properties: id: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "IdentifierType"
description: "An identifier is a character string used to uniquely identify one instance of an object within an identification scheme that is managed by an agency. Use this type when the list or values are controlled by an external entity, the list or values are public and could be referenced or validated."
type: "object"
properties: {
value: {
description: "The identifier."
type: "string"
}
schemeId: {
description: "The identification of the identifier scheme."
type: "string"
}
schemeVersionId: {
description: "The identification of the version of the identifier scheme."
type: "string"
}
schemeAgencyId: {
description: "The identification of the agency that manages the identifier scheme."
type: "string"
}
description: {
description: "The description of the identifier."
type: "string"
}
schemeLink: {
description: "The URI that identifies where the identification scheme data is located."
type: "string"
format: "uri"
}
agencyUri: {
description: "The URI that identifies where the identification scheme is located."
type: "string"
format: "uri"
}
}
required: ["value"]
}
table: "PublicationType"
psqlType: "jsonb"
postgresType: "text"
}
event: {
name: "event"
description: "The event that is related to a publication (i.e. a book launch or a conference)."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "EventType"
type: "object"
allOf: [{
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "EntityType"
description: "A description of an entity with id, name and code."
type: "object"
properties: {
id: {
description: "A unique identifier which cannot be expressed as enumeration."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "IdentifierType"
type: "object"
properties: {
value: {
description: "The identifier."
type: "string"
}
schemeId: {
description: "The identification of the identifier scheme."
type: "string"
}
schemeVersionId: {
description: "The identification of the version of the identifier scheme."
type: "string"
}
schemeAgencyId: {
description: "The identification of the agency that manages the identifier scheme."
type: "string"
}
description: {
description: "The description of the identifier."
type: "string"
}
schemeLink: {
description: "The URI that identifies where the identification scheme data is located."
type: "string"
format: "uri"
}
agencyUri: {
description: "The URI that identifies where the identification scheme is located."
type: "string"
format: "uri"
}
}
required: ["value"]
}
name: {
description: "Free text description for that entity."
type: "string"
}
code: {
description: "A code which can be expressed as enumeration."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "CodeType"
type: "string"
properties: {
code: {
description: "The code value."
type: "string"
}
codeSystem: {
description: "The code system that defines the code."
type: "string"
}
description: {
description: "A description of the code."
type: "string"
}
}
required: ["code"]
}
}
minProperties: 1
}]
properties: {
venue: {
description: "The name of the venue where the event occurred."
type: "string"
}
location: {
description: "The location of the venue."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "LocationType"
allOf: [{
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "AddressType"
description: "The physical or mailing address of the entity. This may include the street and building number, city, region (state, province, etc), country and postal code."
type: "object"
properties: {
line: {
description: "Street line address"
type: "string"
}
extendedLines: {
description: "Extended address components (e.g. apartment or suite number)."
type: "array"
items: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "AddressComponentType"
description: "Holds address extension components."
type: "object"
properties: {
type: {
description: "Specify purpose of this extension (province, secondary line, house number, etc)."
type: "string"
}
value: {
description: "Actual component value."
type: "string"
}
}
required: ["type", "value"]
}
}
countryCode: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "CountryCodeList"
description: "Two letter country codes as defined by ISO 3166-1:2013. Content referenced from Wikipedia."
enum: ["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW"]
enumNames: ["ANDORRA", "UNITED ARAB EMIRATES", "AFGHANISTAN", "ANTIGUA AND BARBUDA", "ANGUILLA", "ALBANIA", "ARMENIA", "ANGOLA", "ANTARCTICA", "ARGENTINA", "AMERICAN SAMOA", "AUSTRIA", "AUSTRALIA", "ARUBA", "ÅLAND ISLANDS", "AZERBAIJAN", "BOSNIA AND HERZEGOVINA", "BARBADOS", "BANGLADESH", "BELGIUM", "BURKINA FASO", "BULGARIA", "BAHRAIN", "BURUNDI", "BENIN", "SAINT BARTHELEMY", "BERMUDA", "BRUNEI DARUSSALAM", "BOLIVIA", "BRAZIL", "BAHAMAS", "BHUTAN", "BOUVET ISLAND", "BOTSWANA", "BELARUS", "BELIZE", "CANADA", "COCOS (KEELING) ISLANDS", "CONGO, THE DEMOCRATIC REPUBLIC OF THE", "CENTRAL AFRICAN REPUBLIC", "CONGO", "SWITZERLAND", "COTE D'IVOIRE", "COOK ISLANDS", "CHILE", "CAMEROON", "CHINA", "COLOMBIA", "COSTA RICA", "CUBA", "CAPE VERDE", "CURACAO", "CHRISTMAS ISLAND", "CYPRUS", "CZECH REPUBLIC", "GERMANY", "DJIBOUTI", "DENMARK", "DOMINICA", "DOMINICAN REPUBLIC", "ALGERIA", "ECUADOR", "ESTONIA", "EGYPT", "WESTERN SAHARA", "ERITREA", "SPAIN", "ETHIOPIA", "FINLAND", "FIJI", "FALKLAND ISLANDS (MALVINAS)", "MICRONESIA, FEDERATED STATES OF", "FAROE ISLANDS", "FRANCE", "GABON", "UNITED KINGDOM", "GRENADA", "GEORGIA", "FRENCH GUIANA", "GUERNSEY", "GHANA", "GIBRALTAR", "GREENLAND", "GAMBIA", "GUINEA", "GUADELOUPE", "EQUATORIAL GUINEA", "GREECE", "SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS", "GUATEMALA", "GUAM", "GUINEA-BISSAU", "GUYANA", "HONG KONG", "HEARD ISLAND AND MCDONALD ISLANDS", "HONDURAS", "CROATIA", "HAITI", "HUNGARY", "INDONESIA", "IRELAND", "ISRAEL", "ISLE OF MAN", "INDIA", "BRITISH INDIAN OCEAN TERRITORY", "IRAQ", "IRAN, ISLAMIC REPUBLIC OF", "ICELAND", "ITALY", "JERSEY", "JAMAICA", "JORDAN", "JAPAN", "KENYA", "KYRGYZSTAN", "CAMBODIA", "KIRIBATI", "COMOROS", "SAINT KITTS AND NEVIS", "KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF", "KOREA, REPUBLIC OF", "KUWAIT", "CAYMAN ISLANDS", "KAZAKHSTAN", "LAO PEOPLE'S DEMOCRATIC REPUBLIC", "LEBANON", "SAINT LUCIA", "LIECHTENSTEIN", "SRI LANKA", "LIBERIA", "LESOTHO", "LITHUANIA", "LUXEMBOURG", "LATVIA", "LIBYAN ARAB JAMAHIRIYA", "MOROCCO", "MONACO", "MOLDOVA, REPUBLIC OF", "MONTENEGRO", "SAINT MARTIN (FRENCH PART)", "MADAGASCAR", "MARSHALL ISLANDS", "MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF", "MALI", "MYANMAR", "MONGOLIA", "MACAO", "NORTHERN MARIANA ISLANDS", "MARTINIQUE", "MAURITANIA", "MONTSERRAT", "MALTA", "MAURITIUS", "MALDIVES", "MALAWI", "MEXICO", "MALAYSIA", "MOZAMBIQUE", "NAMIBIA", "NEW CALEDONIA", "NIGER", "NORFOLK ISLAND", "NIGERIA", "NICARAGUA", "NETHERLANDS", "NORWAY", "NEPAL", "NAURU", "NIUE", "NEW ZEALAND", "OMAN", "PANAMA", "PERU", "FRENCH POLYNESIA", "PAPUA NEW GUINEA", "PHILIPPINES", "PAKISTAN", "POLAND", "SAINT PIERRE AND MIQUELON", "PITCAIRN", "PUERTO RICO", "PALESTINIAN TERRITORY, OCCUPIED", "PORTUGAL", "PALAU", "PARAGUAY", "QATAR", "REUNION", "ROMANIA", "SERBIA", "RUSSIAN FEDERATION", "RWANDA", "SAUDI ARABIA", "SOLOMON ISLANDS", "SEYCHELLES", "SUDAN", "SWEDEN", "SINGAPORE", "SAINT HELENA", "SLOVENIA", "SVALBARD AND JAN MAYEN", "SLOVAKIA", "SIERRA LEONE", "SAN MARINO", "SENEGAL", "SOMALIA", "SURINAME", "SOUTH SUDAN", "SAO TOME AND PRINCIPE", "EL SALVADOR", "SINT MAARTEN (DUTCH PART)", "SYRIAN ARAB REPUBLIC", "SWAZILAND", "TURKS AND CAICOS ISLANDS", "CHAD", "FRENCH SOUTHERN TERRITORIES", "TOGO", "THAILAND", "TAJIKISTAN", "TOKELAU", "TIMOR-LESTE", "TURKMENISTAN", "TUNISIA", "TONGA", "TURKEY", "TRINIDAD AND TOBAGO", "TUVALU", "TAIWAN, PROVINCE OF CHINA", "TANZANIA, UNITED REPUBLIC OF", "UKRAINE", "UGANDA", "UNITED STATES MINOR OUTLYING ISLANDS", "UNITED STATES", "URUGUAY", "UZBEKISTAN", "HOLY SEE (VATICAN CITY STATE)", "SAINT VINCENT AND THE GRENADINES", "VENEZUELA", "VIRGIN ISLANDS, BRITISH", "VIRGIN ISLANDS, U.S.", "VIET NAM", "VANUATU", "WALLIS AND FUTUNA", "SAMOA", "YEMEN", "MAYOTTE", "SOUTH AFRICA", "ZAMBIA", "ZIMBABWE"]
links: [{
href: "https://en.wikipedia.org/wiki/ISO_3166-1"
}]
}
countrySubDivisions: {
description: "Qualifies the further divisions of the Country. These may be Districts, Regions, States, Provinces etc."
type: "array"
items: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "AddressComponentType"
description: "Holds address extension components."
type: "object"
properties: {
type: {
description: "Specify purpose of this extension (province, secondary line, house number, etc)."
type: "string"
}
value: {
description: "Actual component value."
type: "string"
}
}
required: ["type", "value"]
}
}
city: type: "string"
postalCode: type: "string"
postOfficeBox: type: "string"
geoLocation: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "GeoType"
description: "A geographical coordinate."
type: "object"
properties: {
latitude: {
description: "The latitude of the geographical location."
type: "number"
minimum: -90
maximum: 90
}
longitude: {
description: "The longitude of the geographical location."
type: "number"
minimum: -180
maximum: 180
}
altitude: {
description: "The altitude of the geographical location. Defaults to meters above sea level in case no unitCode provided."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "MeasureType"
type: "object"
properties: {
value: {
description: "The numeric value of the measure."
type: "number"
}
unitCode: {
description: "The unit of measure."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "UnitCodeList"
enum: ["ACR", "ARE", "CMT", "DAY", "EA", "FOT", "GRM", "HAR", "HUR", "INH", "KGM", "KMT", "LTR", "MTR", "SMI", "MGM", "MLT", "MMT", "C26", "MIN", "MON", "C62", "ONZ", "PTI", "PT", "LBR", "QTI", "QT", "SEC", "STI", "WEE", "YRD", "ANN"]
enumNames: ["acre", "are", "centimeter", "day", "each", "foot", "gram", "hectare", "hour", "inch", "kilogram", "kilometre", "litre", "metre", "mile", "milligram", "millilitre", "millimetre", "millisecond", "minute", "month", "one [piece]", "ounce", "pint [UK]", "pint [US]", "pound", "quart [UK]", "quart [US]", "second", "stone", "week", "yard", "year"]
links: [{
href: "https://www.unece.org/cefact/codesfortrade/codes_index.html"
}]
}
}
required: ["value"]
}
name: {
description: "The label of the geo coordinates."
type: "string"
}
}
required: ["latitude", "longitude"]
}
formattedAddress: type: "string"
}
minProperties: 1
}]
type: "object"
properties: id: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "IdentifierType"
description: "An identifier is a character string used to uniquely identify one instance of an object within an identification scheme that is managed by an agency. Use this type when the list or values are controlled by an external entity, the list or values are public and could be referenced or validated."
type: "object"
properties: {
value: {
description: "The identifier."
type: "string"
}
schemeId: {
description: "The identification of the identifier scheme."
type: "string"
}
schemeVersionId: {
description: "The identification of the version of the identifier scheme."
type: "string"
}
schemeAgencyId: {
description: "The identification of the agency that manages the identifier scheme."
type: "string"
}
description: {
description: "The description of the identifier."
type: "string"
}
schemeLink: {
description: "The URI that identifies where the identification scheme data is located."
type: "string"
format: "uri"
}
agencyUri: {
description: "The URI that identifies where the identification scheme is located."
type: "string"
format: "uri"
}
}
required: ["value"]
}
}
when: {
description: "The start and end date when the event occurred."
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "DateOpenEndPeriodType"
type: "object"
properties: {
start: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "DateType"
description: "Date representation according ISO 8601 standard."
type: "string"
hropenFormat: "date"
pattern: "^([\\+-]?\\d{4}(?!\\d{2}\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))?)?$"
}
end: {
$schema: "http://json-schema.org/draft-04/schema#"
version: "4.3.0"
title: "DateType"
description: "Date representation according ISO 8601 standard."
type: "string"
hropenFormat: "date"
pattern: "^([\\+-]?\\d{4}(?!\\d{2}\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))?)?$"
}
}
required: ["start"]
additionalProperties: false
}
}
table: "PublicationType"
psqlType: "jsonb"
postgresType: "text"
}
}
required: [
"title",
"type",
]
json2psql: {
number: "int4"
integer: "int4"
boolean: "bool"
string: "text"
object: "jsonb"
array: "jsonb"
}
hrxmlDateTypes: {
DateType: "date"
DatePeriodType: "tsrange"
DateTimePeriodType: "tsrange"
DateOpenEndPeriodType: "tstzrange"
DateTimeOpenEndPeriodType: "tstzrange"
DurationType: "interval"
EffectiveTimePeriodType: "tsrange"
FormattedDateTimeType: "timestamp"
OpenEndPeriodType: "tstzrange"
OrdinalType: "int4"
PeriodType: "tsrange"
Numbertype: "int4"
DateTimeType: "timestamp"
datetime: "timestamp"
TextTypeArray: "text[]"
StringTypeArray: "text[]"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment