any_channel_json_schemas 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f7b4ee4a389e0d3e3ed17a54ed66eb277c2ec5c
|
4
|
+
data.tar.gz: 6306c0facb0fa01f0a5ba3a16679831364d407ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dffb44aa997031fc437591aba78b1406cc4378425b1d132f586caed7c05c2a856eca2f2d4d57732c175b320d6bb00ef601a8ce3dfe6c48a4afc092f129c2d60
|
7
|
+
data.tar.gz: e4417ec40f5613aa7073666f3fc34a2d584201807897fb53e454e4b74517e7f8ca7fd2a35b5492a71cc64180852bca64359414bf49dde2db60c9ab6a61f81e64
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"type": "object",
|
3
3
|
"required": ["external_id"],
|
4
4
|
"properties": {
|
5
|
-
"external_id": {"type": "string"},
|
5
|
+
"external_id": {"type": "string", "format": "external-id"},
|
6
6
|
"allow_channelback": {"type": "boolean"},
|
7
7
|
"metadata_needs_update": {"type": "boolean"},
|
8
8
|
"metadata": {"type": "string"}
|
@@ -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"},
|
6
|
-
"message": {"type": "string"},
|
7
|
-
"html_message": {"type": "string"},
|
8
|
-
"parent_id": {"type": "string"},
|
9
|
-
"thread_id": {"type": "string"},
|
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
10
|
"created_at": {"type": "string", "format": "date-time"},
|
11
11
|
"author": {"$ref": "#/definitions/author"},
|
12
12
|
"display_info": {"type": "array", "items": {"$ref": "#/definitions/display_info"} },
|
13
13
|
"allow_channelback": {"type":"boolean"},
|
14
14
|
"fields": {"type": "array", "items": {"$ref": "#/definitions/field_value"} },
|
15
|
-
"file_urls": {"type": "array", "items": {"$ref": "#/definitions/file_url"}
|
15
|
+
"file_urls": {"type": "array", "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"},
|
25
|
-
"name": {"type": "string"},
|
26
|
-
"image_url": {"type": "string"},
|
27
|
-
"locale": {"type": "string"}
|
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}
|
28
28
|
}
|
29
29
|
},
|
30
30
|
"display_info": {
|
31
31
|
"type": "object",
|
32
32
|
"required": ["type", "data"],
|
33
33
|
"properties": {
|
34
|
-
"type": {"type": "string"},
|
34
|
+
"type": {"type": "string", "minLength": 1},
|
35
35
|
"data": {"type": "object"}
|
36
36
|
}
|
37
37
|
},
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"type": "object",
|
40
40
|
"required": ["id", "value"],
|
41
41
|
"properties": {
|
42
|
-
"id": {"type": ["integer", "string"]},
|
42
|
+
"id": {"type": ["integer", "string"], "minLength": 1},
|
43
43
|
"value": {"type": "any"}
|
44
44
|
}
|
45
45
|
},
|
data/json_schemas/manifest.json
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
"type": "object",
|
6
6
|
"required": ["name", "id", "urls"],
|
7
7
|
"properties": {
|
8
|
-
"name": {"type": "string"},
|
9
|
-
"id": {"type": "string"},
|
10
|
-
"version": {"type": "string"},
|
11
|
-
"author": {"type": "string"},
|
12
|
-
"push_client_id": {"type": "string"},
|
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},
|
13
13
|
"urls": { "$ref": "#/definitions/manifest/definitions/urls"}
|
14
14
|
},
|
15
15
|
"definitions": {
|
@@ -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"},
|
6
|
-
"request_id": {"type": "string"},
|
5
|
+
"instance_push_id": {"type": "string", "minLength": 1},
|
6
|
+
"request_id": {"type": "string", "minLength": 1},
|
7
7
|
"external_resources": {"type": "array", "items": { "$ref": "external_resource.json"} }
|
8
8
|
}
|
9
9
|
}
|
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.6.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: 2017-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: JSON schema files for the Zendesk Channels Framework.
|
14
14
|
email:
|
@@ -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.4.8
|
59
59
|
signing_key:
|
60
60
|
specification_version: 4
|
61
61
|
summary: JSON schema files for the Zendesk Channels Framework.
|