Skip to content

Commit

Permalink
Add autoupdateUriOrArrayOfAutoupdateUris to schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa committed Mar 9, 2019
1 parent 9ca051c commit ae350e0
Showing 1 changed file with 38 additions and 6 deletions.
44 changes: 38 additions & 6 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,21 @@
},
"type": "object"
},
"hashExtractionOrArrayOfHashExtractions": {
"anyOf": [
{
"$ref": "#/definitions/hashExtraction"
},
{
"items": {
"$ref": "#/definitions/hashExtraction"
},
"minItems": 1,
"type": "array",
"uniqueItems": false
}
]
},
"architecture": {
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -158,10 +173,10 @@
"type": "string"
},
"url": {
"$ref": "#/definitions/uriOrArrayOfUris"
"$ref": "#/definitions/autoupdateUriOrArrayOfAutoupdateUris"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
"$ref": "#/definitions/hashExtractionOrArrayOfHashExtractions"
}
},
"type": "object"
Expand All @@ -173,10 +188,10 @@
"type": "string"
},
"url": {
"$ref": "#/definitions/uriOrArrayOfUris"
"$ref": "#/definitions/autoupdateUriOrArrayOfAutoupdateUris"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
"$ref": "#/definitions/hashExtractionOrArrayOfHashExtractions"
}
},
"type": "object"
Expand All @@ -188,13 +203,13 @@
"type": "string"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
"$ref": "#/definitions/hashExtractionOrArrayOfHashExtractions"
},
"note": {
"$ref": "#/definitions/stringOrArrayOfStrings"
},
"url": {
"$ref": "#/definitions/uriOrArrayOfUris"
"$ref": "#/definitions/autoupdateUriOrArrayOfAutoupdateUris"
}
},
"type": "object"
Expand Down Expand Up @@ -349,6 +364,23 @@
}
]
},
"autoupdateUriOrArrayOfAutoupdateUris": {
"anyOf": [
{
"format": "uri",
"type": "string"
},
{
"items": {
"format": "uri",
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
}
]
},
"licenseIdentifiers": {
"type": "string",
"description": "License identifier based on SPDX License List https://spdx.org/licenses/",
Expand Down

0 comments on commit ae350e0

Please sign in to comment.