Skip to content

Commit

Permalink
Add minLength to data field in item schema
Browse files Browse the repository at this point in the history
Signed-off-by: Yohanna Lisnichuk <yohanitalisnichuk@gmail.com>
  • Loading branch information
yolile committed Jun 25, 2020
1 parent bd3ec17 commit d5c3a6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kingfisher_scrapy/item_schema/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
"encoding": {
"type": "string"
},
"data": {}
"data": {
"minLength": 1
}
},
"required": [
"data",
Expand Down

0 comments on commit d5c3a6e

Please sign in to comment.