json-schema-ouidou 2.9.0
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.
- checksums.yaml +7 -0
- data/LICENSE.md +19 -0
- data/README.md +496 -0
- data/lib/json-schema/attribute.rb +57 -0
- data/lib/json-schema/attributes/additionalitems.rb +28 -0
- data/lib/json-schema/attributes/additionalproperties.rb +58 -0
- data/lib/json-schema/attributes/allof.rb +39 -0
- data/lib/json-schema/attributes/anyof.rb +47 -0
- data/lib/json-schema/attributes/dependencies.rb +38 -0
- data/lib/json-schema/attributes/dependencies_v4.rb +11 -0
- data/lib/json-schema/attributes/disallow.rb +12 -0
- data/lib/json-schema/attributes/divisibleby.rb +22 -0
- data/lib/json-schema/attributes/enum.rb +24 -0
- data/lib/json-schema/attributes/extends.rb +48 -0
- data/lib/json-schema/attributes/format.rb +14 -0
- data/lib/json-schema/attributes/formats/custom.rb +21 -0
- data/lib/json-schema/attributes/formats/date.rb +25 -0
- data/lib/json-schema/attributes/formats/date_time.rb +34 -0
- data/lib/json-schema/attributes/formats/date_time_v4.rb +15 -0
- data/lib/json-schema/attributes/formats/ip.rb +41 -0
- data/lib/json-schema/attributes/formats/time.rb +22 -0
- data/lib/json-schema/attributes/formats/uri.rb +18 -0
- data/lib/json-schema/attributes/items.rb +27 -0
- data/lib/json-schema/attributes/limit.rb +52 -0
- data/lib/json-schema/attributes/limits/items.rb +15 -0
- data/lib/json-schema/attributes/limits/length.rb +15 -0
- data/lib/json-schema/attributes/limits/max_items.rb +15 -0
- data/lib/json-schema/attributes/limits/max_length.rb +15 -0
- data/lib/json-schema/attributes/limits/max_properties.rb +15 -0
- data/lib/json-schema/attributes/limits/maximum.rb +15 -0
- data/lib/json-schema/attributes/limits/maximum_inclusive.rb +11 -0
- data/lib/json-schema/attributes/limits/min_items.rb +15 -0
- data/lib/json-schema/attributes/limits/min_length.rb +15 -0
- data/lib/json-schema/attributes/limits/min_properties.rb +15 -0
- data/lib/json-schema/attributes/limits/minimum.rb +15 -0
- data/lib/json-schema/attributes/limits/minimum_inclusive.rb +11 -0
- data/lib/json-schema/attributes/limits/numeric.rb +16 -0
- data/lib/json-schema/attributes/limits/properties.rb +15 -0
- data/lib/json-schema/attributes/maxdecimal.rb +18 -0
- data/lib/json-schema/attributes/multipleof.rb +11 -0
- data/lib/json-schema/attributes/not.rb +30 -0
- data/lib/json-schema/attributes/oneof.rb +56 -0
- data/lib/json-schema/attributes/pattern.rb +18 -0
- data/lib/json-schema/attributes/patternproperties.rb +22 -0
- data/lib/json-schema/attributes/properties.rb +66 -0
- data/lib/json-schema/attributes/properties_optional.rb +26 -0
- data/lib/json-schema/attributes/properties_v4.rb +13 -0
- data/lib/json-schema/attributes/ref.rb +61 -0
- data/lib/json-schema/attributes/required.rb +28 -0
- data/lib/json-schema/attributes/type.rb +73 -0
- data/lib/json-schema/attributes/type_v4.rb +29 -0
- data/lib/json-schema/attributes/uniqueitems.rb +20 -0
- data/lib/json-schema/errors/custom_format_error.rb +6 -0
- data/lib/json-schema/errors/json_load_error.rb +6 -0
- data/lib/json-schema/errors/json_parse_error.rb +6 -0
- data/lib/json-schema/errors/schema_error.rb +6 -0
- data/lib/json-schema/errors/schema_parse_error.rb +8 -0
- data/lib/json-schema/errors/uri_error.rb +6 -0
- data/lib/json-schema/errors/validation_error.rb +46 -0
- data/lib/json-schema/schema/reader.rb +140 -0
- data/lib/json-schema/schema/validator.rb +40 -0
- data/lib/json-schema/schema.rb +62 -0
- data/lib/json-schema/util/array_set.rb +20 -0
- data/lib/json-schema/util/uri.rb +110 -0
- data/lib/json-schema/util/uuid.rb +284 -0
- data/lib/json-schema/validator.rb +609 -0
- data/lib/json-schema/validators/draft1.rb +45 -0
- data/lib/json-schema/validators/draft2.rb +46 -0
- data/lib/json-schema/validators/draft3.rb +50 -0
- data/lib/json-schema/validators/draft4.rb +56 -0
- data/lib/json-schema/validators/draft6.rb +56 -0
- data/lib/json-schema/validators/hyper-draft1.rb +13 -0
- data/lib/json-schema/validators/hyper-draft2.rb +13 -0
- data/lib/json-schema/validators/hyper-draft3.rb +13 -0
- data/lib/json-schema/validators/hyper-draft4.rb +13 -0
- data/lib/json-schema/validators/hyper-draft6.rb +13 -0
- data/lib/json-schema.rb +18 -0
- data/resources/draft-01.json +155 -0
- data/resources/draft-02.json +166 -0
- data/resources/draft-03.json +174 -0
- data/resources/draft-04.json +150 -0
- data/resources/draft-06.json +150 -0
- metadata +197 -0
@@ -0,0 +1,174 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-03/schema#",
|
3
|
+
"id": "http://json-schema.org/draft-03/schema#",
|
4
|
+
"type": "object",
|
5
|
+
|
6
|
+
"properties": {
|
7
|
+
"type": {
|
8
|
+
"type": [ "string", "array" ],
|
9
|
+
"items": {
|
10
|
+
"type": [ "string", { "$ref": "#" } ]
|
11
|
+
},
|
12
|
+
"uniqueItems": true,
|
13
|
+
"default": "any"
|
14
|
+
},
|
15
|
+
|
16
|
+
"properties": {
|
17
|
+
"type": "object",
|
18
|
+
"additionalProperties": { "$ref": "#" },
|
19
|
+
"default": {}
|
20
|
+
},
|
21
|
+
|
22
|
+
"patternProperties": {
|
23
|
+
"type": "object",
|
24
|
+
"additionalProperties": { "$ref": "#" },
|
25
|
+
"default": {}
|
26
|
+
},
|
27
|
+
|
28
|
+
"additionalProperties": {
|
29
|
+
"type": [ { "$ref": "#" }, "boolean" ],
|
30
|
+
"default": {}
|
31
|
+
},
|
32
|
+
|
33
|
+
"items": {
|
34
|
+
"type": [ { "$ref": "#" }, "array" ],
|
35
|
+
"items": { "$ref": "#" },
|
36
|
+
"default": {}
|
37
|
+
},
|
38
|
+
|
39
|
+
"additionalItems": {
|
40
|
+
"type": [ { "$ref": "#" }, "boolean" ],
|
41
|
+
"default": {}
|
42
|
+
},
|
43
|
+
|
44
|
+
"required": {
|
45
|
+
"type": "boolean",
|
46
|
+
"default": false
|
47
|
+
},
|
48
|
+
|
49
|
+
"dependencies": {
|
50
|
+
"type": "object",
|
51
|
+
"additionalProperties": {
|
52
|
+
"type": [ "string", "array", { "$ref": "#" } ],
|
53
|
+
"items": {
|
54
|
+
"type": "string"
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"default": {}
|
58
|
+
},
|
59
|
+
|
60
|
+
"minimum": {
|
61
|
+
"type": "number"
|
62
|
+
},
|
63
|
+
|
64
|
+
"maximum": {
|
65
|
+
"type": "number"
|
66
|
+
},
|
67
|
+
|
68
|
+
"exclusiveMinimum": {
|
69
|
+
"type": "boolean",
|
70
|
+
"default": false
|
71
|
+
},
|
72
|
+
|
73
|
+
"exclusiveMaximum": {
|
74
|
+
"type": "boolean",
|
75
|
+
"default": false
|
76
|
+
},
|
77
|
+
|
78
|
+
"minItems": {
|
79
|
+
"type": "integer",
|
80
|
+
"minimum": 0,
|
81
|
+
"default": 0
|
82
|
+
},
|
83
|
+
|
84
|
+
"maxItems": {
|
85
|
+
"type": "integer",
|
86
|
+
"minimum": 0
|
87
|
+
},
|
88
|
+
|
89
|
+
"uniqueItems": {
|
90
|
+
"type": "boolean",
|
91
|
+
"default": false
|
92
|
+
},
|
93
|
+
|
94
|
+
"pattern": {
|
95
|
+
"type": "string",
|
96
|
+
"format": "regex"
|
97
|
+
},
|
98
|
+
|
99
|
+
"minLength": {
|
100
|
+
"type": "integer",
|
101
|
+
"minimum": 0,
|
102
|
+
"default": 0
|
103
|
+
},
|
104
|
+
|
105
|
+
"maxLength": {
|
106
|
+
"type": "integer"
|
107
|
+
},
|
108
|
+
|
109
|
+
"enum": {
|
110
|
+
"type": "array",
|
111
|
+
"minItems": 1,
|
112
|
+
"uniqueItems": true
|
113
|
+
},
|
114
|
+
|
115
|
+
"default": {
|
116
|
+
"type": "any"
|
117
|
+
},
|
118
|
+
|
119
|
+
"title": {
|
120
|
+
"type": "string"
|
121
|
+
},
|
122
|
+
|
123
|
+
"description": {
|
124
|
+
"type": "string"
|
125
|
+
},
|
126
|
+
|
127
|
+
"format": {
|
128
|
+
"type": "string"
|
129
|
+
},
|
130
|
+
|
131
|
+
"divisibleBy": {
|
132
|
+
"type": "number",
|
133
|
+
"minimum": 0,
|
134
|
+
"exclusiveMinimum": true,
|
135
|
+
"default": 1
|
136
|
+
},
|
137
|
+
|
138
|
+
"disallow": {
|
139
|
+
"type": [ "string", "array" ],
|
140
|
+
"items": {
|
141
|
+
"type": [ "string", { "$ref": "#" } ]
|
142
|
+
},
|
143
|
+
"uniqueItems": true
|
144
|
+
},
|
145
|
+
|
146
|
+
"extends": {
|
147
|
+
"type": [ { "$ref": "#" }, "array" ],
|
148
|
+
"items": { "$ref": "#" },
|
149
|
+
"default": {}
|
150
|
+
},
|
151
|
+
|
152
|
+
"id": {
|
153
|
+
"type": "string",
|
154
|
+
"format": "uri"
|
155
|
+
},
|
156
|
+
|
157
|
+
"$ref": {
|
158
|
+
"type": "string",
|
159
|
+
"format": "uri"
|
160
|
+
},
|
161
|
+
|
162
|
+
"$schema": {
|
163
|
+
"type": "string",
|
164
|
+
"format": "uri"
|
165
|
+
}
|
166
|
+
},
|
167
|
+
|
168
|
+
"dependencies": {
|
169
|
+
"exclusiveMinimum": "minimum",
|
170
|
+
"exclusiveMaximum": "maximum"
|
171
|
+
},
|
172
|
+
|
173
|
+
"default": {}
|
174
|
+
}
|
@@ -0,0 +1,150 @@
|
|
1
|
+
{
|
2
|
+
"id": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"description": "Core schema meta-schema",
|
5
|
+
"definitions": {
|
6
|
+
"schemaArray": {
|
7
|
+
"type": "array",
|
8
|
+
"minItems": 1,
|
9
|
+
"items": { "$ref": "#" }
|
10
|
+
},
|
11
|
+
"positiveInteger": {
|
12
|
+
"type": "integer",
|
13
|
+
"minimum": 0
|
14
|
+
},
|
15
|
+
"positiveIntegerDefault0": {
|
16
|
+
"allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
|
17
|
+
},
|
18
|
+
"simpleTypes": {
|
19
|
+
"enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
|
20
|
+
},
|
21
|
+
"stringArray": {
|
22
|
+
"type": "array",
|
23
|
+
"items": { "type": "string" },
|
24
|
+
"minItems": 1,
|
25
|
+
"uniqueItems": true
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"type": "object",
|
29
|
+
"properties": {
|
30
|
+
"id": {
|
31
|
+
"type": "string",
|
32
|
+
"format": "uri"
|
33
|
+
},
|
34
|
+
"$schema": {
|
35
|
+
"type": "string",
|
36
|
+
"format": "uri"
|
37
|
+
},
|
38
|
+
"title": {
|
39
|
+
"type": "string"
|
40
|
+
},
|
41
|
+
"description": {
|
42
|
+
"type": "string"
|
43
|
+
},
|
44
|
+
"default": {},
|
45
|
+
"multipleOf": {
|
46
|
+
"type": "number",
|
47
|
+
"minimum": 0,
|
48
|
+
"exclusiveMinimum": true
|
49
|
+
},
|
50
|
+
"maximum": {
|
51
|
+
"type": "number"
|
52
|
+
},
|
53
|
+
"exclusiveMaximum": {
|
54
|
+
"type": "boolean",
|
55
|
+
"default": false
|
56
|
+
},
|
57
|
+
"minimum": {
|
58
|
+
"type": "number"
|
59
|
+
},
|
60
|
+
"exclusiveMinimum": {
|
61
|
+
"type": "boolean",
|
62
|
+
"default": false
|
63
|
+
},
|
64
|
+
"maxLength": { "$ref": "#/definitions/positiveInteger" },
|
65
|
+
"minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
66
|
+
"pattern": {
|
67
|
+
"type": "string",
|
68
|
+
"format": "regex"
|
69
|
+
},
|
70
|
+
"additionalItems": {
|
71
|
+
"anyOf": [
|
72
|
+
{ "type": "boolean" },
|
73
|
+
{ "$ref": "#" }
|
74
|
+
],
|
75
|
+
"default": {}
|
76
|
+
},
|
77
|
+
"items": {
|
78
|
+
"anyOf": [
|
79
|
+
{ "$ref": "#" },
|
80
|
+
{ "$ref": "#/definitions/schemaArray" }
|
81
|
+
],
|
82
|
+
"default": {}
|
83
|
+
},
|
84
|
+
"maxItems": { "$ref": "#/definitions/positiveInteger" },
|
85
|
+
"minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
86
|
+
"uniqueItems": {
|
87
|
+
"type": "boolean",
|
88
|
+
"default": false
|
89
|
+
},
|
90
|
+
"maxProperties": { "$ref": "#/definitions/positiveInteger" },
|
91
|
+
"minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
92
|
+
"required": { "$ref": "#/definitions/stringArray" },
|
93
|
+
"additionalProperties": {
|
94
|
+
"anyOf": [
|
95
|
+
{ "type": "boolean" },
|
96
|
+
{ "$ref": "#" }
|
97
|
+
],
|
98
|
+
"default": {}
|
99
|
+
},
|
100
|
+
"definitions": {
|
101
|
+
"type": "object",
|
102
|
+
"additionalProperties": { "$ref": "#" },
|
103
|
+
"default": {}
|
104
|
+
},
|
105
|
+
"properties": {
|
106
|
+
"type": "object",
|
107
|
+
"additionalProperties": { "$ref": "#" },
|
108
|
+
"default": {}
|
109
|
+
},
|
110
|
+
"patternProperties": {
|
111
|
+
"type": "object",
|
112
|
+
"additionalProperties": { "$ref": "#" },
|
113
|
+
"default": {}
|
114
|
+
},
|
115
|
+
"dependencies": {
|
116
|
+
"type": "object",
|
117
|
+
"additionalProperties": {
|
118
|
+
"anyOf": [
|
119
|
+
{ "$ref": "#" },
|
120
|
+
{ "$ref": "#/definitions/stringArray" }
|
121
|
+
]
|
122
|
+
}
|
123
|
+
},
|
124
|
+
"enum": {
|
125
|
+
"type": "array",
|
126
|
+
"minItems": 1,
|
127
|
+
"uniqueItems": true
|
128
|
+
},
|
129
|
+
"type": {
|
130
|
+
"anyOf": [
|
131
|
+
{ "$ref": "#/definitions/simpleTypes" },
|
132
|
+
{
|
133
|
+
"type": "array",
|
134
|
+
"items": { "$ref": "#/definitions/simpleTypes" },
|
135
|
+
"minItems": 1,
|
136
|
+
"uniqueItems": true
|
137
|
+
}
|
138
|
+
]
|
139
|
+
},
|
140
|
+
"allOf": { "$ref": "#/definitions/schemaArray" },
|
141
|
+
"anyOf": { "$ref": "#/definitions/schemaArray" },
|
142
|
+
"oneOf": { "$ref": "#/definitions/schemaArray" },
|
143
|
+
"not": { "$ref": "#" }
|
144
|
+
},
|
145
|
+
"dependencies": {
|
146
|
+
"exclusiveMaximum": [ "maximum" ],
|
147
|
+
"exclusiveMinimum": [ "minimum" ]
|
148
|
+
},
|
149
|
+
"default": {}
|
150
|
+
}
|
@@ -0,0 +1,150 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft/schema#",
|
3
|
+
"$id": "http://json-schema.org/draft/schema#",
|
4
|
+
"title": "Core schema meta-schema",
|
5
|
+
"definitions": {
|
6
|
+
"schemaArray": {
|
7
|
+
"type": "array",
|
8
|
+
"minItems": 1,
|
9
|
+
"items": { "$ref": "#" }
|
10
|
+
},
|
11
|
+
"positiveInteger": {
|
12
|
+
"type": "integer",
|
13
|
+
"minimum": 0
|
14
|
+
},
|
15
|
+
"positiveIntegerDefault0": {
|
16
|
+
"allOf": [
|
17
|
+
{ "$ref": "#/definitions/positiveInteger" },
|
18
|
+
{ "default": 0 }
|
19
|
+
]
|
20
|
+
},
|
21
|
+
"simpleTypes": {
|
22
|
+
"enum": [
|
23
|
+
"array",
|
24
|
+
"boolean",
|
25
|
+
"integer",
|
26
|
+
"null",
|
27
|
+
"number",
|
28
|
+
"object",
|
29
|
+
"string"
|
30
|
+
]
|
31
|
+
},
|
32
|
+
"stringArray": {
|
33
|
+
"type": "array",
|
34
|
+
"items": { "type": "string" },
|
35
|
+
"uniqueItems": true,
|
36
|
+
"defaultItems": []
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"type": ["object", "boolean"],
|
40
|
+
"properties": {
|
41
|
+
"$id": {
|
42
|
+
"type": "string",
|
43
|
+
"format": "uri-reference"
|
44
|
+
},
|
45
|
+
"$schema": {
|
46
|
+
"type": "string",
|
47
|
+
"format": "uri"
|
48
|
+
},
|
49
|
+
"$ref": {
|
50
|
+
"type": "string",
|
51
|
+
"format": "uri-reference"
|
52
|
+
},
|
53
|
+
"title": {
|
54
|
+
"type": "string"
|
55
|
+
},
|
56
|
+
"description": {
|
57
|
+
"type": "string"
|
58
|
+
},
|
59
|
+
"default": {},
|
60
|
+
"multipleOf": {
|
61
|
+
"type": "number",
|
62
|
+
"exclusiveMinimum": 0
|
63
|
+
},
|
64
|
+
"maximum": {
|
65
|
+
"type": "number"
|
66
|
+
},
|
67
|
+
"exclusiveMaximum": {
|
68
|
+
"type": "number"
|
69
|
+
},
|
70
|
+
"minimum": {
|
71
|
+
"type": "number"
|
72
|
+
},
|
73
|
+
"exclusiveMinimum": {
|
74
|
+
"type": "number"
|
75
|
+
},
|
76
|
+
"maxLength": { "$ref": "#/definitions/positiveInteger" },
|
77
|
+
"minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
78
|
+
"pattern": {
|
79
|
+
"type": "string",
|
80
|
+
"format": "regex"
|
81
|
+
},
|
82
|
+
"additionalItems": { "$ref": "#" },
|
83
|
+
"items": {
|
84
|
+
"anyOf": [
|
85
|
+
{ "$ref": "#" },
|
86
|
+
{ "$ref": "#/definitions/schemaArray" }
|
87
|
+
],
|
88
|
+
"default": {}
|
89
|
+
},
|
90
|
+
"maxItems": { "$ref": "#/definitions/positiveInteger" },
|
91
|
+
"minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
92
|
+
"uniqueItems": {
|
93
|
+
"type": "boolean",
|
94
|
+
"default": false
|
95
|
+
},
|
96
|
+
"contains": { "$ref": "#" },
|
97
|
+
"maxProperties": { "$ref": "#/definitions/positiveInteger" },
|
98
|
+
"minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
|
99
|
+
"required": { "$ref": "#/definitions/stringArray" },
|
100
|
+
"additionalProperties": { "$ref": "#" },
|
101
|
+
"definitions": {
|
102
|
+
"type": "object",
|
103
|
+
"additionalProperties": { "$ref": "#" },
|
104
|
+
"default": {}
|
105
|
+
},
|
106
|
+
"properties": {
|
107
|
+
"type": "object",
|
108
|
+
"additionalProperties": { "$ref": "#" },
|
109
|
+
"default": {}
|
110
|
+
},
|
111
|
+
"patternProperties": {
|
112
|
+
"type": "object",
|
113
|
+
"additionalProperties": { "$ref": "#" },
|
114
|
+
"default": {}
|
115
|
+
},
|
116
|
+
"dependencies": {
|
117
|
+
"type": "object",
|
118
|
+
"additionalProperties": {
|
119
|
+
"anyOf": [
|
120
|
+
{ "$ref": "#" },
|
121
|
+
{ "$ref": "#/definitions/stringArray" }
|
122
|
+
]
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"propertyNames": { "$ref": "#" },
|
126
|
+
"const": {},
|
127
|
+
"enum": {
|
128
|
+
"type": "array",
|
129
|
+
"minItems": 1,
|
130
|
+
"uniqueItems": true
|
131
|
+
},
|
132
|
+
"type": {
|
133
|
+
"anyOf": [
|
134
|
+
{ "$ref": "#/definitions/simpleTypes" },
|
135
|
+
{
|
136
|
+
"type": "array",
|
137
|
+
"items": { "$ref": "#/definitions/simpleTypes" },
|
138
|
+
"minItems": 1,
|
139
|
+
"uniqueItems": true
|
140
|
+
}
|
141
|
+
]
|
142
|
+
},
|
143
|
+
"format": { "type": "string" },
|
144
|
+
"allOf": { "$ref": "#/definitions/schemaArray" },
|
145
|
+
"anyOf": { "$ref": "#/definitions/schemaArray" },
|
146
|
+
"oneOf": { "$ref": "#/definitions/schemaArray" },
|
147
|
+
"not": { "$ref": "#" }
|
148
|
+
},
|
149
|
+
"default": {}
|
150
|
+
}
|
metadata
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: json-schema-ouidou
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.9.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kenny Hoxworth
|
8
|
+
- Vox Pupuli
|
9
|
+
- Hugo Fabre
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rake
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: minitest
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '5.0'
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '5.0'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: webmock
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: bundler
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: addressable
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '2.8'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '2.8'
|
85
|
+
description:
|
86
|
+
email: bot@ouidou.fr
|
87
|
+
executables: []
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files:
|
90
|
+
- README.md
|
91
|
+
- LICENSE.md
|
92
|
+
files:
|
93
|
+
- LICENSE.md
|
94
|
+
- README.md
|
95
|
+
- lib/json-schema.rb
|
96
|
+
- lib/json-schema/attribute.rb
|
97
|
+
- lib/json-schema/attributes/additionalitems.rb
|
98
|
+
- lib/json-schema/attributes/additionalproperties.rb
|
99
|
+
- lib/json-schema/attributes/allof.rb
|
100
|
+
- lib/json-schema/attributes/anyof.rb
|
101
|
+
- lib/json-schema/attributes/dependencies.rb
|
102
|
+
- lib/json-schema/attributes/dependencies_v4.rb
|
103
|
+
- lib/json-schema/attributes/disallow.rb
|
104
|
+
- lib/json-schema/attributes/divisibleby.rb
|
105
|
+
- lib/json-schema/attributes/enum.rb
|
106
|
+
- lib/json-schema/attributes/extends.rb
|
107
|
+
- lib/json-schema/attributes/format.rb
|
108
|
+
- lib/json-schema/attributes/formats/custom.rb
|
109
|
+
- lib/json-schema/attributes/formats/date.rb
|
110
|
+
- lib/json-schema/attributes/formats/date_time.rb
|
111
|
+
- lib/json-schema/attributes/formats/date_time_v4.rb
|
112
|
+
- lib/json-schema/attributes/formats/ip.rb
|
113
|
+
- lib/json-schema/attributes/formats/time.rb
|
114
|
+
- lib/json-schema/attributes/formats/uri.rb
|
115
|
+
- lib/json-schema/attributes/items.rb
|
116
|
+
- lib/json-schema/attributes/limit.rb
|
117
|
+
- lib/json-schema/attributes/limits/items.rb
|
118
|
+
- lib/json-schema/attributes/limits/length.rb
|
119
|
+
- lib/json-schema/attributes/limits/max_items.rb
|
120
|
+
- lib/json-schema/attributes/limits/max_length.rb
|
121
|
+
- lib/json-schema/attributes/limits/max_properties.rb
|
122
|
+
- lib/json-schema/attributes/limits/maximum.rb
|
123
|
+
- lib/json-schema/attributes/limits/maximum_inclusive.rb
|
124
|
+
- lib/json-schema/attributes/limits/min_items.rb
|
125
|
+
- lib/json-schema/attributes/limits/min_length.rb
|
126
|
+
- lib/json-schema/attributes/limits/min_properties.rb
|
127
|
+
- lib/json-schema/attributes/limits/minimum.rb
|
128
|
+
- lib/json-schema/attributes/limits/minimum_inclusive.rb
|
129
|
+
- lib/json-schema/attributes/limits/numeric.rb
|
130
|
+
- lib/json-schema/attributes/limits/properties.rb
|
131
|
+
- lib/json-schema/attributes/maxdecimal.rb
|
132
|
+
- lib/json-schema/attributes/multipleof.rb
|
133
|
+
- lib/json-schema/attributes/not.rb
|
134
|
+
- lib/json-schema/attributes/oneof.rb
|
135
|
+
- lib/json-schema/attributes/pattern.rb
|
136
|
+
- lib/json-schema/attributes/patternproperties.rb
|
137
|
+
- lib/json-schema/attributes/properties.rb
|
138
|
+
- lib/json-schema/attributes/properties_optional.rb
|
139
|
+
- lib/json-schema/attributes/properties_v4.rb
|
140
|
+
- lib/json-schema/attributes/ref.rb
|
141
|
+
- lib/json-schema/attributes/required.rb
|
142
|
+
- lib/json-schema/attributes/type.rb
|
143
|
+
- lib/json-schema/attributes/type_v4.rb
|
144
|
+
- lib/json-schema/attributes/uniqueitems.rb
|
145
|
+
- lib/json-schema/errors/custom_format_error.rb
|
146
|
+
- lib/json-schema/errors/json_load_error.rb
|
147
|
+
- lib/json-schema/errors/json_parse_error.rb
|
148
|
+
- lib/json-schema/errors/schema_error.rb
|
149
|
+
- lib/json-schema/errors/schema_parse_error.rb
|
150
|
+
- lib/json-schema/errors/uri_error.rb
|
151
|
+
- lib/json-schema/errors/validation_error.rb
|
152
|
+
- lib/json-schema/schema.rb
|
153
|
+
- lib/json-schema/schema/reader.rb
|
154
|
+
- lib/json-schema/schema/validator.rb
|
155
|
+
- lib/json-schema/util/array_set.rb
|
156
|
+
- lib/json-schema/util/uri.rb
|
157
|
+
- lib/json-schema/util/uuid.rb
|
158
|
+
- lib/json-schema/validator.rb
|
159
|
+
- lib/json-schema/validators/draft1.rb
|
160
|
+
- lib/json-schema/validators/draft2.rb
|
161
|
+
- lib/json-schema/validators/draft3.rb
|
162
|
+
- lib/json-schema/validators/draft4.rb
|
163
|
+
- lib/json-schema/validators/draft6.rb
|
164
|
+
- lib/json-schema/validators/hyper-draft1.rb
|
165
|
+
- lib/json-schema/validators/hyper-draft2.rb
|
166
|
+
- lib/json-schema/validators/hyper-draft3.rb
|
167
|
+
- lib/json-schema/validators/hyper-draft4.rb
|
168
|
+
- lib/json-schema/validators/hyper-draft6.rb
|
169
|
+
- resources/draft-01.json
|
170
|
+
- resources/draft-02.json
|
171
|
+
- resources/draft-03.json
|
172
|
+
- resources/draft-04.json
|
173
|
+
- resources/draft-06.json
|
174
|
+
homepage: https://github.com/synbioz/json-schema
|
175
|
+
licenses:
|
176
|
+
- MIT
|
177
|
+
metadata: {}
|
178
|
+
post_install_message:
|
179
|
+
rdoc_options: []
|
180
|
+
require_paths:
|
181
|
+
- lib
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - ">="
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '1.9'
|
187
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: '1.8'
|
192
|
+
requirements: []
|
193
|
+
rubygems_version: 3.5.18
|
194
|
+
signing_key:
|
195
|
+
specification_version: 4
|
196
|
+
summary: Ruby JSON Schema Validator, with custom fix for ouidou's needs
|
197
|
+
test_files: []
|