any_channel_json_schemas 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/json_schemas/channelback_payload.json +2 -2
- data/json_schemas/external_resource.json +17 -16
- data/json_schemas/manifest.json +14 -13
- data/json_schemas/pull_payload.json +3 -3
- data/json_schemas/push_parameters.json +3 -3
- data/json_schemas/report_channelback_error.json +10 -0
- metadata +4 -4
- data/json_schemas/schemas.zip +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b54f04b45e13938feac28058c0849c274dc138a
|
4
|
+
data.tar.gz: 4e5f4b2df21498083a2da68d7ad80224f5cb25b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 646a7b91b7cf94be09b9e189935186bf9bd41624f5f44efc9fc0b8a62753588ac663a921af20614ae2f701b5447f90d01016a9ffaceee6e6d634a0a923319e37
|
7
|
+
data.tar.gz: 5340d955731f22bb77d8101834d9d9e765c3bc3e3daff3734538d20cac7b402dd0f4edf85e4a6cdb518f228b99be242b50a17de755c76e63210f3cc9938c5c27
|
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"type": "object",
|
3
3
|
"required": ["external_id"],
|
4
4
|
"properties": {
|
5
|
-
"external_id": {"type": "string", "format": "external-id"},
|
5
|
+
"external_id": {"type": "string", "maxLength": 255, "format": "external-id"},
|
6
6
|
"allow_channelback": {"type": "boolean"},
|
7
7
|
"metadata_needs_update": {"type": "boolean"},
|
8
|
-
"metadata": {"type": "string"}
|
8
|
+
"metadata": {"type": "string", "maxLength": 5000}
|
9
9
|
}
|
10
10
|
}
|
@@ -2,17 +2,17 @@
|
|
2
2
|
"type": "object",
|
3
3
|
"required": ["external_id", "message", "author", "created_at"],
|
4
4
|
"properties": {
|
5
|
-
"external_id": {"type": "string", "minLength": 1, "format": "external-id"},
|
6
|
-
"message": {"type": "string", "minLength": 1},
|
7
|
-
"html_message": {"type": "string", "minLength": 1},
|
8
|
-
"parent_id": {"type": "string", "minLength": 1, "format": "external-id"},
|
9
|
-
"thread_id": {"type": "string", "minLength": 1, "format": "external-id"},
|
10
|
-
"created_at": {"type": "string", "format": "date-time"},
|
5
|
+
"external_id": {"type": "string", "minLength": 1, "maxLength": 255, "format": "external-id"},
|
6
|
+
"message": {"type": "string", "minLength": 1, "maxLength": 65535},
|
7
|
+
"html_message": {"type": "string", "minLength": 1, "maxLength": 65535},
|
8
|
+
"parent_id": {"type": "string", "minLength": 1, "maxLength": 255, "format": "external-id"},
|
9
|
+
"thread_id": {"type": "string", "minLength": 1, "maxLength": 255, "format": "external-id"},
|
10
|
+
"created_at": {"type": "string", "maxLength": 255, "format": "date-time"},
|
11
11
|
"author": {"$ref": "#/definitions/author"},
|
12
|
-
"display_info": {"type": "array", "items": {"$ref": "#/definitions/display_info"} },
|
12
|
+
"display_info": {"type": "array", "maxItems": 16, "items": {"$ref": "#/definitions/display_info"} },
|
13
13
|
"allow_channelback": {"type":"boolean"},
|
14
|
-
"fields": {"type": "array", "items": {"$ref": "#/definitions/field_value"} },
|
15
|
-
"file_urls": {"type": "array", "items": {"$ref": "#/definitions/file_url"} }
|
14
|
+
"fields": {"type": "array", "maxItems": 64, "items": {"$ref": "#/definitions/field_value"} },
|
15
|
+
"file_urls": {"type": "array", "maxItems": 64, "items": {"$ref": "#/definitions/file_url"} }
|
16
16
|
},
|
17
17
|
"definitions": {
|
18
18
|
"external_resource": {
|
@@ -21,17 +21,17 @@
|
|
21
21
|
"type": "object",
|
22
22
|
"required": ["external_id"],
|
23
23
|
"properties": {
|
24
|
-
"external_id": {"type": "string", "minLength": 1, "format": "external-id"},
|
25
|
-
"name": {"type": "string", "minLength": 1},
|
26
|
-
"image_url": {"type": "string", "minLength": 1},
|
27
|
-
"locale": {"type": "string", "minLength": 1}
|
24
|
+
"external_id": {"type": "string", "minLength": 1, "maxLength": 255, "format": "external-id"},
|
25
|
+
"name": {"type": "string", "minLength": 1, "maxLength": 255},
|
26
|
+
"image_url": {"type": "string", "minLength": 1, "maxLength": 511},
|
27
|
+
"locale": {"type": "string", "minLength": 1, "maxLength": 255}
|
28
28
|
}
|
29
29
|
},
|
30
30
|
"display_info": {
|
31
31
|
"type": "object",
|
32
32
|
"required": ["type", "data"],
|
33
33
|
"properties": {
|
34
|
-
"type": {"type": "string", "minLength": 1},
|
34
|
+
"type": {"type": "string", "minLength": 1, "maxLength": 255},
|
35
35
|
"data": {"type": "object"}
|
36
36
|
}
|
37
37
|
},
|
@@ -39,13 +39,14 @@
|
|
39
39
|
"type": "object",
|
40
40
|
"required": ["id", "value"],
|
41
41
|
"properties": {
|
42
|
-
"id": {"type": ["integer", "string"], "minLength": 1},
|
42
|
+
"id": {"type": ["integer", "string"], "minLength": 1, "maxLength": 255},
|
43
43
|
"value": {"type": "any"}
|
44
44
|
}
|
45
45
|
},
|
46
46
|
"file_url": {
|
47
47
|
"type": "string",
|
48
|
-
"format": "https-url"
|
48
|
+
"format": "https-url",
|
49
|
+
"maxLength": 511
|
49
50
|
}
|
50
51
|
}
|
51
52
|
}
|
data/json_schemas/manifest.json
CHANGED
@@ -5,11 +5,12 @@
|
|
5
5
|
"type": "object",
|
6
6
|
"required": ["name", "id", "urls"],
|
7
7
|
"properties": {
|
8
|
-
"name": {"type": "string", "minLength": 1},
|
9
|
-
"id": {"type": "string", "minLength": 1},
|
10
|
-
"version": {"type": "string", "minLength": 1},
|
11
|
-
"author": {"type": "string", "minLength": 1},
|
12
|
-
"push_client_id": {"type": "string", "minLength": 1},
|
8
|
+
"name": {"type": "string", "minLength": 1, "maxLength": 255},
|
9
|
+
"id": {"type": "string", "minLength": 1, "maxLength": 511},
|
10
|
+
"version": {"type": "string", "minLength": 1, "maxLength": 255},
|
11
|
+
"author": {"type": "string", "minLength": 1, "maxLength": 255},
|
12
|
+
"push_client_id": {"type": "string", "minLength": 1, "maxLength": 128},
|
13
|
+
"channelback_files": {"type": "boolean"},
|
13
14
|
"urls": { "$ref": "#/definitions/manifest/definitions/urls"}
|
14
15
|
},
|
15
16
|
"definitions": {
|
@@ -17,14 +18,14 @@
|
|
17
18
|
"type": "object",
|
18
19
|
"required": ["admin_ui"],
|
19
20
|
"properties": {
|
20
|
-
"admin_ui": {"type": "string", "format": "https-url"},
|
21
|
-
"pull_url": {"type": "string", "format": "https-url"},
|
22
|
-
"channelback_url": {"type": "string", "format": "https-url"},
|
23
|
-
"clickthrough_url": {"type": "string", "format": "https-url"},
|
24
|
-
"healthcheck_url": {"type": "string"},
|
25
|
-
"about_url": {"type": "string"},
|
26
|
-
"dashboard_url": {"type": "string"},
|
27
|
-
"event_callback_url": {"type": "string", "format": "https-url"}
|
21
|
+
"admin_ui": {"type": "string", "maxLength": 511, "format": "https-url"},
|
22
|
+
"pull_url": {"type": "string", "maxLength": 511, "format": "https-url"},
|
23
|
+
"channelback_url": {"type": "string", "maxLength": 511, "format": "https-url"},
|
24
|
+
"clickthrough_url": {"type": "string", "maxLength": 511, "format": "https-url"},
|
25
|
+
"healthcheck_url": {"type": "string", "maxLength": 511},
|
26
|
+
"about_url": {"type": "string", "maxLength": 511},
|
27
|
+
"dashboard_url": {"type": "string", "maxLength": 511},
|
28
|
+
"event_callback_url": {"type": "string", "maxLength": 511, "format": "https-url"}
|
28
29
|
}
|
29
30
|
}
|
30
31
|
}
|
@@ -2,9 +2,9 @@
|
|
2
2
|
"type": "object",
|
3
3
|
"required": ["external_resources"],
|
4
4
|
"properties": {
|
5
|
-
"state": {"type": "string"},
|
6
|
-
"external_resources": {"type": "array", "items": { "$ref": "external_resource.json"} },
|
5
|
+
"state": {"type": "string", "maxLength": 5000},
|
6
|
+
"external_resources": {"type": "array", "maxItems": 256, "items": { "$ref": "external_resource.json"} },
|
7
7
|
"metadata_needs_update": {"type": "boolean"},
|
8
|
-
"metadata": {"type": "string"}
|
8
|
+
"metadata": {"type": "string", "maxLength": 5000}
|
9
9
|
}
|
10
10
|
}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
"type": "object",
|
3
3
|
"required": ["instance_push_id", "external_resources"],
|
4
4
|
"properties": {
|
5
|
-
"instance_push_id": {"type": "string", "minLength": 1},
|
6
|
-
"request_id": {"type": "string", "minLength": 1},
|
7
|
-
"external_resources": {"type": "array", "items": { "$ref": "external_resource.json"} }
|
5
|
+
"instance_push_id": {"type": "string", "minLength": 1, "maxLength": 255},
|
6
|
+
"request_id": {"type": "string", "minLength": 1, "maxLength": 64},
|
7
|
+
"external_resources": {"type": "array", "maxItems": 256, "items": { "$ref": "external_resource.json"} }
|
8
8
|
}
|
9
9
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"type": "object",
|
3
|
+
"required": ["instance_push_id", "external_id"],
|
4
|
+
"properties": {
|
5
|
+
"instance_push_id": { "type": "string", "minLength": 1, "maxLength": 255 },
|
6
|
+
"external_id": { "type": "string", "maxLength": 255, "format": "external-id" },
|
7
|
+
"request_id": { "type": "string", "minLength": 1, "maxLength": 64 },
|
8
|
+
"description": { "type": "string", "maxLength": 511 }
|
9
|
+
}
|
10
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: any_channel_json_schemas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JaredShay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: JSON schema files for the Zendesk Channels Framework.
|
14
14
|
email:
|
@@ -33,7 +33,7 @@ files:
|
|
33
33
|
- json_schemas/manifest.json
|
34
34
|
- json_schemas/pull_payload.json
|
35
35
|
- json_schemas/push_parameters.json
|
36
|
-
- json_schemas/
|
36
|
+
- json_schemas/report_channelback_error.json
|
37
37
|
- lib/any_channel_json_schemas.rb
|
38
38
|
homepage: https://github.com/zendesk/any_channel_json_schemas/ruby
|
39
39
|
licenses:
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
55
|
version: '0'
|
56
56
|
requirements: []
|
57
57
|
rubyforge_project:
|
58
|
-
rubygems_version: 2.
|
58
|
+
rubygems_version: 2.5.2
|
59
59
|
signing_key:
|
60
60
|
specification_version: 4
|
61
61
|
summary: JSON schema files for the Zendesk Channels Framework.
|
data/json_schemas/schemas.zip
DELETED
Binary file
|