|
39 | 39 | }, |
40 | 40 | "ext_data": { |
41 | 41 | "type": "object", |
42 | | - "required": ["$schema", "kind", "name", "description", "long_name", "versions"], |
| 42 | + "required": [ |
| 43 | + "$schema", |
| 44 | + "kind", |
| 45 | + "name", |
| 46 | + "description", |
| 47 | + "long_name", |
| 48 | + "versions" |
| 49 | + ], |
43 | 50 | "properties": { |
44 | 51 | "$schema": { |
45 | 52 | "type": "string", |
|
101 | 108 | "description": "Extension(s) that conflict with this extension; both cannot be implemented at the same time", |
102 | 109 | "oneOf": [ |
103 | 110 | { "$ref": "schema_defs.json#/$defs/extension_requirement" }, |
104 | | - { "type": "array", "items": { "$ref": "schema_defs.json#/$defs/extension_requirement" }} |
| 111 | + { |
| 112 | + "type": "array", |
| 113 | + "items": { |
| 114 | + "$ref": "schema_defs.json#/$defs/extension_requirement" |
| 115 | + } |
| 116 | + } |
105 | 117 | ] |
106 | 118 | }, |
107 | 119 | "versions": { |
108 | 120 | "type": "array", |
109 | 121 | "items": { |
110 | 122 | "type": "object", |
111 | 123 | "required": ["version", "state"], |
112 | | - "if": { |
113 | | - "properties": { |
114 | | - "state": { |
115 | | - "const": "ratified" |
116 | | - } |
| 124 | + "if": { |
| 125 | + "properties": { |
| 126 | + "state": { |
| 127 | + "const": "ratified" |
117 | 128 | } |
118 | | - }, |
119 | | - "then": { |
120 | | - "required": ["ratification_date"] |
121 | | - }, |
| 129 | + } |
| 130 | + }, |
| 131 | + "then": { |
| 132 | + "required": ["ratification_date"] |
| 133 | + }, |
122 | 134 | "properties": { |
123 | 135 | "version": { |
124 | 136 | "$ref": "schema_defs.json#/$defs/extension_version" |
|
147 | 159 | }, |
148 | 160 | "ratification_date": { |
149 | 161 | "oneOf": [ |
150 | | - {"type": "string", "pattern": "^20[0-9][0-9]-(0[1-9]|1[0-2])$", "$comment": "When ratification date is known", |
151 | | - "description": "A specific year and month in YYYY-MM format", "examples": ["2019-01", "2024-12"] }, |
152 | | - {"type": "string", "pattern": "^unknown$", "$comment": "When ratification date is unknown" }, |
153 | | - {"type": "null", "$comment": "When version isn't ratified" } |
| 162 | + { |
| 163 | + "type": "string", |
| 164 | + "pattern": "^20[0-9][0-9]-(0[1-9]|1[0-2])$", |
| 165 | + "$comment": "When ratification date is known", |
| 166 | + "description": "A specific year and month in YYYY-MM format", |
| 167 | + "examples": ["2019-01", "2024-12"] |
| 168 | + }, |
| 169 | + { |
| 170 | + "type": "string", |
| 171 | + "pattern": "^unknown$", |
| 172 | + "$comment": "When ratification date is unknown" |
| 173 | + }, |
| 174 | + { "type": "null", "$comment": "When version isn't ratified" } |
154 | 175 | ] |
155 | 176 | }, |
156 | 177 | "changes": { |
|
160 | 181 | }, |
161 | 182 | "description": "Changes since last version" |
162 | 183 | }, |
163 | | - "url": { "type": "string", "format": "uri", "description": "Link to ratified document" }, |
| 184 | + "url": { |
| 185 | + "type": "string", |
| 186 | + "format": "uri", |
| 187 | + "description": "Link to ratified document" |
| 188 | + }, |
164 | 189 | "implies": { |
165 | 190 | "description": "Extension(s) implied by this extension (i.e., any subextensions)", |
166 | 191 | "oneOf": [ |
167 | | - { "$ref": "schema_defs.json#/$defs/extension_name_and_version" }, |
168 | | - { "type": "array", "items": { "$ref": "schema_defs.json#/$defs/extension_name_and_version" }} |
| 192 | + { |
| 193 | + "$ref": "schema_defs.json#/$defs/extension_name_and_version" |
| 194 | + }, |
| 195 | + { |
| 196 | + "type": "array", |
| 197 | + "items": { |
| 198 | + "$ref": "schema_defs.json#/$defs/extension_name_and_version" |
| 199 | + } |
| 200 | + } |
169 | 201 | ] |
170 | 202 | }, |
171 | 203 | "requires": { |
|
0 commit comments