@meshery/schemas 0.8.126 → 0.8.127

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.
Files changed (69) hide show
  1. package/dist/{Core-Wy_3jcVT.d.mts → Core-vaTzd8cz.d.mts} +4 -2
  2. package/dist/{Core-Wy_3jcVT.d.ts → Core-vaTzd8cz.d.ts} +4 -2
  3. package/dist/cloudApi.d.mts +12 -0
  4. package/dist/cloudApi.d.ts +12 -0
  5. package/dist/cloudApi.js +1 -1
  6. package/dist/cloudApi.mjs +1 -1
  7. package/dist/constructs/v1alpha1/capability/Capability.d.mts +3 -1
  8. package/dist/constructs/v1alpha1/capability/Capability.d.ts +3 -1
  9. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.mts +2 -2
  10. package/dist/constructs/v1alpha1/capability/CapabilitySchema.d.ts +2 -2
  11. package/dist/constructs/v1alpha1/capability/CapabilitySchema.js +1 -1
  12. package/dist/constructs/v1alpha1/capability/CapabilitySchema.mjs +1 -1
  13. package/dist/constructs/v1alpha1/core/Core.d.mts +1 -1
  14. package/dist/constructs/v1alpha1/core/Core.d.ts +1 -1
  15. package/dist/constructs/v1alpha1/core/CoreSchema.d.mts +3 -3
  16. package/dist/constructs/v1alpha1/core/CoreSchema.d.ts +3 -3
  17. package/dist/constructs/v1alpha1/core/CoreSchema.js +1 -1
  18. package/dist/constructs/v1alpha1/core/CoreSchema.mjs +1 -1
  19. package/dist/constructs/v1alpha3/relationship/Relationship.d.mts +6 -2
  20. package/dist/constructs/v1alpha3/relationship/Relationship.d.ts +6 -2
  21. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.mts +4 -4
  22. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.d.ts +4 -4
  23. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.js +1 -1
  24. package/dist/constructs/v1alpha3/relationship/RelationshipSchema.mjs +1 -1
  25. package/dist/constructs/v1beta1/component/Component.d.mts +28 -5
  26. package/dist/constructs/v1beta1/component/Component.d.ts +28 -5
  27. package/dist/constructs/v1beta1/component/ComponentSchema.d.mts +34 -19
  28. package/dist/constructs/v1beta1/component/ComponentSchema.d.ts +34 -19
  29. package/dist/constructs/v1beta1/component/ComponentSchema.js +2 -2
  30. package/dist/constructs/v1beta1/component/ComponentSchema.mjs +2 -2
  31. package/dist/constructs/v1beta1/connection/Connection.d.mts +96 -6
  32. package/dist/constructs/v1beta1/connection/Connection.d.ts +96 -6
  33. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.mts +156 -66
  34. package/dist/constructs/v1beta1/connection/ConnectionSchema.d.ts +156 -66
  35. package/dist/constructs/v1beta1/connection/ConnectionSchema.js +1 -1
  36. package/dist/constructs/v1beta1/connection/ConnectionSchema.mjs +1 -1
  37. package/dist/constructs/v1beta1/environment/Environment.d.mts +52 -0
  38. package/dist/constructs/v1beta1/environment/Environment.d.ts +52 -0
  39. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.mts +96 -36
  40. package/dist/constructs/v1beta1/environment/EnvironmentSchema.d.ts +96 -36
  41. package/dist/constructs/v1beta1/environment/EnvironmentSchema.js +1 -1
  42. package/dist/constructs/v1beta1/environment/EnvironmentSchema.mjs +1 -1
  43. package/dist/constructs/v1beta1/evaluation/Evaluation.d.mts +148 -32
  44. package/dist/constructs/v1beta1/evaluation/Evaluation.d.ts +148 -32
  45. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.mts +160 -100
  46. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.d.ts +160 -100
  47. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.js +12 -12
  48. package/dist/constructs/v1beta1/evaluation/EvaluationSchema.mjs +12 -12
  49. package/dist/constructs/v1beta1/model/Model.d.mts +22 -3
  50. package/dist/constructs/v1beta1/model/Model.d.ts +22 -3
  51. package/dist/constructs/v1beta1/model/ModelSchema.d.mts +30 -15
  52. package/dist/constructs/v1beta1/model/ModelSchema.d.ts +30 -15
  53. package/dist/constructs/v1beta1/model/ModelSchema.js +2 -2
  54. package/dist/constructs/v1beta1/model/ModelSchema.mjs +2 -2
  55. package/dist/constructs/v1beta1/pattern/Pattern.d.mts +148 -32
  56. package/dist/constructs/v1beta1/pattern/Pattern.d.ts +148 -32
  57. package/dist/constructs/v1beta1/pattern/PatternSchema.d.mts +160 -100
  58. package/dist/constructs/v1beta1/pattern/PatternSchema.d.ts +160 -100
  59. package/dist/constructs/v1beta1/pattern/PatternSchema.js +12 -12
  60. package/dist/constructs/v1beta1/pattern/PatternSchema.mjs +12 -12
  61. package/dist/index.d.mts +1 -1
  62. package/dist/index.d.ts +1 -1
  63. package/dist/index.js +16 -16
  64. package/dist/index.mjs +16 -16
  65. package/dist/mesheryApi.d.mts +8 -0
  66. package/dist/mesheryApi.d.ts +8 -0
  67. package/dist/mesheryApi.js +1 -1
  68. package/dist/mesheryApi.mjs +1 -1
  69. package/package.json +1 -1
@@ -54,8 +54,8 @@ declare const EvaluationSchema: {
54
54
  readonly type: "string";
55
55
  readonly minLength: 2;
56
56
  readonly maxLength: 100;
57
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
58
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
57
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
58
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
59
59
  };
60
60
  readonly version: {
61
61
  readonly default: "v0.0.1";
@@ -186,8 +186,8 @@ declare const EvaluationSchema: {
186
186
  readonly type: "string";
187
187
  readonly minLength: 2;
188
188
  readonly maxLength: 100;
189
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
190
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
189
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
190
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
191
191
  };
192
192
  readonly version: {
193
193
  readonly "x-order": 3;
@@ -273,8 +273,8 @@ declare const EvaluationSchema: {
273
273
  readonly type: "string";
274
274
  readonly minLength: 2;
275
275
  readonly maxLength: 100;
276
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
277
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
276
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
277
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
278
278
  };
279
279
  readonly version: {
280
280
  readonly description: "Version of the model definition.";
@@ -509,7 +509,7 @@ declare const EvaluationSchema: {
509
509
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
510
510
  readonly additionalProperties: false;
511
511
  readonly type: "object";
512
- readonly required: readonly ["id", "name", "description", "organization_id"];
512
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
513
513
  readonly properties: {
514
514
  readonly id: {
515
515
  readonly type: "string";
@@ -526,12 +526,27 @@ declare const EvaluationSchema: {
526
526
  readonly yaml: "id";
527
527
  };
528
528
  };
529
+ readonly schemaVersion: {
530
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
531
+ readonly "x-order": 2;
532
+ readonly "x-oapi-codegen-extra-tags": {
533
+ readonly yaml: "schemaVersion";
534
+ readonly db: "-";
535
+ readonly gorm: "-";
536
+ };
537
+ readonly default: "environments.meshery.io/v1beta1";
538
+ readonly type: "string";
539
+ readonly minLength: 2;
540
+ readonly maxLength: 100;
541
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
542
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
543
+ };
529
544
  readonly name: {
530
545
  readonly "x-oapi-codegen-extra-tags": {
531
546
  readonly db: "name";
532
547
  readonly yaml: "name";
533
548
  };
534
- readonly "x-order": 2;
549
+ readonly "x-order": 3;
535
550
  readonly type: "string";
536
551
  readonly description: "Environment name";
537
552
  };
@@ -540,7 +555,7 @@ declare const EvaluationSchema: {
540
555
  readonly db: "description";
541
556
  readonly yaml: "description";
542
557
  };
543
- readonly "x-order": 3;
558
+ readonly "x-order": 4;
544
559
  readonly type: "string";
545
560
  readonly description: "Environment description";
546
561
  };
@@ -557,7 +572,7 @@ declare const EvaluationSchema: {
557
572
  readonly db: "organization_id";
558
573
  readonly yaml: "organization_id";
559
574
  };
560
- readonly "x-order": 4;
575
+ readonly "x-order": 5;
561
576
  };
562
577
  readonly owner: {
563
578
  readonly type: "string";
@@ -571,14 +586,14 @@ declare const EvaluationSchema: {
571
586
  readonly db: "owner";
572
587
  readonly yaml: "owner";
573
588
  };
574
- readonly "x-order": 5;
589
+ readonly "x-order": 6;
575
590
  };
576
591
  readonly created_at: {
577
592
  readonly "x-oapi-codegen-extra-tags": {
578
593
  readonly db: "created_at";
579
594
  readonly yaml: "created_at";
580
595
  };
581
- readonly "x-order": 6;
596
+ readonly "x-order": 7;
582
597
  readonly type: "string";
583
598
  readonly format: "date-time";
584
599
  readonly "x-go-type-skip-optional-pointer": true;
@@ -588,7 +603,7 @@ declare const EvaluationSchema: {
588
603
  readonly db: "metadata";
589
604
  readonly yaml: "metadata";
590
605
  };
591
- readonly "x-order": 7;
606
+ readonly "x-order": 8;
592
607
  readonly "x-go-type": "core.Map";
593
608
  readonly "x-go-type-skip-optional-pointer": true;
594
609
  readonly type: "object";
@@ -598,7 +613,7 @@ declare const EvaluationSchema: {
598
613
  readonly db: "updated_at";
599
614
  readonly yaml: "updated_at";
600
615
  };
601
- readonly "x-order": 8;
616
+ readonly "x-order": 9;
602
617
  readonly type: "string";
603
618
  readonly format: "date-time";
604
619
  readonly "x-go-type-skip-optional-pointer": true;
@@ -610,7 +625,7 @@ declare const EvaluationSchema: {
610
625
  };
611
626
  readonly "x-go-type": "core.NullTime";
612
627
  readonly "x-go-import": "database/sql";
613
- readonly "x-order": 9;
628
+ readonly "x-order": 10;
614
629
  readonly type: "string";
615
630
  readonly format: "date-time";
616
631
  readonly "x-go-type-skip-optional-pointer": true;
@@ -637,8 +652,8 @@ declare const EvaluationSchema: {
637
652
  readonly type: "string";
638
653
  readonly minLength: 2;
639
654
  readonly maxLength: 100;
640
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
641
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
655
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
656
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
642
657
  };
643
658
  };
644
659
  };
@@ -772,8 +787,8 @@ declare const EvaluationSchema: {
772
787
  readonly type: "string";
773
788
  readonly minLength: 2;
774
789
  readonly maxLength: 100;
775
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
776
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
790
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
791
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
777
792
  };
778
793
  readonly version: {
779
794
  readonly description: "Version of the capability definition.";
@@ -1533,8 +1548,8 @@ declare const EvaluationSchema: {
1533
1548
  readonly type: "string";
1534
1549
  readonly minLength: 2;
1535
1550
  readonly maxLength: 100;
1536
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1537
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1551
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1552
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1538
1553
  };
1539
1554
  readonly version: {
1540
1555
  readonly description: "Version of the capability definition.";
@@ -1928,8 +1943,8 @@ declare const EvaluationSchema: {
1928
1943
  readonly type: "string";
1929
1944
  readonly minLength: 2;
1930
1945
  readonly maxLength: 100;
1931
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
1932
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
1946
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
1947
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
1933
1948
  };
1934
1949
  readonly version: {
1935
1950
  readonly type: "string";
@@ -2009,8 +2024,8 @@ declare const EvaluationSchema: {
2009
2024
  readonly type: "string";
2010
2025
  readonly minLength: 2;
2011
2026
  readonly maxLength: 100;
2012
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
2013
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
2027
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
2028
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
2014
2029
  };
2015
2030
  readonly version: {
2016
2031
  readonly description: "Version of the capability definition.";
@@ -4114,8 +4129,8 @@ declare const EvaluationSchema: {
4114
4129
  readonly type: "string";
4115
4130
  readonly minLength: 2;
4116
4131
  readonly maxLength: 100;
4117
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4118
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4132
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4133
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4119
4134
  };
4120
4135
  readonly version: {
4121
4136
  readonly default: "v0.0.1";
@@ -4246,8 +4261,8 @@ declare const EvaluationSchema: {
4246
4261
  readonly type: "string";
4247
4262
  readonly minLength: 2;
4248
4263
  readonly maxLength: 100;
4249
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4250
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4264
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4265
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4251
4266
  };
4252
4267
  readonly version: {
4253
4268
  readonly "x-order": 3;
@@ -4333,8 +4348,8 @@ declare const EvaluationSchema: {
4333
4348
  readonly type: "string";
4334
4349
  readonly minLength: 2;
4335
4350
  readonly maxLength: 100;
4336
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4337
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4351
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4352
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4338
4353
  };
4339
4354
  readonly version: {
4340
4355
  readonly description: "Version of the model definition.";
@@ -4569,7 +4584,7 @@ declare const EvaluationSchema: {
4569
4584
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
4570
4585
  readonly additionalProperties: false;
4571
4586
  readonly type: "object";
4572
- readonly required: readonly ["id", "name", "description", "organization_id"];
4587
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
4573
4588
  readonly properties: {
4574
4589
  readonly id: {
4575
4590
  readonly type: "string";
@@ -4586,12 +4601,27 @@ declare const EvaluationSchema: {
4586
4601
  readonly yaml: "id";
4587
4602
  };
4588
4603
  };
4604
+ readonly schemaVersion: {
4605
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
4606
+ readonly "x-order": 2;
4607
+ readonly "x-oapi-codegen-extra-tags": {
4608
+ readonly yaml: "schemaVersion";
4609
+ readonly db: "-";
4610
+ readonly gorm: "-";
4611
+ };
4612
+ readonly default: "environments.meshery.io/v1beta1";
4613
+ readonly type: "string";
4614
+ readonly minLength: 2;
4615
+ readonly maxLength: 100;
4616
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4617
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4618
+ };
4589
4619
  readonly name: {
4590
4620
  readonly "x-oapi-codegen-extra-tags": {
4591
4621
  readonly db: "name";
4592
4622
  readonly yaml: "name";
4593
4623
  };
4594
- readonly "x-order": 2;
4624
+ readonly "x-order": 3;
4595
4625
  readonly type: "string";
4596
4626
  readonly description: "Environment name";
4597
4627
  };
@@ -4600,7 +4630,7 @@ declare const EvaluationSchema: {
4600
4630
  readonly db: "description";
4601
4631
  readonly yaml: "description";
4602
4632
  };
4603
- readonly "x-order": 3;
4633
+ readonly "x-order": 4;
4604
4634
  readonly type: "string";
4605
4635
  readonly description: "Environment description";
4606
4636
  };
@@ -4617,7 +4647,7 @@ declare const EvaluationSchema: {
4617
4647
  readonly db: "organization_id";
4618
4648
  readonly yaml: "organization_id";
4619
4649
  };
4620
- readonly "x-order": 4;
4650
+ readonly "x-order": 5;
4621
4651
  };
4622
4652
  readonly owner: {
4623
4653
  readonly type: "string";
@@ -4631,14 +4661,14 @@ declare const EvaluationSchema: {
4631
4661
  readonly db: "owner";
4632
4662
  readonly yaml: "owner";
4633
4663
  };
4634
- readonly "x-order": 5;
4664
+ readonly "x-order": 6;
4635
4665
  };
4636
4666
  readonly created_at: {
4637
4667
  readonly "x-oapi-codegen-extra-tags": {
4638
4668
  readonly db: "created_at";
4639
4669
  readonly yaml: "created_at";
4640
4670
  };
4641
- readonly "x-order": 6;
4671
+ readonly "x-order": 7;
4642
4672
  readonly type: "string";
4643
4673
  readonly format: "date-time";
4644
4674
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4648,7 +4678,7 @@ declare const EvaluationSchema: {
4648
4678
  readonly db: "metadata";
4649
4679
  readonly yaml: "metadata";
4650
4680
  };
4651
- readonly "x-order": 7;
4681
+ readonly "x-order": 8;
4652
4682
  readonly "x-go-type": "core.Map";
4653
4683
  readonly "x-go-type-skip-optional-pointer": true;
4654
4684
  readonly type: "object";
@@ -4658,7 +4688,7 @@ declare const EvaluationSchema: {
4658
4688
  readonly db: "updated_at";
4659
4689
  readonly yaml: "updated_at";
4660
4690
  };
4661
- readonly "x-order": 8;
4691
+ readonly "x-order": 9;
4662
4692
  readonly type: "string";
4663
4693
  readonly format: "date-time";
4664
4694
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4670,7 +4700,7 @@ declare const EvaluationSchema: {
4670
4700
  };
4671
4701
  readonly "x-go-type": "core.NullTime";
4672
4702
  readonly "x-go-import": "database/sql";
4673
- readonly "x-order": 9;
4703
+ readonly "x-order": 10;
4674
4704
  readonly type: "string";
4675
4705
  readonly format: "date-time";
4676
4706
  readonly "x-go-type-skip-optional-pointer": true;
@@ -4697,8 +4727,8 @@ declare const EvaluationSchema: {
4697
4727
  readonly type: "string";
4698
4728
  readonly minLength: 2;
4699
4729
  readonly maxLength: 100;
4700
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4701
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4730
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4731
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4702
4732
  };
4703
4733
  };
4704
4734
  };
@@ -4832,8 +4862,8 @@ declare const EvaluationSchema: {
4832
4862
  readonly type: "string";
4833
4863
  readonly minLength: 2;
4834
4864
  readonly maxLength: 100;
4835
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
4836
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
4865
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
4866
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
4837
4867
  };
4838
4868
  readonly version: {
4839
4869
  readonly description: "Version of the capability definition.";
@@ -5593,8 +5623,8 @@ declare const EvaluationSchema: {
5593
5623
  readonly type: "string";
5594
5624
  readonly minLength: 2;
5595
5625
  readonly maxLength: 100;
5596
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
5597
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
5626
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
5627
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
5598
5628
  };
5599
5629
  readonly version: {
5600
5630
  readonly description: "Version of the capability definition.";
@@ -5988,8 +6018,8 @@ declare const EvaluationSchema: {
5988
6018
  readonly type: "string";
5989
6019
  readonly minLength: 2;
5990
6020
  readonly maxLength: 100;
5991
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
5992
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
6021
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6022
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
5993
6023
  };
5994
6024
  readonly version: {
5995
6025
  readonly type: "string";
@@ -6069,8 +6099,8 @@ declare const EvaluationSchema: {
6069
6099
  readonly type: "string";
6070
6100
  readonly minLength: 2;
6071
6101
  readonly maxLength: 100;
6072
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
6073
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
6102
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
6103
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
6074
6104
  };
6075
6105
  readonly version: {
6076
6106
  readonly description: "Version of the capability definition.";
@@ -8189,8 +8219,8 @@ declare const EvaluationSchema: {
8189
8219
  readonly type: "string";
8190
8220
  readonly minLength: 2;
8191
8221
  readonly maxLength: 100;
8192
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8193
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8222
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8223
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8194
8224
  };
8195
8225
  readonly version: {
8196
8226
  readonly default: "v0.0.1";
@@ -8321,8 +8351,8 @@ declare const EvaluationSchema: {
8321
8351
  readonly type: "string";
8322
8352
  readonly minLength: 2;
8323
8353
  readonly maxLength: 100;
8324
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8325
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8354
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8355
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8326
8356
  };
8327
8357
  readonly version: {
8328
8358
  readonly "x-order": 3;
@@ -8408,8 +8438,8 @@ declare const EvaluationSchema: {
8408
8438
  readonly type: "string";
8409
8439
  readonly minLength: 2;
8410
8440
  readonly maxLength: 100;
8411
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8412
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8441
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8442
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8413
8443
  };
8414
8444
  readonly version: {
8415
8445
  readonly description: "Version of the model definition.";
@@ -8644,7 +8674,7 @@ declare const EvaluationSchema: {
8644
8674
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
8645
8675
  readonly additionalProperties: false;
8646
8676
  readonly type: "object";
8647
- readonly required: readonly ["id", "name", "description", "organization_id"];
8677
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
8648
8678
  readonly properties: {
8649
8679
  readonly id: {
8650
8680
  readonly type: "string";
@@ -8661,12 +8691,27 @@ declare const EvaluationSchema: {
8661
8691
  readonly yaml: "id";
8662
8692
  };
8663
8693
  };
8694
+ readonly schemaVersion: {
8695
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
8696
+ readonly "x-order": 2;
8697
+ readonly "x-oapi-codegen-extra-tags": {
8698
+ readonly yaml: "schemaVersion";
8699
+ readonly db: "-";
8700
+ readonly gorm: "-";
8701
+ };
8702
+ readonly default: "environments.meshery.io/v1beta1";
8703
+ readonly type: "string";
8704
+ readonly minLength: 2;
8705
+ readonly maxLength: 100;
8706
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8707
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8708
+ };
8664
8709
  readonly name: {
8665
8710
  readonly "x-oapi-codegen-extra-tags": {
8666
8711
  readonly db: "name";
8667
8712
  readonly yaml: "name";
8668
8713
  };
8669
- readonly "x-order": 2;
8714
+ readonly "x-order": 3;
8670
8715
  readonly type: "string";
8671
8716
  readonly description: "Environment name";
8672
8717
  };
@@ -8675,7 +8720,7 @@ declare const EvaluationSchema: {
8675
8720
  readonly db: "description";
8676
8721
  readonly yaml: "description";
8677
8722
  };
8678
- readonly "x-order": 3;
8723
+ readonly "x-order": 4;
8679
8724
  readonly type: "string";
8680
8725
  readonly description: "Environment description";
8681
8726
  };
@@ -8692,7 +8737,7 @@ declare const EvaluationSchema: {
8692
8737
  readonly db: "organization_id";
8693
8738
  readonly yaml: "organization_id";
8694
8739
  };
8695
- readonly "x-order": 4;
8740
+ readonly "x-order": 5;
8696
8741
  };
8697
8742
  readonly owner: {
8698
8743
  readonly type: "string";
@@ -8706,14 +8751,14 @@ declare const EvaluationSchema: {
8706
8751
  readonly db: "owner";
8707
8752
  readonly yaml: "owner";
8708
8753
  };
8709
- readonly "x-order": 5;
8754
+ readonly "x-order": 6;
8710
8755
  };
8711
8756
  readonly created_at: {
8712
8757
  readonly "x-oapi-codegen-extra-tags": {
8713
8758
  readonly db: "created_at";
8714
8759
  readonly yaml: "created_at";
8715
8760
  };
8716
- readonly "x-order": 6;
8761
+ readonly "x-order": 7;
8717
8762
  readonly type: "string";
8718
8763
  readonly format: "date-time";
8719
8764
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8723,7 +8768,7 @@ declare const EvaluationSchema: {
8723
8768
  readonly db: "metadata";
8724
8769
  readonly yaml: "metadata";
8725
8770
  };
8726
- readonly "x-order": 7;
8771
+ readonly "x-order": 8;
8727
8772
  readonly "x-go-type": "core.Map";
8728
8773
  readonly "x-go-type-skip-optional-pointer": true;
8729
8774
  readonly type: "object";
@@ -8733,7 +8778,7 @@ declare const EvaluationSchema: {
8733
8778
  readonly db: "updated_at";
8734
8779
  readonly yaml: "updated_at";
8735
8780
  };
8736
- readonly "x-order": 8;
8781
+ readonly "x-order": 9;
8737
8782
  readonly type: "string";
8738
8783
  readonly format: "date-time";
8739
8784
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8745,7 +8790,7 @@ declare const EvaluationSchema: {
8745
8790
  };
8746
8791
  readonly "x-go-type": "core.NullTime";
8747
8792
  readonly "x-go-import": "database/sql";
8748
- readonly "x-order": 9;
8793
+ readonly "x-order": 10;
8749
8794
  readonly type: "string";
8750
8795
  readonly format: "date-time";
8751
8796
  readonly "x-go-type-skip-optional-pointer": true;
@@ -8772,8 +8817,8 @@ declare const EvaluationSchema: {
8772
8817
  readonly type: "string";
8773
8818
  readonly minLength: 2;
8774
8819
  readonly maxLength: 100;
8775
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8776
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8820
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8821
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8777
8822
  };
8778
8823
  };
8779
8824
  };
@@ -8907,8 +8952,8 @@ declare const EvaluationSchema: {
8907
8952
  readonly type: "string";
8908
8953
  readonly minLength: 2;
8909
8954
  readonly maxLength: 100;
8910
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
8911
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
8955
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
8956
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
8912
8957
  };
8913
8958
  readonly version: {
8914
8959
  readonly description: "Version of the capability definition.";
@@ -9668,8 +9713,8 @@ declare const EvaluationSchema: {
9668
9713
  readonly type: "string";
9669
9714
  readonly minLength: 2;
9670
9715
  readonly maxLength: 100;
9671
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
9672
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
9716
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
9717
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
9673
9718
  };
9674
9719
  readonly version: {
9675
9720
  readonly description: "Version of the capability definition.";
@@ -10063,8 +10108,8 @@ declare const EvaluationSchema: {
10063
10108
  readonly type: "string";
10064
10109
  readonly minLength: 2;
10065
10110
  readonly maxLength: 100;
10066
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
10067
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
10111
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10112
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10068
10113
  };
10069
10114
  readonly version: {
10070
10115
  readonly type: "string";
@@ -10144,8 +10189,8 @@ declare const EvaluationSchema: {
10144
10189
  readonly type: "string";
10145
10190
  readonly minLength: 2;
10146
10191
  readonly maxLength: 100;
10147
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
10148
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
10192
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
10193
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
10149
10194
  };
10150
10195
  readonly version: {
10151
10196
  readonly description: "Version of the capability definition.";
@@ -12241,8 +12286,8 @@ declare const EvaluationSchema: {
12241
12286
  readonly type: "string";
12242
12287
  readonly minLength: 2;
12243
12288
  readonly maxLength: 100;
12244
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12245
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12289
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12290
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12246
12291
  };
12247
12292
  readonly version: {
12248
12293
  readonly default: "v0.0.1";
@@ -12373,8 +12418,8 @@ declare const EvaluationSchema: {
12373
12418
  readonly type: "string";
12374
12419
  readonly minLength: 2;
12375
12420
  readonly maxLength: 100;
12376
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12377
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12421
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12422
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12378
12423
  };
12379
12424
  readonly version: {
12380
12425
  readonly "x-order": 3;
@@ -12460,8 +12505,8 @@ declare const EvaluationSchema: {
12460
12505
  readonly type: "string";
12461
12506
  readonly minLength: 2;
12462
12507
  readonly maxLength: 100;
12463
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12464
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12508
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12509
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12465
12510
  };
12466
12511
  readonly version: {
12467
12512
  readonly description: "Version of the model definition.";
@@ -12696,7 +12741,7 @@ declare const EvaluationSchema: {
12696
12741
  readonly description: "Meshery Environments allow you to logically group related Connections and their associated Credentials.. Learn more at https://docs.meshery.io/concepts/logical/environments";
12697
12742
  readonly additionalProperties: false;
12698
12743
  readonly type: "object";
12699
- readonly required: readonly ["id", "name", "description", "organization_id"];
12744
+ readonly required: readonly ["id", "schemaVersion", "name", "description", "organization_id"];
12700
12745
  readonly properties: {
12701
12746
  readonly id: {
12702
12747
  readonly type: "string";
@@ -12713,12 +12758,27 @@ declare const EvaluationSchema: {
12713
12758
  readonly yaml: "id";
12714
12759
  };
12715
12760
  };
12761
+ readonly schemaVersion: {
12762
+ readonly description: "Specifies the version of the schema to which the environment conforms.";
12763
+ readonly "x-order": 2;
12764
+ readonly "x-oapi-codegen-extra-tags": {
12765
+ readonly yaml: "schemaVersion";
12766
+ readonly db: "-";
12767
+ readonly gorm: "-";
12768
+ };
12769
+ readonly default: "environments.meshery.io/v1beta1";
12770
+ readonly type: "string";
12771
+ readonly minLength: 2;
12772
+ readonly maxLength: 100;
12773
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12774
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12775
+ };
12716
12776
  readonly name: {
12717
12777
  readonly "x-oapi-codegen-extra-tags": {
12718
12778
  readonly db: "name";
12719
12779
  readonly yaml: "name";
12720
12780
  };
12721
- readonly "x-order": 2;
12781
+ readonly "x-order": 3;
12722
12782
  readonly type: "string";
12723
12783
  readonly description: "Environment name";
12724
12784
  };
@@ -12727,7 +12787,7 @@ declare const EvaluationSchema: {
12727
12787
  readonly db: "description";
12728
12788
  readonly yaml: "description";
12729
12789
  };
12730
- readonly "x-order": 3;
12790
+ readonly "x-order": 4;
12731
12791
  readonly type: "string";
12732
12792
  readonly description: "Environment description";
12733
12793
  };
@@ -12744,7 +12804,7 @@ declare const EvaluationSchema: {
12744
12804
  readonly db: "organization_id";
12745
12805
  readonly yaml: "organization_id";
12746
12806
  };
12747
- readonly "x-order": 4;
12807
+ readonly "x-order": 5;
12748
12808
  };
12749
12809
  readonly owner: {
12750
12810
  readonly type: "string";
@@ -12758,14 +12818,14 @@ declare const EvaluationSchema: {
12758
12818
  readonly db: "owner";
12759
12819
  readonly yaml: "owner";
12760
12820
  };
12761
- readonly "x-order": 5;
12821
+ readonly "x-order": 6;
12762
12822
  };
12763
12823
  readonly created_at: {
12764
12824
  readonly "x-oapi-codegen-extra-tags": {
12765
12825
  readonly db: "created_at";
12766
12826
  readonly yaml: "created_at";
12767
12827
  };
12768
- readonly "x-order": 6;
12828
+ readonly "x-order": 7;
12769
12829
  readonly type: "string";
12770
12830
  readonly format: "date-time";
12771
12831
  readonly "x-go-type-skip-optional-pointer": true;
@@ -12775,7 +12835,7 @@ declare const EvaluationSchema: {
12775
12835
  readonly db: "metadata";
12776
12836
  readonly yaml: "metadata";
12777
12837
  };
12778
- readonly "x-order": 7;
12838
+ readonly "x-order": 8;
12779
12839
  readonly "x-go-type": "core.Map";
12780
12840
  readonly "x-go-type-skip-optional-pointer": true;
12781
12841
  readonly type: "object";
@@ -12785,7 +12845,7 @@ declare const EvaluationSchema: {
12785
12845
  readonly db: "updated_at";
12786
12846
  readonly yaml: "updated_at";
12787
12847
  };
12788
- readonly "x-order": 8;
12848
+ readonly "x-order": 9;
12789
12849
  readonly type: "string";
12790
12850
  readonly format: "date-time";
12791
12851
  readonly "x-go-type-skip-optional-pointer": true;
@@ -12797,7 +12857,7 @@ declare const EvaluationSchema: {
12797
12857
  };
12798
12858
  readonly "x-go-type": "core.NullTime";
12799
12859
  readonly "x-go-import": "database/sql";
12800
- readonly "x-order": 9;
12860
+ readonly "x-order": 10;
12801
12861
  readonly type: "string";
12802
12862
  readonly format: "date-time";
12803
12863
  readonly "x-go-type-skip-optional-pointer": true;
@@ -12824,8 +12884,8 @@ declare const EvaluationSchema: {
12824
12884
  readonly type: "string";
12825
12885
  readonly minLength: 2;
12826
12886
  readonly maxLength: 100;
12827
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12828
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
12887
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
12888
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12829
12889
  };
12830
12890
  };
12831
12891
  };
@@ -12959,8 +13019,8 @@ declare const EvaluationSchema: {
12959
13019
  readonly type: "string";
12960
13020
  readonly minLength: 2;
12961
13021
  readonly maxLength: 100;
12962
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
12963
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
13022
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13023
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
12964
13024
  };
12965
13025
  readonly version: {
12966
13026
  readonly description: "Version of the capability definition.";
@@ -13720,8 +13780,8 @@ declare const EvaluationSchema: {
13720
13780
  readonly type: "string";
13721
13781
  readonly minLength: 2;
13722
13782
  readonly maxLength: 100;
13723
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
13724
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
13783
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
13784
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
13725
13785
  };
13726
13786
  readonly version: {
13727
13787
  readonly description: "Version of the capability definition.";
@@ -14115,8 +14175,8 @@ declare const EvaluationSchema: {
14115
14175
  readonly type: "string";
14116
14176
  readonly minLength: 2;
14117
14177
  readonly maxLength: 100;
14118
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
14119
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
14178
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14179
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14120
14180
  };
14121
14181
  readonly version: {
14122
14182
  readonly type: "string";
@@ -14196,8 +14256,8 @@ declare const EvaluationSchema: {
14196
14256
  readonly type: "string";
14197
14257
  readonly minLength: 2;
14198
14258
  readonly maxLength: 100;
14199
- readonly pattern: "([a-z.])*(?!^/)v(alpha|beta|[0-9]+)([.-]*[a-z0-9]+)*$";
14200
- readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix"];
14259
+ readonly pattern: "^([a-z][a-z0-9.-]*\\/)?v(alpha|beta|[0-9]+)([.-][a-z0-9]+)*$";
14260
+ readonly example: readonly ["v1", "v1alpha1", "v2beta3", "v1.custom-suffix", "models.meshery.io/v1beta1", "capability.meshery.io/v1alpha1"];
14201
14261
  };
14202
14262
  readonly version: {
14203
14263
  readonly description: "Version of the capability definition.";