Project

General

Profile

JSON example

Only part of the JSON file is read by the API and used to insert or change content. Please keep in mind, that all persons, institutes and citations used in the JSON need to be inserted into the database via the GUI first.

Mandatory JSON parts /Minimal JSON

{
  "creators":
    [
      {
        "creatorName": "Taylor, Karl E." 
      , "givenName": "Karl E." 
      , "familyName": "Taylor"      
      , "email": "taylor13@llnl.gov" 
      }
    ],
  "titles":
    [
      "PCMDI PCMDI-test1.0 model output prepared for CMIP6 ScenarioMIP (test)" 
    ],
  "subjects":
    [    
      {        
        "subject": "CMIP6.ScenarioMIP.PCMDI.PCMDI-test-1-0",
        "schemeURI": "http://github.com/WCRP-CMIP/CMIP6_CVs",
        "subjectScheme": "DRS"        
      }    
    ],   
}

Mandatory and optional JSON parts / Detailed example (recommended)

{
  "creators":
    [
      {
        "creatorName": "Taylor, Karl E." 
      , "givenName": "Karl E." 
      , "familyName": "Taylor"      
      , "email": "taylor13@llnl.gov" 
      , "nameIdentifier":
          {
            "schemeURI": "http://orcid.org/", 
            "nameIdentifierScheme": "ORCID",
            "pid": "0000-0002-6491-2135" 
          }      
      , "affiliation": "Lawrence Livermore National Laboratory"      
      },    
      {
        "creatorName": "Lautenschlager, Michael" 
      , "givenName": "Michael"      
      , "familyName": "Lautenschlager"      
      , "email": "lautenschlager@dkrz.de"            
      , "affiliation": "Deutsches Klimarechenzentrum (DM)"      
      },    
      {
        "creatorName": "Lawrence, Bryan" 
      , "givenName": "Bryan"      
      , "familyName": "Lawrence"      
      , "email": "bryan.lawrence@stfc.ac.uk"      
      }    
    ],
  "titles":
    [
      "PCMDI PCMDI-test1.0 model output prepared for CMIP6 ScenarioMIP (test)" 
    ],
  "subjects":
    [    
      {        
        "subject": "CMIP6.ScenarioMIP.PCMDI.PCMDI-test-1-0",
        "schemeURI": "http://github.com/WCRP-CMIP/CMIP6_CVs",
        "subjectScheme": "DRS"        
      }    
    ],   
  "contributors":
    [    
      {
        "contributorType": "ContactPerson" 
      , "contributorName": "Lautenschlager, Michael" 
      , "givenName": "Michael"      
      , "familyName": "Lautenschlager"      
      , "email": "lautenschlager@dkrz.de"            
      , "affiliation": "Deutsches Klimarechenzentrum (DM)"      
      },    
      {
        "contributorType": "ResearchGroup" 
      , "contributorName": "Institut Pierre Simon Laplace (IPSL)"      
      , "nameIdentifier":
          { 
            "schemeURI": "http://www.isni.org/isni/", 
            "nameIdentifierScheme": "ISNI",
            "pid": "0000000090008794" 
          }            
      }    
    ],
  "relatedIdentifiers":
    [    
      {
        "relatedIdentifier": "10.1175/JCLI-D-12-00823.1",
        "relatedIdentifierType": "DOI",
        "relationType": "IsCitedBy" 
      }    
    ],
  "fundingReferences":
    [    
      {
        "funderName": "Federal Ministry of Education and Research (BMBF)" 
      , "funderIdentifier": "http://doi.org/10.13039/501100002347" 
      , "funderIdentifierType": "Crossref Funder ID"      
      },    
      {
        "funderName": "Lawrence Livermore National Laboratory (LLNL)"      
      }
    ]  
}