jsi-dev 0.0.0.pre.commonmarker
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +8 -0
- data/CHANGELOG.md +101 -0
- data/LICENSE.md +613 -0
- data/README.md +303 -0
- data/docs/glossary.md +281 -0
- data/jsi.gemspec +30 -0
- data/lib/jsi/base/node.rb +373 -0
- data/lib/jsi/base.rb +738 -0
- data/lib/jsi/jsi_coder.rb +92 -0
- data/lib/jsi/metaschema.rb +6 -0
- data/lib/jsi/metaschema_node/bootstrap_schema.rb +126 -0
- data/lib/jsi/metaschema_node.rb +262 -0
- data/lib/jsi/ptr.rb +314 -0
- data/lib/jsi/schema/application/child_application/contains.rb +25 -0
- data/lib/jsi/schema/application/child_application/draft04.rb +21 -0
- data/lib/jsi/schema/application/child_application/draft06.rb +28 -0
- data/lib/jsi/schema/application/child_application/draft07.rb +28 -0
- data/lib/jsi/schema/application/child_application/items.rb +18 -0
- data/lib/jsi/schema/application/child_application/properties.rb +25 -0
- data/lib/jsi/schema/application/child_application.rb +13 -0
- data/lib/jsi/schema/application/draft04.rb +8 -0
- data/lib/jsi/schema/application/draft06.rb +8 -0
- data/lib/jsi/schema/application/draft07.rb +8 -0
- data/lib/jsi/schema/application/inplace_application/dependencies.rb +28 -0
- data/lib/jsi/schema/application/inplace_application/draft04.rb +25 -0
- data/lib/jsi/schema/application/inplace_application/draft06.rb +26 -0
- data/lib/jsi/schema/application/inplace_application/draft07.rb +32 -0
- data/lib/jsi/schema/application/inplace_application/ifthenelse.rb +20 -0
- data/lib/jsi/schema/application/inplace_application/ref.rb +18 -0
- data/lib/jsi/schema/application/inplace_application/someof.rb +44 -0
- data/lib/jsi/schema/application/inplace_application.rb +14 -0
- data/lib/jsi/schema/application.rb +12 -0
- data/lib/jsi/schema/draft04.rb +13 -0
- data/lib/jsi/schema/draft06.rb +13 -0
- data/lib/jsi/schema/draft07.rb +13 -0
- data/lib/jsi/schema/issue.rb +36 -0
- data/lib/jsi/schema/ref.rb +183 -0
- data/lib/jsi/schema/schema_ancestor_node.rb +122 -0
- data/lib/jsi/schema/validation/array.rb +69 -0
- data/lib/jsi/schema/validation/const.rb +20 -0
- data/lib/jsi/schema/validation/contains.rb +25 -0
- data/lib/jsi/schema/validation/dependencies.rb +49 -0
- data/lib/jsi/schema/validation/draft04/minmax.rb +91 -0
- data/lib/jsi/schema/validation/draft04.rb +110 -0
- data/lib/jsi/schema/validation/draft06.rb +120 -0
- data/lib/jsi/schema/validation/draft07.rb +157 -0
- data/lib/jsi/schema/validation/enum.rb +25 -0
- data/lib/jsi/schema/validation/ifthenelse.rb +46 -0
- data/lib/jsi/schema/validation/items.rb +54 -0
- data/lib/jsi/schema/validation/not.rb +20 -0
- data/lib/jsi/schema/validation/numeric.rb +121 -0
- data/lib/jsi/schema/validation/object.rb +45 -0
- data/lib/jsi/schema/validation/pattern.rb +34 -0
- data/lib/jsi/schema/validation/properties.rb +101 -0
- data/lib/jsi/schema/validation/property_names.rb +32 -0
- data/lib/jsi/schema/validation/ref.rb +40 -0
- data/lib/jsi/schema/validation/required.rb +27 -0
- data/lib/jsi/schema/validation/someof.rb +90 -0
- data/lib/jsi/schema/validation/string.rb +47 -0
- data/lib/jsi/schema/validation/type.rb +49 -0
- data/lib/jsi/schema/validation.rb +49 -0
- data/lib/jsi/schema.rb +792 -0
- data/lib/jsi/schema_classes.rb +357 -0
- data/lib/jsi/schema_registry.rb +190 -0
- data/lib/jsi/schema_set.rb +219 -0
- data/lib/jsi/simple_wrap.rb +26 -0
- data/lib/jsi/util/private/attr_struct.rb +130 -0
- data/lib/jsi/util/private/memo_map.rb +75 -0
- data/lib/jsi/util/private.rb +202 -0
- data/lib/jsi/util/typelike.rb +225 -0
- data/lib/jsi/util.rb +227 -0
- data/lib/jsi/validation/error.rb +34 -0
- data/lib/jsi/validation/result.rb +212 -0
- data/lib/jsi/validation.rb +15 -0
- data/lib/jsi/version.rb +5 -0
- data/lib/jsi.rb +105 -0
- data/lib/schemas/json-schema.org/draft-04/schema.rb +169 -0
- data/lib/schemas/json-schema.org/draft-06/schema.rb +171 -0
- data/lib/schemas/json-schema.org/draft-07/schema.rb +198 -0
- data/readme.rb +138 -0
- data/{resources}/schemas/json-schema.org/draft-04/schema.json +149 -0
- data/{resources}/schemas/json-schema.org/draft-06/schema.json +154 -0
- data/{resources}/schemas/json-schema.org/draft-07/schema.json +168 -0
- metadata +155 -0
metadata
ADDED
@@ -0,0 +1,155 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jsi-dev
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0.pre.commonmarker
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ethan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-11-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: addressable
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: maruku
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: JSI offers an Object-Oriented representation for JSON data using JSON
|
42
|
+
Schemas
|
43
|
+
email:
|
44
|
+
- ethan.jsi@unth.net
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- ".yardopts"
|
50
|
+
- CHANGELOG.md
|
51
|
+
- LICENSE.md
|
52
|
+
- README.md
|
53
|
+
- docs/glossary.md
|
54
|
+
- jsi.gemspec
|
55
|
+
- lib/jsi.rb
|
56
|
+
- lib/jsi/base.rb
|
57
|
+
- lib/jsi/base/node.rb
|
58
|
+
- lib/jsi/jsi_coder.rb
|
59
|
+
- lib/jsi/metaschema.rb
|
60
|
+
- lib/jsi/metaschema_node.rb
|
61
|
+
- lib/jsi/metaschema_node/bootstrap_schema.rb
|
62
|
+
- lib/jsi/ptr.rb
|
63
|
+
- lib/jsi/schema.rb
|
64
|
+
- lib/jsi/schema/application.rb
|
65
|
+
- lib/jsi/schema/application/child_application.rb
|
66
|
+
- lib/jsi/schema/application/child_application/contains.rb
|
67
|
+
- lib/jsi/schema/application/child_application/draft04.rb
|
68
|
+
- lib/jsi/schema/application/child_application/draft06.rb
|
69
|
+
- lib/jsi/schema/application/child_application/draft07.rb
|
70
|
+
- lib/jsi/schema/application/child_application/items.rb
|
71
|
+
- lib/jsi/schema/application/child_application/properties.rb
|
72
|
+
- lib/jsi/schema/application/draft04.rb
|
73
|
+
- lib/jsi/schema/application/draft06.rb
|
74
|
+
- lib/jsi/schema/application/draft07.rb
|
75
|
+
- lib/jsi/schema/application/inplace_application.rb
|
76
|
+
- lib/jsi/schema/application/inplace_application/dependencies.rb
|
77
|
+
- lib/jsi/schema/application/inplace_application/draft04.rb
|
78
|
+
- lib/jsi/schema/application/inplace_application/draft06.rb
|
79
|
+
- lib/jsi/schema/application/inplace_application/draft07.rb
|
80
|
+
- lib/jsi/schema/application/inplace_application/ifthenelse.rb
|
81
|
+
- lib/jsi/schema/application/inplace_application/ref.rb
|
82
|
+
- lib/jsi/schema/application/inplace_application/someof.rb
|
83
|
+
- lib/jsi/schema/draft04.rb
|
84
|
+
- lib/jsi/schema/draft06.rb
|
85
|
+
- lib/jsi/schema/draft07.rb
|
86
|
+
- lib/jsi/schema/issue.rb
|
87
|
+
- lib/jsi/schema/ref.rb
|
88
|
+
- lib/jsi/schema/schema_ancestor_node.rb
|
89
|
+
- lib/jsi/schema/validation.rb
|
90
|
+
- lib/jsi/schema/validation/array.rb
|
91
|
+
- lib/jsi/schema/validation/const.rb
|
92
|
+
- lib/jsi/schema/validation/contains.rb
|
93
|
+
- lib/jsi/schema/validation/dependencies.rb
|
94
|
+
- lib/jsi/schema/validation/draft04.rb
|
95
|
+
- lib/jsi/schema/validation/draft04/minmax.rb
|
96
|
+
- lib/jsi/schema/validation/draft06.rb
|
97
|
+
- lib/jsi/schema/validation/draft07.rb
|
98
|
+
- lib/jsi/schema/validation/enum.rb
|
99
|
+
- lib/jsi/schema/validation/ifthenelse.rb
|
100
|
+
- lib/jsi/schema/validation/items.rb
|
101
|
+
- lib/jsi/schema/validation/not.rb
|
102
|
+
- lib/jsi/schema/validation/numeric.rb
|
103
|
+
- lib/jsi/schema/validation/object.rb
|
104
|
+
- lib/jsi/schema/validation/pattern.rb
|
105
|
+
- lib/jsi/schema/validation/properties.rb
|
106
|
+
- lib/jsi/schema/validation/property_names.rb
|
107
|
+
- lib/jsi/schema/validation/ref.rb
|
108
|
+
- lib/jsi/schema/validation/required.rb
|
109
|
+
- lib/jsi/schema/validation/someof.rb
|
110
|
+
- lib/jsi/schema/validation/string.rb
|
111
|
+
- lib/jsi/schema/validation/type.rb
|
112
|
+
- lib/jsi/schema_classes.rb
|
113
|
+
- lib/jsi/schema_registry.rb
|
114
|
+
- lib/jsi/schema_set.rb
|
115
|
+
- lib/jsi/simple_wrap.rb
|
116
|
+
- lib/jsi/util.rb
|
117
|
+
- lib/jsi/util/private.rb
|
118
|
+
- lib/jsi/util/private/attr_struct.rb
|
119
|
+
- lib/jsi/util/private/memo_map.rb
|
120
|
+
- lib/jsi/util/typelike.rb
|
121
|
+
- lib/jsi/validation.rb
|
122
|
+
- lib/jsi/validation/error.rb
|
123
|
+
- lib/jsi/validation/result.rb
|
124
|
+
- lib/jsi/version.rb
|
125
|
+
- lib/schemas/json-schema.org/draft-04/schema.rb
|
126
|
+
- lib/schemas/json-schema.org/draft-06/schema.rb
|
127
|
+
- lib/schemas/json-schema.org/draft-07/schema.rb
|
128
|
+
- readme.rb
|
129
|
+
- "{resources}/schemas/json-schema.org/draft-04/schema.json"
|
130
|
+
- "{resources}/schemas/json-schema.org/draft-06/schema.json"
|
131
|
+
- "{resources}/schemas/json-schema.org/draft-07/schema.json"
|
132
|
+
homepage: https://github.com/notEthan/jsi
|
133
|
+
licenses:
|
134
|
+
- AGPL-3.0
|
135
|
+
metadata: {}
|
136
|
+
post_install_message:
|
137
|
+
rdoc_options: []
|
138
|
+
require_paths:
|
139
|
+
- lib
|
140
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 1.3.1
|
150
|
+
requirements: []
|
151
|
+
rubygems_version: 3.4.10
|
152
|
+
signing_key:
|
153
|
+
specification_version: 4
|
154
|
+
summary: 'JSI: JSON Schema Instantiation'
|
155
|
+
test_files: []
|