Skip to content

Commit

Permalink
Add hashExtractionOrArrayOfHashExtractions to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rasa committed Mar 9, 2019
1 parent 9ca051c commit e805766
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 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 @@ -161,7 +176,7 @@
"$ref": "#/definitions/uriOrArrayOfUris"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
"$ref": "#/definitions/hashExtractionOrArrayOfHashExtractions"
}
},
"type": "object"
Expand All @@ -176,7 +191,7 @@
"$ref": "#/definitions/uriOrArrayOfUris"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
"$ref": "#/definitions/hashExtractionOrArrayOfHashExtractions"
}
},
"type": "object"
Expand All @@ -188,7 +203,7 @@
"type": "string"
},
"hash": {
"$ref": "#/definitions/hashExtraction"
"$ref": "#/definitions/hashExtractionOrArrayOfHashExtractions"
},
"note": {
"$ref": "#/definitions/stringOrArrayOfStrings"
Expand Down

0 comments on commit e805766

Please sign in to comment.