From 062347e0d44b018d95bfd51d976d6039e2b0ac49 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Fri, 7 Oct 2016 15:11:49 -0700 Subject: [PATCH] Pretty-print the JSON block --- 1.3/spec.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/1.3/spec.md b/1.3/spec.md index e086ec4..fcf65f6 100644 --- a/1.3/spec.md +++ b/1.3/spec.md @@ -177,4 +177,38 @@ have the following metadata table: * `type`: `overlay` * `version`: `2` * `scheme`: `tms` -* `json`: `{"vector_layers": [ { "id": "tl_2016_us_county", "description": "Census counties", "minzoom": 0, "maxzoom": 5, "fields": {"ALAND": "Number", "AWATER": "Number", "COUNTYFP": "String", "GEOID": "String", "MTFCC": "String", "NAME": "String", "NAMELSAD": "String", "STATEFP": "String"} }, { "id": "tl_2016_us_primaryroads", "description": "Census primary roads", "minzoom": 0, "maxzoom": 5, "fields": {"FULLNAME": "String", "LINEARID": "String", "MTFCC": "String", "RTTYP": "String"} } ] }` +* `json`: +``` + { + "vector_layers": [ + { + "id": "tl_2016_us_county", + "description": "Census counties", + "minzoom": 0, + "maxzoom": 5, + "fields": { + "ALAND": "Number", + "AWATER": "Number", + "COUNTYFP": "String", + "GEOID": "String", + "MTFCC": "String", + "NAME": "String", + "NAMELSAD": "String", + "STATEFP": "String" + } + }, + { + "id": "tl_2016_us_primaryroads", + "description": "Census primary roads", + "minzoom": 0, + "maxzoom": 5, + "fields": { + "FULLNAME": "String", + "LINEARID": "String", + "MTFCC": "String", + "RTTYP": "String" + } + } + ] + } +```