@cloudcannon/configuration-types 0.0.52 → 0.0.54

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.
@@ -1,8 +1,5 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "Configuration",
4
- "description": "The main CloudCannon configuration.",
5
- "id": "type.Configuration",
6
3
  "type": "object",
7
4
  "properties": {
8
5
  "paths": {
@@ -145,10 +142,11 @@
145
142
  }
146
143
  },
147
144
  "additionalProperties": false,
145
+ "title": "Configuration",
146
+ "description": "The main CloudCannon configuration.",
147
+ "id": "type.Configuration",
148
148
  "$defs": {
149
149
  "type.paths": {
150
- "id": "type.paths",
151
- "title": "Paths",
152
150
  "type": "object",
153
151
  "properties": {
154
152
  "static": {
@@ -173,7 +171,9 @@
173
171
  "$ref": "#/$defs/paths.uploads_use_relative_path"
174
172
  }
175
173
  },
176
- "additionalProperties": false
174
+ "additionalProperties": false,
175
+ "id": "type.paths",
176
+ "title": "Paths"
177
177
  },
178
178
  "paths.static": {
179
179
  "id": "paths.static",
@@ -226,8 +226,6 @@
226
226
  }
227
227
  },
228
228
  "collections_config.*": {
229
- "id": "collections_config.*",
230
- "title": "Collection Config",
231
229
  "type": "object",
232
230
  "properties": {
233
231
  "path": {
@@ -271,8 +269,6 @@
271
269
  "description": "This key defines the options for the Sort dropdown in a _Collection browser_. The first option listed is used as the default sort.",
272
270
  "type": "array",
273
271
  "items": {
274
- "title": "SortOption",
275
- "description": "A sort option for a Collection.",
276
272
  "type": "object",
277
273
  "properties": {
278
274
  "label": {
@@ -280,8 +276,8 @@
280
276
  "type": "string"
281
277
  },
282
278
  "key": {
283
- "description": "Defines what field contains the value to sort on inside each collection item's data.",
284
- "type": "string"
279
+ "type": "string",
280
+ "description": "Defines what field contains the value to sort on inside each collection item's data."
285
281
  },
286
282
  "order": {
287
283
  "description": "Controls which sort values come first.",
@@ -298,7 +294,9 @@
298
294
  "required": [
299
295
  "key"
300
296
  ],
301
- "additionalProperties": false
297
+ "additionalProperties": false,
298
+ "title": "SortOption",
299
+ "description": "A sort option for a Collection."
302
300
  }
303
301
  },
304
302
  "view_options": {
@@ -324,8 +322,6 @@
324
322
  "items": {
325
323
  "anyOf": [
326
324
  {
327
- "title": "Add Option",
328
- "description": "An option for the add menu.",
329
325
  "type": "object",
330
326
  "properties": {
331
327
  "name": {
@@ -357,11 +353,11 @@
357
353
  "type": "string"
358
354
  }
359
355
  },
360
- "additionalProperties": false
356
+ "additionalProperties": false,
357
+ "title": "Add Option",
358
+ "description": "An option for the add menu."
361
359
  },
362
360
  {
363
- "title": "HREF Add Option",
364
- "description": "An option for the add menu that opens a link.",
365
361
  "type": "object",
366
362
  "properties": {
367
363
  "name": {
@@ -374,14 +370,16 @@
374
370
  "$ref": "#/$defs/icon"
375
371
  },
376
372
  "href": {
377
- "description": "The link that opens when the option is clicked. Can either be an external or internal link. If internal, the link is relative to the current site.",
378
- "type": "string"
373
+ "type": "string",
374
+ "description": "The link that opens when the option is clicked. Can either be an external or internal link. If internal, the link is relative to the current site."
379
375
  }
380
376
  },
381
377
  "required": [
382
378
  "href"
383
379
  ],
384
- "additionalProperties": false
380
+ "additionalProperties": false,
381
+ "title": "HREF Add Option",
382
+ "description": "An option for the add menu that opens a link."
385
383
  }
386
384
  ]
387
385
  }
@@ -415,13 +413,11 @@
415
413
  "type": "string"
416
414
  },
417
415
  "additionalProperties": {
418
- "title": "Schema",
419
- "description": "Definitions for your schemas, which are the structured data formats for your content files.",
420
416
  "type": "object",
421
417
  "properties": {
422
418
  "path": {
423
- "description": "The path to the schema file. Relative to the root folder of the site.",
424
- "type": "string"
419
+ "type": "string",
420
+ "description": "The path to the schema file. Relative to the root folder of the site."
425
421
  },
426
422
  "name": {
427
423
  "description": "Displayed in the add menu when creating new files. Defaults to a formatted version of the key.",
@@ -490,7 +486,9 @@
490
486
  "required": [
491
487
  "path"
492
488
  ],
493
- "additionalProperties": false
489
+ "additionalProperties": false,
490
+ "title": "Schema",
491
+ "description": "Definitions for your schemas, which are the structured data formats for your content files."
494
492
  }
495
493
  },
496
494
  "schemas_from_glob": {
@@ -534,34 +532,33 @@
534
532
  "required": [
535
533
  "path"
536
534
  ],
537
- "additionalProperties": false
535
+ "additionalProperties": false,
536
+ "id": "collections_config.*",
537
+ "title": "Collection Config"
538
538
  },
539
539
  "path": {
540
+ "type": "string",
540
541
  "id": "path",
541
- "description": "This key defines the folder path for the collection key in which it is nested. The value for this key is relative to your Site `source`. Each Collection must have a unique path.",
542
- "type": "string"
542
+ "description": "This key defines the folder path for the collection key in which it is nested. The value for this key is relative to your Site `source`. Each Collection must have a unique path."
543
543
  },
544
544
  "glob": {
545
545
  "id": "glob",
546
546
  "description": "This key defines globs which filter the files visible in the _Collection browser_ for a given Collection. Values in this array are relative to the Collection `path`.",
547
547
  "anyOf": [
548
548
  {
549
- "title": "Glob Array",
550
549
  "type": "array",
551
550
  "items": {
552
551
  "type": "string"
553
- }
552
+ },
553
+ "title": "Glob Array"
554
554
  },
555
555
  {
556
- "title": "Glob",
557
- "type": "string"
556
+ "type": "string",
557
+ "title": "Glob"
558
558
  }
559
559
  ]
560
560
  },
561
561
  "icon": {
562
- "id": "icon",
563
- "title": "Icon",
564
- "description": "Material Symbol icon names available in CloudCannon for UI elements and content previews.",
565
562
  "type": "string",
566
563
  "enum": [
567
564
  "123",
@@ -4148,17 +4145,17 @@
4148
4145
  "zoom_in_map",
4149
4146
  "zoom_out",
4150
4147
  "zoom_out_map"
4151
- ]
4148
+ ],
4149
+ "id": "icon",
4150
+ "title": "Icon",
4151
+ "description": "Material Symbol icon names available in CloudCannon for UI elements and content previews."
4152
4152
  },
4153
4153
  "type.documentation": {
4154
- "id": "type.documentation",
4155
- "title": "Documentation",
4156
- "description": "Configuration for documentation links displayed in the CloudCannon interface.",
4157
4154
  "type": "object",
4158
4155
  "properties": {
4159
4156
  "url": {
4160
- "description": "The \"href\" value of the link.",
4161
- "type": "string"
4157
+ "type": "string",
4158
+ "description": "The \"href\" value of the link."
4162
4159
  },
4163
4160
  "text": {
4164
4161
  "description": "The visible text used in the link.",
@@ -4173,23 +4170,23 @@
4173
4170
  "required": [
4174
4171
  "url"
4175
4172
  ],
4176
- "additionalProperties": false
4173
+ "additionalProperties": false,
4174
+ "id": "type.documentation",
4175
+ "title": "Documentation",
4176
+ "description": "Configuration for documentation links displayed in the CloudCannon interface."
4177
4177
  },
4178
4178
  "EditorKey": {
4179
- "id": "EditorKey",
4180
- "title": "Editor Key",
4181
- "description": "The available editors in CloudCannon: visual, content, and data editors.",
4182
4179
  "type": "string",
4183
4180
  "enum": [
4184
4181
  "visual",
4185
4182
  "content",
4186
4183
  "data"
4187
- ]
4184
+ ],
4185
+ "id": "EditorKey",
4186
+ "title": "Editor Key",
4187
+ "description": "The available editors in CloudCannon: visual, content, and data editors."
4188
4188
  },
4189
4189
  "type.create": {
4190
- "id": "type.create",
4191
- "title": "Create",
4192
- "description": "Controls where new files are saved.",
4193
4190
  "type": "object",
4194
4191
  "properties": {
4195
4192
  "path": {
@@ -4226,27 +4223,26 @@
4226
4223
  "$ref": "#/$defs/type._structures_from_glob"
4227
4224
  }
4228
4225
  },
4229
- "additionalProperties": false
4226
+ "additionalProperties": false,
4227
+ "id": "type.create",
4228
+ "title": "Create",
4229
+ "description": "Controls where new files are saved."
4230
4230
  },
4231
4231
  "type._inputs": {
4232
- "id": "type._inputs",
4233
- "title": "Inputs",
4234
- "description": "Controls the behavior and appearance of your inputs in all data editing interfaces.",
4235
4232
  "type": "object",
4236
4233
  "propertyNames": {
4237
4234
  "type": "string"
4238
4235
  },
4239
4236
  "additionalProperties": {
4240
4237
  "$ref": "#/$defs/Input"
4241
- }
4238
+ },
4239
+ "id": "type._inputs",
4240
+ "title": "Inputs",
4241
+ "description": "Controls the behavior and appearance of your inputs in all data editing interfaces."
4242
4242
  },
4243
4243
  "Input": {
4244
- "id": "Input",
4245
- "title": "Input",
4246
4244
  "anyOf": [
4247
4245
  {
4248
- "title": "Known Input",
4249
- "description": "A union of all input types that are known to the CloudCannon configuration schema.",
4250
4246
  "oneOf": [
4251
4247
  {
4252
4248
  "$ref": "#/$defs/TextInput"
@@ -4305,17 +4301,18 @@
4305
4301
  {
4306
4302
  "$ref": "#/$defs/AutoInput"
4307
4303
  }
4308
- ]
4304
+ ],
4305
+ "title": "Known Input",
4306
+ "description": "A union of all input types that are known to the CloudCannon configuration schema."
4309
4307
  },
4310
4308
  {
4311
4309
  "$ref": "#/$defs/UnknownInput"
4312
4310
  }
4313
- ]
4311
+ ],
4312
+ "id": "Input",
4313
+ "title": "Input"
4314
4314
  },
4315
4315
  "TextInput": {
4316
- "id": "TextInput",
4317
- "title": "Text Input",
4318
- "description": "Provides a simple editing interface for plain text.",
4319
4316
  "type": "object",
4320
4317
  "properties": {
4321
4318
  "comment": {
@@ -4347,8 +4344,6 @@
4347
4344
  "$ref": "#/$defs/type._inputs.*.cascade"
4348
4345
  },
4349
4346
  "type": {
4350
- "title": "Type",
4351
- "description": "Sets an input type, which controls how this input appears and behaves.",
4352
4347
  "type": "string",
4353
4348
  "enum": [
4354
4349
  "text",
@@ -4359,10 +4354,11 @@
4359
4354
  "twitter",
4360
4355
  "github",
4361
4356
  "instagram"
4362
- ]
4357
+ ],
4358
+ "title": "Type",
4359
+ "description": "Sets an input type, which controls how this input appears and behaves."
4363
4360
  },
4364
4361
  "options": {
4365
- "description": "Options that are specific to Text Inputs.",
4366
4362
  "type": "object",
4367
4363
  "properties": {
4368
4364
  "max_length": {
@@ -4377,6 +4373,33 @@
4377
4373
  "min_length_message": {
4378
4374
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
4379
4375
  },
4376
+ "max_words": {
4377
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
4378
+ },
4379
+ "max_words_message": {
4380
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
4381
+ },
4382
+ "min_words": {
4383
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
4384
+ },
4385
+ "min_words_message": {
4386
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
4387
+ },
4388
+ "max_graphemes": {
4389
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
4390
+ },
4391
+ "max_graphemes_message": {
4392
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
4393
+ },
4394
+ "min_graphemes": {
4395
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
4396
+ },
4397
+ "min_graphemes_message": {
4398
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
4399
+ },
4400
+ "locale": {
4401
+ "$ref": "#/$defs/type._inputs.*.options.locale"
4402
+ },
4380
4403
  "pattern": {
4381
4404
  "$ref": "#/$defs/type._inputs.*.options.pattern"
4382
4405
  },
@@ -4410,13 +4433,17 @@
4410
4433
  "$ref": "#/$defs/PreviewEntries"
4411
4434
  }
4412
4435
  },
4413
- "additionalProperties": false
4436
+ "additionalProperties": false,
4437
+ "description": "Options that are specific to Text Inputs."
4414
4438
  }
4415
4439
  },
4416
4440
  "required": [
4417
4441
  "type"
4418
4442
  ],
4419
- "additionalProperties": false
4443
+ "additionalProperties": false,
4444
+ "id": "TextInput",
4445
+ "title": "Text Input",
4446
+ "description": "Provides a simple editing interface for plain text."
4420
4447
  },
4421
4448
  "type._inputs.*.comment": {
4422
4449
  "id": "type._inputs.*.comment",
@@ -4424,8 +4451,6 @@
4424
4451
  "type": "string"
4425
4452
  },
4426
4453
  "type._inputs.*.context": {
4427
- "id": "type._inputs.*.context",
4428
- "description": "Adds an expandable section of rich text below the input.",
4429
4454
  "type": "object",
4430
4455
  "properties": {
4431
4456
  "content": {
@@ -4446,7 +4471,9 @@
4446
4471
  "$ref": "#/$defs/icon"
4447
4472
  }
4448
4473
  },
4449
- "additionalProperties": false
4474
+ "additionalProperties": false,
4475
+ "id": "type._inputs.*.context",
4476
+ "description": "Adds an expandable section of rich text below the input."
4450
4477
  },
4451
4478
  "type._inputs.*.label": {
4452
4479
  "id": "type._inputs.*.label",
@@ -4459,12 +4486,12 @@
4459
4486
  "default": false,
4460
4487
  "anyOf": [
4461
4488
  {
4462
- "title": "Boolean",
4463
- "type": "boolean"
4489
+ "type": "boolean",
4490
+ "title": "Boolean"
4464
4491
  },
4465
4492
  {
4466
- "title": "Query String",
4467
- "type": "string"
4493
+ "type": "string",
4494
+ "title": "Query String"
4468
4495
  }
4469
4496
  ]
4470
4497
  },
@@ -4474,12 +4501,12 @@
4474
4501
  "default": false,
4475
4502
  "anyOf": [
4476
4503
  {
4477
- "title": "Boolean",
4478
- "type": "boolean"
4504
+ "type": "boolean",
4505
+ "title": "Boolean"
4479
4506
  },
4480
4507
  {
4481
- "title": "Query String",
4482
- "type": "string"
4508
+ "type": "string",
4509
+ "title": "Query String"
4483
4510
  }
4484
4511
  ]
4485
4512
  },
@@ -4525,6 +4552,51 @@
4525
4552
  "description": "This key defines the message that explains which minimum string length an Input will accept. This key requires you to define `options.min_length`.",
4526
4553
  "type": "string"
4527
4554
  },
4555
+ "type._inputs.*.options.max_words": {
4556
+ "id": "type._inputs.*.options.max_words",
4557
+ "description": "This key defines the maximum string length, in words, that CloudCannon will allow in an Input. When configured, CloudCannon will warn you when an Input value is too long. If the Input already contains a longer value, CloudCannon will require you to remove characters until the Input contains a valid string to save your changes, or discard your unsaved changes.",
4558
+ "type": "number"
4559
+ },
4560
+ "type._inputs.*.options.max_words_message": {
4561
+ "id": "type._inputs.*.options.max_words_message",
4562
+ "description": "This key defines the message that explains which maximum string length an Input will accept. This key requires you to define `options.max_words.",
4563
+ "type": "string"
4564
+ },
4565
+ "type._inputs.*.options.min_words": {
4566
+ "id": "type._inputs.*.options.min_words",
4567
+ "description": "This key defines the minimum string length, in words, that CloudCannon will allow in an Input. When configured, CloudCannon will warn you when an Input value is too short. If the Input already contains a shorter value, CloudCannon will require you to add characters until the Input contains a valid string to save your changes, or discard your unsaved changes.",
4568
+ "type": "number"
4569
+ },
4570
+ "type._inputs.*.options.min_words_message": {
4571
+ "id": "type._inputs.*.options.min_words_message",
4572
+ "description": "This key defines the message that explains which minimum string length an Input will accept. This key requires you to define `options.min_words`.",
4573
+ "type": "string"
4574
+ },
4575
+ "type._inputs.*.options.max_graphemes": {
4576
+ "id": "type._inputs.*.options.max_graphemes",
4577
+ "description": "This key defines the maximum string length, in graphemes, that CloudCannon will allow in an Input. When configured, CloudCannon will warn you when an Input value is too long. If the Input already contains a longer value, CloudCannon will require you to remove characters until the Input contains a valid string to save your changes, or discard your unsaved changes.",
4578
+ "type": "number"
4579
+ },
4580
+ "type._inputs.*.options.max_graphemes_message": {
4581
+ "id": "type._inputs.*.options.max_graphemes_message",
4582
+ "description": "This key defines the message that explains which maximum string length an Input will accept. This key requires you to define `options.max_graphemes.",
4583
+ "type": "string"
4584
+ },
4585
+ "type._inputs.*.options.min_graphemes": {
4586
+ "id": "type._inputs.*.options.min_graphemes",
4587
+ "description": "This key defines the minimum string length, in graphemes, that CloudCannon will allow in an Input. When configured, CloudCannon will warn you when an Input value is too short. If the Input already contains a shorter value, CloudCannon will require you to add characters until the Input contains a valid string to save your changes, or discard your unsaved changes.",
4588
+ "type": "number"
4589
+ },
4590
+ "type._inputs.*.options.min_graphemes_message": {
4591
+ "id": "type._inputs.*.options.min_graphemes_message",
4592
+ "description": "This key defines the message that explains which minimum string length an Input will accept. This key requires you to define `options.min_graphemes`.",
4593
+ "type": "string"
4594
+ },
4595
+ "type._inputs.*.options.locale": {
4596
+ "id": "type._inputs.*.options.locale",
4597
+ "description": "This key defines the locale that CloudCannon uses to determine the number of words or graphemes in this Input, if you have `max_words`, `min_words`, `max_graphemes`, or `min_graphemes` configured.",
4598
+ "type": "string"
4599
+ },
4528
4600
  "type._inputs.*.options.pattern": {
4529
4601
  "id": "type._inputs.*.options.pattern",
4530
4602
  "description": "This key defines a regular expression that the Input value must match. When configured, CloudCannon will require you to enter a value that matches the REGEX pattern. If the Input already contains an invalid value, CloudCannon will require you to enter a valid string to save your changes, or discard your unsaved changes.",
@@ -4585,9 +4657,9 @@
4585
4657
  "type": "string"
4586
4658
  },
4587
4659
  "type._inputs.*.options.empty_type(text)": {
4660
+ "default": "null",
4588
4661
  "id": "type._inputs.*.options.empty_type(text)",
4589
4662
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
4590
- "default": "null",
4591
4663
  "type": "string",
4592
4664
  "enum": [
4593
4665
  "null",
@@ -4595,7 +4667,6 @@
4595
4667
  ]
4596
4668
  },
4597
4669
  "PreviewEntries": {
4598
- "id": "PreviewEntries",
4599
4670
  "anyOf": [
4600
4671
  {
4601
4672
  "$ref": "#/$defs/type.preview-entry.(array)"
@@ -4606,19 +4677,18 @@
4606
4677
  {
4607
4678
  "$ref": "#/$defs/type.preview-entry.(false)"
4608
4679
  }
4609
- ]
4680
+ ],
4681
+ "id": "PreviewEntries"
4610
4682
  },
4611
4683
  "type.preview-entry.(array)": {
4612
- "id": "type.preview-entry.(array)",
4613
- "title": "Array",
4614
4684
  "type": "array",
4615
4685
  "items": {
4616
4686
  "$ref": "#/$defs/type.preview-entry"
4617
- }
4687
+ },
4688
+ "id": "type.preview-entry.(array)",
4689
+ "title": "Array"
4618
4690
  },
4619
4691
  "type.preview-entry": {
4620
- "id": "type.preview-entry",
4621
- "title": "Preview Entry",
4622
4692
  "anyOf": [
4623
4693
  {
4624
4694
  "$ref": "#/$defs/type.preview-entry.(key)"
@@ -4635,68 +4705,67 @@
4635
4705
  {
4636
4706
  "$ref": "#/$defs/type.preview-entry.(false)"
4637
4707
  }
4638
- ]
4708
+ ],
4709
+ "id": "type.preview-entry",
4710
+ "title": "Preview Entry"
4639
4711
  },
4640
4712
  "type.preview-entry.(key)": {
4641
- "id": "type.preview-entry.(key)",
4642
- "title": "Key",
4643
4713
  "type": "object",
4644
4714
  "properties": {
4645
4715
  "key": {
4646
- "title": "Key Value",
4647
- "type": "string"
4716
+ "type": "string",
4717
+ "title": "Key Value"
4648
4718
  }
4649
4719
  },
4650
4720
  "required": [
4651
4721
  "key"
4652
4722
  ],
4653
- "additionalProperties": false
4723
+ "additionalProperties": false,
4724
+ "id": "type.preview-entry.(key)",
4725
+ "title": "Key"
4654
4726
  },
4655
4727
  "type.preview-entry.(template)": {
4656
- "id": "type.preview-entry.(template)",
4657
- "title": "Template",
4658
4728
  "type": "object",
4659
4729
  "properties": {
4660
4730
  "template": {
4661
- "title": "Template Value",
4662
- "type": "string"
4731
+ "type": "string",
4732
+ "title": "Template Value"
4663
4733
  }
4664
4734
  },
4665
4735
  "required": [
4666
4736
  "template"
4667
4737
  ],
4668
- "additionalProperties": false
4738
+ "additionalProperties": false,
4739
+ "id": "type.preview-entry.(template)",
4740
+ "title": "Template"
4669
4741
  },
4670
4742
  "type.preview-entry.(text)": {
4671
- "id": "type.preview-entry.(text)",
4672
- "title": "Text",
4673
4743
  "type": "object",
4674
4744
  "properties": {
4675
4745
  "text": {
4676
- "title": "Text Value",
4677
- "type": "string"
4746
+ "type": "string",
4747
+ "title": "Text Value"
4678
4748
  }
4679
4749
  },
4680
4750
  "required": [
4681
4751
  "text"
4682
4752
  ],
4683
- "additionalProperties": false
4753
+ "additionalProperties": false,
4754
+ "id": "type.preview-entry.(text)",
4755
+ "title": "Text"
4684
4756
  },
4685
4757
  "type.preview-entry.(raw-text)": {
4758
+ "type": "string",
4686
4759
  "id": "type.preview-entry.(raw-text)",
4687
- "title": "Raw Text",
4688
- "type": "string"
4760
+ "title": "Raw Text"
4689
4761
  },
4690
4762
  "type.preview-entry.(false)": {
4691
- "id": "type.preview-entry.(false)",
4692
- "title": "False",
4693
4763
  "type": "boolean",
4694
- "const": false
4764
+ "const": false,
4765
+ "id": "type.preview-entry.(false)",
4766
+ "title": "False"
4695
4767
  },
4696
4768
  "TextareaInput": {
4697
- "id": "TextareaInput",
4698
- "title": "Textarea Input",
4699
- "description": "Provides an editing interface for plain text.",
4700
4769
  "type": "object",
4701
4770
  "properties": {
4702
4771
  "comment": {
@@ -4728,13 +4797,12 @@
4728
4797
  "$ref": "#/$defs/type._inputs.*.cascade"
4729
4798
  },
4730
4799
  "type": {
4731
- "title": "Type",
4732
- "description": "Sets an input type, which controls how this input appears and behaves.",
4733
4800
  "type": "string",
4734
- "const": "textarea"
4801
+ "const": "textarea",
4802
+ "title": "Type",
4803
+ "description": "Sets an input type, which controls how this input appears and behaves."
4735
4804
  },
4736
4805
  "options": {
4737
- "description": "Options that are specific to Textarea Inputs.",
4738
4806
  "type": "object",
4739
4807
  "properties": {
4740
4808
  "max_length": {
@@ -4749,6 +4817,33 @@
4749
4817
  "min_length_message": {
4750
4818
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
4751
4819
  },
4820
+ "max_words": {
4821
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
4822
+ },
4823
+ "max_words_message": {
4824
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
4825
+ },
4826
+ "min_words": {
4827
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
4828
+ },
4829
+ "min_words_message": {
4830
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
4831
+ },
4832
+ "max_graphemes": {
4833
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
4834
+ },
4835
+ "max_graphemes_message": {
4836
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
4837
+ },
4838
+ "min_graphemes": {
4839
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
4840
+ },
4841
+ "min_graphemes_message": {
4842
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
4843
+ },
4844
+ "locale": {
4845
+ "$ref": "#/$defs/type._inputs.*.options.locale"
4846
+ },
4752
4847
  "pattern": {
4753
4848
  "$ref": "#/$defs/type._inputs.*.options.pattern"
4754
4849
  },
@@ -4777,18 +4872,19 @@
4777
4872
  "type": "boolean"
4778
4873
  }
4779
4874
  },
4780
- "additionalProperties": false
4875
+ "additionalProperties": false,
4876
+ "description": "Options that are specific to Textarea Inputs."
4781
4877
  }
4782
4878
  },
4783
4879
  "required": [
4784
4880
  "type"
4785
4881
  ],
4786
- "additionalProperties": false
4882
+ "additionalProperties": false,
4883
+ "id": "TextareaInput",
4884
+ "title": "Textarea Input",
4885
+ "description": "Provides an editing interface for plain text."
4787
4886
  },
4788
4887
  "CodeInput": {
4789
- "id": "CodeInput",
4790
- "title": "Code Input",
4791
- "description": "Provides an editing interface for code or mono-spaced plain text content.",
4792
4888
  "type": "object",
4793
4889
  "properties": {
4794
4890
  "comment": {
@@ -4820,13 +4916,12 @@
4820
4916
  "$ref": "#/$defs/type._inputs.*.cascade"
4821
4917
  },
4822
4918
  "type": {
4823
- "title": "Type",
4824
- "description": "Sets an input type, which controls how this input appears and behaves.",
4825
4919
  "type": "string",
4826
- "const": "code"
4920
+ "const": "code",
4921
+ "title": "Type",
4922
+ "description": "Sets an input type, which controls how this input appears and behaves."
4827
4923
  },
4828
4924
  "options": {
4829
- "description": "Options that are specific to Code Inputs.",
4830
4925
  "type": "object",
4831
4926
  "properties": {
4832
4927
  "tab_size": {
@@ -4857,6 +4952,33 @@
4857
4952
  "min_length_message": {
4858
4953
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
4859
4954
  },
4955
+ "max_words": {
4956
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
4957
+ },
4958
+ "max_words_message": {
4959
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
4960
+ },
4961
+ "min_words": {
4962
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
4963
+ },
4964
+ "min_words_message": {
4965
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
4966
+ },
4967
+ "max_graphemes": {
4968
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
4969
+ },
4970
+ "max_graphemes_message": {
4971
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
4972
+ },
4973
+ "min_graphemes": {
4974
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
4975
+ },
4976
+ "min_graphemes_message": {
4977
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
4978
+ },
4979
+ "locale": {
4980
+ "$ref": "#/$defs/type._inputs.*.options.locale"
4981
+ },
4860
4982
  "pattern": {
4861
4983
  "$ref": "#/$defs/type._inputs.*.options.pattern"
4862
4984
  },
@@ -4888,16 +5010,19 @@
4888
5010
  "$ref": "#/$defs/Syntax"
4889
5011
  }
4890
5012
  },
4891
- "additionalProperties": false
5013
+ "additionalProperties": false,
5014
+ "description": "Options that are specific to Code Inputs."
4892
5015
  }
4893
5016
  },
4894
5017
  "required": [
4895
5018
  "type"
4896
5019
  ],
4897
- "additionalProperties": false
5020
+ "additionalProperties": false,
5021
+ "id": "CodeInput",
5022
+ "title": "Code Input",
5023
+ "description": "Provides an editing interface for code or mono-spaced plain text content."
4898
5024
  },
4899
5025
  "Theme": {
4900
- "id": "Theme",
4901
5026
  "type": "string",
4902
5027
  "enum": [
4903
5028
  "atomone",
@@ -4925,12 +5050,10 @@
4925
5050
  "vscode_light",
4926
5051
  "xcode_dark",
4927
5052
  "xcode_light"
4928
- ]
5053
+ ],
5054
+ "id": "Theme"
4929
5055
  },
4930
5056
  "Syntax": {
4931
- "id": "Syntax",
4932
- "title": "Syntax",
4933
- "description": "Available syntax highlighting languages for code editors in CloudCannon.",
4934
5057
  "type": "string",
4935
5058
  "enum": [
4936
5059
  "c_cpp",
@@ -5001,12 +5124,12 @@
5001
5124
  "xml",
5002
5125
  "xquery",
5003
5126
  "yaml"
5004
- ]
5127
+ ],
5128
+ "id": "Syntax",
5129
+ "title": "Syntax",
5130
+ "description": "Available syntax highlighting languages for code editors in CloudCannon."
5005
5131
  },
5006
5132
  "ColorInput": {
5007
- "id": "ColorInput",
5008
- "title": "Color Input",
5009
- "description": "Provides an editing interface for color values.",
5010
5133
  "type": "object",
5011
5134
  "properties": {
5012
5135
  "comment": {
@@ -5038,13 +5161,12 @@
5038
5161
  "$ref": "#/$defs/type._inputs.*.cascade"
5039
5162
  },
5040
5163
  "type": {
5041
- "title": "Type",
5042
- "description": "Sets an input type, which controls how this input appears and behaves.",
5043
5164
  "type": "string",
5044
- "const": "color"
5165
+ "const": "color",
5166
+ "title": "Type",
5167
+ "description": "Sets an input type, which controls how this input appears and behaves."
5045
5168
  },
5046
5169
  "options": {
5047
- "description": "Options that are specific to Color Inputs.",
5048
5170
  "type": "object",
5049
5171
  "properties": {
5050
5172
  "max_length": {
@@ -5059,6 +5181,33 @@
5059
5181
  "min_length_message": {
5060
5182
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
5061
5183
  },
5184
+ "max_words": {
5185
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
5186
+ },
5187
+ "max_words_message": {
5188
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
5189
+ },
5190
+ "min_words": {
5191
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
5192
+ },
5193
+ "min_words_message": {
5194
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
5195
+ },
5196
+ "max_graphemes": {
5197
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
5198
+ },
5199
+ "max_graphemes_message": {
5200
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
5201
+ },
5202
+ "min_graphemes": {
5203
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
5204
+ },
5205
+ "min_graphemes_message": {
5206
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
5207
+ },
5208
+ "locale": {
5209
+ "$ref": "#/$defs/type._inputs.*.options.locale"
5210
+ },
5062
5211
  "pattern": {
5063
5212
  "$ref": "#/$defs/type._inputs.*.options.pattern"
5064
5213
  },
@@ -5102,18 +5251,19 @@
5102
5251
  "type": "boolean"
5103
5252
  }
5104
5253
  },
5105
- "additionalProperties": false
5254
+ "additionalProperties": false,
5255
+ "description": "Options that are specific to Color Inputs."
5106
5256
  }
5107
5257
  },
5108
5258
  "required": [
5109
5259
  "type"
5110
5260
  ],
5111
- "additionalProperties": false
5261
+ "additionalProperties": false,
5262
+ "id": "ColorInput",
5263
+ "title": "Color Input",
5264
+ "description": "Provides an editing interface for color values."
5112
5265
  },
5113
5266
  "BooleanInput": {
5114
- "id": "BooleanInput",
5115
- "title": "Boolean Input",
5116
- "description": "Provides an editing interface for true or false values.",
5117
5267
  "type": "object",
5118
5268
  "properties": {
5119
5269
  "comment": {
@@ -5145,24 +5295,24 @@
5145
5295
  "$ref": "#/$defs/type._inputs.*.cascade"
5146
5296
  },
5147
5297
  "type": {
5148
- "title": "Type",
5149
- "description": "Sets an input type, which controls how this input appears and behaves.",
5150
5298
  "type": "string",
5151
5299
  "enum": [
5152
5300
  "checkbox",
5153
5301
  "switch"
5154
- ]
5302
+ ],
5303
+ "title": "Type",
5304
+ "description": "Sets an input type, which controls how this input appears and behaves."
5155
5305
  }
5156
5306
  },
5157
5307
  "required": [
5158
5308
  "type"
5159
5309
  ],
5160
- "additionalProperties": false
5310
+ "additionalProperties": false,
5311
+ "id": "BooleanInput",
5312
+ "title": "Boolean Input",
5313
+ "description": "Provides an editing interface for true or false values."
5161
5314
  },
5162
5315
  "NumberInput": {
5163
- "id": "NumberInput",
5164
- "title": "Number Input",
5165
- "description": "Provides an editing interface for numeric values.",
5166
5316
  "type": "object",
5167
5317
  "properties": {
5168
5318
  "comment": {
@@ -5194,13 +5344,12 @@
5194
5344
  "$ref": "#/$defs/type._inputs.*.cascade"
5195
5345
  },
5196
5346
  "type": {
5197
- "title": "Type",
5198
- "description": "Sets an input type, which controls how this input appears and behaves.",
5199
5347
  "type": "string",
5200
- "const": "number"
5348
+ "const": "number",
5349
+ "title": "Type",
5350
+ "description": "Sets an input type, which controls how this input appears and behaves."
5201
5351
  },
5202
5352
  "options": {
5203
- "description": "Options that are specific to Number Inputs.",
5204
5353
  "type": "object",
5205
5354
  "properties": {
5206
5355
  "required": {
@@ -5228,18 +5377,22 @@
5228
5377
  "$ref": "#/$defs/type._inputs.*.options.max_message"
5229
5378
  }
5230
5379
  },
5231
- "additionalProperties": false
5380
+ "additionalProperties": false,
5381
+ "description": "Options that are specific to Number Inputs."
5232
5382
  }
5233
5383
  },
5234
5384
  "required": [
5235
5385
  "type"
5236
5386
  ],
5237
- "additionalProperties": false
5387
+ "additionalProperties": false,
5388
+ "id": "NumberInput",
5389
+ "title": "Number Input",
5390
+ "description": "Provides an editing interface for numeric values."
5238
5391
  },
5239
5392
  "type._inputs.*.options.empty_type(number)": {
5393
+ "default": "null",
5240
5394
  "id": "type._inputs.*.options.empty_type(number)",
5241
5395
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
5242
- "default": "null",
5243
5396
  "type": "string",
5244
5397
  "enum": [
5245
5398
  "null",
@@ -5247,14 +5400,14 @@
5247
5400
  ]
5248
5401
  },
5249
5402
  "type._inputs.*.options.min": {
5403
+ "type": "number",
5250
5404
  "id": "type._inputs.*.options.min",
5251
- "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.",
5252
- "type": "number"
5405
+ "description": "This key defines the minimum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a lesser numerical value. If the Input already contains a lesser numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes."
5253
5406
  },
5254
5407
  "type._inputs.*.options.max": {
5408
+ "type": "number",
5255
5409
  "id": "type._inputs.*.options.max",
5256
- "description": "This key defines the maximum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a greater numerical value. If the Input already contains a greater numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes.",
5257
- "type": "number"
5410
+ "description": "This key defines the maximum numerical value CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from entering a greater numerical value. If the Input already contains a greater numerical value, CloudCannon will require you to enter a valid value to save your changes, or discard your unsaved changes."
5258
5411
  },
5259
5412
  "type._inputs.*.options.step": {
5260
5413
  "id": "type._inputs.*.options.step",
@@ -5272,9 +5425,6 @@
5272
5425
  "type": "string"
5273
5426
  },
5274
5427
  "RangeInput": {
5275
- "id": "RangeInput",
5276
- "title": "Range Input",
5277
- "description": "Provides a slider interface for selecting a numeric value.",
5278
5428
  "type": "object",
5279
5429
  "properties": {
5280
5430
  "comment": {
@@ -5306,13 +5456,12 @@
5306
5456
  "$ref": "#/$defs/type._inputs.*.cascade"
5307
5457
  },
5308
5458
  "type": {
5309
- "title": "Type",
5310
- "description": "Sets an input type, which controls how this input appears and behaves.",
5311
5459
  "type": "string",
5312
- "const": "range"
5460
+ "const": "range",
5461
+ "title": "Type",
5462
+ "description": "Sets an input type, which controls how this input appears and behaves."
5313
5463
  },
5314
5464
  "options": {
5315
- "description": "Options that are specific to Range Inputs.",
5316
5465
  "type": "object",
5317
5466
  "properties": {
5318
5467
  "required": {
@@ -5344,18 +5493,19 @@
5344
5493
  "min",
5345
5494
  "max"
5346
5495
  ],
5347
- "additionalProperties": false
5496
+ "additionalProperties": false,
5497
+ "description": "Options that are specific to Range Inputs."
5348
5498
  }
5349
5499
  },
5350
5500
  "required": [
5351
5501
  "type"
5352
5502
  ],
5353
- "additionalProperties": false
5503
+ "additionalProperties": false,
5504
+ "id": "RangeInput",
5505
+ "title": "Range Input",
5506
+ "description": "Provides a slider interface for selecting a numeric value."
5354
5507
  },
5355
5508
  "RichTextInput": {
5356
- "id": "RichTextInput",
5357
- "title": "Rich Text Input",
5358
- "description": "Provides an editing interface for HTML markup content.",
5359
5509
  "type": "object",
5360
5510
  "properties": {
5361
5511
  "comment": {
@@ -5387,16 +5537,15 @@
5387
5537
  "$ref": "#/$defs/type._inputs.*.cascade"
5388
5538
  },
5389
5539
  "type": {
5390
- "title": "Type",
5391
- "description": "Sets an input type, which controls how this input appears and behaves.",
5392
5540
  "type": "string",
5393
5541
  "enum": [
5394
5542
  "html",
5395
5543
  "markdown"
5396
- ]
5544
+ ],
5545
+ "title": "Type",
5546
+ "description": "Sets an input type, which controls how this input appears and behaves."
5397
5547
  },
5398
5548
  "options": {
5399
- "description": "Options that are specific to Rich Text Inputs.",
5400
5549
  "type": "object",
5401
5550
  "properties": {
5402
5551
  "mime_type": {
@@ -5543,6 +5692,33 @@
5543
5692
  "min_length_message": {
5544
5693
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
5545
5694
  },
5695
+ "max_words": {
5696
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
5697
+ },
5698
+ "max_words_message": {
5699
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
5700
+ },
5701
+ "min_words": {
5702
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
5703
+ },
5704
+ "min_words_message": {
5705
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
5706
+ },
5707
+ "max_graphemes": {
5708
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
5709
+ },
5710
+ "max_graphemes_message": {
5711
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
5712
+ },
5713
+ "min_graphemes": {
5714
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
5715
+ },
5716
+ "min_graphemes_message": {
5717
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
5718
+ },
5719
+ "locale": {
5720
+ "$ref": "#/$defs/type._inputs.*.options.locale"
5721
+ },
5546
5722
  "pattern": {
5547
5723
  "$ref": "#/$defs/type._inputs.*.options.pattern"
5548
5724
  },
@@ -5562,7 +5738,11 @@
5562
5738
  "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
5563
5739
  },
5564
5740
  "allow_resize": {
5565
- "description": "Shows or hides the resize handler to vertically resize the input.",
5741
+ "deprecated": true,
5742
+ "type": "boolean"
5743
+ },
5744
+ "prevent_resize": {
5745
+ "description": "Hides the resize handler to vertically resize the input.",
5566
5746
  "default": false,
5567
5747
  "type": "boolean"
5568
5748
  },
@@ -5571,13 +5751,17 @@
5571
5751
  "type": "number"
5572
5752
  }
5573
5753
  },
5574
- "additionalProperties": false
5754
+ "additionalProperties": false,
5755
+ "description": "Options that are specific to Rich Text Inputs."
5575
5756
  }
5576
5757
  },
5577
5758
  "required": [
5578
5759
  "type"
5579
5760
  ],
5580
- "additionalProperties": false
5761
+ "additionalProperties": false,
5762
+ "id": "RichTextInput",
5763
+ "title": "Rich Text Input",
5764
+ "description": "Provides an editing interface for HTML markup content."
5581
5765
  },
5582
5766
  "type._inputs.*.options.mime_type": {
5583
5767
  "id": "type._inputs.*.options.mime_type",
@@ -5654,8 +5838,8 @@
5654
5838
  "type": "object",
5655
5839
  "properties": {
5656
5840
  "size": {
5657
- "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w).",
5658
- "type": "string"
5841
+ "type": "string",
5842
+ "description": "A number suffixed with \"x\" (relative size) or \"w\" (fixed width) for setting the dimensions of the image (e.g. 2x, 3x, 100w, 360w)."
5659
5843
  },
5660
5844
  "target": {
5661
5845
  "description": "A reference to another input that is given the path to this additional image file.",
@@ -5866,9 +6050,6 @@
5866
6050
  "type": "boolean"
5867
6051
  },
5868
6052
  "DateInput": {
5869
- "id": "DateInput",
5870
- "title": "Date Input",
5871
- "description": "Provides an editing interface for date and/or time values.",
5872
6053
  "type": "object",
5873
6054
  "properties": {
5874
6055
  "comment": {
@@ -5900,16 +6081,15 @@
5900
6081
  "$ref": "#/$defs/type._inputs.*.cascade"
5901
6082
  },
5902
6083
  "type": {
5903
- "title": "Type",
5904
- "description": "Sets an input type, which controls how this input appears and behaves.",
5905
6084
  "type": "string",
5906
6085
  "enum": [
5907
6086
  "date",
5908
6087
  "datetime"
5909
- ]
6088
+ ],
6089
+ "title": "Type",
6090
+ "description": "Sets an input type, which controls how this input appears and behaves."
5910
6091
  },
5911
6092
  "options": {
5912
- "description": "Options that are specific to Date Inputs.",
5913
6093
  "type": "object",
5914
6094
  "properties": {
5915
6095
  "required": {
@@ -5929,15 +6109,15 @@
5929
6109
  "description": "This key defines the earliest date and time, inclusive, that CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from selecting an earlier date and time. If the Input already contains an earlier date and time, CloudCannon will require you to change it to a valid value to save your changes, or discard your unsaved changes. Value must be in ISO8601 format. If `options.end_before` is also configured, this key cannot be a later date and time.",
5930
6110
  "anyOf": [
5931
6111
  {
5932
- "title": "ISO8601 String",
5933
6112
  "type": "string",
5934
6113
  "format": "date-time",
5935
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
6114
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
6115
+ "title": "ISO8601 String"
5936
6116
  },
5937
6117
  {
6118
+ "type": "string",
5938
6119
  "documentationType": "date",
5939
- "title": "Date",
5940
- "type": "string"
6120
+ "title": "Date"
5941
6121
  }
5942
6122
  ]
5943
6123
  },
@@ -5949,15 +6129,15 @@
5949
6129
  "description": "This key defines the date and time, exclusive, that CloudCannon will allow in an Input. When configured, CloudCannon will prevent you from selecting a later date and time. If the Input already contains a later date and time, CloudCannon will require you to change it to a valid value to save your changes, or discard your unsaved changes. Value must be in ISO8601 format. If options.start_from is also configured, this key cannot be an earlier date and time. This key has no default.",
5950
6130
  "anyOf": [
5951
6131
  {
5952
- "title": "ISO8601 String",
5953
6132
  "type": "string",
5954
6133
  "format": "date-time",
5955
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
6134
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
6135
+ "title": "ISO8601 String"
5956
6136
  },
5957
6137
  {
6138
+ "type": "string",
5958
6139
  "documentationType": "date",
5959
- "title": "Date",
5960
- "type": "string"
6140
+ "title": "Date"
5961
6141
  }
5962
6142
  ]
5963
6143
  },
@@ -5966,17 +6146,19 @@
5966
6146
  "type": "string"
5967
6147
  }
5968
6148
  },
5969
- "additionalProperties": false
6149
+ "additionalProperties": false,
6150
+ "description": "Options that are specific to Date Inputs."
5970
6151
  }
5971
6152
  },
5972
6153
  "required": [
5973
6154
  "type"
5974
6155
  ],
5975
- "additionalProperties": false
6156
+ "additionalProperties": false,
6157
+ "id": "DateInput",
6158
+ "title": "Date Input",
6159
+ "description": "Provides an editing interface for date and/or time values."
5976
6160
  },
5977
6161
  "type.timezone": {
5978
- "id": "type.timezone",
5979
- "title": "Timezone",
5980
6162
  "type": "string",
5981
6163
  "enum": [
5982
6164
  "Africa/Abidjan",
@@ -6574,12 +6756,11 @@
6574
6756
  "W-SU",
6575
6757
  "WET",
6576
6758
  "Zulu"
6577
- ]
6759
+ ],
6760
+ "id": "type.timezone",
6761
+ "title": "Timezone"
6578
6762
  },
6579
6763
  "TimeInput": {
6580
- "id": "TimeInput",
6581
- "title": "Time Input",
6582
- "description": "Provides an editing interface for time values only.",
6583
6764
  "type": "object",
6584
6765
  "properties": {
6585
6766
  "comment": {
@@ -6611,13 +6792,12 @@
6611
6792
  "$ref": "#/$defs/type._inputs.*.cascade"
6612
6793
  },
6613
6794
  "type": {
6614
- "title": "Type",
6615
- "description": "Sets an input type, which controls how this input appears and behaves.",
6616
6795
  "type": "string",
6617
- "const": "time"
6796
+ "const": "time",
6797
+ "title": "Type",
6798
+ "description": "Sets an input type, which controls how this input appears and behaves."
6618
6799
  },
6619
6800
  "options": {
6620
- "description": "Options that are specific to Time Inputs.",
6621
6801
  "type": "object",
6622
6802
  "properties": {
6623
6803
  "required": {
@@ -6630,18 +6810,19 @@
6630
6810
  "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
6631
6811
  }
6632
6812
  },
6633
- "additionalProperties": false
6813
+ "additionalProperties": false,
6814
+ "description": "Options that are specific to Time Inputs."
6634
6815
  }
6635
6816
  },
6636
6817
  "required": [
6637
6818
  "type"
6638
6819
  ],
6639
- "additionalProperties": false
6820
+ "additionalProperties": false,
6821
+ "id": "TimeInput",
6822
+ "title": "Time Input",
6823
+ "description": "Provides an editing interface for time values only."
6640
6824
  },
6641
6825
  "FileInput": {
6642
- "id": "FileInput",
6643
- "title": "File Input",
6644
- "description": "Provides an editing interface for uploading files to your repository or DAM and browsing existing assets.",
6645
6826
  "type": "object",
6646
6827
  "properties": {
6647
6828
  "comment": {
@@ -6673,17 +6854,16 @@
6673
6854
  "$ref": "#/$defs/type._inputs.*.cascade"
6674
6855
  },
6675
6856
  "type": {
6676
- "title": "Type",
6677
- "description": "Sets an input type, which controls how this input appears and behaves.",
6678
6857
  "type": "string",
6679
6858
  "enum": [
6680
6859
  "file",
6681
6860
  "document",
6682
6861
  "image"
6683
- ]
6862
+ ],
6863
+ "title": "Type",
6864
+ "description": "Sets an input type, which controls how this input appears and behaves."
6684
6865
  },
6685
6866
  "options": {
6686
- "description": "Options that are specific to File Inputs.",
6687
6867
  "type": "object",
6688
6868
  "properties": {
6689
6869
  "mime_type": {
@@ -6725,6 +6905,33 @@
6725
6905
  "min_length_message": {
6726
6906
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
6727
6907
  },
6908
+ "max_words": {
6909
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
6910
+ },
6911
+ "max_words_message": {
6912
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
6913
+ },
6914
+ "min_words": {
6915
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
6916
+ },
6917
+ "min_words_message": {
6918
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
6919
+ },
6920
+ "max_graphemes": {
6921
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
6922
+ },
6923
+ "max_graphemes_message": {
6924
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
6925
+ },
6926
+ "min_graphemes": {
6927
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
6928
+ },
6929
+ "min_graphemes_message": {
6930
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
6931
+ },
6932
+ "locale": {
6933
+ "$ref": "#/$defs/type._inputs.*.options.locale"
6934
+ },
6728
6935
  "pattern": {
6729
6936
  "$ref": "#/$defs/type._inputs.*.options.pattern"
6730
6937
  },
@@ -6765,35 +6972,36 @@
6765
6972
  "$ref": "#/$defs/type._inputs.*.options.disable_upload_file_in_file_browser"
6766
6973
  }
6767
6974
  },
6768
- "additionalProperties": false
6975
+ "additionalProperties": false,
6976
+ "description": "Options that are specific to File Inputs."
6769
6977
  }
6770
6978
  },
6771
6979
  "required": [
6772
6980
  "type"
6773
6981
  ],
6774
- "additionalProperties": false
6982
+ "additionalProperties": false,
6983
+ "id": "FileInput",
6984
+ "title": "File Input",
6985
+ "description": "Provides an editing interface for uploading files to your repository or DAM and browsing existing assets."
6775
6986
  },
6776
6987
  "type._inputs.*.options.accepts_mime_types": {
6777
6988
  "id": "type._inputs.*.options.accepts_mime_types",
6778
6989
  "description": "Restricts which file types are available to select or upload to this input. Accepted format is an array or comma-separated string of MIME types. The special value \"*\" means any type is accepted.",
6779
6990
  "anyOf": [
6780
6991
  {
6781
- "title": "Comma Separated",
6782
- "type": "string"
6992
+ "type": "string",
6993
+ "title": "Comma Separated"
6783
6994
  },
6784
6995
  {
6785
- "title": "Array",
6786
6996
  "type": "array",
6787
6997
  "items": {
6788
6998
  "$ref": "#/$defs/MimeType"
6789
- }
6999
+ },
7000
+ "title": "Array"
6790
7001
  }
6791
7002
  ]
6792
7003
  },
6793
7004
  "MimeType": {
6794
- "id": "MimeType",
6795
- "title": "Mime Type",
6796
- "description": "MIME type identifiers for file type validation and handling in CloudCannon.",
6797
7005
  "type": "string",
6798
7006
  "enum": [
6799
7007
  "x-world/x-3dmf",
@@ -7229,7 +7437,10 @@
7229
7437
  "application/zip",
7230
7438
  "multipart/x-zip",
7231
7439
  "text/x-script.zsh"
7232
- ]
7440
+ ],
7441
+ "id": "MimeType",
7442
+ "title": "Mime Type",
7443
+ "description": "MIME type identifiers for file type validation and handling in CloudCannon."
7233
7444
  },
7234
7445
  "type._inputs.*.options.max_file_size": {
7235
7446
  "id": "type._inputs.*.options.max_file_size",
@@ -7260,9 +7471,6 @@
7260
7471
  "type": "boolean"
7261
7472
  },
7262
7473
  "UrlInput": {
7263
- "id": "UrlInput",
7264
- "title": "URL Input",
7265
- "description": "Provides an editing interface for relative, absolute, and fully qualified URLs.",
7266
7474
  "type": "object",
7267
7475
  "properties": {
7268
7476
  "comment": {
@@ -7294,13 +7502,12 @@
7294
7502
  "$ref": "#/$defs/type._inputs.*.cascade"
7295
7503
  },
7296
7504
  "type": {
7297
- "title": "Type",
7298
- "description": "Sets an input type, which controls how this input appears and behaves.",
7299
7505
  "type": "string",
7300
- "const": "url"
7506
+ "const": "url",
7507
+ "title": "Type",
7508
+ "description": "Sets an input type, which controls how this input appears and behaves."
7301
7509
  },
7302
7510
  "options": {
7303
- "description": "Options that are specific to URL Inputs.",
7304
7511
  "type": "object",
7305
7512
  "properties": {
7306
7513
  "mime_type": {
@@ -7342,6 +7549,33 @@
7342
7549
  "min_length_message": {
7343
7550
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
7344
7551
  },
7552
+ "max_words": {
7553
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
7554
+ },
7555
+ "max_words_message": {
7556
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
7557
+ },
7558
+ "min_words": {
7559
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
7560
+ },
7561
+ "min_words_message": {
7562
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
7563
+ },
7564
+ "max_graphemes": {
7565
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
7566
+ },
7567
+ "max_graphemes_message": {
7568
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
7569
+ },
7570
+ "min_graphemes": {
7571
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
7572
+ },
7573
+ "min_graphemes_message": {
7574
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
7575
+ },
7576
+ "locale": {
7577
+ "$ref": "#/$defs/type._inputs.*.options.locale"
7578
+ },
7345
7579
  "pattern": {
7346
7580
  "$ref": "#/$defs/type._inputs.*.options.pattern"
7347
7581
  },
@@ -7402,18 +7636,19 @@
7402
7636
  "type": "boolean"
7403
7637
  }
7404
7638
  },
7405
- "additionalProperties": false
7639
+ "additionalProperties": false,
7640
+ "description": "Options that are specific to URL Inputs."
7406
7641
  }
7407
7642
  },
7408
7643
  "required": [
7409
7644
  "type"
7410
7645
  ],
7411
- "additionalProperties": false
7646
+ "additionalProperties": false,
7647
+ "id": "UrlInput",
7648
+ "title": "URL Input",
7649
+ "description": "Provides an editing interface for relative, absolute, and fully qualified URLs."
7412
7650
  },
7413
7651
  "SelectInput": {
7414
- "id": "SelectInput",
7415
- "title": "Select Input",
7416
- "description": "Provides an editing interface for data with multiple predefined options. Select inputs only allow one value.",
7417
7652
  "type": "object",
7418
7653
  "properties": {
7419
7654
  "comment": {
@@ -7445,13 +7680,12 @@
7445
7680
  "$ref": "#/$defs/type._inputs.*.cascade"
7446
7681
  },
7447
7682
  "type": {
7448
- "title": "Type",
7449
- "description": "Sets an input type, which controls how this input appears and behaves.",
7450
7683
  "type": "string",
7451
- "const": "select"
7684
+ "const": "select",
7685
+ "title": "Type",
7686
+ "description": "Sets an input type, which controls how this input appears and behaves."
7452
7687
  },
7453
7688
  "options": {
7454
- "description": "Options that are specific to Select Inputs.",
7455
7689
  "type": "object",
7456
7690
  "properties": {
7457
7691
  "required": {
@@ -7496,6 +7730,33 @@
7496
7730
  "min_length_message": {
7497
7731
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
7498
7732
  },
7733
+ "max_words": {
7734
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
7735
+ },
7736
+ "max_words_message": {
7737
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
7738
+ },
7739
+ "min_words": {
7740
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
7741
+ },
7742
+ "min_words_message": {
7743
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
7744
+ },
7745
+ "max_graphemes": {
7746
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
7747
+ },
7748
+ "max_graphemes_message": {
7749
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
7750
+ },
7751
+ "min_graphemes": {
7752
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
7753
+ },
7754
+ "min_graphemes_message": {
7755
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
7756
+ },
7757
+ "locale": {
7758
+ "$ref": "#/$defs/type._inputs.*.options.locale"
7759
+ },
7499
7760
  "pattern": {
7500
7761
  "$ref": "#/$defs/type._inputs.*.options.pattern"
7501
7762
  },
@@ -7509,17 +7770,19 @@
7509
7770
  "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7510
7771
  }
7511
7772
  },
7512
- "additionalProperties": false
7773
+ "additionalProperties": false,
7774
+ "description": "Options that are specific to Select Inputs."
7513
7775
  }
7514
7776
  },
7515
7777
  "required": [
7516
7778
  "type"
7517
7779
  ],
7518
- "additionalProperties": false
7780
+ "additionalProperties": false,
7781
+ "id": "SelectInput",
7782
+ "title": "Select Input",
7783
+ "description": "Provides an editing interface for data with multiple predefined options. Select inputs only allow one value."
7519
7784
  },
7520
7785
  "type.preview": {
7521
- "id": "type.preview",
7522
- "title": "Preview",
7523
7786
  "type": "object",
7524
7787
  "properties": {
7525
7788
  "text": {
@@ -7550,7 +7813,9 @@
7550
7813
  "$ref": "#/$defs/type.preview.gallery"
7551
7814
  }
7552
7815
  },
7553
- "additionalProperties": false
7816
+ "additionalProperties": false,
7817
+ "id": "type.preview",
7818
+ "title": "Preview"
7554
7819
  },
7555
7820
  "type.preview.text": {
7556
7821
  "id": "type.preview.text",
@@ -7591,7 +7856,6 @@
7591
7856
  }
7592
7857
  },
7593
7858
  "PreviewMetadataEntry": {
7594
- "id": "PreviewMetadataEntry",
7595
7859
  "type": "object",
7596
7860
  "properties": {
7597
7861
  "text": {
@@ -7610,7 +7874,8 @@
7610
7874
  "$ref": "#/$defs/type.preview.icon_background_color"
7611
7875
  }
7612
7876
  },
7613
- "additionalProperties": false
7877
+ "additionalProperties": false,
7878
+ "id": "PreviewMetadataEntry"
7614
7879
  },
7615
7880
  "type.preview.gallery": {
7616
7881
  "id": "type.preview.gallery",
@@ -7668,8 +7933,8 @@
7668
7933
  },
7669
7934
  "type._inputs.*.options.allow_empty": {
7670
7935
  "id": "type._inputs.*.options.allow_empty",
7936
+ "deprecated": true,
7671
7937
  "description": "Provides an empty option alongside the options provided by values.",
7672
- "default": true,
7673
7938
  "type": "boolean"
7674
7939
  },
7675
7940
  "type._inputs.*.options.values": {
@@ -7677,32 +7942,30 @@
7677
7942
  "description": "Defines the values available to choose from. Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).",
7678
7943
  "anyOf": [
7679
7944
  {
7945
+ "type": "string",
7680
7946
  "title": "Dataset Reference",
7681
- "description": "Reference to a dataset.",
7682
- "type": "string"
7947
+ "description": "Reference to a dataset."
7683
7948
  },
7684
7949
  {
7685
- "description": "Data formats for populating select and multiselect input options, supporting arrays and objects.",
7686
7950
  "anyOf": [
7687
7951
  {
7688
- "title": "Text Array",
7689
7952
  "type": "array",
7690
7953
  "items": {
7691
7954
  "type": "string"
7692
- }
7955
+ },
7956
+ "title": "Text Array"
7693
7957
  },
7694
7958
  {
7695
- "title": "Text Object",
7696
7959
  "type": "object",
7697
7960
  "propertyNames": {
7698
7961
  "type": "string"
7699
7962
  },
7700
7963
  "additionalProperties": {
7701
7964
  "type": "string"
7702
- }
7965
+ },
7966
+ "title": "Text Object"
7703
7967
  },
7704
7968
  {
7705
- "title": "Object Array",
7706
7969
  "type": "array",
7707
7970
  "items": {
7708
7971
  "type": "object",
@@ -7710,17 +7973,19 @@
7710
7973
  "type": "string"
7711
7974
  },
7712
7975
  "additionalProperties": {}
7713
- }
7976
+ },
7977
+ "title": "Object Array"
7714
7978
  },
7715
7979
  {
7716
- "title": "Object",
7717
7980
  "type": "object",
7718
7981
  "propertyNames": {
7719
7982
  "type": "string"
7720
7983
  },
7721
- "additionalProperties": {}
7984
+ "additionalProperties": {},
7985
+ "title": "Object"
7722
7986
  }
7723
- ]
7987
+ ],
7988
+ "description": "Data formats for populating select and multiselect input options, supporting arrays and objects."
7724
7989
  }
7725
7990
  ]
7726
7991
  },
@@ -7752,9 +8017,6 @@
7752
8017
  ]
7753
8018
  },
7754
8019
  "MultiselectInput": {
7755
- "id": "MultiselectInput",
7756
- "title": "Multiselect Input",
7757
- "description": "Provides an editing interface for data with multiple predefined options. Multiselect inputs allow several values.",
7758
8020
  "type": "object",
7759
8021
  "properties": {
7760
8022
  "comment": {
@@ -7786,13 +8048,12 @@
7786
8048
  "$ref": "#/$defs/type._inputs.*.cascade"
7787
8049
  },
7788
8050
  "type": {
7789
- "title": "Type",
7790
- "description": "Sets an input type, which controls how this input appears and behaves.",
7791
8051
  "type": "string",
7792
- "const": "multiselect"
8052
+ "const": "multiselect",
8053
+ "title": "Type",
8054
+ "description": "Sets an input type, which controls how this input appears and behaves."
7793
8055
  },
7794
8056
  "options": {
7795
- "description": "Options that are specific to Multiselect Inputs.",
7796
8057
  "type": "object",
7797
8058
  "properties": {
7798
8059
  "required": {
@@ -7847,13 +8108,17 @@
7847
8108
  "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
7848
8109
  }
7849
8110
  },
7850
- "additionalProperties": false
8111
+ "additionalProperties": false,
8112
+ "description": "Options that are specific to Multiselect Inputs."
7851
8113
  }
7852
8114
  },
7853
8115
  "required": [
7854
8116
  "type"
7855
8117
  ],
7856
- "additionalProperties": false
8118
+ "additionalProperties": false,
8119
+ "id": "MultiselectInput",
8120
+ "title": "Multiselect Input",
8121
+ "description": "Provides an editing interface for data with multiple predefined options. Multiselect inputs allow several values."
7857
8122
  },
7858
8123
  "type._inputs.*.options.max_items": {
7859
8124
  "id": "type._inputs.*.options.max_items",
@@ -7886,9 +8151,9 @@
7886
8151
  "type": "string"
7887
8152
  },
7888
8153
  "type._inputs.*.options.empty_type(array)": {
8154
+ "default": "null",
7889
8155
  "id": "type._inputs.*.options.empty_type(array)",
7890
8156
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
7891
- "default": "null",
7892
8157
  "type": "string",
7893
8158
  "enum": [
7894
8159
  "null",
@@ -7896,9 +8161,6 @@
7896
8161
  ]
7897
8162
  },
7898
8163
  "ChoiceInput": {
7899
- "id": "ChoiceInput",
7900
- "title": "Choice Input",
7901
- "description": "Provides an editing interface for data with multiple predefined options. Choice inputs only allow one value.",
7902
8164
  "type": "object",
7903
8165
  "properties": {
7904
8166
  "comment": {
@@ -7930,13 +8192,12 @@
7930
8192
  "$ref": "#/$defs/type._inputs.*.cascade"
7931
8193
  },
7932
8194
  "type": {
7933
- "title": "Type",
7934
- "description": "Sets an input type, which controls how this input appears and behaves.",
7935
8195
  "type": "string",
7936
- "const": "choice"
8196
+ "const": "choice",
8197
+ "title": "Type",
8198
+ "description": "Sets an input type, which controls how this input appears and behaves."
7937
8199
  },
7938
8200
  "options": {
7939
- "description": "Options that are specific to Choice Inputs.",
7940
8201
  "type": "object",
7941
8202
  "properties": {
7942
8203
  "required": {
@@ -7978,6 +8239,33 @@
7978
8239
  "min_length_message": {
7979
8240
  "$ref": "#/$defs/type._inputs.*.options.min_length_message"
7980
8241
  },
8242
+ "max_words": {
8243
+ "$ref": "#/$defs/type._inputs.*.options.max_words"
8244
+ },
8245
+ "max_words_message": {
8246
+ "$ref": "#/$defs/type._inputs.*.options.max_words_message"
8247
+ },
8248
+ "min_words": {
8249
+ "$ref": "#/$defs/type._inputs.*.options.min_words"
8250
+ },
8251
+ "min_words_message": {
8252
+ "$ref": "#/$defs/type._inputs.*.options.min_words_message"
8253
+ },
8254
+ "max_graphemes": {
8255
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes"
8256
+ },
8257
+ "max_graphemes_message": {
8258
+ "$ref": "#/$defs/type._inputs.*.options.max_graphemes_message"
8259
+ },
8260
+ "min_graphemes": {
8261
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes"
8262
+ },
8263
+ "min_graphemes_message": {
8264
+ "$ref": "#/$defs/type._inputs.*.options.min_graphemes_message"
8265
+ },
8266
+ "locale": {
8267
+ "$ref": "#/$defs/type._inputs.*.options.locale"
8268
+ },
7981
8269
  "pattern": {
7982
8270
  "$ref": "#/$defs/type._inputs.*.options.pattern"
7983
8271
  },
@@ -7991,18 +8279,19 @@
7991
8279
  "$ref": "#/$defs/type._inputs.*.options.empty_type(text)"
7992
8280
  }
7993
8281
  },
7994
- "additionalProperties": false
8282
+ "additionalProperties": false,
8283
+ "description": "Options that are specific to Choice Inputs."
7995
8284
  }
7996
8285
  },
7997
8286
  "required": [
7998
8287
  "type"
7999
8288
  ],
8000
- "additionalProperties": false
8289
+ "additionalProperties": false,
8290
+ "id": "ChoiceInput",
8291
+ "title": "Choice Input",
8292
+ "description": "Provides an editing interface for data with multiple predefined options. Choice inputs only allow one value."
8001
8293
  },
8002
8294
  "MultichoiceInput": {
8003
- "id": "MultichoiceInput",
8004
- "title": "Multichoice Input",
8005
- "description": "Provides an editing interface for data with multiple predefined options. Multichoice inputs allow several values.",
8006
8295
  "type": "object",
8007
8296
  "properties": {
8008
8297
  "comment": {
@@ -8034,13 +8323,12 @@
8034
8323
  "$ref": "#/$defs/type._inputs.*.cascade"
8035
8324
  },
8036
8325
  "type": {
8037
- "title": "Type",
8038
- "description": "Sets an input type, which controls how this input appears and behaves.",
8039
8326
  "type": "string",
8040
- "const": "multichoice"
8327
+ "const": "multichoice",
8328
+ "title": "Type",
8329
+ "description": "Sets an input type, which controls how this input appears and behaves."
8041
8330
  },
8042
8331
  "options": {
8043
- "description": "Options that are specific to Multichoice Inputs.",
8044
8332
  "type": "object",
8045
8333
  "properties": {
8046
8334
  "required": {
@@ -8092,18 +8380,19 @@
8092
8380
  "$ref": "#/$defs/type._inputs.*.options.empty_type(array)"
8093
8381
  }
8094
8382
  },
8095
- "additionalProperties": false
8383
+ "additionalProperties": false,
8384
+ "description": "Options that are specific to Multichoice Inputs."
8096
8385
  }
8097
8386
  },
8098
8387
  "required": [
8099
8388
  "type"
8100
8389
  ],
8101
- "additionalProperties": false
8390
+ "additionalProperties": false,
8391
+ "id": "MultichoiceInput",
8392
+ "title": "Multichoice Input",
8393
+ "description": "Provides an editing interface for data with multiple predefined options. Multichoice inputs allow several values."
8102
8394
  },
8103
8395
  "ObjectInput": {
8104
- "id": "ObjectInput",
8105
- "title": "Object Input",
8106
- "description": "Provides a user interface for a group of inputs.",
8107
8396
  "type": "object",
8108
8397
  "properties": {
8109
8398
  "comment": {
@@ -8135,13 +8424,12 @@
8135
8424
  "$ref": "#/$defs/type._inputs.*.cascade"
8136
8425
  },
8137
8426
  "type": {
8138
- "title": "Type",
8139
- "description": "Sets an input type, which controls how this input appears and behaves.",
8140
8427
  "type": "string",
8141
- "const": "object"
8428
+ "const": "object",
8429
+ "title": "Type",
8430
+ "description": "Sets an input type, which controls how this input appears and behaves."
8142
8431
  },
8143
8432
  "options": {
8144
- "description": "Options that are specific to Object Inputs.",
8145
8433
  "type": "object",
8146
8434
  "properties": {
8147
8435
  "required": {
@@ -8275,18 +8563,22 @@
8275
8563
  ]
8276
8564
  }
8277
8565
  },
8278
- "additionalProperties": false
8566
+ "additionalProperties": false,
8567
+ "description": "Options that are specific to Object Inputs."
8279
8568
  }
8280
8569
  },
8281
8570
  "required": [
8282
8571
  "type"
8283
8572
  ],
8284
- "additionalProperties": false
8573
+ "additionalProperties": false,
8574
+ "id": "ObjectInput",
8575
+ "title": "Object Input",
8576
+ "description": "Provides a user interface for a group of inputs."
8285
8577
  },
8286
8578
  "type._inputs.*.options.empty_type(object)": {
8579
+ "default": "null",
8287
8580
  "id": "type._inputs.*.options.empty_type(object)",
8288
8581
  "description": "Set how an ‘empty’ value will be saved. Does not apply to existing empty values.",
8289
- "default": "null",
8290
8582
  "type": "string",
8291
8583
  "enum": [
8292
8584
  "null",
@@ -8294,15 +8586,12 @@
8294
8586
  ]
8295
8587
  },
8296
8588
  "type.structure-reference": {
8589
+ "type": "string",
8297
8590
  "id": "type.structure-reference",
8298
8591
  "title": "Structure Reference",
8299
- "description": "A reference to an existing structure.",
8300
- "type": "string"
8592
+ "description": "A reference to an existing structure."
8301
8593
  },
8302
8594
  "type.structure": {
8303
- "id": "type.structure",
8304
- "title": "Structure",
8305
- "description": "Provides data formats when adding new items to arrays and objects, with options for how editors choose from available values.",
8306
8595
  "type": "object",
8307
8596
  "properties": {
8308
8597
  "reorder_inputs": {
@@ -8326,11 +8615,11 @@
8326
8615
  "type": "boolean"
8327
8616
  },
8328
8617
  "values": {
8329
- "description": "Defines what values are available to add when using this structure.",
8330
8618
  "type": "array",
8331
8619
  "items": {
8332
8620
  "$ref": "#/$defs/type.structure.values.[*]"
8333
- }
8621
+ },
8622
+ "description": "Defines what values are available to add when using this structure."
8334
8623
  },
8335
8624
  "values_from_glob": {
8336
8625
  "type": "array",
@@ -8356,12 +8645,12 @@
8356
8645
  "required": [
8357
8646
  "values"
8358
8647
  ],
8359
- "additionalProperties": false
8648
+ "additionalProperties": false,
8649
+ "id": "type.structure",
8650
+ "title": "Structure",
8651
+ "description": "Provides data formats when adding new items to arrays and objects, with options for how editors choose from available values."
8360
8652
  },
8361
8653
  "type.structure.values.[*]": {
8362
- "id": "type.structure.values.[*]",
8363
- "title": "Structure Value",
8364
- "description": "A single value option within a structure, defining the data format and appearance for content editors.",
8365
8654
  "type": "object",
8366
8655
  "properties": {
8367
8656
  "reorder_inputs": {
@@ -8492,45 +8781,43 @@
8492
8781
  "required": [
8493
8782
  "value"
8494
8783
  ],
8495
- "additionalProperties": false
8784
+ "additionalProperties": false,
8785
+ "id": "type.structure.values.[*]",
8786
+ "title": "Structure Value",
8787
+ "description": "A single value option within a structure, defining the data format and appearance for content editors."
8496
8788
  },
8497
8789
  "type._inputs_from_glob": {
8498
- "id": "type._inputs_from_glob",
8499
8790
  "type": "array",
8500
8791
  "items": {
8501
8792
  "type": "string"
8502
- }
8793
+ },
8794
+ "id": "type._inputs_from_glob"
8503
8795
  },
8504
8796
  "type._select_data": {
8505
- "id": "type._select_data",
8506
- "title": "Select Data",
8507
- "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs.",
8508
8797
  "type": "object",
8509
8798
  "propertyNames": {
8510
8799
  "type": "string"
8511
8800
  },
8512
8801
  "additionalProperties": {
8513
- "description": "Data formats for populating select and multiselect input options, supporting arrays and objects.",
8514
8802
  "anyOf": [
8515
8803
  {
8516
- "title": "Text Array",
8517
8804
  "type": "array",
8518
8805
  "items": {
8519
8806
  "type": "string"
8520
- }
8807
+ },
8808
+ "title": "Text Array"
8521
8809
  },
8522
8810
  {
8523
- "title": "Text Object",
8524
8811
  "type": "object",
8525
8812
  "propertyNames": {
8526
8813
  "type": "string"
8527
8814
  },
8528
8815
  "additionalProperties": {
8529
8816
  "type": "string"
8530
- }
8817
+ },
8818
+ "title": "Text Object"
8531
8819
  },
8532
8820
  {
8533
- "title": "Object Array",
8534
8821
  "type": "array",
8535
8822
  "items": {
8536
8823
  "type": "object",
@@ -8538,37 +8825,42 @@
8538
8825
  "type": "string"
8539
8826
  },
8540
8827
  "additionalProperties": {}
8541
- }
8828
+ },
8829
+ "title": "Object Array"
8542
8830
  },
8543
8831
  {
8544
- "title": "Object",
8545
8832
  "type": "object",
8546
8833
  "propertyNames": {
8547
8834
  "type": "string"
8548
8835
  },
8549
- "additionalProperties": {}
8836
+ "additionalProperties": {},
8837
+ "title": "Object"
8550
8838
  }
8551
- ]
8552
- }
8839
+ ],
8840
+ "description": "Data formats for populating select and multiselect input options, supporting arrays and objects."
8841
+ },
8842
+ "id": "type._select_data",
8843
+ "title": "Select Data",
8844
+ "description": "Fixed datasets that can be referenced by the _Values_ configuration for _Select_ and _Multiselect_ inputs."
8553
8845
  },
8554
8846
  "type._structures": {
8555
- "id": "type._structures",
8556
- "title": "Structures",
8557
- "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs.",
8558
8847
  "type": "object",
8559
8848
  "propertyNames": {
8560
8849
  "type": "string"
8561
8850
  },
8562
8851
  "additionalProperties": {
8563
8852
  "$ref": "#/$defs/type.structure"
8564
- }
8853
+ },
8854
+ "id": "type._structures",
8855
+ "title": "Structures",
8856
+ "description": "Structured values for editors adding new items to arrays and objects. Entries here can be referenced in the configuration for `array` or `object` inputs."
8565
8857
  },
8566
8858
  "type._structures_from_glob": {
8567
- "id": "type._structures_from_glob",
8568
8859
  "type": "array",
8569
8860
  "items": {
8570
8861
  "type": "string"
8571
- }
8862
+ },
8863
+ "id": "type._structures_from_glob"
8572
8864
  },
8573
8865
  "entries_comment": {
8574
8866
  "id": "entries_comment",
@@ -8576,9 +8868,6 @@
8576
8868
  "type": "string"
8577
8869
  },
8578
8870
  "ArrayInput": {
8579
- "id": "ArrayInput",
8580
- "title": "Array Input",
8581
- "description": "Provides a user interface for lists of inputs or input groups.",
8582
8871
  "type": "object",
8583
8872
  "properties": {
8584
8873
  "comment": {
@@ -8610,13 +8899,12 @@
8610
8899
  "$ref": "#/$defs/type._inputs.*.cascade"
8611
8900
  },
8612
8901
  "type": {
8613
- "title": "Type",
8614
- "description": "Sets an input type, which controls how this input appears and behaves.",
8615
8902
  "type": "string",
8616
- "const": "array"
8903
+ "const": "array",
8904
+ "title": "Type",
8905
+ "description": "Sets an input type, which controls how this input appears and behaves."
8617
8906
  },
8618
8907
  "options": {
8619
- "description": "Options that are specific to Array Inputs.",
8620
8908
  "type": "object",
8621
8909
  "properties": {
8622
8910
  "required": {
@@ -8667,13 +8955,17 @@
8667
8955
  ]
8668
8956
  }
8669
8957
  },
8670
- "additionalProperties": false
8958
+ "additionalProperties": false,
8959
+ "description": "Options that are specific to Array Inputs."
8671
8960
  }
8672
8961
  },
8673
8962
  "required": [
8674
8963
  "type"
8675
8964
  ],
8676
- "additionalProperties": false
8965
+ "additionalProperties": false,
8966
+ "id": "ArrayInput",
8967
+ "title": "Array Input",
8968
+ "description": "Provides a user interface for lists of inputs or input groups."
8677
8969
  },
8678
8970
  "ArrayInput.disable_add": {
8679
8971
  "id": "ArrayInput.disable_add",
@@ -8694,10 +8986,6 @@
8694
8986
  "type": "boolean"
8695
8987
  },
8696
8988
  "AutoInput": {
8697
- "id": "AutoInput",
8698
- "title": "Automatic Input",
8699
- "description": "Provides a default user interface based on the data contained.",
8700
- "excludeFromDocumentation": true,
8701
8989
  "type": "object",
8702
8990
  "properties": {
8703
8991
  "comment": {
@@ -8729,10 +9017,10 @@
8729
9017
  "$ref": "#/$defs/type._inputs.*.cascade"
8730
9018
  },
8731
9019
  "type": {
8732
- "title": "Type",
8733
- "description": "Sets an input type, which controls how this input appears and behaves.",
8734
9020
  "type": "string",
8735
- "const": "auto"
9021
+ "const": "auto",
9022
+ "title": "Type",
9023
+ "description": "Sets an input type, which controls how this input appears and behaves."
8736
9024
  },
8737
9025
  "options": {
8738
9026
  "description": "Options that are specific to this `type` of input."
@@ -8741,13 +9029,13 @@
8741
9029
  "required": [
8742
9030
  "type"
8743
9031
  ],
8744
- "additionalProperties": false
9032
+ "additionalProperties": false,
9033
+ "id": "AutoInput",
9034
+ "title": "Automatic Input",
9035
+ "description": "Provides a default user interface based on the data contained.",
9036
+ "excludeFromDocumentation": true
8745
9037
  },
8746
9038
  "UnknownInput": {
8747
- "id": "UnknownInput",
8748
- "title": "Unknown Input",
8749
- "description": "Provides a default user interface based on the data contained.",
8750
- "excludeFromDocumentation": true,
8751
9039
  "type": "object",
8752
9040
  "properties": {
8753
9041
  "comment": {
@@ -8782,7 +9070,11 @@
8782
9070
  "description": "Options that are specific to this `type` of input."
8783
9071
  }
8784
9072
  },
8785
- "additionalProperties": false
9073
+ "additionalProperties": false,
9074
+ "id": "UnknownInput",
9075
+ "title": "Unknown Input",
9076
+ "description": "Provides a default user interface based on the data contained.",
9077
+ "excludeFromDocumentation": true
8786
9078
  },
8787
9079
  "type._enabled_editors": {
8788
9080
  "id": "type._enabled_editors",
@@ -9203,11 +9495,11 @@
9203
9495
  "additionalProperties": false
9204
9496
  },
9205
9497
  "type._editables_from_glob": {
9206
- "id": "type._editables_from_glob",
9207
9498
  "type": "array",
9208
9499
  "items": {
9209
9500
  "type": "string"
9210
- }
9501
+ },
9502
+ "id": "type._editables_from_glob"
9211
9503
  },
9212
9504
  "collection_groups": {
9213
9505
  "id": "collection_groups",
@@ -9218,27 +9510,27 @@
9218
9510
  }
9219
9511
  },
9220
9512
  "CollectionGroup": {
9221
- "id": "CollectionGroup",
9222
- "title": "Collection Group",
9223
9513
  "type": "object",
9224
9514
  "properties": {
9225
9515
  "heading": {
9226
- "description": "Short, descriptive label for this group of Collections.",
9227
- "type": "string"
9516
+ "type": "string",
9517
+ "description": "Short, descriptive label for this group of Collections."
9228
9518
  },
9229
9519
  "collections": {
9230
- "description": "The collections shown in the sidebar for this group. Collections here are referenced by their key within `collections_config`.",
9231
9520
  "type": "array",
9232
9521
  "items": {
9233
9522
  "type": "string"
9234
- }
9523
+ },
9524
+ "description": "The collections shown in the sidebar for this group. Collections here are referenced by their key within `collections_config`."
9235
9525
  }
9236
9526
  },
9237
9527
  "required": [
9238
9528
  "heading",
9239
9529
  "collections"
9240
9530
  ],
9241
- "additionalProperties": false
9531
+ "additionalProperties": false,
9532
+ "id": "CollectionGroup",
9533
+ "title": "Collection Group"
9242
9534
  },
9243
9535
  "base_url": {
9244
9536
  "id": "base_url",
@@ -9255,7 +9547,6 @@
9255
9547
  }
9256
9548
  },
9257
9549
  "DataConfigEntry": {
9258
- "id": "DataConfigEntry",
9259
9550
  "type": "object",
9260
9551
  "properties": {
9261
9552
  "path": {
@@ -9265,7 +9556,8 @@
9265
9556
  "required": [
9266
9557
  "path"
9267
9558
  ],
9268
- "additionalProperties": false
9559
+ "additionalProperties": false,
9560
+ "id": "DataConfigEntry"
9269
9561
  },
9270
9562
  "file_config": {
9271
9563
  "id": "file_config",
@@ -9275,24 +9567,23 @@
9275
9567
  }
9276
9568
  },
9277
9569
  "FileConfigEntry": {
9278
- "id": "FileConfigEntry",
9279
9570
  "type": "object",
9280
9571
  "properties": {
9281
9572
  "glob": {
9282
- "description": "The glob pattern(s) targeting a path to one or more files.",
9283
9573
  "anyOf": [
9284
9574
  {
9285
- "title": "Glob Array",
9286
9575
  "type": "array",
9287
9576
  "items": {
9288
9577
  "type": "string"
9289
- }
9578
+ },
9579
+ "title": "Glob Array"
9290
9580
  },
9291
9581
  {
9292
- "title": "Glob",
9293
- "type": "string"
9582
+ "type": "string",
9583
+ "title": "Glob"
9294
9584
  }
9295
- ]
9585
+ ],
9586
+ "description": "The glob pattern(s) targeting a path to one or more files."
9296
9587
  },
9297
9588
  "_inputs": {
9298
9589
  "$ref": "#/$defs/type._inputs"
@@ -9322,7 +9613,8 @@
9322
9613
  "required": [
9323
9614
  "glob"
9324
9615
  ],
9325
- "additionalProperties": false
9616
+ "additionalProperties": false,
9617
+ "id": "FileConfigEntry"
9326
9618
  },
9327
9619
  "editor": {
9328
9620
  "id": "editor",
@@ -9338,8 +9630,8 @@
9338
9630
  "additionalProperties": false
9339
9631
  },
9340
9632
  "editor.default_path": {
9341
- "id": "editor.default_path",
9342
9633
  "default": "/",
9634
+ "id": "editor.default_path",
9343
9635
  "type": "string"
9344
9636
  },
9345
9637
  "source_editor": {
@@ -9369,8 +9661,6 @@
9369
9661
  "id": "commit_templates",
9370
9662
  "type": "array",
9371
9663
  "items": {
9372
- "title": "Commit Template",
9373
- "description": "A template for commit messages when saving changes.",
9374
9664
  "type": "object",
9375
9665
  "properties": {
9376
9666
  "label": {
@@ -9403,7 +9693,9 @@
9403
9693
  "type": "number"
9404
9694
  }
9405
9695
  },
9406
- "additionalProperties": false
9696
+ "additionalProperties": false,
9697
+ "title": "Commit Template",
9698
+ "description": "A template for commit messages when saving changes."
9407
9699
  }
9408
9700
  },
9409
9701
  "upstream_commit_template": {
@@ -9412,8 +9704,6 @@
9412
9704
  },
9413
9705
  "markdown": {
9414
9706
  "id": "markdown",
9415
- "title": "Markdown Settings",
9416
- "description": "Configuration for Markdown processing engines and formatting options.",
9417
9707
  "type": "object",
9418
9708
  "properties": {
9419
9709
  "engine": {
@@ -9521,7 +9811,6 @@
9521
9811
  },
9522
9812
  "attribute_elements": {
9523
9813
  "description": "Define positioning behavior of Markdown attributes for different elements.",
9524
- "title": "Markdown Attribute Element Options",
9525
9814
  "type": "object",
9526
9815
  "properties": {
9527
9816
  "inline": {
@@ -9533,18 +9822,18 @@
9533
9822
  },
9534
9823
  "additionalProperties": {
9535
9824
  "$ref": "#/$defs/AttributeListPosition"
9536
- }
9825
+ },
9826
+ "title": "Markdown Attribute Element Options"
9537
9827
  }
9538
9828
  },
9539
9829
  "additionalProperties": false
9540
9830
  }
9541
9831
  },
9542
- "additionalProperties": false
9832
+ "additionalProperties": false,
9833
+ "title": "Markdown Settings",
9834
+ "description": "Configuration for Markdown processing engines and formatting options."
9543
9835
  },
9544
9836
  "AttributeListPosition": {
9545
- "id": "AttributeListPosition",
9546
- "title": "Attribute List Position",
9547
- "description": "Positioning options for Markdown attribute elements.",
9548
9837
  "type": "string",
9549
9838
  "enum": [
9550
9839
  "none",
@@ -9553,7 +9842,10 @@
9553
9842
  "below",
9554
9843
  "newline below",
9555
9844
  "right-of-prefix"
9556
- ]
9845
+ ],
9846
+ "id": "AttributeListPosition",
9847
+ "title": "Attribute List Position",
9848
+ "description": "Positioning options for Markdown attribute elements."
9557
9849
  },
9558
9850
  "type._snippets": {
9559
9851
  "id": "type._snippets",
@@ -9568,9 +9860,6 @@
9568
9860
  }
9569
9861
  },
9570
9862
  "type.snippet": {
9571
- "id": "type.snippet",
9572
- "title": "Snippet",
9573
- "description": "A snippet configuration.",
9574
9863
  "type": "object",
9575
9864
  "properties": {
9576
9865
  "_inputs": {
@@ -9641,7 +9930,6 @@
9641
9930
  "additionalProperties": {
9642
9931
  "anyOf": [
9643
9932
  {
9644
- "title": "Argument List Parser Config",
9645
9933
  "type": "object",
9646
9934
  "properties": {
9647
9935
  "parser": {
@@ -9668,10 +9956,10 @@
9668
9956
  "parser",
9669
9957
  "options"
9670
9958
  ],
9671
- "additionalProperties": false
9959
+ "additionalProperties": false,
9960
+ "title": "Argument List Parser Config"
9672
9961
  },
9673
9962
  {
9674
- "title": "Argument Parser Config",
9675
9963
  "type": "object",
9676
9964
  "properties": {
9677
9965
  "parser": {
@@ -9695,10 +9983,10 @@
9695
9983
  "parser",
9696
9984
  "options"
9697
9985
  ],
9698
- "additionalProperties": false
9986
+ "additionalProperties": false,
9987
+ "title": "Argument Parser Config"
9699
9988
  },
9700
9989
  {
9701
- "title": "Content Parser Config",
9702
9990
  "type": "object",
9703
9991
  "properties": {
9704
9992
  "parser": {
@@ -9765,10 +10053,10 @@
9765
10053
  "parser",
9766
10054
  "options"
9767
10055
  ],
9768
- "additionalProperties": false
10056
+ "additionalProperties": false,
10057
+ "title": "Content Parser Config"
9769
10058
  },
9770
10059
  {
9771
- "title": "Key Value List Parser Config",
9772
10060
  "type": "object",
9773
10061
  "properties": {
9774
10062
  "parser": {
@@ -9800,10 +10088,10 @@
9800
10088
  "required": [
9801
10089
  "parser"
9802
10090
  ],
9803
- "additionalProperties": false
10091
+ "additionalProperties": false,
10092
+ "title": "Key Value List Parser Config"
9804
10093
  },
9805
10094
  {
9806
- "title": "Literal Parser Config",
9807
10095
  "type": "object",
9808
10096
  "properties": {
9809
10097
  "parser": {
@@ -9839,10 +10127,10 @@
9839
10127
  "parser",
9840
10128
  "options"
9841
10129
  ],
9842
- "additionalProperties": false
10130
+ "additionalProperties": false,
10131
+ "title": "Literal Parser Config"
9843
10132
  },
9844
10133
  {
9845
- "title": "Optional Parser Config",
9846
10134
  "type": "object",
9847
10135
  "properties": {
9848
10136
  "parser": {
@@ -9869,10 +10157,10 @@
9869
10157
  "parser",
9870
10158
  "options"
9871
10159
  ],
9872
- "additionalProperties": false
10160
+ "additionalProperties": false,
10161
+ "title": "Optional Parser Config"
9873
10162
  },
9874
10163
  {
9875
- "title": "Repeating Literal Parser Config",
9876
10164
  "type": "object",
9877
10165
  "properties": {
9878
10166
  "parser": {
@@ -9905,10 +10193,10 @@
9905
10193
  "parser",
9906
10194
  "options"
9907
10195
  ],
9908
- "additionalProperties": false
10196
+ "additionalProperties": false,
10197
+ "title": "Repeating Literal Parser Config"
9909
10198
  },
9910
10199
  {
9911
- "title": "Repeating Parser Config",
9912
10200
  "type": "object",
9913
10201
  "properties": {
9914
10202
  "parser": {
@@ -9947,10 +10235,10 @@
9947
10235
  "parser",
9948
10236
  "options"
9949
10237
  ],
9950
- "additionalProperties": false
10238
+ "additionalProperties": false,
10239
+ "title": "Repeating Parser Config"
9951
10240
  },
9952
10241
  {
9953
- "title": "Wrapper Parser Config",
9954
10242
  "type": "object",
9955
10243
  "properties": {
9956
10244
  "parser": {
@@ -9980,13 +10268,17 @@
9980
10268
  "parser",
9981
10269
  "options"
9982
10270
  ],
9983
- "additionalProperties": false
10271
+ "additionalProperties": false,
10272
+ "title": "Wrapper Parser Config"
9984
10273
  }
9985
10274
  ]
9986
10275
  }
9987
10276
  }
9988
10277
  },
9989
- "additionalProperties": false
10278
+ "additionalProperties": false,
10279
+ "id": "type.snippet",
10280
+ "title": "Snippet",
10281
+ "description": "A snippet configuration."
9990
10282
  },
9991
10283
  "SnippetAlternateFormats": {
9992
10284
  "id": "SnippetAlternateFormats",
@@ -10226,8 +10518,6 @@
10226
10518
  "additionalProperties": false
10227
10519
  },
10228
10520
  "type._snippets_imports": {
10229
- "id": "type._snippets_imports",
10230
- "title": "Snippets Imports",
10231
10521
  "type": "object",
10232
10522
  "properties": {
10233
10523
  "hugo": {
@@ -10255,7 +10545,9 @@
10255
10545
  "$ref": "#/$defs/_snippets_imports.docusaurus_mdx"
10256
10546
  }
10257
10547
  },
10258
- "additionalProperties": false
10548
+ "additionalProperties": false,
10549
+ "id": "type._snippets_imports",
10550
+ "title": "Snippets Imports"
10259
10551
  },
10260
10552
  "_snippets_imports.hugo": {
10261
10553
  "id": "_snippets_imports.hugo",
@@ -10265,7 +10557,6 @@
10265
10557
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10266
10558
  },
10267
10559
  {
10268
- "title": "Exclude List",
10269
10560
  "type": "object",
10270
10561
  "properties": {
10271
10562
  "exclude": {
@@ -10275,10 +10566,10 @@
10275
10566
  "required": [
10276
10567
  "exclude"
10277
10568
  ],
10278
- "additionalProperties": false
10569
+ "additionalProperties": false,
10570
+ "title": "Exclude List"
10279
10571
  },
10280
10572
  {
10281
- "title": "Include List",
10282
10573
  "type": "object",
10283
10574
  "properties": {
10284
10575
  "include": {
@@ -10288,30 +10579,31 @@
10288
10579
  "required": [
10289
10580
  "include"
10290
10581
  ],
10291
- "additionalProperties": false
10582
+ "additionalProperties": false,
10583
+ "title": "Include List"
10292
10584
  }
10293
10585
  ]
10294
10586
  },
10295
10587
  "type._snippets_imports.*.(full-import)": {
10588
+ "type": "boolean",
10296
10589
  "id": "type._snippets_imports.*.(full-import)",
10297
- "title": "Full Import",
10298
- "type": "boolean"
10590
+ "title": "Full Import"
10299
10591
  },
10300
10592
  "SnippetImportExclude": {
10301
- "id": "SnippetImportExclude",
10302
- "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`.",
10303
10593
  "type": "array",
10304
10594
  "items": {
10305
10595
  "type": "string"
10306
- }
10596
+ },
10597
+ "id": "SnippetImportExclude",
10598
+ "description": "The list of excluded snippets. If unset, all snippets are excluded unless defined in `include`."
10307
10599
  },
10308
10600
  "SnippetImportInclude": {
10309
- "id": "SnippetImportInclude",
10310
- "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`.",
10311
10601
  "type": "array",
10312
10602
  "items": {
10313
10603
  "type": "string"
10314
- }
10604
+ },
10605
+ "id": "SnippetImportInclude",
10606
+ "description": "The list of included snippets. If unset, all snippets are included unless defined in `exclude`."
10315
10607
  },
10316
10608
  "_snippets_imports.jekyll": {
10317
10609
  "id": "_snippets_imports.jekyll",
@@ -10321,7 +10613,6 @@
10321
10613
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10322
10614
  },
10323
10615
  {
10324
- "title": "Exclude List",
10325
10616
  "type": "object",
10326
10617
  "properties": {
10327
10618
  "exclude": {
@@ -10331,10 +10622,10 @@
10331
10622
  "required": [
10332
10623
  "exclude"
10333
10624
  ],
10334
- "additionalProperties": false
10625
+ "additionalProperties": false,
10626
+ "title": "Exclude List"
10335
10627
  },
10336
10628
  {
10337
- "title": "Include List",
10338
10629
  "type": "object",
10339
10630
  "properties": {
10340
10631
  "include": {
@@ -10344,7 +10635,8 @@
10344
10635
  "required": [
10345
10636
  "include"
10346
10637
  ],
10347
- "additionalProperties": false
10638
+ "additionalProperties": false,
10639
+ "title": "Include List"
10348
10640
  }
10349
10641
  ]
10350
10642
  },
@@ -10356,7 +10648,6 @@
10356
10648
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10357
10649
  },
10358
10650
  {
10359
- "title": "Exclude List",
10360
10651
  "type": "object",
10361
10652
  "properties": {
10362
10653
  "exclude": {
@@ -10366,10 +10657,10 @@
10366
10657
  "required": [
10367
10658
  "exclude"
10368
10659
  ],
10369
- "additionalProperties": false
10660
+ "additionalProperties": false,
10661
+ "title": "Exclude List"
10370
10662
  },
10371
10663
  {
10372
- "title": "Include List",
10373
10664
  "type": "object",
10374
10665
  "properties": {
10375
10666
  "include": {
@@ -10379,7 +10670,8 @@
10379
10670
  "required": [
10380
10671
  "include"
10381
10672
  ],
10382
- "additionalProperties": false
10673
+ "additionalProperties": false,
10674
+ "title": "Include List"
10383
10675
  }
10384
10676
  ]
10385
10677
  },
@@ -10391,7 +10683,6 @@
10391
10683
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10392
10684
  },
10393
10685
  {
10394
- "title": "Exclude List",
10395
10686
  "type": "object",
10396
10687
  "properties": {
10397
10688
  "exclude": {
@@ -10401,10 +10692,10 @@
10401
10692
  "required": [
10402
10693
  "exclude"
10403
10694
  ],
10404
- "additionalProperties": false
10695
+ "additionalProperties": false,
10696
+ "title": "Exclude List"
10405
10697
  },
10406
10698
  {
10407
- "title": "Include List",
10408
10699
  "type": "object",
10409
10700
  "properties": {
10410
10701
  "include": {
@@ -10414,7 +10705,8 @@
10414
10705
  "required": [
10415
10706
  "include"
10416
10707
  ],
10417
- "additionalProperties": false
10708
+ "additionalProperties": false,
10709
+ "title": "Include List"
10418
10710
  }
10419
10711
  ]
10420
10712
  },
@@ -10426,7 +10718,6 @@
10426
10718
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10427
10719
  },
10428
10720
  {
10429
- "title": "Exclude List",
10430
10721
  "type": "object",
10431
10722
  "properties": {
10432
10723
  "exclude": {
@@ -10436,10 +10727,10 @@
10436
10727
  "required": [
10437
10728
  "exclude"
10438
10729
  ],
10439
- "additionalProperties": false
10730
+ "additionalProperties": false,
10731
+ "title": "Exclude List"
10440
10732
  },
10441
10733
  {
10442
- "title": "Include List",
10443
10734
  "type": "object",
10444
10735
  "properties": {
10445
10736
  "include": {
@@ -10449,7 +10740,8 @@
10449
10740
  "required": [
10450
10741
  "include"
10451
10742
  ],
10452
- "additionalProperties": false
10743
+ "additionalProperties": false,
10744
+ "title": "Include List"
10453
10745
  }
10454
10746
  ]
10455
10747
  },
@@ -10461,7 +10753,6 @@
10461
10753
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10462
10754
  },
10463
10755
  {
10464
- "title": "Exclude List",
10465
10756
  "type": "object",
10466
10757
  "properties": {
10467
10758
  "exclude": {
@@ -10471,10 +10762,10 @@
10471
10762
  "required": [
10472
10763
  "exclude"
10473
10764
  ],
10474
- "additionalProperties": false
10765
+ "additionalProperties": false,
10766
+ "title": "Exclude List"
10475
10767
  },
10476
10768
  {
10477
- "title": "Include List",
10478
10769
  "type": "object",
10479
10770
  "properties": {
10480
10771
  "include": {
@@ -10484,7 +10775,8 @@
10484
10775
  "required": [
10485
10776
  "include"
10486
10777
  ],
10487
- "additionalProperties": false
10778
+ "additionalProperties": false,
10779
+ "title": "Include List"
10488
10780
  }
10489
10781
  ]
10490
10782
  },
@@ -10496,7 +10788,6 @@
10496
10788
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10497
10789
  },
10498
10790
  {
10499
- "title": "Exclude List",
10500
10791
  "type": "object",
10501
10792
  "properties": {
10502
10793
  "exclude": {
@@ -10506,10 +10797,10 @@
10506
10797
  "required": [
10507
10798
  "exclude"
10508
10799
  ],
10509
- "additionalProperties": false
10800
+ "additionalProperties": false,
10801
+ "title": "Exclude List"
10510
10802
  },
10511
10803
  {
10512
- "title": "Include List",
10513
10804
  "type": "object",
10514
10805
  "properties": {
10515
10806
  "include": {
@@ -10519,7 +10810,8 @@
10519
10810
  "required": [
10520
10811
  "include"
10521
10812
  ],
10522
- "additionalProperties": false
10813
+ "additionalProperties": false,
10814
+ "title": "Include List"
10523
10815
  }
10524
10816
  ]
10525
10817
  },
@@ -10531,7 +10823,6 @@
10531
10823
  "$ref": "#/$defs/type._snippets_imports.*.(full-import)"
10532
10824
  },
10533
10825
  {
10534
- "title": "Exclude List",
10535
10826
  "type": "object",
10536
10827
  "properties": {
10537
10828
  "exclude": {
@@ -10541,10 +10832,10 @@
10541
10832
  "required": [
10542
10833
  "exclude"
10543
10834
  ],
10544
- "additionalProperties": false
10835
+ "additionalProperties": false,
10836
+ "title": "Exclude List"
10545
10837
  },
10546
10838
  {
10547
- "title": "Include List",
10548
10839
  "type": "object",
10549
10840
  "properties": {
10550
10841
  "include": {
@@ -10554,7 +10845,8 @@
10554
10845
  "required": [
10555
10846
  "include"
10556
10847
  ],
10557
- "additionalProperties": false
10848
+ "additionalProperties": false,
10849
+ "title": "Include List"
10558
10850
  }
10559
10851
  ]
10560
10852
  },
@@ -10583,9 +10875,6 @@
10583
10875
  }
10584
10876
  },
10585
10877
  "type.snippet-definition-value": {
10586
- "id": "type.snippet-definition-value",
10587
- "title": "Snippet Definition Value",
10588
- "description": "A reusable value that can be referenced in snippet templates via { ref: \"key\" } or { spread_ref: \"key\" }.",
10589
10878
  "anyOf": [
10590
10879
  {
10591
10880
  "$ref": "#/$defs/type.snippet-format"
@@ -10594,50 +10883,50 @@
10594
10883
  "$ref": "#/$defs/type.snippet-model"
10595
10884
  },
10596
10885
  {
10597
- "title": "Parser Model Array",
10598
- "description": "An array of model configurations, typically used for positional_args or named_args.",
10599
10886
  "type": "array",
10600
10887
  "items": {
10601
10888
  "$ref": "#/$defs/type.snippet-model"
10602
- }
10889
+ },
10890
+ "title": "Parser Model Array",
10891
+ "description": "An array of model configurations, typically used for positional_args or named_args."
10603
10892
  },
10604
10893
  {
10605
- "title": "Select Values Array",
10606
- "description": "An array of select options, typically used for language lists.",
10607
10894
  "type": "array",
10608
10895
  "items": {
10609
10896
  "$ref": "#/$defs/type.snippet-definition-select-value"
10610
- }
10897
+ },
10898
+ "title": "Select Values Array",
10899
+ "description": "An array of select options, typically used for language lists."
10611
10900
  },
10612
10901
  {
10902
+ "type": "string",
10613
10903
  "title": "String Value",
10614
- "description": "A string value, commonly used for shortcode_name, tag_name, content_key, and similar definitions.",
10615
- "type": "string"
10904
+ "description": "A string value, commonly used for shortcode_name, tag_name, content_key, and similar definitions."
10616
10905
  },
10617
10906
  {
10907
+ "type": "number",
10618
10908
  "title": "Number Value",
10619
- "description": "A numeric value.",
10620
- "type": "number"
10909
+ "description": "A numeric value."
10621
10910
  },
10622
10911
  {
10912
+ "type": "boolean",
10623
10913
  "title": "Boolean Value",
10624
- "description": "A boolean value.",
10625
- "type": "boolean"
10914
+ "description": "A boolean value."
10626
10915
  },
10627
10916
  {
10628
- "title": "String Array",
10629
- "description": "An array of strings.",
10630
10917
  "type": "array",
10631
10918
  "items": {
10632
10919
  "type": "string"
10633
- }
10920
+ },
10921
+ "title": "String Array",
10922
+ "description": "An array of strings."
10634
10923
  }
10635
- ]
10924
+ ],
10925
+ "id": "type.snippet-definition-value",
10926
+ "title": "Snippet Definition Value",
10927
+ "description": "A reusable value that can be referenced in snippet templates via { ref: \"key\" } or { spread_ref: \"key\" }."
10636
10928
  },
10637
10929
  "type.snippet-definition-select-value": {
10638
- "id": "type.snippet-definition-select-value",
10639
- "title": "Snippet Definition Select Value",
10640
- "description": "A value option for select inputs, typically used in language lists.",
10641
10930
  "type": "object",
10642
10931
  "properties": {
10643
10932
  "name": {
@@ -10645,27 +10934,30 @@
10645
10934
  "type": "string"
10646
10935
  },
10647
10936
  "value": {
10648
- "description": "The value for this option.",
10649
10937
  "anyOf": [
10650
10938
  {
10651
- "title": "String",
10652
- "type": "string"
10939
+ "type": "string",
10940
+ "title": "String"
10653
10941
  },
10654
10942
  {
10655
- "title": "Number",
10656
- "type": "number"
10943
+ "type": "number",
10944
+ "title": "Number"
10657
10945
  },
10658
10946
  {
10659
- "title": "Boolean",
10660
- "type": "boolean"
10947
+ "type": "boolean",
10948
+ "title": "Boolean"
10661
10949
  }
10662
- ]
10950
+ ],
10951
+ "description": "The value for this option."
10663
10952
  }
10664
10953
  },
10665
10954
  "required": [
10666
10955
  "value"
10667
10956
  ],
10668
- "additionalProperties": false
10957
+ "additionalProperties": false,
10958
+ "id": "type.snippet-definition-select-value",
10959
+ "title": "Snippet Definition Select Value",
10960
+ "description": "A value option for select inputs, typically used in language lists."
10669
10961
  }
10670
10962
  }
10671
10963
  }