relaton-iso-bib 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 633c3f713b3ec06ed5794833790143292337d593
4
+ data.tar.gz: 38d83f22e5f9313bc5c03f83214b16b0b191b8ea
5
+ SHA512:
6
+ metadata.gz: f3ba3c18a820dab8b5d73d96aabebbe9e6101f92d5a0a1a8edeb65d31328688513b81aa79233d27a0cd3f3207970904ed7d0f451701fbe8f57ccefef21798778
7
+ data.tar.gz: 07b27a26ad50576fc4ae3d402b50cfeb62cd6361867736bee0f003e6947b53c0aced2f1c270da4cc96961d12860cd34e20c4db22d51ebcacdae5dc58efc8eeea
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ .vscode/
10
+ .rubocop-https---raw-githubusercontent-com-riboseinc-oss-guides-master-ci-rubocop-yml
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,10 @@
1
+ # This project follows the Ribose OSS style guide.
2
+ # https://github.com/riboseinc/oss-guides
3
+ # All project-specific additions and overrides should be specified in this file.
4
+
5
+ inherit_from:
6
+ - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
7
+ AllCops:
8
+ TargetRubyVersion: 2.3
9
+ Rails:
10
+ Enabled: true
data/.travis.yml ADDED
@@ -0,0 +1,14 @@
1
+ sudo: false
2
+ language: ruby
3
+
4
+ rvm:
5
+ - 2.5
6
+ - 2.4
7
+ - 2.3
8
+ - ruby-head
9
+
10
+ before_install: gem install bundler -v 2.0.1
11
+
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: ruby-head
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in relaton_iso_bib.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,78 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ relaton-iso-bib (0.1.0)
5
+ isoics (~> 0.1.6)
6
+ nokogiri (~> 1.8.4)
7
+ relaton-bib (~> 0.1.5)
8
+ ruby_deep_clone (~> 0.8.0)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ addressable (2.6.0)
14
+ public_suffix (>= 2.0.2, < 4.0)
15
+ byebug (11.0.1)
16
+ coderay (1.1.2)
17
+ debase (0.2.2)
18
+ debase-ruby_core_source (>= 0.10.2)
19
+ debase-ruby_core_source (0.10.4)
20
+ diff-lcs (1.3)
21
+ docile (1.3.1)
22
+ equivalent-xml (0.6.0)
23
+ nokogiri (>= 1.4.3)
24
+ isoics (0.1.7)
25
+ json (2.2.0)
26
+ method_source (0.9.2)
27
+ mini_portile2 (2.3.0)
28
+ nokogiri (1.8.5)
29
+ mini_portile2 (~> 2.3.0)
30
+ pry (0.12.2)
31
+ coderay (~> 1.1.0)
32
+ method_source (~> 0.9.0)
33
+ pry-byebug (3.7.0)
34
+ byebug (~> 11.0)
35
+ pry (~> 0.10)
36
+ public_suffix (3.1.0)
37
+ rake (10.5.0)
38
+ relaton-bib (0.1.6)
39
+ addressable
40
+ nokogiri (~> 1.8.4)
41
+ rspec (3.8.0)
42
+ rspec-core (~> 3.8.0)
43
+ rspec-expectations (~> 3.8.0)
44
+ rspec-mocks (~> 3.8.0)
45
+ rspec-core (3.8.0)
46
+ rspec-support (~> 3.8.0)
47
+ rspec-expectations (3.8.2)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-mocks (3.8.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-support (3.8.0)
54
+ ruby-debug-ide (0.6.1)
55
+ rake (>= 0.8.1)
56
+ ruby_deep_clone (0.8.0)
57
+ simplecov (0.16.1)
58
+ docile (~> 1.1)
59
+ json (>= 1.8, < 3)
60
+ simplecov-html (~> 0.10.0)
61
+ simplecov-html (0.10.2)
62
+
63
+ PLATFORMS
64
+ ruby
65
+
66
+ DEPENDENCIES
67
+ bundler (~> 2.0)
68
+ debase
69
+ equivalent-xml (~> 0.6)
70
+ pry-byebug
71
+ rake (~> 10.0)
72
+ relaton-iso-bib!
73
+ rspec (~> 3.0)
74
+ ruby-debug-ide
75
+ simplecov
76
+
77
+ BUNDLED WITH
78
+ 2.0.1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Andrei Kislichenko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.adoc ADDED
@@ -0,0 +1,419 @@
1
+ = IsoBibItem
2
+
3
+ image:https://img.shields.io/gem/v/iso-bib-item.svg["Gem Version", link="https://rubygems.org/gems/iso-bib-item"]
4
+ image:https://img.shields.io/travis/metanorma/iso-bib-item/master.svg["Build Status", link="https://travis-ci.com/metanorma/iso-bib-item"]
5
+ image:https://codeclimate.com/github/metanorma/iso-bib-item/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/iso-bib-item"]
6
+
7
+ IsoBib is a Ruby gem that implements the https://github.com/metanorma/metanorma-model-iso#iso-bibliographic-item[IsoBibliographicItem model].
8
+
9
+ == Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ [source,ruby]
14
+ ----
15
+ gem 'iso-bib-item'
16
+ ----
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install iso-bib-item
25
+
26
+ == Usage
27
+
28
+ === Create ISO bibliographic item
29
+
30
+ [source,ruby]
31
+ ----
32
+ item = IsoBibItem::IsoBibliographicItem.new(
33
+ docid: { project_number: "19115", part_number: "1" },
34
+ edition: "1",
35
+ language: ["en", "fr"],
36
+ script: ["Latn"],
37
+ titles: [
38
+ {
39
+ title_intro: "Geographic information",
40
+ title_main: "Metadata",
41
+ title_part: "Part 1: Fundamentals",
42
+ language: "en", script: "Latn"
43
+ },
44
+ {
45
+ title_intro: "Information géographique",
46
+ title_main: "Métadonnées",
47
+ title_part: "Partie 1: Principes de base",
48
+ language: "fr", script: "Latn"
49
+ }
50
+ ],
51
+ type: "international-standard",
52
+ docstatus: { status: "Published", stage: "60", substage: "60" },
53
+ ics: [{ field: "35", group: "240", subgroup: "70" }],
54
+ dates: [{ type: "published", on: "2014-04" }],
55
+ contributors: [{ entity: {
56
+ name: "International Organization for Standardization",
57
+ url: "www.iso.org", abbreviation: "ISO"
58
+ }, roles: ["publisher"]}],
59
+ editorialgroup: {
60
+ name: "International Organization for Standardization",
61
+ abbreviation: "ISO",
62
+ url: "www.iso.org",
63
+ technical_committee: {
64
+ name: "ISO/TC 211Geographic information/Geomatics",
65
+ type: "technicalCommittee", number: 211
66
+ }
67
+ },
68
+ abstract: [
69
+ {
70
+ content: "ISO 19115-1:2014 defines the schema required for describing geographic information and services by means of metadata. It provides information about the identification, the extent, the quality, the spatial and temporal aspects, the content, the spatial reference, the portrayal, distribution, and other properties of digital geographic data and services.ISO 19115-1:2014 is applicable to:-the cataloguing of all types of resources, clearinghouse activities, and the full description of datasets and services;-geographic services, geographic datasets, dataset series, and individual geographic features and feature properties.ISO 19115-1:2014 defines:-mandatory and conditional metadata sections, metadata entities, and metadata elements;-the minimum set of metadata required to serve most metadata applications (data discovery, determining data fitness for use, data access, data transfer, and use of digital data and services);-optional metadata elements to allow for a more extensive standard description of resources, if required;-a method for extending metadata to fit specialized needs.Though ISO 19115-1:2014 is applicable to digital data and services, its principles can be extended to many other types of resources such as maps, charts, and textual documents as well as non-geographic data. Certain conditional metadata elements might not apply to these other forms of data.",
71
+ language: "en", script: "Latn"
72
+ },
73
+ {
74
+ content: "L'ISO 19115-1:2014 définit le schéma requis pour décrire des informations géographiques et des services au moyen de métadonnées. Elle fournit des informations concernant l'identification, l'étendue, la qualité, les aspects spatiaux et temporels, le contenu, la référence spatiale, la représentation des données, la distribution et d'autres propriétés des données géographiques numériques et des services.L'ISO 19115-1:2014 est applicable:-au catalogage de tous les types de ressources, des activités des centres d'informations et à la description complète des jeux de données et des services,-aux services géographiques, jeux de données géographiques, séries de jeux de données, entités géographiques individuelles et propriétés d'entités.L'ISO 19115-1:2014 définit:-des sections relatives aux métadonnées obligatoires et facultatives, aux entités de métadonnées et aux éléments de métadonnées,-le jeu minimal de métadonnées requis pour répondre au besoin de la plupart des applications des métadonnées (la découverte des données, la détermination de l'adéquation des données à une utilisation, l'accès aux données, le transfert des données et l'utilisation des données numériques et des services),-les éléments de métadonnées facultatifs pour permettre une description standard plus poussée des ressources, si cela est nécessaire,-un procédé d'extension des métadonnées pour s'adapter aux besoins spéciaux.L'ISO 19115-1:2014 est applicable aux données numériques et services, ses principes peuvent être étendus à bien d'autres types de ressources telles que les cartes, les graphes et les documents textes, de même qu'à des données non géographiques. Certains éléments de métadonnées conditionnels peuvent ne pas s'appliquer à ces autres formes de données.",
75
+ language: "fr", script: "Latn"
76
+ }
77
+ ],
78
+ copyright: { owner: { name: "ISO" }, from: "2014" },
79
+ link: [
80
+ { type: "src", content: "https://www.iso.org/standard/53798.html" },
81
+ { type: "obp", content: "https://www.iso.org/obp/ui/#!iso:std:53798:en" },
82
+ { type: "rss", content: "https://www.iso.org/contents/data/standard/05/37/53798.detail.rss" }
83
+ ],
84
+ relations: [
85
+ { type: "obsoletes", identifier: "ISO 19115:2003", url: "/standard/26020.html" },
86
+ { type: "obsoletes", identifier: "ISO 19115:2003/Cor 1:2006", url: "/standard/44361.html" },
87
+ { type: "updates", identifier: "ISO 19115-1:2014/Amd 1:2018", url: "/standard/73118.html" }
88
+ ]
89
+ )
90
+ ----
91
+
92
+ === IsoBibliographicItem Localized Strings
93
+
94
+ [source,ruby]
95
+ ----
96
+ item.title
97
+ [<IsoBibItem::IsoLocalizedTitle:0x007fd1d92e2b30
98
+ @language="en",
99
+ @script="Latn",
100
+ @title_intro="Geographic information",
101
+ @title_main="Metadata",
102
+ @title_part="Part 1: Fundamentals">,
103
+ <IsoBibItem::IsoLocalizedTitle:0x007fd1d92e2ae0
104
+ @language="fr",
105
+ @script="Latn",
106
+ @title_intro="Information géographique",
107
+ @title_main="Métadonnées",
108
+ @title_part="Partie 1: Principes de base">]
109
+
110
+ item.title(lang: "en")
111
+ => <IsoBibItem::IsoLocalizedTitle:0x007fd1d92e2b30
112
+ @language="en",
113
+ @script="Latn",
114
+ @title_intro="Geographic information",
115
+ @title_main="Metadata",
116
+ @title_part="Part 1: Fundamentals">
117
+
118
+ item.title(lang: "en").to_s
119
+ => "Geographic information -- Metadata -- Part 1: Fundamentals"
120
+
121
+ item.abstract(lang: "en").to_s
122
+ => "ISO 19115-1:2014 defines the schema required for describing geographic information and services by means of metadata. It provides information about the identification, the extent, the quality, the spatial and temporal aspects, the content, the spatial reference, the portrayal, distribution, and other properties of digital geographic data and services.
123
+ ...
124
+ "
125
+ ----
126
+
127
+ === IsoBibliographicItem references
128
+
129
+ [source,ruby]
130
+ ----
131
+ item.shortref
132
+ => "ISO 19115-1:2014"
133
+ ----
134
+
135
+ === IsoBibliographicItem URLs
136
+
137
+ [source,ruby]
138
+ ----
139
+ item.url
140
+ => "https://www.iso.org/standard/53798.html"
141
+
142
+ item.url(:obp)
143
+ => "https://www.iso.org/obp/ui/#!iso:std:53798:en"
144
+
145
+ item.url(:rss)
146
+ => "https://www.iso.org/contents/data/standard/05/37/53798.detail.rss"
147
+ ----
148
+
149
+
150
+ === IsoBibliographicItem ICS
151
+
152
+ [source,ruby]
153
+ ----
154
+ item.ics
155
+ [<IsoBibItem::Ics:0x007fd1d92334f0
156
+ @code="35.240.70",
157
+ @description="IT applications in science",
158
+ @description_full="Information technology. Applications of information technology. IT applications in science.",
159
+ @fieldcode="35",
160
+ @groupcode="240",
161
+ @notes=[#<Isoics::Note:0x007fd1d9232f28 @ics_code=nil, @text="Including digital geographic information">],
162
+ @subgroupcode="70">]
163
+ ----
164
+
165
+ === IsoBibliographicItem BibliographicDates
166
+
167
+ [source,ruby]
168
+ ----
169
+ item.dates
170
+ => [<IsoBibItem::BibliographicDate:0x007fd1d92e33c8 @on=2014-01-04 00:00:00 +0100, @type="published">]
171
+
172
+ item.dates.filter(type: "published").first.on
173
+ => 2014-01-04 00:00:00 +0100
174
+ ----
175
+
176
+ === IsoBibliographicItem DocumentStatus
177
+
178
+ [source,ruby]
179
+ ----
180
+ item.status
181
+ => <IsoBibItem::IsoDocumentStatus:0x007f983c3c2658
182
+ @stage="60",
183
+ @status=#<IsoBibItem::LocalizedString:0x007f983c3c2608 @content="Published", @language=[], @script=[]>,
184
+ @substage="60">
185
+ ----
186
+
187
+ [source,ruby]
188
+ ----
189
+ wg = item.editorialgroup
190
+ => <IsoBibItem::EditorialGroup:0x007f983e0d91b0
191
+ @abbreviation=#<IsoBibItem::LocalizedString:0x007f983e0d8558 @content="ISO", @language=[], @script=[]>,
192
+ @contacts=[],
193
+ @identifiers=[],
194
+ @name=#<IsoBibItem::LocalizedString:0x007f983e0d8828 @content="International Organization for Standardization", @language=[], @script=[]>,
195
+ @technical_committe=#<IsoBibItem::IsoSubgroup:0x007f983e0d8148 @name="ISO/TC 211Geographic information/Geomatics", @number=211, @type="technicalCommittee">,
196
+ @uri=#<URI::Generic www.iso.org>>
197
+
198
+ wg.uri
199
+ => <URI::Generic www.iso.org>
200
+ ----
201
+
202
+ === Document relations of a standard
203
+
204
+ [source,ruby]
205
+ ----
206
+ item.relations
207
+ => [<IsoBibItem::DocumentRelation:0x007f983c3c2a18 @bib_locality=[], @identifier="ISO 19115:2003", @type="obsoletes", @url="/standard/26020.html">,
208
+ <IsoBibItem::DocumentRelation:0x007f983c3c2950 @bib_locality=[], @identifier="ISO 19115:2003/Cor 1:2006", @type="obsoletes", @url="/standard/44361.html">,
209
+ <IsoBibItem::DocumentRelation:0x007f983c3c28d8 @bib_locality=[], @identifier="ISO 19115-1:2014/Amd 1:2018", @type="updates", @url="/standard/73118.html">]
210
+ ----
211
+
212
+ === Reference modification: convert to all parts reference
213
+
214
+ In ISO, an All Parts reference is a reference to all parts of a standard. If a standard consists of parts,
215
+ only those parts are referenced in the ISO web site (as retrieved by the isobib gem). A part reference is
216
+ converted to an All Parts reference by making the part reference a partOf relation to a new reference,
217
+ which strips the part number and part title of the original, and its abstract. The operation is destructive.
218
+
219
+ [source,ruby]
220
+ ----
221
+ item.to_all_parts
222
+ item.title(lang: "en")
223
+ => <IsoBibItem::IsoLocalizedTitle:0x007fd1d92e2b30
224
+ @language="en",
225
+ @script="Latn",
226
+ @title_intro="Geographic information",
227
+ @title_main="Metadata",
228
+ @title_part=nil>
229
+ item.shortref
230
+ => "ISO 19115:2014"
231
+ item.relations.last
232
+ => <IsoBibItem::DocumentRelation:0x00007f94009a2158 @type="partOf", @identifier=nil, @url=nil, @bib_locality=[],
233
+ @bibitem=#<IsoBibItem::IsoBibliographicItem:0x00007f94009f37d8
234
+ @id=nil,
235
+ @title=[#<IsoBibItem::IsoLocalizedTitle:0x00007f94009f3530
236
+ @title_intro="Geographic information",
237
+ @title_main="Metadata",
238
+ @title_part="Part 1: Fundamentals",
239
+ @language="en",
240
+ @script="Latn">
241
+ ....
242
+ ----
243
+
244
+ === Reference modification: convert to most recent reference
245
+
246
+ In ISO, an undated reference is interpreted as a _de dicto_ reference to the most recent instance of the
247
+ reference; if the document is read after a new version of the reference has been issued, the reference is taken
248
+ to refer to that new instance, even if that instance had not been published at the time the bibliography was authored.
249
+ All references on the ISO web site (as retrieved by the isobib gem) are dated. A dated reference is
250
+ converted to a Most Recent referece by making the dated reference an instance relation to a new reference,
251
+ which strips the date of publication of the original, and its abstract. The operation is destructive.
252
+
253
+ [source,ruby]
254
+ ----
255
+ item.dates
256
+ => [#<IsoBibItem::BibliographicDate:0x00007f9994977680 @type="published", @on=2014-01-04 00:00:00 +1100>]
257
+ item.to_most_recent_reference
258
+ item.dates
259
+ []
260
+ item.shortref
261
+ => "ISO 19115-1"
262
+ item.relations.last
263
+ => <IsoBibItem::DocumentRelation:0x00007f9a33976a60 @type="instance", @identifier=nil, @url=nil, @bib_locality=[],
264
+ @bibitem=#<IsoBibItem::IsoBibliographicItem:0x00007f9a3399ea60
265
+ @id=nil,
266
+ @title=[#<IsoBibItem::IsoLocalizedTitle:0x00007f9a3399e650 @title_intro="Geographic information", @title_main="Metadata", @title_part="Part 1: Fundamentals", @language="en", @script="Latn">, #<IsoBibItem::IsoLocalizedTitle:0x00007f9a3399e2e0 @title_intro="Information géographique", @title_main="Métadonnées", @title_part="Partie 1: Principes de base", @language="fr", @script="Latn">],
267
+ @docidentifier=#<IsoBibItem::IsoDocumentId:0x00007f9a3399e010 @project_number="19115", @part_number="1">,
268
+ @dates=[#<IsoBibItem::BibliographicDate:0x00007f9a3399dd90 @type="published", @on=2014-01-04 00:00:00 +1100>],
269
+ ....
270
+ ----
271
+
272
+
273
+ === XML serialization
274
+
275
+ [source,ruby]
276
+ ----
277
+ item.to_xml
278
+ =>"<bibitem type='international-standard' id='ISO19115-1'>
279
+ <title format='text/plain' language='en' script='Latn'>Geographic information -- Metadata -- Part 1: Fundamentals</title>
280
+ <title format='text/plain' language='fr' script='Latn'>Information géographique -- Métadonnées -- Partie 1: Principes de base</title>
281
+ <link type='src'>https://www.iso.org/standard/53798.html</link>
282
+ <link type='obp'>https://www.iso.org/obp/ui/#!iso:std:53798:en</link>
283
+ <link type='rss'>https://www.iso.org/contents/data/standard/05/37/53798.detail.rss</link>
284
+ <docidentifier>ISO 19115-1</docidentifier>
285
+ <date type='published'>
286
+ <on>2014</on>
287
+ </date>
288
+ <contributor>
289
+ <role type='publisher'/>
290
+ <organization>
291
+ <name>International Organization for Standardization</name>
292
+ <abbreviation>ISO</abbreviation>
293
+ <uri>www.iso.org</uri>
294
+ </organization>
295
+ </contributor>
296
+ <edition>1</edition>
297
+ <language>en</language>
298
+ <language>fr</language>
299
+ <script>Latn</script>
300
+ <abstract format='plain' language='en' script='Latn'>
301
+ ISO 19115-1:2014 defines the schema required for describing geographic
302
+ information and services by means of metadata. It provides information about
303
+ the identification, the extent, the quality, the spatial and temporal
304
+ aspects, the content, the spatial reference, the portrayal, distribution,
305
+ and other properties of digital geographic data and services.ISO
306
+ 19115-1:2014 is applicable to:-the cataloguing of all types of resources,
307
+ clearinghouse activities, and the full description of datasets and
308
+ services;-geographic services, geographic datasets, dataset series, and
309
+ individual geographic features and feature properties.ISO 19115-1:2014
310
+ defines:-mandatory and conditional metadata sections, metadata entities, and
311
+ metadata elements;-the minimum set of metadata required to serve most
312
+ metadata applications (data discovery, determining data fitness for use,
313
+ data access, data transfer, and use of digital data and services);-optional
314
+ metadata elements to allow for a more extensive standard description of
315
+ resources, if required;-a method for extending metadata to fit specialized
316
+ needs.Though ISO 19115-1:2014 is applicable to digital data and services,
317
+ its principles can be extended to many other types of resources such as
318
+ maps, charts, and textual documents as well as non-geographic data. Certain
319
+ conditional metadata elements might not apply to these other forms of data.
320
+ </abstract>
321
+ <abstract format='plain' language='fr' script='Latn'>
322
+ L'ISO 19115-1:2014 définit le schéma requis pour décrire des informations
323
+ géographiques et des services au moyen de métadonnées. Elle fournit des
324
+ informations concernant l'identification, l'étendue, la qualité, les aspects
325
+ spatiaux et temporels, le contenu, la référence spatiale, la représentation
326
+ des données, la distribution et d'autres propriétés des données
327
+ géographiques numériques et des services.L'ISO 19115-1:2014 est
328
+ applicable:-au catalogage de tous les types de ressources, des activités des
329
+ centres d'informations et à la description complète des jeux de données et
330
+ des services,-aux services géographiques, jeux de données géographiques,
331
+ séries de jeux de données, entités géographiques individuelles et propriétés
332
+ d'entités.L'ISO 19115-1:2014 définit:-des sections relatives aux métadonnées
333
+ obligatoires et facultatives, aux entités de métadonnées et aux éléments de
334
+ métadonnées,-le jeu minimal de métadonnées requis pour répondre au besoin de
335
+ la plupart des applications des métadonnées (la découverte des données, la
336
+ détermination de l'adéquation des données à une utilisation, l'accès aux
337
+ données, le transfert des données et l'utilisation des données numériques et
338
+ des services),-les éléments de métadonnées facultatifs pour permettre une
339
+ description standard plus poussée des ressources, si cela est nécessaire,-un
340
+ procédé d'extension des métadonnées pour s'adapter aux besoins
341
+ spéciaux.L'ISO 19115-1:2014 est applicable aux données numériques et
342
+ services, ses principes peuvent être étendus à bien d'autres types de
343
+ ressources telles que les cartes, les graphes et les documents textes, de
344
+ même qu'à des données non géographiques. Certains éléments de métadonnées
345
+ conditionnels peuvent ne pas s'appliquer à ces autres formes de données.
346
+ </abstract>
347
+ <status>Published</status>
348
+ <copyright>
349
+ <from>2014</from>
350
+ <owner>
351
+ <organization>
352
+ <name>ISO</name>
353
+ <abbreviation/>
354
+ </organization>
355
+ </owner>
356
+ </copyright>
357
+ <relation type='obsoletes'>
358
+ <bibitem>
359
+ <formattedref>ISO 19115:2003</formattedref>
360
+ <docidentifier>ISO 19115:2003</docidentifier>
361
+ </bibitem>
362
+ </relation>
363
+ <relation type='obsoletes'>
364
+ <bibitem>
365
+ <formattedref>ISO 19115:2003/Cor 1:2006</formattedref>
366
+ <docidentifier>ISO 19115:2003/Cor 1:2006</docidentifier>
367
+ </bibitem>
368
+ </relation>
369
+ <relation type='updates'>
370
+ <bibitem>
371
+ <formattedref>ISO 19115-1:2014/Amd 1:2018</formattedref>
372
+ <docidentifier>ISO 19115-1:2014/Amd 1:2018</docidentifier>
373
+ </bibitem>
374
+ </relation>
375
+ <ics>IT applications in science</ics>
376
+ </bibitem>"
377
+ ----
378
+
379
+ == BibliographicItem
380
+
381
+ The ISO standards use a subset of the generic bibliographic fields specified in the https://github.com/metanorma/metanorma-model-iso#iso-bibliographic-item[IsoBibliographicItem model]:
382
+
383
+ * Title:
384
+ ** English; French
385
+ ** titleIntro; titleMain; titlePart
386
+ * DocIdentifier:
387
+ ** project number; part number; technical committee document number
388
+ * Source: the ISO page from which the standard may be purchased or downloaded
389
+ * Type: IsoDocumentType (International Standard, Technical Specification, Technical Report, Publicly Available Specification, International Workshop Agreement, Guide)
390
+ * Project Group:
391
+ ** Technical Committee, Subcommittee, Workgroup, Secretariat
392
+ ** Technical Committee Number, Subcommittee Number, Workgroup Number
393
+ ** Technical Committee Type, Subcommittee Type, Workgroup Type (e.g. JTC)
394
+ ** Organization:Name (ISO; other standards organisations, for standards jointly published with ISO)
395
+ * ICS: refer https://www.iso.org/publication/PUB100033.html
396
+ * Status
397
+ ** Stage, Substage
398
+ * Edition
399
+ * Date:Published
400
+ * Abstract
401
+ * Relations
402
+ ** Obsoletes, Updates
403
+
404
+ All FormattedString instances are returned by default as a text/plain string; if required, they are returned as a text/html string.
405
+
406
+ == Development
407
+
408
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
409
+
410
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
411
+
412
+ == Contributing
413
+
414
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/iso-bib-item.
415
+
416
+ == License
417
+
418
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
419
+