Web2Cit/data/hr/poslovni/templates.json
[
{ "path": "/hrvatska/terariji-kao-poslovni-poklon-krenuli-iz-vinkovaca-osvojili-vec-pet-velikih-gradova-4447911", "fields": [ { "fieldname": "itemType", "required": true, "procedures": [ { "selections": [ { "type": "fixed", "config": "newspaperArticle" } ], "transformations": [] } ] }, { "fieldname": "title", "required": true, "procedures": [ { "selections": [ { "type": "citoid", "config": "title" } ], "transformations": [] } ] }, { "fieldname": "authorLast", "required": false, "procedures": [ { "selections": [ { "type": "json-ld", "config": "[0].\"@graph\"[?\"@type\"==`Person`].name" } ], "transformations": [] } ] }, { "fieldname": "date", "required": false, "procedures": [ { "selections": [ { "type": "json-ld", "config": "[0].\"@graph\"[?\"@type\"==`WebPage`].datePublished" } ], "transformations": [ { "type": "match", "config": "/^\\d\\d\\d\\d-\\d\\d-\\d\\d/", "itemwise": false } ] } ] }, { "fieldname": "publishedIn", "required": false, "procedures": [ { "selections": [ { "type": "fixed", "config": "Poslovni dnevnik" } ], "transformations": [] } ] }, { "fieldname": "language", "required": true, "procedures": [ { "selections": [ { "type": "fixed", "config": "hr" } ], "transformations": [] } ] } ] }
]