diaspora_federation-json_schema 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/diaspora_federation/schemas/federation_entities.json +18 -20
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a06b8087c1b3ba99bd7eb3c04abd04b29f7f7d7
|
|
4
|
+
data.tar.gz: a07f3730b7c51ca74a040e5419706bee103d11e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c289017c67c6d50b695dbc243ca77d8ef8a64bc2023ed4a3385698b1abe296fcf2b2fcc90e76356be2aa0cfa7171a5cdf3a9ce526c19dfe7c7e3510feae4b67
|
|
7
|
+
data.tar.gz: '08b8ab2cce2f20b350bf196d9eac114728735693a34d7fc8cb0e7da7961a7b54accb0899822f0c4009bd5201e810d238ec39a96453f85998b8c7dbbab61f34d9'
|
|
@@ -215,28 +215,26 @@
|
|
|
215
215
|
},
|
|
216
216
|
|
|
217
217
|
"reshare": {
|
|
218
|
-
"
|
|
219
|
-
|
|
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
|
-
"
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
},
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
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.
|
|
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-
|
|
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.
|
|
45
|
+
rubygems_version: 2.6.13
|
|
46
46
|
signing_key:
|
|
47
47
|
specification_version: 4
|
|
48
48
|
summary: diaspora* federation json schemas
|