metaschema 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/README.adoc +128 -0
  3. data/Rakefile +12 -0
  4. data/exe/metaschema +7 -0
  5. data/lib/metaschema/allowed_value_type.rb +48 -0
  6. data/lib/metaschema/allowed_values_type.rb +35 -0
  7. data/lib/metaschema/anchor_type.rb +40 -0
  8. data/lib/metaschema/any_type.rb +10 -0
  9. data/lib/metaschema/assembly.rb +42 -0
  10. data/lib/metaschema/assembly_model_type.rb +34 -0
  11. data/lib/metaschema/assembly_reference_type.rb +40 -0
  12. data/lib/metaschema/block_quote_type.rb +47 -0
  13. data/lib/metaschema/choice_type.rb +25 -0
  14. data/lib/metaschema/code_type.rb +45 -0
  15. data/lib/metaschema/constraint_let_type.rb +20 -0
  16. data/lib/metaschema/define_assembly_constraints_type.rb +40 -0
  17. data/lib/metaschema/define_field_constraints_type.rb +31 -0
  18. data/lib/metaschema/define_flag_constraints_type.rb +31 -0
  19. data/lib/metaschema/example_type.rb +23 -0
  20. data/lib/metaschema/expect_constraint_type.rb +32 -0
  21. data/lib/metaschema/field.rb +33 -0
  22. data/lib/metaschema/field_reference_type.rb +44 -0
  23. data/lib/metaschema/flag.rb +33 -0
  24. data/lib/metaschema/flag_reference_type.rb +37 -0
  25. data/lib/metaschema/global_assembly_definition_type.rb +56 -0
  26. data/lib/metaschema/global_field_definition_type.rb +59 -0
  27. data/lib/metaschema/global_flag_definition_type.rb +45 -0
  28. data/lib/metaschema/group_as_type.rb +18 -0
  29. data/lib/metaschema/grouped_assembly_reference_type.rb +33 -0
  30. data/lib/metaschema/grouped_choice_type.rb +37 -0
  31. data/lib/metaschema/grouped_field_reference_type.rb +33 -0
  32. data/lib/metaschema/grouped_inline_assembly_definition_type.rb +50 -0
  33. data/lib/metaschema/grouped_inline_field_definition_type.rb +58 -0
  34. data/lib/metaschema/image_type.rb +18 -0
  35. data/lib/metaschema/import.rb +14 -0
  36. data/lib/metaschema/index_has_key_constraint_type.rb +33 -0
  37. data/lib/metaschema/inline_assembly_definition_type.rb +62 -0
  38. data/lib/metaschema/inline_field_definition_type.rb +65 -0
  39. data/lib/metaschema/inline_flag_definition_type.rb +42 -0
  40. data/lib/metaschema/inline_markup_type.rb +49 -0
  41. data/lib/metaschema/insert_type.rb +16 -0
  42. data/lib/metaschema/json_key_type.rb +14 -0
  43. data/lib/metaschema/json_value_key_flag_type.rb +14 -0
  44. data/lib/metaschema/key_field.rb +20 -0
  45. data/lib/metaschema/list_item_type.rb +75 -0
  46. data/lib/metaschema/list_type.rb +16 -0
  47. data/lib/metaschema/markup_line_datatype.rb +44 -0
  48. data/lib/metaschema/matches_constraint_type.rb +32 -0
  49. data/lib/metaschema/metaschema_import_type.rb +14 -0
  50. data/lib/metaschema/metaschemaconstraints.rb +29 -0
  51. data/lib/metaschema/namespace_binding_type.rb +16 -0
  52. data/lib/metaschema/ordered_list_type.rb +20 -0
  53. data/lib/metaschema/preformatted_type.rb +44 -0
  54. data/lib/metaschema/property_type.rb +18 -0
  55. data/lib/metaschema/remarks_type.rb +50 -0
  56. data/lib/metaschema/root.rb +47 -0
  57. data/lib/metaschema/root_name.rb +16 -0
  58. data/lib/metaschema/scope.rb +26 -0
  59. data/lib/metaschema/table_cell_type.rb +46 -0
  60. data/lib/metaschema/table_row_type.rb +18 -0
  61. data/lib/metaschema/table_type.rb +16 -0
  62. data/lib/metaschema/targeted_allowed_values_constraint_type.rb +37 -0
  63. data/lib/metaschema/targeted_expect_constraint_type.rb +34 -0
  64. data/lib/metaschema/targeted_has_cardinality_constraint_type.rb +34 -0
  65. data/lib/metaschema/targeted_index_constraint_type.rb +35 -0
  66. data/lib/metaschema/targeted_index_has_key_constraint_type.rb +35 -0
  67. data/lib/metaschema/targeted_key_constraint_type.rb +33 -0
  68. data/lib/metaschema/targeted_matches_constraint_type.rb +34 -0
  69. data/lib/metaschema/use_name_type.rb +16 -0
  70. data/lib/metaschema/version.rb +5 -0
  71. data/lib/metaschema.rb +20 -0
  72. data/sig/metaschema.rbs +4 -0
  73. metadata +243 -0
metadata ADDED
@@ -0,0 +1,243 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: metaschema
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ribose Inc.
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-10-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: lutaml-model
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: tabulo
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: nokogiri
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-performance
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: xml-c14n
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: Parser and generator for NIST Metaschema
140
+ email:
141
+ - open.source@ribose.com'
142
+ executables:
143
+ - metaschema
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - README.adoc
148
+ - Rakefile
149
+ - exe/metaschema
150
+ - lib/metaschema.rb
151
+ - lib/metaschema/allowed_value_type.rb
152
+ - lib/metaschema/allowed_values_type.rb
153
+ - lib/metaschema/anchor_type.rb
154
+ - lib/metaschema/any_type.rb
155
+ - lib/metaschema/assembly.rb
156
+ - lib/metaschema/assembly_model_type.rb
157
+ - lib/metaschema/assembly_reference_type.rb
158
+ - lib/metaschema/block_quote_type.rb
159
+ - lib/metaschema/choice_type.rb
160
+ - lib/metaschema/code_type.rb
161
+ - lib/metaschema/constraint_let_type.rb
162
+ - lib/metaschema/define_assembly_constraints_type.rb
163
+ - lib/metaschema/define_field_constraints_type.rb
164
+ - lib/metaschema/define_flag_constraints_type.rb
165
+ - lib/metaschema/example_type.rb
166
+ - lib/metaschema/expect_constraint_type.rb
167
+ - lib/metaschema/field.rb
168
+ - lib/metaschema/field_reference_type.rb
169
+ - lib/metaschema/flag.rb
170
+ - lib/metaschema/flag_reference_type.rb
171
+ - lib/metaschema/global_assembly_definition_type.rb
172
+ - lib/metaschema/global_field_definition_type.rb
173
+ - lib/metaschema/global_flag_definition_type.rb
174
+ - lib/metaschema/group_as_type.rb
175
+ - lib/metaschema/grouped_assembly_reference_type.rb
176
+ - lib/metaschema/grouped_choice_type.rb
177
+ - lib/metaschema/grouped_field_reference_type.rb
178
+ - lib/metaschema/grouped_inline_assembly_definition_type.rb
179
+ - lib/metaschema/grouped_inline_field_definition_type.rb
180
+ - lib/metaschema/image_type.rb
181
+ - lib/metaschema/import.rb
182
+ - lib/metaschema/index_has_key_constraint_type.rb
183
+ - lib/metaschema/inline_assembly_definition_type.rb
184
+ - lib/metaschema/inline_field_definition_type.rb
185
+ - lib/metaschema/inline_flag_definition_type.rb
186
+ - lib/metaschema/inline_markup_type.rb
187
+ - lib/metaschema/insert_type.rb
188
+ - lib/metaschema/json_key_type.rb
189
+ - lib/metaschema/json_value_key_flag_type.rb
190
+ - lib/metaschema/key_field.rb
191
+ - lib/metaschema/list_item_type.rb
192
+ - lib/metaschema/list_type.rb
193
+ - lib/metaschema/markup_line_datatype.rb
194
+ - lib/metaschema/matches_constraint_type.rb
195
+ - lib/metaschema/metaschema_import_type.rb
196
+ - lib/metaschema/metaschemaconstraints.rb
197
+ - lib/metaschema/namespace_binding_type.rb
198
+ - lib/metaschema/ordered_list_type.rb
199
+ - lib/metaschema/preformatted_type.rb
200
+ - lib/metaschema/property_type.rb
201
+ - lib/metaschema/remarks_type.rb
202
+ - lib/metaschema/root.rb
203
+ - lib/metaschema/root_name.rb
204
+ - lib/metaschema/scope.rb
205
+ - lib/metaschema/table_cell_type.rb
206
+ - lib/metaschema/table_row_type.rb
207
+ - lib/metaschema/table_type.rb
208
+ - lib/metaschema/targeted_allowed_values_constraint_type.rb
209
+ - lib/metaschema/targeted_expect_constraint_type.rb
210
+ - lib/metaschema/targeted_has_cardinality_constraint_type.rb
211
+ - lib/metaschema/targeted_index_constraint_type.rb
212
+ - lib/metaschema/targeted_index_has_key_constraint_type.rb
213
+ - lib/metaschema/targeted_key_constraint_type.rb
214
+ - lib/metaschema/targeted_matches_constraint_type.rb
215
+ - lib/metaschema/use_name_type.rb
216
+ - lib/metaschema/version.rb
217
+ - sig/metaschema.rbs
218
+ homepage: https://github.com/lutaml/metaschema
219
+ licenses: []
220
+ metadata:
221
+ homepage_uri: https://github.com/lutaml/metaschema
222
+ source_code_uri: https://github.com/lutaml/metaschema
223
+ changelog_uri: https://github.com/lutaml/metaschema/releases
224
+ post_install_message:
225
+ rdoc_options: []
226
+ require_paths:
227
+ - lib
228
+ required_ruby_version: !ruby/object:Gem::Requirement
229
+ requirements:
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ version: 2.7.0
233
+ required_rubygems_version: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ requirements: []
239
+ rubygems_version: 3.5.11
240
+ signing_key:
241
+ specification_version: 4
242
+ summary: Parser and generator for NIST Metaschema
243
+ test_files: []