@uni-helper/pages-json-schema 0.2.9 → 0.2.11

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 (2) hide show
  1. package/package.json +1 -1
  2. package/schema.json +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uni-helper/pages-json-schema",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "Schema for uni-app pages.json",
5
5
  "author": "KeJun",
6
6
  "license": "MIT",
package/schema.json CHANGED
@@ -625,6 +625,8 @@
625
625
  "items": {
626
626
  "$ref": "#/definitions/TabBarItem"
627
627
  },
628
+ "maxItems": 5,
629
+ "minItems": 2,
628
630
  "type": "array"
629
631
  },
630
632
  "midButton": {
@@ -653,6 +655,9 @@
653
655
  "type": "string"
654
656
  }
655
657
  },
658
+ "required": [
659
+ "list"
660
+ ],
656
661
  "type": "object"
657
662
  },
658
663
  "TabBarItem": {