summaryrefslogtreecommitdiffstats
path: root/examples/examples-grpc/src/main/resources/schemas/CDSResponseStatusType.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-grpc/src/main/resources/schemas/CDSResponseStatusType.json')
-rw-r--r--examples/examples-grpc/src/main/resources/schemas/CDSResponseStatusType.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/examples-grpc/src/main/resources/schemas/CDSResponseStatusType.json b/examples/examples-grpc/src/main/resources/schemas/CDSResponseStatusType.json
new file mode 100644
index 000000000..9f3da62b6
--- /dev/null
+++ b/examples/examples-grpc/src/main/resources/schemas/CDSResponseStatusType.json
@@ -0,0 +1,24 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "eventType": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "eventType",
+ "timestamp"
+ ]
+}