Skip to content

Instantly share code, notes, and snippets.

@thomsbg
Created February 2, 2017 22:29
Show Gist options
  • Save thomsbg/fe2aba10c1b6899ad58a37a11522f52c to your computer and use it in GitHub Desktop.
Save thomsbg/fe2aba10c1b6899ad58a37a11522f52c to your computer and use it in GitHub Desktop.
diff --git a/config/schema/mapstack-v1.json b/config/schema/mapstack-v1.json
index de9e97ff0..4a0d19777 100644
--- a/config/schema/mapstack-v1.json
+++ b/config/schema/mapstack-v1.json
@@ -2,8 +2,10 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://chorus.voxmedia.com/schema/mapstack-v1.json",
"type": "object",
+ "additionalProperties": {
+ "$ref": "story-v2.json#"
+ },
"properties": {
- "$ref": "story-v2.json#/properties",
"map_points": {
"type": "array",
"items": {
@@ -35,10 +37,10 @@
"type": "string"
},
"latitude": {
- "type": "float"
+ "type": "number"
},
"longitude": {
- "type": "float"
+ "type": "number"
},
"phone": {
"$ref": "definitions.json#/rich-text-with-author"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment