xsd 2.9.3 → 2.9.4

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.
@@ -0,0 +1,231 @@
1
+ # Generated by `rake rbs:members` — do not edit. The readers BaseObject's `property`, `child` and `link`
2
+ # define for each class: a property is its value (nil when absent and without a default), a child or a link
3
+ # the object or objects it names.
4
+ module XSD
5
+ class All
6
+ def min_occurs: () -> Integer
7
+ def max_occurs: () -> (Integer | :unbounded)
8
+ def elements: () -> Array[Element]
9
+ end
10
+
11
+ class Annotation
12
+ def appinfos: () -> Array[Appinfo]
13
+ def documentations: () -> Array[Documentation]
14
+ end
15
+
16
+ class Any
17
+ def min_occurs: () -> Integer
18
+ def max_occurs: () -> (Integer | :unbounded)
19
+ def namespace: () -> String
20
+ def process_contents: () -> String
21
+ end
22
+
23
+ class AnyAttribute
24
+ def namespace: () -> String
25
+ def process_contents: () -> String
26
+ end
27
+
28
+ class Appinfo
29
+ def source: () -> String?
30
+ end
31
+
32
+ class Attribute
33
+ def ref: () -> String?
34
+ def name: () -> String?
35
+ def default: () -> String?
36
+ def fixed: () -> String?
37
+ def form: () -> String
38
+ def type: () -> String?
39
+ def use: () -> String
40
+ def simple_type: () -> SimpleType?
41
+ def reference: () -> Attribute?
42
+ end
43
+
44
+ class AttributeGroup
45
+ def ref: () -> String?
46
+ def name: () -> String?
47
+ def attributes: () -> Array[Attribute]
48
+ def attribute_groups: () -> Array[AttributeGroup]
49
+ def reference: () -> AttributeGroup?
50
+ end
51
+
52
+ class Choice
53
+ def min_occurs: () -> Integer
54
+ def max_occurs: () -> (Integer | :unbounded)
55
+ def elements: () -> Array[Element]
56
+ def groups: () -> Array[Group]
57
+ def choices: () -> Array[Choice]
58
+ def sequences: () -> Array[Sequence]
59
+ def anys: () -> Array[Any]
60
+ end
61
+
62
+ class ComplexContent
63
+ def mixed: () -> bool
64
+ def extension: () -> Extension?
65
+ def restriction: () -> Restriction?
66
+ end
67
+
68
+ class ComplexType
69
+ def name: () -> String?
70
+ def abstract: () -> bool
71
+ def mixed: () -> bool
72
+ def block: () -> String?
73
+ def final: () -> String?
74
+ def attributes: () -> Array[Attribute]
75
+ def attribute_groups: () -> Array[AttributeGroup]
76
+ def simple_content: () -> SimpleContent?
77
+ def complex_content: () -> ComplexContent?
78
+ def group: () -> Group?
79
+ def all: () -> All?
80
+ def choice: () -> Choice?
81
+ def sequence: () -> Sequence?
82
+ end
83
+
84
+ class Documentation
85
+ def source: () -> String?
86
+ def xml_lang: () -> String?
87
+ end
88
+
89
+ class Element
90
+ def min_occurs: () -> Integer
91
+ def max_occurs: () -> (Integer | :unbounded)
92
+ def ref: () -> String?
93
+ def name: () -> String?
94
+ def type: () -> String?
95
+ def substitution_group: () -> String?
96
+ def default: () -> String?
97
+ def fixed: () -> String?
98
+ def form: () -> String
99
+ def nillable: () -> bool
100
+ def abstract: () -> bool
101
+ def block: () -> String?
102
+ def final: () -> String?
103
+ def simple_type: () -> SimpleType?
104
+ def complex_type: () -> ComplexType?
105
+ def unique: () -> Array[Unique]
106
+ def reference: () -> Element?
107
+ end
108
+
109
+ class Extension
110
+ def base: () -> String
111
+ def attributes: () -> Array[Attribute]
112
+ def attribute_groups: () -> Array[AttributeGroup]
113
+ def group: () -> Group?
114
+ def all: () -> All?
115
+ def choice: () -> Choice?
116
+ def sequence: () -> Sequence?
117
+ def base_complex_type: () -> ComplexType?
118
+ def base_simple_type: () -> SimpleType?
119
+ end
120
+
121
+ class Facet
122
+ def value: () -> String?
123
+ end
124
+
125
+ class Field
126
+ def xpath: () -> String
127
+ end
128
+
129
+ class Group
130
+ def min_occurs: () -> Integer
131
+ def max_occurs: () -> (Integer | :unbounded)
132
+ def ref: () -> String?
133
+ def name: () -> String?
134
+ def all: () -> All?
135
+ def choice: () -> Choice?
136
+ def sequence: () -> Sequence?
137
+ def reference: () -> Group?
138
+ end
139
+
140
+ class Import
141
+ def namespace: () -> String?
142
+ def schema_location: () -> String?
143
+ end
144
+
145
+ class Include
146
+ def schema_location: () -> String?
147
+ end
148
+
149
+ class Key
150
+ def name: () -> String
151
+ def selector: () -> Selector?
152
+ def fields: () -> Array[Field]
153
+ end
154
+
155
+ class Keyref
156
+ def name: () -> String
157
+ def refer: () -> String
158
+ def selector: () -> Selector?
159
+ def fields: () -> Array[Field]
160
+ end
161
+
162
+ class List
163
+ def item_type: () -> String?
164
+ def simple_type: () -> SimpleType?
165
+ end
166
+
167
+ class Restriction
168
+ def base: () -> String
169
+ def simple_type: () -> SimpleType?
170
+ def attributes: () -> Array[Attribute]
171
+ def attribute_groups: () -> Array[AttributeGroup]
172
+ def group: () -> Group?
173
+ def all: () -> All?
174
+ def choice: () -> Choice?
175
+ def sequence: () -> Sequence?
176
+ def base_complex_type: () -> ComplexType?
177
+ def base_simple_type: () -> SimpleType?
178
+ end
179
+
180
+ class Schema
181
+ def attribute_form_default: () -> String
182
+ def element_form_default: () -> String
183
+ def block_default: () -> String?
184
+ def final_default: () -> String?
185
+ def version: () -> String?
186
+ def xmlns: () -> String?
187
+ def attributes: () -> Array[Attribute]
188
+ def attribute_groups: () -> Array[AttributeGroup]
189
+ def elements: () -> Array[Element]
190
+ def complex_types: () -> Array[ComplexType]
191
+ def simple_types: () -> Array[SimpleType]
192
+ def groups: () -> Array[Group]
193
+ def imports: () -> Array[Import]
194
+ def includes: () -> Array[Include]
195
+ end
196
+
197
+ class Selector
198
+ def xpath: () -> String
199
+ end
200
+
201
+ class Sequence
202
+ def min_occurs: () -> Integer
203
+ def max_occurs: () -> (Integer | :unbounded)
204
+ def elements: () -> Array[Element]
205
+ def groups: () -> Array[Group]
206
+ def choices: () -> Array[Choice]
207
+ def sequences: () -> Array[Sequence]
208
+ def anys: () -> Array[Any]
209
+ end
210
+
211
+ class SimpleContent
212
+ def extension: () -> Extension?
213
+ def restriction: () -> Restriction?
214
+ end
215
+
216
+ class SimpleType
217
+ def name: () -> String?
218
+ def restriction: () -> Restriction?
219
+ def union: () -> Union?
220
+ def list: () -> List?
221
+ end
222
+
223
+ class Union
224
+ def member_types: () -> Array[untyped]
225
+ end
226
+
227
+ class Unique
228
+ def selector: () -> Selector?
229
+ def fields: () -> Array[Field]
230
+ end
231
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.3
4
+ version: 2.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.arkhipov
@@ -64,6 +64,7 @@ files:
64
64
  - CHANGELOG.md
65
65
  - CODE_OF_CONDUCT.md
66
66
  - Gemfile
67
+ - Gemfile.lock
67
68
  - LICENSE
68
69
  - Makefile
69
70
  - README.md
@@ -111,6 +112,8 @@ files:
111
112
  - lib/xsd/shared/simple_typed.rb
112
113
  - lib/xsd/version.rb
113
114
  - lib/xsd/xml.rb
115
+ - sig/xsd.rbs
116
+ - sig/xsd_members.rbs
114
117
  - xsd.gemspec
115
118
  homepage: https://github.com/ekzo-dev/ruby-xsd
116
119
  licenses: