{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "https://tt.se/spec/ttninjs/ttninjs-schema_1.4.json#", "type": "object", "title": "TT variant of IPTC ninjs - News in JSON - version 1.4", "description": "A TT news item as JSON object -- Derived from https://www.iptc.org/std/ninjs/ninjs-schema_1.4.json -- (c) Copyright 2022 TT - TT Nyhetsbyrån - tt.se - This document is published under the Creative Commons Attribution 3.0 license, see http://creativecommons.org/licenses/by/3.0/.", "additionalProperties": false, "required": ["uri"], "properties": { "uri": { "title": "Uniform Resource Identifier", "description": "The identifier for this object", "type": "string", "format": "uri" }, "type": { "title": "Type", "description": "The generic news type of this news object. $$TT: TT added event for items with data describing a coming event.", "type": "string", "enum": [ "text", "audio", "video", "picture", "graphic", "composite", "planning", "component", "event" ] }, "mimetype": { "title": "MIME type", "description": "A MIME type which applies to this object", "type": "string" }, "representationtype": { "title": "Representation type", "description": "Indicates how complete this representation of a news item is. $$TT: associated is a TT-extension used when the news item appears as an association considered as a link without renditions.", "type": "string", "enum": [ "complete", "incomplete", "associated" ] }, "profile": { "title": "Profile", "description": "An identifier for the structure of the news object. This can be any string but we suggest something identifying the structure of the content such as 'text-only' or 'text-photo'. Profiles are typically provider-specific. nar:profile $$TT: Possible values are PUBL, DATA, INFO or RAW. PUBL is a news item that can be published. DATA is data such as tables and figures (that are not meant to be edited). INFO is for information purposes only (not to be published). RAW is raw data, such as unedited videos, that is meant to be further edited before publishing.", "type": "string", "enum": [ "PUBL", "DATA", "INFO", "RAW" ] }, "version": { "title": "Version", "description": "The version of the object which is identified by the uri property", "type": "string" }, "firstcreated": { "title": "First created", "description": "Indicates when the first version of the item was created. (Added in version 1.2 from issue #5). nar:firstCreated", "type": "string", "format": "date-time" }, "versioncreated": { "title": "Version created", "description": "The date and time when this version of the object was created", "type": "string", "format": "date-time" }, "contentcreated": { "title": "Content created", "description": "The date and time when the content of this ninjs object was originally created. For example an old photo that is now handled as a ninjs object. nar:contentCreated (Added in 1.4)", "type": "string", "format": "date-time" }, "versionstored": { "title": "Version stored", "description": "$$TT: The date and time when this version of the object was persisted. For a photo, versioncreated is when photo was taken, versionstored is when we indexed it to the database.", "type": "string", "format": "date-time" }, "embargoed": { "title": "Embargoed", "description": "The date and time before which all versions of the object are embargoed. If absent, this object is not embargoed.", "type": "string", "format": "date-time" }, "embargoedreason": { "title": "Reason for embargo", "description": "$$TT: Textual description of why article is embargoed.", "type": "string" }, "date": { "title": "Date", "description": "$$TT Used for items that concern a specific date such as events and planning items. Notice that this holds date only, no time. See also datetime.", "type": "string", "format": "date" }, "datetime": { "title": "Date and time", "description": "$$TT For items that concern a specific date and time. See also date.", "type": "string", "format": "date-time" }, "enddate": { "title": "End date", "description": "$$TT Used for items that concern a specific date such as events and planning items and has a specific enddate. Notice that this holds date only, no time. See also enddatetime.", "type": "string", "format": "date" }, "enddatetime": { "title": "End date and time", "description": "$$TT For items that concern a specific enddate and time. See also enddate.", "type": "string", "format": "date-time" }, "job": { "title": "Job", "description": "$$TT: Identifier of a grouping job this item belongs to. Typically the id of the job the article belong to, normally something like 327890.", "type": "string" }, "pubstatus": { "title": "Publication status", "description": "The publishing status of the news object, its value is *usable* by default. Please note that for information about events that have been canceled the pubstatus of the ttninjs object will still be usable. The cancel information can be found in body_event. $$TT: replaced and comissioned added by TT.", "type": "string", "enum": [ "usable", "withheld", "canceled", "replaced", "commissioned" ] }, "urgency": { "title": "Urgency", "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", "type": "number" }, "copyrightholder": { "title": "Copyright holder", "description": "The person or organisation claiming the intellectual property for the content.", "type": "string" }, "copyrightnotice": { "title": "Copyright notice", "description": "Any necessary copyright notice for claiming the intellectual property for the content.", "type": "string" }, "usageterms": { "title": "Usage terms", "description": "A natural-language statement about the usage terms pertaining to the content. $$TT: Specifically contains image usage restrictions from TT's suppliers.", "type": "string" }, "ednote": { "title": "Editorial note", "description": "A note that is intended to be read by internal staff at the receiving organisation, but not published to the end-user. (Added in version 1.2 from issue #6.) . ednote: nar:edNote $$TT: TT will start using ednote and deprecate description_usage", "type": "string" }, "language": { "title": "Language", "description": "The human language used by the content. The value should follow IETF BCP47", "type": "string" }, "week": { "title": "Week", "description": "$$TT: The number of the week the item is planned to be published. Mainly used for feature-articles and ready pages. Also showing the week-number of planning and events.", "type": "number" }, "webprio": { "title": "Web priority", "description": "$TT: TT managed editorial sort order. Priority numbers range from 1 (most important) to 3 (least). A 0 indicates that the item needs manual attention before publishning. Definitions and sort logic are defined here http://tt.se/spec/webprio/1.0", "type": "number" }, "source": { "title": "Source", "description": "$$TT: String identifier for originating source of content.", "type": "string" }, "commissioncode": { "title": "Commisioncode", "description": "$$TT: String identifier for who receives commission for this object.", "type": "string" }, "description_text": { "title": "Description of text", "description": "$$TT: Textual description of the item as text.", "type": "string" }, "description_usage": { "title": "Description of usage", "description": "$$TT: TT editorial information. Can be anything from planned re-relases of object to restrictions. (DEPRECATED, use ednote instead!)", "type": "string" }, "body_text": { "title": "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": { "title": "Body HTML5", "description": "$$TT: The textual content of the news object as HTML5. Only present if type is PUBL or DATA.", "type": "string" }, "body_richhtml5": { "title": "Body rich HTML5", "description": "$$TT: The textual content of the news object as HTML5. Only present if type is PUBL or DATA. See alternative html5 schemas for details. richhtml5 allow more than the older html5 container", "type": "string" }, "body_event": { "title": "Body event-data", "description": "$$TT: Object with properties containing data on upcoming events.", "type": "object", "additionalProperties": false, "properties": { "arena": { "title": "Arena", "description": "$$TT: Name of the arena where the event will take place.", "type": "string" }, "city": { "title": "City", "description": "$$TT: Name of the city where the event will take place.", "type": "string" }, "address": { "title": "Address", "description": "$$TT: Address to the place where the event will take place.", "type": "string" }, "country": { "title": "Country", "description": "$$TT: Three letter code for the country where the event will take place.", "type": "string" }, "eventurl": { "title": "Event URL", "description": "$$TT: URL to a web site with information about the event.", "type": "string" }, "eventphone": { "title": "Event phone", "description": "$$TT: Phone number to call for more information about the event.", "type": "string" }, "eventweb": { "title": "Event web", "description": "$$TT: Details on following the event online", "type": "string" }, "organizer": { "title": "Organizer", "description": "$$TT: Name of the organizer of the event", "type": "string" }, "organizeraddress": { "title": "Organizeraddress", "description": "$$TT: Adress of the organizer of the event", "type": "string" }, "organizercity": { "title": "Organizercity", "description": "$$TT: City name of the organizer of the event", "type": "string" }, "organizercountry": { "title": "Organizer", "description": "$$TT: Country of the organizer of the event", "type": "string" }, "organizerurl": { "title": "Organizer URL", "description": "$$TT: URL to a web page for the organizer", "type": "string" }, "organizerphone": { "title": "Organizer phone", "description": "$$TT: Phone number to the organizer of the event.", "type": "string" }, "organizermail": { "title": "Organizer mail", "description": "$$TT: Mail address to the organizer of the event.", "type": "string" }, "eventstatus": { "title": "Event status code", "description": "$$TT: Status code for the event. Value is normally 1. Canceled events will have 4.", "type": "string" }, "eventstatus_text": { "title": "Event status text", "description": "$$TT: Status for the event as a phrase. Normally 'Planerat'. Canceled events will have 'Inställt'.", "type": "string" }, "region": { "title": "Region code", "description": "$$TT: For events in Sweden, the code of the region.", "type": "string" }, "region_text": { "title": "Region text", "description": "$$TT: For events in Sweden, the name of the region.", "type": "string" }, "municipality": { "title": "Municipality code", "description": "$$TT: For events in Sweden, the code of the municipality.", "type": "string" }, "municipality_text": { "title": "Municipality text", "description": "$$TT: For events in Sweden the name of the municipality.", "type": "string" }, "eventtags": { "title": "Event tags", "description": "$$TT: Tags of the event.", "type": "string" }, "eventtype": { "title": "Event type code", "description": "$$TT: Code for type of event.", "type": "string" }, "eventtype_text": { "title": "Event type text", "description": "$$TT: Type of event as text.", "type": "string" }, "note_extra": { "title": "Note extra", "description": "$$TT: Extra information about the event.", "type": "string" }, "note_pm": { "title": "Note PM", "description": "$$TT: Text intended to be used by TT on planning lists of upcoming events.", "type": "string" }, "accreditation": { "title": "Accreditation", "description": "$$TT: Information about how to get accreditation to the event.", "type": "string" }, "extraurl": { "title": "Extra URL", "description": "$$TT: If there are more information concerning the event.", "type": "string" }, "createddate": { "title": "Created datetime", "description": "$$TT: When the item was created in the TT event database.", "type": "string", "format": "date-time" }, "createdby": { "title": "Created by", "description": "$$TT: Initials of the person creating the item in the TT event database.", "type": "string" }, "changeddate": { "title": "Changed date-time", "description": "$$TT: When the item was last updated in the TT event database.", "type": "string", "format": "date-time" }, "changedby": { "title": "Changed by", "description": "$$TT: Initials of the person doing the last update to the item.", "type": "string" }, "courtcasenumber": { "title": "Case number in court", "description": "$$TT: If the event is a trial this property hold the casenumber.", "type": "string" } } }, "body_sportsml": { "title": "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": { "title": "Body of pages-info", "description": "$$TT: One or more objects describing the pages in this delivery.", "type": "object", "additionalProperties": false, "patternProperties": { "^[a-zA-Z0-9]+": { "title": "Descriptive name", "description": "$$TT: Description of one of the pages in this delivery.", "type": "object", "additionalProperties": false, "properties": { "innermargin": { "title": "Inner margin", "description": "$$TT: Inner margin for this page. In the unit named in unit.", "type": "number" }, "bottommargin": { "title": "Bottom margin", "description": "$$TT: Bottom margin for this page. In the unit named in unit.", "type": "number" }, "pagina": { "title": "Pagina", "description": "$$TT: The pagenumber, but not nescessary a number. Can be a letter too.", "type": "string" }, "outermargin": { "title": "Outer margin", "description": "$$TT: Outer margin for this page. In the unit named in unit.", "type": "number" }, "unit": { "title": "Unit", "description": "$$TT: Unit in which the margins are given. Normally MM för millimeter.", "type": "string" }, "topmargin": { "title": "Top margin", "description": "$$TT: Top margin for this page. In the unit named in unit.", "type": "number" }, "leftmargin": { "title": "Left margin", "description": "$$TT: Left margin for this page. In the unit named in unit.", "type": "number" }, "rightmargin": { "title": "Right margin", "description": "$$TT: Right margin for this page. In the unit named in unit.", "type": "number" } } } } }, "commissionedby": { "title": "Commissioned by", "description": "$$TT: When pubstatus is 'commissioned', this field tells who commissioned it.", "type": "array", "items": {"type": "string"} }, "person": { "title": "Person", "description": "An individual human being", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of a person", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content of the news object to the person", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the person", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the person in a scheme (= controlled vocabulary) which is identified by the scheme property. $$TT: http://tt.se/spec/person/1.0/", "type": "string" } } } }, "organisation": { "title": "Organisation", "description": "An administrative and functional structure which may act as as a business, as a political party or not-for-profit party. nar:subject", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the organisation", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content of the news object to the organisation", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the organisation", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the organisation in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" }, "symbols": { "title": "Symbols", "description": "Symbols used for a financial instrument linked to the organisation at a specific market place", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "ticker": { "title": "Ticker", "description": "Ticker symbol used for the financial instrument", "type": "string" }, "exchange": { "title": "Exchange", "description": "Identifier for the marketplace which uses the ticker symbols of the ticker property", "type": "string" } } } } } } }, "place": { "title": "Place", "description": "A named location", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the place", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content of the news object to the place. $$TT: We use the values land, län, landskap, kommun, ort, delstat, capital and city to indicate the type of area pointed to by the coordinates. Other types can be added.", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the place. $$TT: http://tt.se/spec/place/1.0/", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the place in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" }, "geometry_geojson": { "title": "Geometry GeoJSON", "description": "$$TT: An optional GeoJSON description of the place.", "type": "object", "additionalProperties": false, "properties": { "type": { "title": "Type", "description": "What type of coordinates is given. Normally Point.", "type": "string", "enum": [ "Point" ] }, "coordinates":{ "title": "Coordinates", "description": "Array of coordinate pairs, but in our case on pair.", "type": "array", "items": {"type": "number" } } } } } } }, "subject": { "title": "Subject", "description": "A concept with a relationship to the content. $$TT: Used for content classification in swedish equivalent of IPTC Subject Reference see http://tt.se/spec/subref/1.0/ etc", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the subject", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content of the news object to the subject", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the subject. $$TT: http://tt.se/spec/subref/1.0/ http://tt.se/spec/keyword/1.0/ http://tt.se/spec/eventtype/1.0/", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the subject in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" } } } }, "event": { "title": "Event", "description": "Something which happens in a planned or unplanned manner. nar:?", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the event", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content of the news object to the event", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the event", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the event in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" } } } }, "object": { "title": "Object", "description": "Something material, excluding persons. nar:subject", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the object", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content of the news object to the object", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the object", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the object in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" } } } }, "infosource": { "title": "Info source", "description": "A party (person or organisation) which originated, modified, enhanced, distributed, aggregated or supplied the content or provided some information used to create or enhance the content. (Added in version 1.2 according to issue #15.) . infosource: nar:infoSource", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the infosource", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content of the news object to the infosource", "type": "string" }, "scheme": { "title": "Schema", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the infosource", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the infosource in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" } } } }, "title": { "title": "Title", "description": "A short natural-language name for the item. (Added in version 1.2 according to issue #9). nar:itemMeta/title", "type": "string" }, "byline": { "title": "Byline", "description": "The name(s) of the creator(s) of the content", "type": "string" }, "bylines": { "title": "Bylines", "description": "Holder of one or more byline objects.", "type": "array", "items": { "type": "object", "properties": { "byline": { "title": "Byline", "type": "string", "description": "When the complete byline is sent as one string. Same as byline on root level. Example: Albert Jonsson/SvD/TT" }, "firstname": { "title": "First name", "type": "string", "description": "When byline is divided, holds the first name of the person. Example: Albert" }, "lastname": { "title": "Last name", "type": "string", "description": "When byline is divided, holds the last name of the person. Example: Jonsson" }, "role": { "title": "Role", "type": "string", "description": "Role of the person in the byline in relation to this ttninjs item, as string. Example: Photographer" }, "email": { "title": "Email", "type": "string", "description": "Email address of the person in this byline. albert.jonsson@acme.com" }, "jobtitle": { "title": "Job title", "type": "string", "description": "Jobtitle can differ from role and is normally more connected to the person and not to the combination person-newsItem. Example: Editor in Chief" }, "internal": { "title": "Internal", "type": "string", "description": "Whether byline is for internal purposes. Example: true. If not present it means false." }, "phone": { "title": "Phone", "type": "string", "description": "Phone number of the person in this byline. Example: +46555123456" }, "initials": { "title": "Initials", "type": "string", "description": "Initials of byline. Mainly used for records marked as internal. Example: mag" }, "affiliation": { "title": "", "type": "string", "description": "The affiliation of the person. Example: SvD/TT" } } } }, "headline": { "title": "Headline", "description": "A brief and snappy introduction to the content, designed to catch the reader's attention", "type": "string" }, "slug": { "title": "Slug", "description": "$$TT: Short name given to article while in production. (DEPRECTED, use slugline instead.)", "type": "string" }, "slugline": { "title": "Slugline", "description": "A human-readable identifier for the item. (Added in version 1.2 from issue #4.). nar:slugline $$TT: TT will use slugline and deprecate slug.", "type": "string" }, "located": { "title": "Located", "description": "The name of the location from which the content originates.", "type": "string" }, "charcount": { "title": "Character count", "description": "The total character count in the article excluding figure captions. (Added in version 1.2 according to issue #27.). nar:charcount $$TT: The total character count in the article excluding figure captions.", "type": "number" }, "wordcount": { "title": "Word count", "description": "The total number of words in the article excluding figure captions. (Added in version 1.2 according to issue #27.). nar:wordcount", "type": "number" }, "renditions": { "title": "Renditions", "description": "Wrapper for different renditions of non-textual content of the news object", "type": "object", "additionalProperties": false, "patternProperties": { "^[a-zA-Z0-9]+": { "title": "Rendition identifier", "description": "A specific rendition of a non-textual content of the news object.", "type": "object", "additionalProperties": false, "properties": { "href": { "title": "HREF", "description": "The URL for accessing the rendition as a resource", "type": "string", "format": "uri" }, "mimetype": { "title": "MIME type", "description": "A MIME type which applies to the rendition", "type": "string" }, "title": { "title": "Title", "description": "A title for the link to the rendition resource", "type": "string" }, "height": { "title": "Height", "description": "For still and moving images: the height of the display area measured in $$TT: unit and defaults to pixels", "type": "number" }, "width": { "title": "Width", "description": "For still and moving images: the width of the display area measured in $$TT: unit and defaults to pixels", "type": "number" }, "sizeinbytes": { "title": "Size in bytes", "description": "The size of the rendition resource in bytes", "type": "number" }, "usage": { "title": "Usage", "description": "$$TT: One of 'Thumbnail', 'Preview', 'Hires' or 'Hidef'", "type": "string" }, "variant": { "title": "Variant", "description": "$$TT: One of 'Normal', 'Watermark', 'BlackAndWhite', 'Cropped' or 'Framegrab'", "type": "string" }, "unit": { "title": "Unit", "description": "$$TT: The unit for width/height. Either px or mm", "type": "string" }, "bitrate": { "title": "Bitrate", "description": "$$TT: Video bitrate (if video)", "type": "string" }, "duration": { "title": "Duration", "description": "The total time duration of the content in seconds. (Added in version 1.2. Issue #18). nar:remoteContent@duration $$TT: Video clip curation in seconds.", "type": "number" }, "format": { "title": "Format", "description": "Binary format name. (Added in version 1.2. Issue #18). nar:remoteContent@format", "type": "string" }, "printsize": { "title": "Print size", "description": "Calculated size of a 300 dpi upsampled image", "type": "number" } } } } }, "associations": { "title": "Associations", "description": "Content of news objects which are associated with this news object.", "type": "object", "additionalProperties": false, "patternProperties": { "^[a-zA-Z0-9]+": {"$ref": "#"} } }, "altids": { "title": "Alternative id", "description": "Alternative identifiers of the item. It is up to the individual provider to name and set type on the alternative identifiers they like to use. nar:altId issue #3. (Added in version 1.3)", "type": "object", "additionalProperties": false, "properties": { "originaltransmissionreference": { "title": "Original transmission reference", "description": "$$TT: Identifier in the originating system/source. TT will move originaltransmissionreference here.", "type": "string" } } }, "originaltransmissionreference": { "description": "$$TT: Identifier in the originating system/source. DEPRECATED: Will be handled as an altid", "type": "string" }, "trustindicator": { "title": "Trust indicator", "description": "An array of objects to allow links to documents about trust indicators. (nar:link) issue #44. (Added in version 1.3)", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the trust indicator", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the trust indicator in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" }, "title": { "title": "Title", "description": "The title of the resource being referenced.", "type": "string" }, "href": { "title": "href", "description": "The URL for accessing the trust indicator resource.", "type": "string", "format": "uri" } } } }, "$standard": { "title": "Standard", "type": "object", "description": "An object with information about standard, version and schema this instance is valid against. nar:standard, nar:standardversion and xml:schema issue #43. (Added in version 1.3)", "additionalProperties": false, "properties": { "name": { "type": "string", "title": "Name of standard.", "description": "For example ninjs. nar:standard" }, "version": { "type": "string", "title": "Version of standard.", "description": "For example 1.3. nar:standardversion" }, "schema": { "type": "string", "format": "uri", "title": "Schema", "description": "The uri of the json schema to use for validation." } } }, "genre": { "title": "Genre", "description": "A nature, intellectual or journalistic form of the content. nar:genre. (Added in version 1.3) $$TT: TT will move sector to genre and deprecate sector.", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the genre", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the genre. Normally http://cv.iptc.org/newscodes/genre/", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the genre in a scheme (= controlled vocabulary) which is identified by the scheme property", "type": "string" } } } }, "expires": { "title": "Expires", "description": "The date and time after which the Item is no longer considered editorially relevant by its provider. nar:expires (Added in 1.4)", "type": "string", "format": "date-time" }, "rightsinfo": { "title": "Rights information", "type": "object", "description": "Expression of rights to be applied to content. nar:rightsInfo (Added in 1.4)", "properties": { "langid": { "type": "string", "title": "Language id", "description": "Identifier for the Rights Expression language used. nar:@langid", "format": "uri" }, "linkedrights": { "title": "Linked rights", "description": "A link from the current Item to Web resource with rights related information. nar:link", "type": "string", "format": "uri" }, "encodedrights": { "title": "Encoded Rights", "additionalProperties": false, "type": "string", "description": "Contains a rights expression as defined by a Rights Expression Language. nar:rightsExpressionXML or nar:rightsExpressionData" } }, "oneOf": [ { "required": ["linkedrights"] }, { "required": ["encodedrights"] } ] }, "signals": { "title": "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": { "title": "Page product", "description": "$$TT: What type of page product. An abbreviation like IURDAG.", "type": "string" }, "multipagecount": { "title": "Multipage count", "description": "$$TT: Number of pages in this delivery.", "type": "number" }, "paginae": { "title": "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": { "title": "Page code", "description": "$$TT: Code for this page product", "type": "string" }, "pagevariant": { "title": "Page variant", "description": "$$TT: Variant of this page product", "type": "string" } } }, "product": { "title": "Product", "description": "$$TT: TT Product classification codes. See http://tt.se/spec/product/1.0/", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the product code. \"Feature Fritid\", \"Nyheter Nöje\", etc", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the product. http://tt.se/spec/product/1.0/", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the subject in a scheme (= controlled vocabulary) which is identified by the scheme property. \"FTFRI\", \"TTNJE\"", "type": "string" } } } }, "replacing": { "title": "Replacing", "description": "$$TT: Array of identifiers of news objects this object is replacing.", "type": "array", "items": { "type": "string", "format": "uri" } }, "replacedby": { "title": "Replaced by", "description": "$$TT: The identifier of the news object this one is replaced by.", "type": "string", "format": "uri" }, "assignments": { "title": "Assignments", "description": "$$TT: Individual assignments to produce content connected with one planning item.", "type": "object", "additionalProperties": false, "patternProperties": { "^[a-zA-Z0-9]+$": {"$ref": "#"} } }, "revisions": { "title": "Revisions", "description": "$$TT: Array of previous versions of this news object. See http://spec.tt.se/revisions.html", "type": "array", "items": { "type": "object", "additionalProperties": true, "required": ["uri"], "properties": { "uri": { "title": "URI", "description": "$$TT: The identifier of the previous revision.", "type": "string", "format": "uri" }, "slug": { "title": "Slug", "description": "$$TT: Short name given to article while in production.", "type": "string" }, "replacing": { "title": "Replacing", "description": "$$TT: Array of identifiers this revision is replacing.", "type": "array", "items": { "type": "string", "format": "uri" } }, "versioncreated": { "title": "Version date and time", "description": "Date and time when this version was published = created. (Added in 1.4)", "type": "string", "format": "date-time" } } } }, "sector": { "title": "Sector", "description": "$$TT: Designator for the major ways of grouping content (inrikes, utrikes, etc) and PRM for press releases. Not mandatory, often omitted. DEPRECATED and moved to genre.", "type": "string", "enum": [ "INR", "UTR", "EKO", "KLT", "SPT", "FEA", "NOJ", "PRM" ] }, "fixture": { "title": "Fixture", "description": "$$TT: A storytag that this item belong to. A sort of grouping name that can be used over time for a running story. Broader than a slugline, narrower than a media topic.", "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "title": "Name", "description": "The name of the storytag", "type": "string" }, "rel": { "title": "Relationship", "description": "The relationship of the content to the fixture", "type": "string" }, "scheme": { "title": "Scheme", "description": "The identifier of a scheme (= controlled vocabulary) which includes a code for the subject. $$TT: http://tt.se/spec/story/1.0/", "type": "string", "format": "uri" }, "code": { "title": "Code", "description": "The code for the story in a scheme (= controlled vocabulary) which is identified by the scheme property.", "type": "string" } } } }, "advice": { "type": "array", "title": "Advices", "description": "Editorial advice to the receiver of the news object. Only in dev so far. Tests with the C-POP project.", "additionalProperties": false, "items": { "description": "One advice item", "type": "object", "additionalProperties": false, "properties": { "role": { "title": "Role", "description": "Role of this advice.", "type": "string", "enum": [ "publish" ] }, "environment": { "type": "array", "additionalProperties": false, "items": { "type": "object", "properties": { "code": { "type": "string" }, "scheme": { "type": "string", "format": "uri" } } } }, "importance": { "type": "object", "description": "Advice regarding the importance of the content from an emotional perspective. Experimental vocabulary, part of the C-POP project.", "additionalProperties": false, "properties": { "code": { "type": "string", "description": "Present values are: essential, useful and entertaining." }, "scheme": { "type": "string", "format": "uri", "description": "http://cv.iptc.org/newscodes/advice-importance" } } }, "lifetime": { "type": "object", "description": "Advice regarding the length of time that the content is considered to be relevant. Experimental vocabulary, part of the C-POP project.", "additionalProperties": false, "properties": { "code": { "type": "string", "description": "Present values are: short, medium, long and evergreen." }, "scheme": { "type": "string", "format": "uri", "description": "http://cv.iptc.org/newscodes/advice-lifetime" } } } } } } } }