-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathttninjs-schema_1.4.json
1323 lines (1289 loc) · 59.3 KB
/
ttninjs-schema_1.4.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$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. [email protected]"
},
"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",