Comparing version 1.6.2 to 1.8.0
{ | ||
"name": "ttspec", | ||
"version": "1.6.2", | ||
"version": "1.8.0", | ||
"description": "TT Specifications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,2 +10,4 @@ TT Specifications | ||
* 2018-03-02 Id is now based on https:// rather than http:// | ||
* 2018-02-21 Spec upgraded to conform to json-schema draft-04 | ||
* 2017-09-05 Additions and updates to support pages and calendar items | ||
@@ -12,0 +14,0 @@ * 2017-05-24 Added type 'component' |
{ | ||
"$schema": "http://json-schema.org/draft-03/schema#", | ||
"id" : "http://tt.se/spec/ttninjs/ttninjs-schema_1.0.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"id" : "https://tt.se/spec/ttninjs/ttninjs-schema_1.0.json#", | ||
"type" : "object", | ||
@@ -8,2 +8,3 @@ "title" : "TT variant of IPTC ninjs - News in JSON - version 1.0", | ||
"additionalProperties" : false, | ||
"required": [ "uri" ], | ||
"properties" : { | ||
@@ -13,4 +14,3 @@ "uri" : { | ||
"type" : "string", | ||
"format" : "uri", | ||
"required" : true | ||
"format" : "uri" | ||
}, | ||
@@ -587,3 +587,3 @@ "type" : { | ||
"^[a-zA-Z0-9]+" : { | ||
"$ref": "http://tt.se/spec/ttninjs/ttninjs-schema_1.0.json#" | ||
"$ref": "https://tt.se/spec/ttninjs/ttninjs-schema_1.0.json#" | ||
} | ||
@@ -599,2 +599,3 @@ | ||
"additionalProperties" : true, | ||
"required": [ "uri" ], | ||
"properties" : { | ||
@@ -604,9 +605,7 @@ "uri" : { | ||
"type" : "string", | ||
"format" : "uri", | ||
"required" : true | ||
"format" : "uri" | ||
}, | ||
"slug" : { | ||
"description" : "$$TT: Short name given to article while in production.", | ||
"type": "string", | ||
"required" : false | ||
"type": "string" | ||
}, | ||
@@ -616,3 +615,2 @@ "replacing" : { | ||
"type" : "array", | ||
"required" : false, | ||
"items" : { | ||
@@ -619,0 +617,0 @@ "type": "string", |
54563
24
702