diaspora_federation-json_schema 0.2.1 → 0.2.2

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: 5bc83ef074cbe72900cdbb8ad90ca2099ccfb9fc
4
- data.tar.gz: '09cbd3efcdaf9f23b8948c4999193d202af1723c'
3
+ metadata.gz: 4a06b8087c1b3ba99bd7eb3c04abd04b29f7f7d7
4
+ data.tar.gz: a07f3730b7c51ca74a040e5419706bee103d11e0
5
5
  SHA512:
6
- metadata.gz: 2465284f179e617633d856ff64ce7d4bf8c5023283f9b13c3e9bd381972c88d185765f0b9e935770ecd5b0bddd9518718673aa2a9b4e4c7736e84a118c2df466
7
- data.tar.gz: 8aecd602e69469d8cc7eae4a3319bb839d6e256e94ae74dae2a8c0d2c68c61abc0490c0fe210c038728280bed8273486a517be98d97eed4e49ec0094933a4c9b
6
+ metadata.gz: 6c289017c67c6d50b695dbc243ca77d8ef8a64bc2023ed4a3385698b1abe296fcf2b2fcc90e76356be2aa0cfa7171a5cdf3a9ce526c19dfe7c7e3510feae4b67
7
+ data.tar.gz: '08b8ab2cce2f20b350bf196d9eac114728735693a34d7fc8cb0e7da7961a7b54accb0899822f0c4009bd5201e810d238ec39a96453f85998b8c7dbbab61f34d9'
@@ -215,28 +215,26 @@
215
215
  },
216
216
 
217
217
  "reshare": {
218
- "allOf": [
219
- {"$ref": "#/definitions/post"},
220
- {
218
+ "type": "object",
219
+ "properties": {
220
+ "entity_type": {
221
+ "type": "string",
222
+ "pattern": "^reshare$"
223
+ },
224
+
225
+ "entity_data": {
221
226
  "type": "object",
222
227
  "properties": {
223
- "entity_type": {
224
- "type": "string",
225
- "pattern": "^reshare$"
226
- },
227
-
228
- "entity_data": {
229
- "type": "object",
230
- "properties": {
231
- "root_author": {"type": "string"},
232
- "root_guid": {"$ref": "#/definitions/guid"}
233
- },
234
-
235
- "required": ["root_author", "root_guid"]
236
- }
237
- }
238
- }
239
- ]
228
+ "author": { "type": "string" },
229
+ "guid": { "$ref": "#/definitions/guid" },
230
+ "created_at": { "type": "string" },
231
+ "root_author": {"type": "string"},
232
+ "root_guid": {"$ref": "#/definitions/guid"}
233
+ },
234
+ "required": ["author", "guid", "created_at", "root_author", "root_guid"]
235
+ },
236
+ "required": ["entity_type", "entity_data"]
237
+ }
240
238
  },
241
239
 
242
240
  "profile": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diaspora_federation-json_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Neff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-07 00:00:00.000000000 Z
12
+ date: 2017-09-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This gem provides JSON schemas (currently one schema) for validating
15
15
  JSON serialized federation objects.
@@ -42,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  version: '0'
43
43
  requirements: []
44
44
  rubyforge_project:
45
- rubygems_version: 2.6.8
45
+ rubygems_version: 2.6.13
46
46
  signing_key:
47
47
  specification_version: 4
48
48
  summary: diaspora* federation json schemas