metanorma-plugin-lutaml 0.7.14 → 0.7.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd66711f9da2a1623acfdb2b6b24d2cea272b6d318cf17dbbdc0167cf69738c2
4
- data.tar.gz: 5bd65ea93f25f27e57902389acc574ceb62105ab68a24ab4a44de22e88a9081d
3
+ metadata.gz: '084aa029d93896c415377c7d2cf97cbc449c4105e838496cc8d598ecf3aa9a5f'
4
+ data.tar.gz: 50347ca8bb82cb0cf10a3c07eb2df5386180395948b06dd7a266bcd50565bb93
5
5
  SHA512:
6
- metadata.gz: bc2223f766f4edf63c2cbf69a487306f2575d5448960a56a92f53a5b4fdf712d4c8246ca7bfc48d26b72bec4d054c3266c6eb504f181261490a3cc67770a9c6a
7
- data.tar.gz: 681b2571df350dd559241c0047b0a618a083bfc9d52f9b3dc8adf5dc67925b0ab07b9fdf21aa789ae895325edc14adadae2c83c384ad036f2674864e4315b2aa
6
+ metadata.gz: 5298953ac429e585eab80983840e541f83be422e7ffec84c8c4dd398aba5a3e0534146e775088e9dcf6659ef3747718953a95d25b37b3b76ae50ad2ea971057f
7
+ data.tar.gz: 6533e3763431b164961944be151092bec140137d244b8fad2664d59aec2854d8bc955bb733c1a439eddb3450aa239aff9d5bfdfa02814b34f15ce920a304dd35
data/README.adoc CHANGED
@@ -907,8 +907,36 @@ packages:
907
907
  guidance: "path/to/guidance.yaml"
908
908
  -----
909
909
 
910
- Please refer to `lutaml_klass_table` section for how to configure the guidance
911
- yaml file.
910
+ The guidance file should be in the following format:
911
+
912
+ [source,yaml]
913
+ ----
914
+ ---
915
+ classes:
916
+ - name: "NameOfClass"
917
+ attributes:
918
+ - name: Name Of Attribute (e.g. gml:boundedBy)
919
+ used: false
920
+ guidance: |
921
+ Drop guidance message here.
922
+ ...
923
+ ----
924
+
925
+ If you want to define the guidance, you can define the `name` of the class
926
+ under `classes`. Then define which `attributes` you want to add guidance by the
927
+ `name`. Set `used` to show the attribute is used or not. Drop the message of
928
+ guidance in `guidance`.
929
+
930
+ The `name` of class can be defined in the following ways:
931
+
932
+ * `name: "NameOfClass"` specifies the name of the `class`.
933
+ (e.g. `name: "Building"`)
934
+ If there are multiple classes with the same name, it is recommended to
935
+ specify the class by absolute path.
936
+
937
+ * `name: "::NameOfPackage::NameOfClass"` specifies the name of the `class` in
938
+ `absolute` path.
939
+ (e.g. `name: "::EA_Model::Conceptual Models::CityGML2.0::bldg::Building"`)
912
940
 
913
941
  == Documentation
914
942
 
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Lutaml
4
- VERSION = "0.7.14".freeze
4
+ VERSION = "0.7.15".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-plugin-lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.14
4
+ version: 0.7.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-14 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor