Skip to content

Commit e2fe98a

Browse files
fix: change usage of minItems in assetlinks.json (SchemaStore#4602)
* fix: change usage of minItems in assetlinks.json * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5256262 commit e2fe98a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/schemas/json/assetlinks.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"description": "SHA256s from keystore",
2323
"type": "array",
2424
"uniqueItems": true,
25+
"minItems": 1,
2526
"items": {
2627
"type": "string",
27-
"minItems": 1,
2828
"pattern": "^(?:[A-F0-9]{2}:){31}[A-F0-9]{2}$"
2929
}
3030
}
@@ -50,8 +50,8 @@
5050
"relation": {
5151
"description": "Describe the relation being declared about the target",
5252
"type": "array",
53+
"minItems": 1,
5354
"items": {
54-
"minItems": 1,
5555
"oneOf": [
5656
{
5757
"const": "delegate_permission/common.handle_all_urls",
@@ -65,6 +65,7 @@
6565
}
6666
}
6767
},
68+
"additionalProperties": false,
6869
"title": "Google Digital Assetlinks",
6970
"description": "Google Digital Assetlinks Schema",
7071
"type": "array",
@@ -73,7 +74,6 @@
7374
"description": "Website or app statements as JSON objects",
7475
"type": "object",
7576
"additionalProperties": false,
76-
"minItems": 1,
7777
"properties": {
7878
"relation": {
7979
"$ref": "#/$defs/relation"

0 commit comments

Comments
 (0)