# HG changeset patch # User Chris Cannam # Date 1475656946 -3600 # Node ID 98930c9d54fae1acd493b5ff2f8f0717b345a141 # Parent 2f206050988418dd5c4e1518b725a9fc4c66a2fa Use media type diff -r 2f2060509884 -r 98930c9d54fa schema/feature.json --- a/schema/feature.json Wed Oct 05 09:38:29 2016 +0100 +++ b/schema/feature.json Wed Oct 05 09:42:26 2016 +0100 @@ -27,7 +27,10 @@ }, { "type": "string", - "pattern": "^[a-zA-Z0-9+/]*=*$" + "media": { + "binaryEncoding": "base64", + "type": "application/octet-stream" + }, } ] } diff -r 2f2060509884 -r 98930c9d54fa schema/processinput.json --- a/schema/processinput.json Wed Oct 05 09:38:29 2016 +0100 +++ b/schema/processinput.json Wed Oct 05 09:42:26 2016 +0100 @@ -18,14 +18,17 @@ "definitions": { "serialisedArray": { "anyOf": [ - { - "type": "array", - "items": { "type": "number" } - }, - { - "type": "string", - "pattern": "^[a-zA-Z0-9+/]*=*$" - } + { + "type": "array", + "items": { "type": "number" } + }, + { + "type": "string", + "media": { + "binaryEncoding": "base64", + "type": "application/octet-stream" + } + } ] } }