aboutsummaryrefslogtreecommitdiffstats
path: root/vid/src/main/resources/json/mso/requestError
diff options
context:
space:
mode:
Diffstat (limited to 'vid/src/main/resources/json/mso/requestError')
-rw-r--r--vid/src/main/resources/json/mso/requestError27
1 files changed, 27 insertions, 0 deletions
diff --git a/vid/src/main/resources/json/mso/requestError b/vid/src/main/resources/json/mso/requestError
new file mode 100644
index 000000000..daab8055a
--- /dev/null
+++ b/vid/src/main/resources/json/mso/requestError
@@ -0,0 +1,27 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "description": "standard request error data structure",
+ "properties": {
+ "messageId": {
+ "description": "Unique message identifier of the format ABCnnnn where ABC is either SVC for Service Exceptions or POL for Policy Exception",
+ "type": "string"
+ },
+ "text": {
+ "description": "Message text, with replacement variables marked with %n, where n is an index into the list of <variables> elements, starting at 1",
+ "type": "string"
+ },
+ "url": {
+ "description": "Hyperlink to a detailed error resource e.g., an HTML page for browser user agents",
+ "type": "string"
+ },
+ "variables": {
+ "description": "List of zero or more strings that represent the contents of the variables used by the message text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "messageId",
+ "text"
+ ],
+ "type": "object"
+}