|
128 | 128 | } |
129 | 129 | ] |
130 | 130 | }, |
| 131 | + "arguments": { |
| 132 | + "items": { |
| 133 | + "additionalProperties": false, |
| 134 | + "patternProperties": { |
| 135 | + "^(?:[A-Za-z]+(?:[A-z0-9-_]+)*)$": { |
| 136 | + "additionalProperties": false, |
| 137 | + "properties": { |
| 138 | + "asset-semantics": { |
| 139 | + "const": true, |
| 140 | + "markdownDescription": "This function argument's string value represents an asset name or uuid.", |
| 141 | + "type": "boolean" |
| 142 | + }, |
| 143 | + "bool-semantics": { |
| 144 | + "const": true, |
| 145 | + "markdownDescription": "This function argument's integer value represents a boolean value.", |
| 146 | + "type": "boolean" |
| 147 | + }, |
| 148 | + "index-semantics": { |
| 149 | + "const": true, |
| 150 | + "markdownDescription": "This function argument's integer value represents a zero-based index.", |
| 151 | + "type": "boolean" |
| 152 | + }, |
| 153 | + "enum-semantics": { |
| 154 | + "pattern": "^[A-Z][A-Za-z]+$", |
| 155 | + "markdownDescription": "This function argument's integer value represents an enum value.", |
| 156 | + "type": "string" |
| 157 | + }, |
| 158 | + "param-semantics": { |
| 159 | + "pattern": "^[A-Z][A-Za-z]+$", |
| 160 | + "markdownDescription": "This function argument's list value represents a parameter list to set.", |
| 161 | + "type": "string" |
| 162 | + }, |
| 163 | + "param-get-semantics": { |
| 164 | + "pattern": "^[A-Z][A-Za-z]+$", |
| 165 | + "markdownDescription": "This function argument's list value represents a parameter list to get.", |
| 166 | + "type": "string" |
| 167 | + }, |
| 168 | + "tooltip": { |
| 169 | + "markdownDescription": "A brief description of this function argument.", |
| 170 | + "type": "string" |
| 171 | + }, |
| 172 | + "type": { "$ref": "#/$defs/lslType" }, |
| 173 | + "slua-type": { |
| 174 | + "markdownDescription": "A more specific argument type for slua type-checking.", |
| 175 | + "type": "string" |
| 176 | + } |
| 177 | + }, |
| 178 | + "required": [ |
| 179 | + "type" |
| 180 | + ], |
| 181 | + "type": "object" |
| 182 | + } |
| 183 | + }, |
| 184 | + "type": "object" |
| 185 | + }, |
| 186 | + "markdownDescription": "An array of function arguments.", |
| 187 | + "type": "array", |
| 188 | + "uniqueItems": true |
| 189 | + }, |
131 | 190 | "rulesetParamArray": { |
132 | 191 | "items": { |
133 | 192 | "items": false, |
|
283 | 342 | "^[a-z_]+$": { |
284 | 343 | "additionalProperties": false, |
285 | 344 | "properties": { |
286 | | - "arguments": { |
287 | | - "items": { |
288 | | - "additionalProperties": false, |
289 | | - "patternProperties": { |
290 | | - "^(?:[A-Za-z]+(?:_[A-Za-z]+)*)$": { |
291 | | - "properties": { |
292 | | - "tooltip": { |
293 | | - "markdownDescription": "A brief description of this event argument.", |
294 | | - "type": "string" |
295 | | - }, |
296 | | - "type": { "$ref": "#/$defs/lslType" } |
297 | | - }, |
298 | | - "required": [ |
299 | | - "type" |
300 | | - ], |
301 | | - "type": "object" |
302 | | - } |
303 | | - }, |
304 | | - "type": "object" |
305 | | - }, |
306 | | - "markdownDescription": "An array of event arguments.", |
307 | | - "minItems": 0, |
308 | | - "type": "array", |
309 | | - "uniqueItems": true |
310 | | - }, |
| 345 | + "arguments": { "$ref": "#/$defs/arguments" }, |
311 | 346 | "detected-semantics": { |
312 | 347 | "const": true, |
313 | 348 | "markdownDescription": "Uses llDetected* in LSL and {DetectedEvent} in SLua.", |
|
352 | 387 | "type": "array", |
353 | 388 | "uniqueItems": true |
354 | 389 | }, |
355 | | - "arguments": { |
356 | | - "items": { |
357 | | - "additionalProperties": false, |
358 | | - "patternProperties": { |
359 | | - "^(?:[A-Za-z]+(?:[A-z0-9-_]+)*)$": { |
360 | | - "additionalProperties": false, |
361 | | - "properties": { |
362 | | - "asset-semantics": { |
363 | | - "const": true, |
364 | | - "markdownDescription": "This function argument's string value represents an asset name or uuid.", |
365 | | - "type": "boolean" |
366 | | - }, |
367 | | - "bool-semantics": { |
368 | | - "const": true, |
369 | | - "markdownDescription": "This function argument's integer value represents a boolean value.", |
370 | | - "type": "boolean" |
371 | | - }, |
372 | | - "index-semantics": { |
373 | | - "const": true, |
374 | | - "markdownDescription": "This function argument's integer value represents a zero-based index.", |
375 | | - "type": "boolean" |
376 | | - }, |
377 | | - "enum-semantics": { |
378 | | - "pattern": "^[A-Z][A-Za-z]+$", |
379 | | - "markdownDescription": "This function argument's integer value represents an enum value.", |
380 | | - "type": "string" |
381 | | - }, |
382 | | - "param-semantics": { |
383 | | - "pattern": "^[A-Z][A-Za-z]+$", |
384 | | - "markdownDescription": "This function argument's list value represents a parameter list to set.", |
385 | | - "type": "string" |
386 | | - }, |
387 | | - "param-get-semantics": { |
388 | | - "pattern": "^[A-Z][A-Za-z]+$", |
389 | | - "markdownDescription": "This function argument's list value represents a parameter list to get.", |
390 | | - "type": "string" |
391 | | - }, |
392 | | - "tooltip": { |
393 | | - "markdownDescription": "A brief description of this function argument.", |
394 | | - "type": "string" |
395 | | - }, |
396 | | - "type": { "$ref": "#/$defs/lslType" }, |
397 | | - "slua-type": { |
398 | | - "markdownDescription": "A more specific argument type for slua type-checking.", |
399 | | - "type": "string" |
400 | | - } |
401 | | - }, |
402 | | - "required": [ |
403 | | - "type" |
404 | | - ], |
405 | | - "type": "object" |
406 | | - } |
407 | | - }, |
408 | | - "type": "object" |
409 | | - }, |
410 | | - "markdownDescription": "An array of function arguments.", |
411 | | - "type": "array", |
412 | | - "uniqueItems": true |
413 | | - }, |
| 390 | + "arguments": { "$ref": "#/$defs/arguments" }, |
414 | 391 | "asset-semantics": { |
415 | 392 | "const": true, |
416 | 393 | "markdownDescription": "The returned string value represents an asset name or uuid.", |
|
0 commit comments