Web2Cit/data/no/snl/templates.json

[

 {
   "path": "/gløgg",
   "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": "/(.*) – Store norske leksikon/",
               "itemwise": false
             }
           ]
         }
       ]
     },
     {
       "fieldname": "authorLast",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "citoid",
               "config": "authorLast"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "authorFirst",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "citoid",
               "config": "authorFirst"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "date",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "citoid",
               "config": "date"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "publishedIn",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "fixed",
               "config": "Store norske leksikon"
             },
             {
               "type": "citoid",
               "config": "code"
             },
             {
               "type": "citoid",
               "config": "reporter"
             }
           ],
           "transformations": []
         }
       ]
     },
     {
       "fieldname": "language",
       "required": true,
       "procedures": [
         {
           "selections": [
             {
               "type": "fixed",
               "config": "no"
             }
           ],
           "transformations": []
         }
       ]
     }
   ]
 }

]