metanorma-standoc 2.2.6 → 2.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/lib/metanorma/standoc/base.rb +3 -5
  3. data/lib/metanorma/standoc/biblio.rng +5 -0
  4. data/lib/metanorma/standoc/cleanup.rb +17 -17
  5. data/lib/metanorma/standoc/cleanup_amend.rb +2 -2
  6. data/lib/metanorma/standoc/cleanup_biblio.rb +2 -1
  7. data/lib/metanorma/standoc/cleanup_maths.rb +12 -4
  8. data/lib/metanorma/standoc/cleanup_section.rb +19 -9
  9. data/lib/metanorma/standoc/cleanup_symbols.rb +14 -7
  10. data/lib/metanorma/standoc/cleanup_text.rb +10 -4
  11. data/lib/metanorma/standoc/cleanup_toc.rb +1 -2
  12. data/lib/metanorma/standoc/cleanup_xref.rb +55 -14
  13. data/lib/metanorma/standoc/inline.rb +27 -12
  14. data/lib/metanorma/standoc/isodoc.rng +46 -12
  15. data/lib/metanorma/standoc/ref_utility.rb +1 -0
  16. data/lib/metanorma/standoc/render.rb +10 -1
  17. data/lib/metanorma/standoc/section.rb +10 -3
  18. data/lib/metanorma/standoc/utils.rb +6 -1
  19. data/lib/metanorma/standoc/validate.rb +1 -1
  20. data/lib/metanorma/standoc/version.rb +1 -1
  21. data/metanorma-standoc.gemspec +5 -2
  22. metadata +4 -128
  23. data/.github/workflows/automerge.yml +0 -31
  24. data/.github/workflows/rake.yml +0 -15
  25. data/.github/workflows/release.yml +0 -24
  26. data/Rakefile +0 -8
  27. data/bin/rspec +0 -18
  28. data/spec/assets/a1.adoc +0 -8
  29. data/spec/assets/a2.adoc +0 -10
  30. data/spec/assets/a3.adoc +0 -9
  31. data/spec/assets/a3a.adoc +0 -7
  32. data/spec/assets/a4.adoc +0 -4
  33. data/spec/assets/boilerplate.xml +0 -4
  34. data/spec/assets/codes.yml +0 -695
  35. data/spec/assets/correct.png +0 -0
  36. data/spec/assets/corrupt.png +0 -0
  37. data/spec/assets/header.html +0 -7
  38. data/spec/assets/html-override.css +0 -1
  39. data/spec/assets/html.scss +0 -13
  40. data/spec/assets/htmlcover.html +0 -4
  41. data/spec/assets/htmlintro.html +0 -5
  42. data/spec/assets/i18n.yaml +0 -17
  43. data/spec/assets/iso.adoc +0 -10
  44. data/spec/assets/iso.headless.html +0 -33
  45. data/spec/assets/iso.xml +0 -8
  46. data/spec/assets/iso123.rxl +0 -107
  47. data/spec/assets/rice_image1.png +0 -0
  48. data/spec/assets/scripts.html +0 -3
  49. data/spec/assets/std.css +0 -2
  50. data/spec/assets/word-override.css +0 -1
  51. data/spec/assets/word.scss +0 -13
  52. data/spec/assets/wordcover.html +0 -3
  53. data/spec/assets/wordintro.html +0 -4
  54. data/spec/assets/xref_error.adoc +0 -8
  55. data/spec/examples/103_01_02.html +0 -247
  56. data/spec/examples/codes_table.html +0 -3174
  57. data/spec/examples/datamodel/address_class_profile.adoc +0 -5
  58. data/spec/examples/datamodel/address_class_profile.presentation.xml +0 -14
  59. data/spec/examples/datamodel/address_component_profile.adoc +0 -5
  60. data/spec/examples/datamodel/blank_definition_profile.adoc +0 -5
  61. data/spec/examples/datamodel/common_models_diagram.adoc +0 -5
  62. data/spec/examples/datamodel/models/models/AddressClassProfile.yml +0 -90
  63. data/spec/examples/datamodel/models/models/AddressComponentProfile.yml +0 -63
  64. data/spec/examples/datamodel/models/models/AddressComponentSpecification.yml +0 -15
  65. data/spec/examples/datamodel/models/models/AddressProfile.yml +0 -36
  66. data/spec/examples/datamodel/models/models/AttributeProfile.yml +0 -32
  67. data/spec/examples/datamodel/models/models/InterchangeAddressClassProfile.yml +0 -79
  68. data/spec/examples/datamodel/models/models/Localization copy.yml +0 -23
  69. data/spec/examples/datamodel/models/models/Localization.yml +0 -23
  70. data/spec/examples/datamodel/models/models/ProfileCompliantAddress.yml +0 -36
  71. data/spec/examples/datamodel/models/models/ProfileCompliantAddressComponent.yml +0 -15
  72. data/spec/examples/datamodel/models/models/Signature.yml +0 -20
  73. data/spec/examples/datamodel/models/models/SignatureBlankDefinition.yml +0 -20
  74. data/spec/examples/datamodel/models/models/TextDirectionCode copy.yml +0 -16
  75. data/spec/examples/datamodel/models/models/TextDirectionCode.yml +0 -16
  76. data/spec/examples/datamodel/models/models/Validity.yml +0 -14
  77. data/spec/examples/datamodel/models/models/iso19160-1/Address.yml +0 -22
  78. data/spec/examples/datamodel/models/models/iso19160-1/AddressComponent.yml +0 -2
  79. data/spec/examples/datamodel/models/style.uml.inc +0 -37
  80. data/spec/examples/datamodel/models/views/CommonModels.yml +0 -9
  81. data/spec/examples/datamodel/models/views/TopDown.yml +0 -62
  82. data/spec/examples/datamodel/top_down_diagram.adoc +0 -5
  83. data/spec/examples/english.yaml +0 -69
  84. data/spec/examples/iso_123_.xml +0 -46
  85. data/spec/examples/iso_123_all_parts.xml +0 -46
  86. data/spec/examples/iso_123_no_year_note.xml +0 -47
  87. data/spec/examples/iso_124_.xml +0 -42
  88. data/spec/examples/iso_216_.xml +0 -48
  89. data/spec/examples/iso_iec_12382_.xml +0 -49
  90. data/spec/examples/rice.adoc +0 -715
  91. data/spec/examples/rice.preview.html +0 -1877
  92. data/spec/examples/rice.sh +0 -4
  93. data/spec/examples/rice_images/rice_image1.png +0 -0
  94. data/spec/examples/rice_images/rice_image2.png +0 -0
  95. data/spec/examples/rice_images/rice_image3_1.png +0 -0
  96. data/spec/examples/rice_images/rice_image3_2.png +0 -0
  97. data/spec/examples/rice_images/rice_image3_3.png +0 -0
  98. data/spec/fixtures/action_schemaexpg1.svg +0 -122
  99. data/spec/fixtures/datamodel_description_sections_tree.xml +0 -327
  100. data/spec/fixtures/diagram_definitions.lutaml +0 -22
  101. data/spec/fixtures/macros_datamodel/address_class_profile.xml +0 -149
  102. data/spec/fixtures/macros_datamodel/address_component_profile.xml +0 -71
  103. data/spec/fixtures/macros_datamodel/blank_definition_profile.xml +0 -51
  104. data/spec/fixtures/macros_datamodel/common_models_diagram.xml +0 -7
  105. data/spec/fixtures/macros_datamodel/top_down_diagram.xml +0 -7
  106. data/spec/fixtures/test.exp +0 -121
  107. data/spec/fixtures/test.xmi +0 -9250
  108. data/spec/metanorma/base_spec.rb +0 -1125
  109. data/spec/metanorma/biblio_spec.rb +0 -1012
  110. data/spec/metanorma/blank_spec.rb +0 -37
  111. data/spec/metanorma/blocks_spec.rb +0 -1784
  112. data/spec/metanorma/cleanup_blocks_spec.rb +0 -1099
  113. data/spec/metanorma/cleanup_sections_spec.rb +0 -1849
  114. data/spec/metanorma/cleanup_spec.rb +0 -1931
  115. data/spec/metanorma/cleanup_terms_spec.rb +0 -1543
  116. data/spec/metanorma/datamodel/attributes_table_preprocessor_spec.rb +0 -111
  117. data/spec/metanorma/datamodel/diagram_preprocessor_spec.rb +0 -72
  118. data/spec/metanorma/inline_spec.rb +0 -785
  119. data/spec/metanorma/isobib_cache_spec.rb +0 -742
  120. data/spec/metanorma/lists_spec.rb +0 -232
  121. data/spec/metanorma/macros_concept_spec.rb +0 -1052
  122. data/spec/metanorma/macros_json2text_spec.rb +0 -10
  123. data/spec/metanorma/macros_plantuml_spec.rb +0 -402
  124. data/spec/metanorma/macros_spec.rb +0 -1183
  125. data/spec/metanorma/macros_yaml2text_spec.rb +0 -10
  126. data/spec/metanorma/processor_spec.rb +0 -96
  127. data/spec/metanorma/refs_spec.rb +0 -2807
  128. data/spec/metanorma/reqt_spec.rb +0 -130
  129. data/spec/metanorma/section_spec.rb +0 -1325
  130. data/spec/metanorma/table_spec.rb +0 -474
  131. data/spec/metanorma/validate_spec.rb +0 -886
  132. data/spec/spec_helper.rb +0 -290
  133. data/spec/support/shared_examples/structured_data_2_text_preprocessor.rb +0 -781
  134. data/spec/vcr_cassettes/bsi16341.yml +0 -486
  135. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +0 -611
  136. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +0 -149
  137. data/spec/vcr_cassettes/hide_refs.yml +0 -587
  138. data/spec/vcr_cassettes/isobib_get_123.yml +0 -149
  139. data/spec/vcr_cassettes/isobib_get_123_1.yml +0 -295
  140. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +0 -385
  141. data/spec/vcr_cassettes/isobib_get_123_2.yml +0 -295
  142. data/spec/vcr_cassettes/isobib_get_123_2001.yml +0 -149
  143. data/spec/vcr_cassettes/isobib_get_124.yml +0 -149
  144. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +0 -367
  145. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +0 -560
  146. data/spec/vcr_cassettes/std-link.yml +0 -149
@@ -1,5 +0,0 @@
1
- = Document title
2
- Author
3
- :no-pdf:
4
-
5
- [datamodel_attributes_table,models/models/AddressClassProfile.yml]
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <standard-document xmlns="https://www.metanorma.org/ns/standoc" type="presentation" version="2.0.4">
3
- <bibdata type="standard">
4
- <title language="en" format="text/plain">Document title</title>
5
- <language current="true">en</language><script current="true">Latn</script><status><stage language="">published</stage></status><copyright><from>2022</from></copyright><ext><doctype language="">article</doctype></ext></bibdata><localized-strings><localized-string key="scope" language="en">Scope</localized-string><localized-string key="symbolsabbrev" language="en">Symbols and abbreviated terms</localized-string><localized-string key="abbrev" language="en">Abbreviated terms</localized-string><localized-string key="symbols" language="en">Symbols</localized-string><localized-string key="table_of_contents" language="en">Table of contents</localized-string><localized-string key="introduction" language="en">Introduction</localized-string><localized-string key="foreword" language="en">Foreword</localized-string><localized-string key="abstract" language="en">Abstract</localized-string><localized-string key="acknowledgements" language="en">Acknowledgements</localized-string><localized-string key="termsdef" language="en">Terms and definitions</localized-string><localized-string key="termsdefsymbolsabbrev" language="en">Terms, definitions, symbols and abbreviated terms</localized-string><localized-string key="termsdefsymbols" language="en">Terms, definitions and symbols</localized-string><localized-string key="termsdefabbrev" language="en">Terms, definitions and abbreviated terms</localized-string><localized-string key="normref" language="en">Normative references</localized-string><localized-string key="bibliography" language="en">Bibliography</localized-string><localized-string key="preface" language="en">Preface</localized-string><localized-string key="clause" language="en">Clause</localized-string><localized-string key="annex" language="en">Annex</localized-string><localized-string key="appendix" language="en">Appendix</localized-string><localized-string key="no_terms_boilerplate" language="en"><p>No terms and definitions are listed in this document.</p>
6
- </localized-string><localized-string key="internal_terms_boilerplate" language="en"><p>For the purposes of this document,
7
- the following terms and definitions apply.</p>
8
- </localized-string><localized-string key="norm_with_refs_pref" language="en">The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.</localized-string><localized-string key="norm_empty_pref" language="en">There are no normative references in this document.</localized-string><localized-string key="external_terms_boilerplate" language="en"><p>For the purposes of this document,
9
- the terms and definitions given in % apply.</p>
10
- </localized-string><localized-string key="internal_external_terms_boilerplate" language="en"><p>For the purposes of this document, the terms and definitions
11
- given in % and the following apply.</p>
12
- </localized-string><localized-string key="term_defined_in" language="en">[term defined in %]</localized-string><localized-string key="binary_and" language="en">%1 and %2</localized-string><localized-string key="multiple_and" language="en">%1, and %2</localized-string><localized-string key="binary_or" language="en">%1 or %2</localized-string><localized-string key="multiple_or" language="en">%1, or %2</localized-string><localized-string key="chain_and" language="en">%1 and %2</localized-string><localized-string key="chain_or" language="en">%1 or %2</localized-string><localized-string key="chain_from" language="en">%1 from %2</localized-string><localized-string key="chain_to" language="en">%1 to %2</localized-string><localized-string key="note" language="en">NOTE</localized-string><localized-string key="note_xref" language="en">Note</localized-string><localized-string key="termnote" language="en">Note % to entry</localized-string><localized-string key="list" language="en">List</localized-string><localized-string key="deflist" language="en">Definition List</localized-string><localized-string key="figure" language="en">Figure</localized-string><localized-string key="formula" language="en">Formula</localized-string><localized-string key="inequality" language="en">Formula</localized-string><localized-string key="table" language="en">Table</localized-string><localized-string key="requirement" language="en">Requirement</localized-string><localized-string key="recommendation" language="en">Recommendation</localized-string><localized-string key="permission" language="en">Permission</localized-string><localized-string key="key" language="en">Key</localized-string><localized-string key="example" language="en">EXAMPLE</localized-string><localized-string key="example_xref" language="en">Example</localized-string><localized-string key="where" language="en">where</localized-string><localized-string key="wholeoftext" language="en">Whole of text</localized-string><localized-string key="draft_label" language="en">draft</localized-string><localized-string key="inform_annex" language="en">informative</localized-string><localized-string key="norm_annex" language="en">normative</localized-string><localized-string key="modified" language="en">modified</localized-string><localized-string key="deprecated" language="en">DEPRECATED</localized-string><localized-string key="source" language="en">SOURCE</localized-string><localized-string key="and" language="en">and</localized-string><localized-string key="all_parts" language="en">All Parts</localized-string><localized-string key="toc_figures" language="en">List of figures</localized-string><localized-string key="toc_tables" language="en">List of tables</localized-string><localized-string key="toc_recommendations" language="en">List of recommendations</localized-string><localized-string key="month_january" language="en">January</localized-string><localized-string key="month_february" language="en">February</localized-string><localized-string key="month_march" language="en">March</localized-string><localized-string key="month_april" language="en">April</localized-string><localized-string key="month_may" language="en">May</localized-string><localized-string key="month_june" language="en">June</localized-string><localized-string key="month_july" language="en">July</localized-string><localized-string key="month_august" language="en">August</localized-string><localized-string key="month_september" language="en">September</localized-string><localized-string key="month_october" language="en">October</localized-string><localized-string key="month_november" language="en">November</localized-string><localized-string key="month_december" language="en">December</localized-string><localized-string key="obligation" language="en">Obligation</localized-string><localized-string key="subject" language="en">Subject</localized-string><localized-string key="inherits" language="en">Inherits</localized-string><localized-string key="admonition.danger" language="en">Danger</localized-string><localized-string key="admonition.warning" language="en">Warning</localized-string><localized-string key="admonition.caution" language="en">Caution</localized-string><localized-string key="admonition.important" language="en">Important</localized-string><localized-string key="admonition.safety_precautions" language="en">Safety Precautions</localized-string><localized-string key="locality.section" language="en">Section</localized-string><localized-string key="locality.clause" language="en">Clause</localized-string><localized-string key="locality.part" language="en">Part</localized-string><localized-string key="locality.paragraph" language="en">Paragraph</localized-string><localized-string key="locality.chapter" language="en">Chapter</localized-string><localized-string key="locality.page" language="en">Page</localized-string><localized-string key="locality.table" language="en">Table</localized-string><localized-string key="locality.annex" language="en">Annex</localized-string><localized-string key="locality.figure" language="en">Figure</localized-string><localized-string key="locality.example" language="en">Example</localized-string><localized-string key="locality.note" language="en">Note</localized-string><localized-string key="locality.formula" language="en">Formula</localized-string><localized-string key="grammar_abbrevs.masculine" language="en">m</localized-string><localized-string key="grammar_abbrevs.feminine" language="en">f</localized-string><localized-string key="grammar_abbrevs.neuter" language="en">n</localized-string><localized-string key="grammar_abbrevs.common" language="en">common</localized-string><localized-string key="grammar_abbrevs.singular" language="en">sg</localized-string><localized-string key="grammar_abbrevs.dual" language="en">dual</localized-string><localized-string key="grammar_abbrevs.pl" language="en">pl</localized-string><localized-string key="grammar_abbrevs.isPreposition" language="en">prep</localized-string><localized-string key="grammar_abbrevs.isParticiple" language="en">part</localized-string><localized-string key="grammar_abbrevs.isAdjective" language="en">adj</localized-string><localized-string key="grammar_abbrevs.isAdverb" language="en">adv</localized-string><localized-string key="grammar_abbrevs.isNoun" language="en">noun</localized-string><localized-string key="grammar_abbrevs.isVerb" language="en">verb</localized-string><localized-string key="relatedterms.deprecates" language="en">deprecates</localized-string><localized-string key="relatedterms.supersedes" language="en">supersedes</localized-string><localized-string key="relatedterms.narrower" language="en">narrower</localized-string><localized-string key="relatedterms.broader" language="en">broader</localized-string><localized-string key="relatedterms.equivalent" language="en">equivalent</localized-string><localized-string key="relatedterms.compare" language="en">compare</localized-string><localized-string key="relatedterms.contrast" language="en">contrast</localized-string><localized-string key="relatedterms.see" language="en">see</localized-string><localized-string key="Clause.sg" language="en">Clause</localized-string><localized-string key="Clause.pl" language="en">Clauses</localized-string><localized-string key="Annex.sg" language="en">Annex</localized-string><localized-string key="Annex.pl" language="en">Annexes</localized-string><localized-string key="Appendix.sg" language="en">Appendix</localized-string><localized-string key="Appendix.pl" language="en">Appendixes</localized-string><localized-string key="Note.sg" language="en">Note</localized-string><localized-string key="Note.pl" language="en">Notes</localized-string><localized-string key="Note_%_to_entry.sg" language="en">Note % to entry</localized-string><localized-string key="Note_%_to_entry.pl" language="en">Notes % to entry</localized-string><localized-string key="List.sg" language="en">List</localized-string><localized-string key="List.pl" language="en">Lists</localized-string><localized-string key="Figure.sg" language="en">Figure</localized-string><localized-string key="Figure.pl" language="en">Figures</localized-string><localized-string key="Formula.sg" language="en">Formula</localized-string><localized-string key="Formula.pl" language="en">Formulas</localized-string><localized-string key="Table.sg" language="en">Table</localized-string><localized-string key="Table.pl" language="en">Tables</localized-string><localized-string key="Requirement.sg" language="en">Requirement</localized-string><localized-string key="Requirement.pl" language="en">Requirements</localized-string><localized-string key="Recommendation.sg" language="en">Recommendation</localized-string><localized-string key="Recommendation.pl" language="en">Recommendations</localized-string><localized-string key="Permission.sg" language="en">Permission</localized-string><localized-string key="Permission.pl" language="en">Permissions</localized-string><localized-string key="Example.sg" language="en">Example</localized-string><localized-string key="Example.pl" language="en">Examples</localized-string><localized-string key="Part.sg" language="en">Part</localized-string><localized-string key="Part.pl" language="en">Parts</localized-string><localized-string key="Section.sg" language="en">Section</localized-string><localized-string key="Section.pl" language="en">Sections</localized-string><localized-string key="Paragraph.sg" language="en">Paragraph</localized-string><localized-string key="Paragraph.pl" language="en">Paragraphs</localized-string><localized-string key="Chapter.sg" language="en">Chapter</localized-string><localized-string key="Chapter.pl" language="en">Chapters</localized-string><localized-string key="Page.sg" language="en">Page</localized-string><localized-string key="Page.pl" language="en">Pages</localized-string><localized-string key="language" language="en">en</localized-string><localized-string key="script" language="en">Latn</localized-string></localized-strings>
13
- <sections> </sections>
14
- </standard-document>
@@ -1,5 +0,0 @@
1
- = Document title
2
- Author
3
- :no-pdf:
4
-
5
- [datamodel_attributes_table,models/models/AddressComponentProfile.yml]
@@ -1,5 +0,0 @@
1
- = Document title
2
- Author
3
- :no-pdf:
4
-
5
- [datamodel_attributes_table,models/models/SignatureBlankDefinition.yml]
@@ -1,5 +0,0 @@
1
- = Document title
2
- Author
3
- :no-pdf:
4
-
5
- [datamodel_diagram,models/views/CommonModels.yml]
@@ -1,90 +0,0 @@
1
- modelType: class
2
- # TODO
3
- definition: |
4
- An `AddressClassProfile` represents a profile of a `ProfileCompliantAddress`.
5
- It corresponds to the concept of an `AddressClass` originally
6
- expressed in <<ISO19160-1>> as a referenced codelist.
7
-
8
- It represents additional attributes and restrictions to the
9
- `ProfileCompliantAddress` model. It also represents metadata for the use of
10
- the profile.
11
-
12
- A single profile can include and support multiple types of
13
- address formats, such as a numbered street address and a
14
- "`PO Box`" address simultaneously. Each of these address formats
15
- is represented as an interchange address class.
16
-
17
- [example]
18
- --
19
- The US Numbered Thoroughfare Address with this syntax can be
20
- represented as an address class profile:
21
-
22
- *{sp}{ Complete Landmark Name or Complete Place Name } +
23
- *{sp}{ Complete Address Number * } +
24
- *{sp}{ Complete Street Name * } +
25
- *{sp}{ Complete Subaddress } +
26
- *{sp}{ Complete Place Name * } +
27
- *{sp}{ State Name * } +
28
- *{sp}{ Zip Code } +
29
- *{sp}{ Zip Plus 4 } +
30
- *{sp}{ Country Name }
31
- --
32
- attributes:
33
- id:
34
- definition: Unique identifier of this AddressClassProfile.
35
- type: CharacterString
36
- type:
37
- definition: Intended usage of this profile.
38
- type: CharacterString
39
- description:
40
- definition: Textual description of this profile.
41
- type: CharacterString
42
- localization:
43
- definition: The language and script used within this profile.
44
- type: Localization
45
- signature:
46
- definition: The digital signature to verify the integrity of this profile, and the identity of the publishing authority.
47
- type: Signature
48
- cardinality:
49
- min: 0
50
- max: 1
51
- areaApplicability:
52
- definition: The geographic representation of which this AddressClassProfile applies to. Overlapping geographic areas are allowed across different profiles.
53
- type: iso19115MD_SpatialRepresentation
54
- cardinality:
55
- min: 0
56
- max: "*"
57
- timeToLive:
58
- definition: The maximum time interval between refreshing of this profile via an authoritative source, in seconds.
59
- type: Integer
60
- validity:
61
- definition: The period of date and time that this profile should be considered as valid.
62
- type: Validity
63
- relations:
64
- - target: AttributeProfile
65
- relationship:
66
- source:
67
- type: aggregation
68
- attribute:
69
- addressClassProfile:
70
- target:
71
- type: direct
72
- attribute:
73
- attributeProfile:
74
- cardinality:
75
- min: 0
76
- max: '*'
77
-
78
- - target: ProfileCompliantAddress
79
- relationship:
80
- source:
81
- attribute:
82
- profile:
83
- cardinality:
84
- min: 1
85
- max: 1
86
- target:
87
- type: direct
88
- action:
89
- verb: compliesWith
90
- direction: source
@@ -1,63 +0,0 @@
1
- name: AddressComponentProfile
2
- modelType: class
3
- definition: |
4
- An `AddressComponentProfile` represents a profile of a `ProfileCompliantAddressComponent`,
5
- which is extended from the `AddressComponent` model defined in <<ISO19160-1>>.
6
-
7
- It represents additional attributes and restrictions to the `Address` model
8
- of a `ProfileCompliantAddress`. It also represents metadata for the use of
9
- the profile.
10
- attributes:
11
- key:
12
- definition: An identifier of this `AddressComponentProfile`, shall be unique within the `AddressProfile`.
13
- type: CharacterString
14
- description:
15
- definition: Textual description of this component.
16
- type: CharacterString
17
- example:
18
- definition: A textual example to demonstrate the correct use of this component.
19
- type: CharacterString
20
- cardinality:
21
- min: 0
22
- max: 1
23
- relations:
24
- - target: AddressClassProfile
25
- relationship:
26
- target:
27
- type: aggregation
28
- attribute:
29
- componentProfile:
30
- cardinality:
31
- min: 0
32
- max: "*"
33
- association: AddressComponentSpecification
34
- action:
35
- verb: uses
36
- direction: source
37
-
38
- - target: AttributeProfile
39
- relationship:
40
- source:
41
- type: aggregation
42
- attribute:
43
- addressClassProfile:
44
- target:
45
- type: direct
46
- attribute:
47
- attributeProfile:
48
- cardinality:
49
- min: 0
50
- max: '*'
51
-
52
- - target: ProfileCompliantAddressComponent
53
- relationship:
54
- target:
55
- type: direct
56
- attribute:
57
- profile:
58
- cardinality:
59
- min: 1
60
- max: 1
61
- action:
62
- verb: compliesWith
63
- direction: source
@@ -1,15 +0,0 @@
1
- name: AddressComponentSpecification
2
- modelType: class
3
- definition: |
4
- An `AddressComponentSpecification` specifies the cardinalities between a
5
- `ProfileCompliantAddress` and `ProfileCompliantAddressComponents`.
6
-
7
- A `ProfileComplinatAddress` MUST conform to this
8
- `AddressComponentSpecification` to specifies its components.
9
- attributes:
10
- maxCardinality:
11
- definition: The maximum number of instances of the specific `ProfileCompliantAddressComponent` of a `ProfileCompliantAddress`.
12
- type: Integer
13
- minCardinality:
14
- definition: The minimum number of instances of the specific `ProfileCompliantAddressComponent` of a `ProfileCompliantAddress`.
15
- type: Integer
@@ -1,36 +0,0 @@
1
- name: AddressProfile
2
- modelType: class
3
- definition:
4
- attributes:
5
- country:
6
- definition: The country of which this AddressProfile represents.
7
- type: iso3166Code
8
- cardinality:
9
- min: 0
10
- max: "*"
11
- relations:
12
- - target: AddressComponentProfile
13
- relationship:
14
- source:
15
- type: aggregation
16
- attribute:
17
- componentProfile:
18
- cardinality:
19
- min: 0
20
- max: "*"
21
- action:
22
- verb: defines
23
- direction: target
24
-
25
- - target: AddressClassProfile
26
- relationship:
27
- source:
28
- type: aggregation
29
- attribute:
30
- addressProfile:
31
- cardinality:
32
- min: 0
33
- max: "*"
34
- action:
35
- verb: defines
36
- direction: target
@@ -1,32 +0,0 @@
1
- modelType: class
2
- definition: |
3
- An `AttributeProfile` represents name, cardinalities and value type of an
4
- attribute in a model that complies with a profile that includes this
5
- AttributeProfile.
6
-
7
- If it represents an attribute that has been previously defined, e.g. an
8
- attribute in Address model defined in <<ISO19160-1>>, it extends the
9
- definition of the attribute by redefining the name, cardinalities and value
10
- type.
11
- attributes:
12
- name:
13
- definition: The name of the attribute represented by this AttributeProfile.
14
- type: CharacterString
15
- minCardinality:
16
- definition: The minimum number of occurrences of the attribute represented by this AttributeProfile.
17
- type: Integer
18
- cardinality:
19
- min: 0
20
- max: 1
21
- maxCardinality:
22
- definition: The maximum number of occurences of the attribute represented by this AttributeProfile.
23
- type: Integer
24
- cardinality:
25
- min: 0
26
- max: 1
27
- valueType:
28
- definition: The data type of values of the attribute represented by this AttributeProfile.
29
- type: CharacterString
30
- cardinality:
31
- min: 0
32
- max: 1
@@ -1,79 +0,0 @@
1
- name: InterchangeAddressClassProfile
2
- modelType: class
3
- definition: |
4
- This `InterchangeAddressClassProfile` extends from `AddressClassProfile` to
5
- enforce the existence of several subclasses of `AttributeProfile` for
6
- interchange.
7
-
8
- It also introduces `FormTemplate` and `DisplayTemplate` to
9
- to allow the display, entry of, and the interchange of an
10
- `ProfileCompliantAddress` (address
11
- instance complying with an `InterchangeAddressClassProfile`).
12
- --
13
- attributes:
14
- relations:
15
- - target: AddressClassProfile
16
- relationship:
17
- target:
18
- type: inheritance
19
-
20
- - target: AttributeProfileSignature
21
- relationship:
22
- source:
23
- type: aggregation
24
- attribute:
25
- attributeProfile:
26
- target:
27
- type: direct
28
- attribute:
29
- addressClassProfile:
30
-
31
- - target: AttributeProfileAddressFeature
32
- relationship:
33
- source:
34
- type: aggregation
35
- attribute:
36
- attributeProfile:
37
- target:
38
- type: direct
39
- attribute:
40
- addressClassProfile:
41
-
42
- - target: AttributeProfileValidity
43
- relationship:
44
- source:
45
- type: aggregation
46
- attribute:
47
- attributeProfile:
48
- target:
49
- type: direct
50
- attribute:
51
- addressClassProfile:
52
-
53
- - target: FormTemplate
54
- relationship:
55
- source:
56
- type: aggregation
57
- target:
58
- attribute:
59
- formTemplate:
60
- cardinality:
61
- min: 0
62
- max: "*"
63
- action:
64
- verb: defines
65
- direction: target
66
-
67
- - target: DisplayTemplate
68
- relationship:
69
- source:
70
- type: aggregation
71
- target:
72
- attribute:
73
- displayTemplate:
74
- cardinality:
75
- min: 0
76
- max: "*"
77
- action:
78
- verb: defines
79
- direction: target
@@ -1,23 +0,0 @@
1
- name: Localization
2
- modelType: class
3
- definition: |
4
- The language and script used within the parent object.
5
-
6
- Represented by the `PT_Locale` object defined in <<ISO19115-1>> and an
7
- <<ISO15924>> script code.
8
- attributes:
9
- locale:
10
- definition: The locale of the parent object.
11
- type: iso19115PT_Locale
12
- script:
13
- definition: The type of written script used in the parent object.
14
- type: iso15924Code
15
- textDirection:
16
- definition: Indicating in which direction the text of the parent should be read.
17
- type: TextDirectionCode
18
- relations:
19
- - target: Validity
20
- relationship:
21
- target:
22
- type: direct
23
- direction: "[hidden]"
@@ -1,23 +0,0 @@
1
- name: Localization
2
- modelType: class
3
- definition: |
4
- The language and script used within the parent object.
5
-
6
- Represented by the `PT_Locale` object defined in <<ISO19115-1>> and an
7
- <<ISO15924>> script code.
8
- attributes:
9
- locale:
10
- definition: The locale of the parent object.
11
- type: iso19115PT_Locale
12
- script:
13
- definition: The type of written script used in the parent object.
14
- type: iso15924Code
15
- textDirection:
16
- definition: Indicating in which direction the text of the parent should be read.
17
- type: TextDirectionCode
18
- relations:
19
- - target: Validity
20
- relationship:
21
- target:
22
- type: direct
23
- direction: "[hidden]"
@@ -1,36 +0,0 @@
1
- name: ProfileCompliantAddress
2
- modelType: class
3
- definition: |
4
- ProfileCompliantAddress extends from the `Address` model defined in
5
- <<ISO19160-1>> to represent an `Address` complying with an
6
- `AddressClassProfile`.
7
-
8
- A `ProfileCompliantAddress` MUST conform to the constraints and
9
- requirements specified in `AddressClassProfile`, and its associated
10
- profiles and specifications.
11
- relations:
12
- - target: Address
13
- relationship:
14
- target:
15
- type: inheritance
16
-
17
- - target: ProfileCompliantAddressComponent
18
- relationship:
19
- source:
20
- type: aggregation
21
- attributes:
22
- address:
23
- cardinality:
24
- min: 1
25
- max: "*"
26
- target:
27
- type: direct
28
- attributes:
29
- addressComponent:
30
- cardinality:
31
- min: 1
32
- max: "*"
33
- association: AddressComponentSpecification
34
- action:
35
- verb: comprises
36
- direction: target
@@ -1,15 +0,0 @@
1
- name: ProfileCompliantAddressComponent
2
- modelType: class
3
- definition: |
4
- ProfileCompliantAddressComponent extends from the AddressComponent model
5
- defined in <<ISO19160-1>> to represent an Address complying with an
6
- AddressClassProfile.
7
-
8
- A ProfileCompliantAddressComponent MUST conform to the constraints and
9
- requirements specified in AddressComponentProfile, and its associated
10
- profiles and specifications.
11
- relations:
12
- - target: AddressComponent
13
- relationship:
14
- target:
15
- type: inheritance
@@ -1,20 +0,0 @@
1
- name: Signature
2
- modelType: class
3
- definition: |
4
- A cryptographic signature used to determine data integrity and validity of the object it belongs to.
5
- attributes:
6
- algorithm:
7
- definition: The public key cryptographic algorithm used for this digital signature.
8
- type: iso14888Oid
9
- publicKey:
10
- definition: A reference to the actual public key used to verify the digital signature, a URI where the public key of the signer used for this signature is found.
11
- type: Uri
12
- signature:
13
- definition: The actual digital signature value encoded in Base64 format.
14
- type: CharacterString
15
- relations:
16
- - target: Localization
17
- relationship:
18
- target:
19
- type: direct
20
- direction: "[hidden]"
@@ -1,20 +0,0 @@
1
- name: Signature
2
- modelType: class
3
- definition: |
4
- A cryptographic signature used to determine data integrity and validity of the object it belongs to.
5
- attributes:
6
- algorithm:
7
- definition:
8
- type: iso14888Oid
9
- publicKey:
10
- definition:
11
- type: Uri
12
- signature:
13
- definition: The actual digital signature value encoded in Base64 format.
14
- type: CharacterString
15
- relations:
16
- - target: Localization
17
- relationship:
18
- target:
19
- type: direct
20
- direction: "[hidden]"
@@ -1,16 +0,0 @@
1
- name: TextDirectionCode
2
- modelType: enum
3
- definition: |
4
- An enumeration value of TextDirectionCode represents the reading
5
- direction of textual data whether it is from left to right or right to
6
- left, and from top to bottom or bottom to top.
7
- type: enumeration
8
- values:
9
- leftToRightTopToBottom:
10
- definition: Indicating that text should be read left to right, and top to bottom.
11
- rightToLeftTopToBottom:
12
- definition: Indicating that text should be read right to left, and top to bottom.
13
- leftToRightBottomToTop:
14
- definition: Indicating that text should be read left to right, and bottom to top.
15
- rightToLeftBottomToTop:
16
- definition: Indicating that text should be read right to left, and bottom to top.
@@ -1,16 +0,0 @@
1
- name: TextDirectionCode
2
- modelType: enum
3
- definition: |
4
- An enumeration value of TextDirectionCode represents the reading
5
- direction of textual data whether it is from left to right or right to
6
- left, and from top to bottom or bottom to top.
7
- type: enumeration
8
- values:
9
- leftToRightTopToBottom:
10
- definition: Indicating that text should be read left to right, and top to bottom.
11
- rightToLeftTopToBottom:
12
- definition: Indicating that text should be read right to left, and top to bottom.
13
- leftToRightBottomToTop:
14
- definition: Indicating that text should be read left to right, and bottom to top.
15
- rightToLeftBottomToTop:
16
- definition: Indicating that text should be read right to left, and bottom to top.
@@ -1,14 +0,0 @@
1
- name: Validity
2
- modelType: class
3
- definition: |
4
- The time interval where this interchange address profile is determined valid, and the revision number (represented as a date).
5
- attributes:
6
- validityBegins:
7
- definition: The date and time when this object becomes valid.
8
- type: iso19115CI_Date
9
- validityEnds:
10
- definition: The date and time when this object becomes invalid.
11
- type: iso19115CI_Date
12
- revision:
13
- definition: Issuance date/time of this object.
14
- type: iso19115CI_Date
@@ -1,22 +0,0 @@
1
- name: Address
2
- modelType: class
3
- relations:
4
- - target: AddressComponent
5
- relationship:
6
- source:
7
- type: aggregation
8
- attributes:
9
- address:
10
- cardinality:
11
- min: 1
12
- max: "*"
13
- target:
14
- type: direct
15
- attributes:
16
- addressComponent:
17
- cardinality:
18
- min: 1
19
- max: "*"
20
- action:
21
- verb: comprises
22
- direction: target
@@ -1,2 +0,0 @@
1
- name: AddressComponent
2
- modelType: class
@@ -1,37 +0,0 @@
1
- skinparam Dpi 150
2
- skinparam Monochrome false
3
- hide circle
4
- /' skinparam CircledCharacterRadius 0 '/
5
- /' skinparam CircledCharacterFontSize 0 '/
6
- skinparam Default {
7
- TextAlignment center
8
- FontName Helvetica
9
- }
10
- skinparam Class {
11
- AttributeIconSize 0
12
- BackgroundColor White
13
- ArrowColor Black
14
- BorderColor Black
15
- FontStyle bold
16
- StereotypeFontSize 10
17
- }
18
- skinparam Rectangle {
19
- BackgroundColor White
20
- ArrowColor Black
21
- BorderColor Black
22
- FontStyle bold
23
- FontSize 11
24
- StereotypeFontSize 10
25
- }
26
- skinparam Object {
27
- BackgroundColor White
28
- ArrowColor Black
29
- BorderColor Black
30
- FontStyle bold
31
- FontSize 11
32
- StereotypeFontSize 10
33
- }
34
-
35
- skinparam Entity {
36
- StereotypeFontSize 10
37
- }
@@ -1,9 +0,0 @@
1
- name: CommonModels
2
- title: Common models
3
- caption: Common models to be used in this standard
4
- directive: ix-common
5
- imports:
6
- Localization:
7
- Validity:
8
- Signature:
9
- TextDirectionCode: