eve/schema: bittorrent-dht updates

Some values that were previously strings are now parsed down into
objects.
pull/8113/head
Jason Ish 3 years ago committed by Victor Julien
parent 1f056f9974
commit e3e7d007b2

@ -354,8 +354,51 @@
"optional": false
},
"nodes": {
"type": "string",
"optional": true
"type": "array",
"optional": true,
"items": {
"type": "object",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"optional": false
},
"ip": {
"type": "string",
"optional": false
},
"port": {
"type": "number",
"optional": false
}
}
}
}
},
"nodes6": {
"type": "array",
"optional": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"optional": false
},
"ip": {
"type": "string",
"optional": false
},
"port": {
"type": "number",
"optional": false
}
}
}
},
"token": {
"type": "string",
@ -365,7 +408,7 @@
"type": "array",
"optional": true,
"items": {
"type": "string"
"type": "object"
}
}
}

Loading…
Cancel
Save