metaschema 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Metaschema
4
4
  class PreformattedType < Lutaml::Model::Serializable
5
- attribute :content, :string
5
+ attribute :content, :string, collection: true
6
6
  attribute :a, AnchorType, collection: true
7
7
  attribute :insert, InsertType, collection: true
8
8
  attribute :br, :string, collection: true
@@ -15,6 +15,7 @@ module Metaschema
15
15
  attribute :define_assembly, GlobalAssemblyDefinitionType, collection: true
16
16
  attribute :define_field, GlobalFieldDefinitionType, collection: true
17
17
  attribute :define_flag, GlobalFlagDefinitionType, collection: true
18
+ attribute :augment, AugmentType, collection: true
18
19
 
19
20
  xml do
20
21
  element "METASCHEMA"
@@ -34,6 +35,7 @@ module Metaschema
34
35
  map_element "define-assembly", to: :define_assembly
35
36
  map_element "define-field", to: :define_field
36
37
  map_element "define-flag", to: :define_flag
38
+ map_element "augment", to: :augment
37
39
  end
38
40
  end
39
41
  end