Skip to content

Catalog Import Format

hperezga edited this page Jul 28, 2022 · 4 revisions

Catalog Import Format

File example

[
    {
        "id": "CFS_183",
        "name_en": "National Fire Database fire point data",
        "name_fr": "Données ponctuelles de la Base nationale de données sur les feux",
        "contact": "[email protected]",
        "subjects": [
            {
                "id": "10",
                "name_en": "Nature and Environment",
                "name_fr": "Nature et environnement"
            }
        ],
        "programs": "Provision of Science-based Information and Technology / Prestation d’information et de technologies ",
        "keywords_en": ["information", "technology"],
        "keywords_fr": ["information", "technologies"],
        "url_en": "https://applications.cfl.scf.rncan.gc.ca/ids/en/data/view/183",
        "url_fr": "https://applications.cfl.scf.rncan.gc.ca/ids/fr/data/view/183",
        "classification": "Protected B"
    }
]

Object properties

- "id": unique ID suggested a GUID.
- "name_en": English name if available (must provide the name in one language or both)
- "name_fr": French name if available  (must provide the name in one language or both)
- "contact": contact email or AD username
- "subjects": list of subjects. Every subject must contain the name localized in english and/or french (name_en, name_fr)
- "programs": optional, programas related to this object. 
- "keywords_en": list of english keywords.
- "keywords_fr": list of french keywords.
- "url_en": url to locate the english version of the object
- "url_fr": url to locate the french version of the object
- "classification": Optional dataset clasification, Protected A, Protected B or Unclassified.  
Clone this wiki locally