Jump to content

Web2Cit/data/hr/lzmk/tehnika/templates.json

From Meta, a Wikimedia project coordination wiki

[

 {
   "path": "/prvomajska/",
   "fields": [
     {
       "fieldname": "itemType",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "fixed",
               "config": "encyclopediaArticle"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "title",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "xpath",
               "config": "//title"
             }
           ],
           "transformations": [
             {
               "type": "match",
               "config": "/(.*?) \\| Hrvatska tehnička enciklopedija/",
               "itemwise": false
             }
           ]
         }
       ]
     },
     {
       "fieldname": "publishedIn",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "fixed",
               "config": "Hrvatska tehnička enciklopedija"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "language",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "fixed",
               "config": "hr"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "date",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "citoid",
               "config": "date"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "publishedBy",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "fixed",
               "config": "Leksikografski zavod Miroslav Krleža"
             }
           ],
           "transformations": []
         }
       ]
     }
   ]
 }

]