# HG changeset patch # User Chris Cannam # Date 1475656946 -3600 # Node ID a2e94b61f6080890c183a8ba6469c0bda962ba7c # Parent b70da585d35a28cf68334a135bb72af04459d7e7 Use media type diff -r b70da585d35a -r a2e94b61f608 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 b70da585d35a -r a2e94b61f608 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" + } + } ] } }