Socket
Socket
Sign inDemoInstall

ttspec

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ttspec - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

0

index.js

@@ -0,0 +0,0 @@ var variantusage = require('./variantusage');

@@ -0,0 +0,0 @@

2

package.json
{
"name": "ttspec",
"version": "1.5.0",
"version": "1.6.0",
"description": "TT Specifications",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,2 +10,3 @@ TT Specifications

* 2017-09-05 Additions and updates to support pages and calendar items
* 2017-05-24 Added type 'component'

@@ -12,0 +13,0 @@ * 2017-03-05 Changed `job` from uri to string

@@ -0,0 +0,0 @@ {

@@ -16,5 +16,5 @@ {

"type" : {
"description" : "The generic news type of this news object. TT-added:'component'",
"description" : "The generic news type of this news object. $$TT: TT added 'component' for items with, for example, embed codes for toolbox deliveries. TT also added event for items with data describing a coming event.",
"type" : "string",
"enum" : ["text", "audio", "video", "picture", "graphic", "composite", "planning", "component"]
"enum" : ["text", "audio", "video", "picture", "graphic", "composite", "planning", "component", "event"]
},

@@ -83,3 +83,3 @@ "mimetype" : {

"pubstatus" : {
"description" : "The publishing status of the news object, its value is *usable* by default.",
"description" : "The publishing status of the news object, its value is *usable* by default. $$TT: replaced and comissioned added by TT.",
"type" : "string",

@@ -100,2 +100,6 @@ "enum" : ["usable", "withheld", "canceled", "replaced", "commissioned"]

},
"week" : {
"description" : "$$TT: The number of the week the item is planned to be published. Mainly used for feature-articles and ready pages.",
"type" : "number"
},
"urgency" : {

@@ -129,6 +133,72 @@ "description" : "The editorial urgency of the content from 1 to 9. 1 represents the highest urgency, 9 the lowest. $$TT: 1 is most urgent. 4 is normal. Definition here http://tt.se/spec/prio/1.0",

},
"body_text" : {
"description" : "$$TT: The textual content of the news object as untagged text. Only present if type is PUBL or DATA.",
"type": "string"
},
"body_html5" : {
"description" : "$$TT: The textual content of the news object as HTML5. Only present if type is PUBL.",
"description" : "$$TT: The textual content of the news object as HTML5. Only present if type is PUBL or DATA.",
"type": "string"
},
"body_event" : {
"description" : "$$TT: Object with properties containing data from the event database.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"arena" : {"description" : "$$TT: Name of the arena where the event will take place.", "type" : "string"},
"city" : {"description" : "$$TT: Name of the city where the event will take place.", "type" : "string"},
"address" : {"description" : "$$TT: Address to the place where the event will take place.", "type" : "string"},
"country" : {"description" : "$$TT: Three letter code for the country where the event will take place.", "type" : "string"},
"eventurl" : {"description" : "$$TT: URL to a web site with information about the event.", "type" : "string"},
"eventphone" : {"description" : "$$TT: Phone number to call for more information about the event.", "type" : "string"},
"eventweb" : {"description" : "$$TT: Details on following the event online", "type" : "string"},
"organizer" : {"description" : "$$TT: Name of the organizer of the event", "type" : "string"},
"organizerurl" : {"description" : "$$TT: URL to a web page for the organizer", "type" : "string"},
"organizerphone" : {"description" : "$$TT: Phone number to the organizer of the event.", "type" : "string"},
"organizermail" : {"description" : "$$TT: Mail address to the organizer of the event.", "type" : "string"},
"eventstatus" : {"description" : "$$TT: Status code for the event.", "type" : "string"},
"eventstatus_text" : {"description" : "$$TT: Status for the event as a phrase.", "type" : "string"},
"region" : {"description" : "$$TT: For events in Sweden, the code of the region.", "type" : "string"},
"region_text" : {"description" : "$$TT: For events in Sweden, the name of the region.", "type" : "string"},
"municipality" : {"description" : "$$TT: For events in Sweden, the code of the municipality.", "type" : "string"},
"municipality_text" : {"description" : "$$TT: For events in Sweden the name of the municipality.", "type" : "string"},
"eventtags" : {"description" : "$$TT: Tags of the event.", "type" : "string"},
"eventtype" : {"description" : "$$TT: Code for type of event.", "type" : "string"},
"eventtype_text" : {"description" : "$$TT: Type of event as text.", "type" : "string"},
"note_extra" : {"description" : "$$TT: Extra information about the event.", "type" : "string"},
"note_pm" : {"description" : "$$TT: Text intended to be used by TT on planning lists of upcoming events.", "type" : "string"},
"accreditation" : {"description" : "$$TT: Information about how to get accreditation to the event.", "type" : "string"},
"extraurl" : {"description" : "$$TT: If there are more information concerning the event.", "type" : "string"},
"createddate" : {"description" : "$$TT: When the item was created in the TT event database.", "type" : "string", "format":"date-time"},
"createdby" : {"description" : "$$TT: Initials of the person creating the item in the TT event database.", "type" : "string"},
"changeddate" : {"description" : "$$TT: When the item was last updated in the TT event database.", "type" : "string", "format":"date-time"},
"changedby" : {"description" : "$$TT: Initials of the person doing the last update to the item.", "type" : "string"},
"courtcasenumber" : {"description" : "$$TT: If the event is a trial this property hold the casenumber.", "type" : "string"}
}
},
"body_sportsml" : {
"description" : "$$TT: When the news object is some form of sportsresults, table etc the data is delivered as sportsml. Only present if type is PUBL or DATA.",
"type": "string"
},
"body_pages" : {
"description" : "$$TT: One or more objects describing the pages in this delivery.",
"type" : "object",
"additionalProperties" : false,
"patternProperties" : {
"^[a-zA-Z0-9]+" : {
"description" : "$$TT: Description of one of the pages in this delivery.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"innermargin" : {"description" : "$$TT: Inner margin for this page. In the unit named in unit.", "type" : "number"},
"bottommargin" : {"description" : "$$TT: Bottom margin for this page. In the unit named in unit.", "type" : "number"},
"pagina" : {"description" : "$$TT: The pagenumber, but not nescessary a number. Can be a letter too.", "type" : "string"},
"outermargin" : {"description" : "$$TT: Outer margin for this page. In the unit named in unit.", "type" : "number"},
"unit" : {"description" : "$$TT: Unit in which the margins are given. Normally MM för millimeter.", "type" : "string"},
"topmargin" : {"description" : "$$TT: Top margin for this page. In the unit named in unit.", "type" : "number"},
"leftmargin" : {"description" : "$$TT: Left margin for this page. In the unit named in unit.", "type" : "number"},
"rightmargin" : {"description" : "$$TT: Right margin for this page. In the unit named in unit.", "type" : "number"}
}
}
}
},
"commissionedby": {

@@ -149,2 +219,14 @@ "description": "$$TT: When pubstatus is 'commissioned', this field tells who commissioned it.",

},
"signals" : {
"description" : "$$TT: signals is suggested by AP but not yet included in ninjs. When included it will probably hold a large number of properties.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"pageproduct" : {"description" : "$$TT: What type of page product. An abbreviation like IURDAG.", "type" : "string"},
"multipagecount" : {"description" : "$$TT: Number of pages in this delivery.", "type" : "number"},
"paginae" : {"description" : "$$TT: Array of pagenumbers for the pages in this delivery. (A pagenumber can also be a letter.)", "type" : "array", "items" : {"type" : "string"}},
"pagecode" : {"description" : "$$TT: Code for this page product", "type" : "string"},
"pagevariant" : {"description" : "$$TT: Variant of this page product", "type" : "string"}
}
},
"product" : {

@@ -392,4 +474,4 @@ "description" : "$$TT: TT Product classification codes. See http://tt.se/spec/product/1.0",

"internal": {
"type": "boolean",
"description": "Whether byline is for internal purposes. Example: true"
"type": "string",
"description": "Whether byline is for internal purposes. Example: true. If not present it means false."
},

@@ -477,2 +559,6 @@ "phone": {

"type" : "number"
},
"format" : {
"description" : "$$TT: Suggested by AP, so probably in the official ninjs schema at the next update.",
"type" : "string"
}

@@ -538,7 +624,7 @@ }

"sector": {
"description" : "$$TT: Designator for the 'big 5' ways of grouping content (inrikes, utrikes, etc). Not mandatory, often omitted.",
"description" : "$$TT: Designator for the 'big 5' ways of grouping content (inrikes, utrikes, etc) and PRM for press releases. Not mandatory, often omitted.",
"type": "string",
"enum" : ["INR", "UTR", "EKO", "KLT", "SPT"]
"enum" : ["INR", "UTR", "EKO", "KLT", "SPT", "PRM"]
}
}
}

@@ -0,0 +0,0 @@ //

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc