{
    "id": "production",
    "title": "Production",
    "description": "Peritext basic document",
    "$schema": "http://json-schema.org/draft-06/schema#",
    "type": "object",
    "properties": {
        "type": {
            "type": "string",
            "enum": ["production"],
            "default": "production",
            "editable": false
        },
        "schemaVersion": {
            "type": "string",
            "default": "0.2.4"
        },
        "id": {
            "type": "string",
            "description": "id of the production (uuid v4)",
            "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
        },

        "metadata": {
            "$ref": "#/definitions/metadata",
            "description": "metadata describing the production"
        },

        "assets": 
        {
            "type": "object",
            "description": "map of assets used in the production",
            "patternProperties": {
                "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}": {
                    "$ref": "#/definitions/asset"
                }
            },
            "default": {}
        },
        
        "tags":
        {
            "type": "object",
            "description": "map of tags used in the production",
            "patternProperties": {
                "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}": {
                    "$ref": "#/definitions/tag"
                }
            },
            "default": {}
        },

        "editions": 
        {
            "type": "object",
            "description": "map of editions used in the production",
            "patternProperties": {
                "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}": {
                    "$ref": "#/definitions/edition"
                }
            },
            "default": {}
        },

        "sectionsOrder": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "resourceId": {
                        "type": "string"
                    },
                    "level": {
                        "type": "number"
                    }
                }
            },
            "default": [],
            "description": "default order of the sections to display in the production"
        },

        "resources": {
            "type": "object",
            "description": "map of resources used by the production",
            "default": {},
            "patternProperties": {
                "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}": {
                    "description": "content of the resource",
                    "$ref": "#/definitions/resource"
                }
            }
        },

        "contextualizers": {
            "type": "object",
            "description": "map of contextualizers used by the production",
            "default": {},
            "patternProperties": {
                "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}": {
                    "description": "content of the contextualizer",
                    "$ref": "#/definitions/contextualizer"
                }
            }
        },

        "contextualizations": {
            "type": "object",
            "description": "map of contextualizations used by the production",
            "default": {},
            "patternProperties": {
                "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}": {
                    "description": "content of the contextualization",
                    "$ref": "#/definitions/contextualization"
                }
            }
        },
        "settings": {
            "type": "object",
            "description": "settings of the production",
            "default": {
                "citationStyle": {

                    "title": "American Psychological Association 5th edition",
                    "idUrl": "http://www.zotero.org/styles/apa-5th-edition",
                    "id": "apa-5th-edition",
                    "fileName": "apa-5th-edition.csl",
                    "data": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <style xmlns=\"http://purl.org/net/xbiblio/csl\" class=\"in-text\" version=\"1.0\" demote-non-dropping-particle=\"sort-only\"> <info> <title>American Psychological Association 5th edition</title> <title-short>APA</title-short> <id>http://www.zotero.org/styles/apa-5th-edition</id> <link href=\"http://www.zotero.org/styles/apa-5th-edition\" rel=\"self\"/> <link href=\"http://rdc.libguides.com/content.php?pid=63487\" rel=\"documentation\"/> <author> <name>Simon Kornblith</name> <email>simon@simonster.com</email> </author> <contributor> <name>Bruce D'Arcus</name> </contributor> <contributor> <name>Curtis M. Humphrey</name> </contributor> <contributor> <name>Richard Karnesky</name> <email>karnesky+zotero@gmail.com</email> <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri> </contributor> <contributor> <name>Sebastian Karcher</name> </contributor> <category citation-format=\"author-date\"/> <category field=\"psychology\"/> <category field=\"generic-base\"/> <updated>2012-09-27T22:06:38+00:00</updated> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> </info> <macro name=\"container-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"any\"> <text term=\"in\" text-case=\"capitalize-first\" suffix=\" \"/> <names variable=\"editor\" delimiter=\", \" suffix=\", \"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\" (\" text-case=\"capitalize-first\" suffix=\")\"/> <substitute> <names variable=\"translator\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"secondary-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"none\"> <names variable=\"translator\" delimiter=\", \" prefix=\" (\" suffix=\")\"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\", \" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"author\"> <names variable=\"author\"> <name name-as-sort-order=\"all\" and=\"symbol\" sort-separator=\", \" initialize-with=\". \" delimiter=\", \" delimiter-precedes-last=\"always\"/> <label form=\"short\" prefix=\" (\" suffix=\")\" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <text macro=\"title\"/> </substitute> </names> </macro> <macro name=\"author-short\"> <names variable=\"author\"> <name form=\"short\" and=\"symbol\" delimiter=\", \" initialize-with=\". \"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <choose> <if type=\"bill book graphic legal_case legislation motion_picture report song\" match=\"any\"> <text variable=\"title\" form=\"short\" font-style=\"italic\"/> </if> <else> <text variable=\"title\" form=\"short\" quotes=\"true\"/> </else> </choose> </substitute> </names> </macro> <macro name=\"access\"> <choose> <if type=\"thesis\"> <choose> <if variable=\"archive\" match=\"any\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> <text variable=\"archive_location\" prefix=\" (\" suffix=\")\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </else> </choose> </if> <else> <choose> <if variable=\"URL\"> <choose> <if variable=\"archive\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <group> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </group> </else> </choose> </if> </choose> </else> </choose> </macro> <macro name=\"title\"> <choose> <if type=\"report thesis\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> <group prefix=\" (\" suffix=\")\"> <text variable=\"genre\"/> <text variable=\"number\" prefix=\" No. \"/> </group> </if> <else-if type=\"bill book graphic legal_case legislation manuscript motion_picture report song speech\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> </else-if> <else> <text variable=\"title\"/> </else> </choose> </macro> <macro name=\"publisher\"> <choose> <if type=\"report\" match=\"any\"> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </if> <else-if type=\"thesis\" match=\"any\"> <group delimiter=\", \"> <text variable=\"publisher\"/> <text variable=\"publisher-place\"/> </group> </else-if> <else> <choose> <if variable=\"event\" match=\"none\"> <text variable=\"genre\" suffix=\", \"/> </if> </choose> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </else> </choose> </macro> <macro name=\"event\"> <choose> <if variable=\"event\"> <choose> <if variable=\"genre\" match=\"none\"> <text term=\"presented at\" text-case=\"capitalize-first\" suffix=\" \"/> <text variable=\"event\"/> </if> <else> <group delimiter=\" \"> <text variable=\"genre\" text-case=\"capitalize-first\"/> <text term=\"presented at\"/> <text variable=\"event\"/> </group> </else> </choose> </if> </choose> </macro> <macro name=\"issued\"> <choose> <if variable=\"issued\"> <group prefix=\" (\" suffix=\").\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> <choose> <if type=\"article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"none\"> <date variable=\"issued\"> <date-part prefix=\", \" name=\"month\"/> <date-part prefix=\" \" name=\"day\"/> </date> </if> </choose> </group> </if> <else> <text prefix=\" (\" term=\"no date\" suffix=\").\" form=\"short\"/> </else> </choose> </macro> <macro name=\"issued-year\"> <choose> <if variable=\"issued\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> </if> <else> <text term=\"no date\" form=\"short\"/> </else> </choose> </macro> <macro name=\"edition\"> <choose> <if is-numeric=\"edition\"> <group delimiter=\" \"> <number variable=\"edition\" form=\"ordinal\"/> <text term=\"edition\" form=\"short\"/> </group> </if> <else> <text variable=\"edition\" suffix=\".\"/> </else> </choose> </macro> <macro name=\"locators\"> <choose> <if type=\"article-journal article-magazine article-newspaper\" match=\"any\"> <group prefix=\", \" delimiter=\", \"> <group> <text variable=\"volume\" font-style=\"italic\"/> <text variable=\"issue\" prefix=\"(\" suffix=\")\"/> </group> <text variable=\"page\"/> </group> </if> <else-if type=\"bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"any\"> <group prefix=\" (\" suffix=\")\" delimiter=\", \"> <text macro=\"edition\"/> <group> <text term=\"volume\" form=\"short\" plural=\"true\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"number-of-volumes\" form=\"numeric\" prefix=\"1-\"/> </group> <group> <text term=\"volume\" form=\"short\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"volume\" form=\"numeric\"/> </group> <group> <label variable=\"page\" form=\"short\" suffix=\" \"/> <text variable=\"page\"/> </group> </group> </else-if> </choose> </macro> <macro name=\"citation-locator\"> <group> <label variable=\"locator\" form=\"short\"/> <text variable=\"locator\" prefix=\" \"/> </group> </macro> <citation et-al-min=\"6\" et-al-use-first=\"1\" et-al-subsequent-min=\"3\" et-al-subsequent-use-first=\"1\" disambiguate-add-year-suffix=\"true\" disambiguate-add-names=\"true\" disambiguate-add-givenname=\"true\" givenname-disambiguation-rule=\"primary-name\" collapse=\"year\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\"/> </sort> <layout prefix=\"(\" suffix=\")\" delimiter=\"; \"> <group delimiter=\", \"> <text macro=\"author-short\"/> <text macro=\"issued-year\"/> <text macro=\"citation-locator\"/> </group> </layout> </citation> <bibliography hanging-indent=\"true\" et-al-min=\"8\" et-al-use-first=\"7\" entry-spacing=\"0\" line-spacing=\"2\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\" sort=\"ascending\"/> </sort> <layout> <group suffix=\".\"> <text macro=\"author\" suffix=\".\"/> <text macro=\"issued\" suffix=\" \"/> <group delimiter=\". \"> <text macro=\"title\"/> <group> <text macro=\"container-contributors\"/> <text macro=\"secondary-contributors\"/> <group delimiter=\", \"> <text variable=\"container-title\" font-style=\"italic\"/> <text variable=\"collection-title\"/> </group> </group> </group> <text macro=\"locators\"/> <group delimiter=\", \" prefix=\". \"> <text macro=\"event\"/> <text macro=\"publisher\"/> </group> </group> <text macro=\"access\" prefix=\". \"/> </layout> </bibliography> </style>"
                },
                "citationLocale": {
                    "id": "fr-FR",
                    "names": ["Français (France)", "French (France)"],
                    "fileName": "locales-fr-FR.xml",
                    "data": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <locale xmlns=\"http://purl.org/net/xbiblio/csl\" version=\"1.0\" xml:lang=\"fr-FR\"> <info> <translator> <name>Grégoire Colly</name> </translator> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> <updated>2012-07-04T23:31:02+00:00</updated> </info> <style-options punctuation-in-quote=\"false\" limit-day-ordinals-to-day-1=\"true\"/> <date form=\"text\"> <date-part name=\"day\" suffix=\" \"/> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"year\"/> </date> <date form=\"numeric\"> <date-part name=\"day\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"month\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"year\"/> </date> <terms> <term name=\"accessed\">consulté le</term> <term name=\"and\">et</term> <term name=\"and others\">et autres</term> <term name=\"anonymous\">anonyme</term> <term name=\"anonymous\" form=\"short\">anon.</term> <term name=\"at\">sur</term> <term name=\"available at\">disponible sur</term> <term name=\"by\">par</term> <term name=\"circa\">vers</term> <term name=\"circa\" form=\"short\">v.</term> <term name=\"cited\">cité</term> <term name=\"edition\" gender=\"feminine\"> <single>édition</single> <multiple>éditions</multiple> </term> <term name=\"edition\" form=\"short\">éd.</term> <term name=\"et-al\">et al.</term> <term name=\"forthcoming\">à paraître</term> <term name=\"from\">à l'adresse</term> <term name=\"ibid\">ibid.</term> <term name=\"in\">in</term> <term name=\"in press\">sous presse</term> <term name=\"internet\">Internet</term> <term name=\"interview\">entretien</term> <term name=\"letter\">lettre</term> <term name=\"no date\">sans date</term> <term name=\"no date\" form=\"short\">s.&#160;d.</term> <term name=\"online\">en ligne</term> <term name=\"presented at\">présenté à</term> <term name=\"reference\"> <single>référence</single> <multiple>références</multiple> </term> <term name=\"reference\" form=\"short\"> <single>réf.</single> <multiple>réf.</multiple> </term> <term name=\"retrieved\">consulté</term> <term name=\"scale\">échelle</term> <term name=\"version\">version</term> <!-- ANNO DOMINI; BEFORE CHRIST --> <term name=\"ad\">apr. J.-C.</term> <term name=\"bc\">av. J.-C.</term> <!-- PUNCTUATION --> <term name=\"open-quote\">«&#160;</term> <term name=\"close-quote\">&#160;»</term> <term name=\"open-inner-quote\">“</term> <term name=\"close-inner-quote\">”</term> <term name=\"page-range-delimiter\">&#8209;</term> <!-- non-breaking hyphen --> <!-- ORDINALS --> <term name=\"ordinal\">ᵉ</term> <term name=\"ordinal-01\" gender-form=\"feminine\" match=\"whole-number\">ʳᵉ</term> <term name=\"ordinal-01\" gender-form=\"masculine\" match=\"whole-number\">ᵉʳ</term> <!-- LONG ORDINALS --> <term name=\"long-ordinal-01\">premier</term> <term name=\"long-ordinal-02\">deuxième</term> <term name=\"long-ordinal-03\">troisième</term> <term name=\"long-ordinal-04\">quatrième</term> <term name=\"long-ordinal-05\">cinquième</term> <term name=\"long-ordinal-06\">sixième</term> <term name=\"long-ordinal-07\">septième</term> <term name=\"long-ordinal-08\">huitième</term> <term name=\"long-ordinal-09\">neuvième</term> <term name=\"long-ordinal-10\">dixième</term> <!-- LONG LOCATOR FORMS --> <term name=\"book\"> <single>livre</single> <multiple>livres</multiple> </term> <term name=\"chapter\"> <single>chapitre</single> <multiple>chapitres</multiple> </term> <term name=\"column\"> <single>colonne</single> <multiple>colonnes</multiple> </term> <term name=\"figure\"> <single>figure</single> <multiple>figures</multiple> </term> <term name=\"folio\"> <single>folio</single> <multiple>folios</multiple> </term> <term name=\"issue\" gender=\"masculine\"> <single>numéro</single> <multiple>numéros</multiple> </term> <term name=\"line\"> <single>ligne</single> <multiple>lignes</multiple> </term> <term name=\"note\"> <single>note</single> <multiple>notes</multiple> </term> <term name=\"opus\"> <single>opus</single> <multiple>opus</multiple> </term> <term name=\"page\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"number-of-pages\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"paragraph\"> <single>paragraphe</single> <multiple>paragraphes</multiple> </term> <term name=\"part\"> <single>partie</single> <multiple>parties</multiple> </term> <term name=\"section\"> <single>section</single> <multiple>sections</multiple> </term> <term name=\"sub verbo\"> <single>sub verbo</single> <multiple>sub verbis</multiple> </term> <term name=\"verse\"> <single>verset</single> <multiple>versets</multiple> </term> <term name=\"volume\" gender=\"masculine\"> <single>volume</single> <multiple>volumes</multiple> </term> <!-- SHORT LOCATOR FORMS --> <term name=\"book\" form=\"short\">liv.</term> <term name=\"chapter\" form=\"short\">chap.</term> <term name=\"column\" form=\"short\">col.</term> <term name=\"figure\" form=\"short\">fig.</term> <term name=\"folio\" form=\"short\"> <single>fᵒ</single> <multiple>fᵒˢ</multiple> </term> <term name=\"issue\" form=\"short\"> <single>nᵒ</single> <multiple>nᵒˢ</multiple> </term> <term name=\"line\" form=\"short\">l.</term> <term name=\"note\" form=\"short\">n.</term> <term name=\"opus\" form=\"short\">op.</term> <term name=\"page\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"number-of-pages\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"paragraph\" form=\"short\">paragr.</term> <term name=\"part\" form=\"short\">part.</term> <term name=\"section\" form=\"short\">sect.</term> <term name=\"sub verbo\" form=\"short\"> <single>s.&#160;v.</single> <multiple>s.&#160;vv.</multiple> </term> <term name=\"verse\" form=\"short\"> <single>v.</single> <multiple>v.</multiple> </term> <term name=\"volume\" form=\"short\"> <single>vol.</single> <multiple>vol.</multiple> </term> <!-- SYMBOL LOCATOR FORMS --> <term name=\"paragraph\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <term name=\"section\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <!-- LONG ROLE FORMS --> <term name=\"director\"> <single>réalisateur</single> <multiple>réalisateurs</multiple> </term> <term name=\"editor\"> <single>éditeur</single> <multiple>éditeurs</multiple> </term> <term name=\"editorial-director\"> <single>directeur</single> <multiple>directeurs</multiple> </term> <term name=\"illustrator\"> <single>illustrateur</single> <multiple>illustrateurs</multiple> </term> <term name=\"translator\"> <single>traducteur</single> <multiple>traducteurs</multiple> </term> <term name=\"editortranslator\"> <single>éditeur et traducteur</single> <multiple>éditeurs et traducteurs</multiple> </term> <!-- SHORT ROLE FORMS --> <term name=\"director\" form=\"short\"> <single>réal.</single> <multiple>réal.</multiple> </term> <term name=\"editor\" form=\"short\"> <single>éd.</single> <multiple>éd.</multiple> </term> <term name=\"editorial-director\" form=\"short\"> <single>dir.</single> <multiple>dir.</multiple> </term> <term name=\"illustrator\" form=\"short\"> <single>ill.</single> <multiple>ill.</multiple> </term> <term name=\"translator\" form=\"short\"> <single>trad.</single> <multiple>trad.</multiple> </term> <term name=\"editortranslator\" form=\"short\"> <single>éd. et trad.</single> <multiple>éd. et trad.</multiple> </term> <!-- VERB ROLE FORMS --> <term name=\"container-author\" form=\"verb\">par</term> <term name=\"director\" form=\"verb\">réalisé par</term> <term name=\"editor\" form=\"verb\">édité par</term> <term name=\"editorial-director\" form=\"verb\">sous la direction de</term> <term name=\"illustrator\" form=\"verb\">illustré par</term> <term name=\"interviewer\" form=\"verb\">entretien réalisé par</term> <term name=\"recipient\" form=\"verb\">à</term> <term name=\"reviewed-author\" form=\"verb\">par</term> <term name=\"translator\" form=\"verb\">traduit par</term> <term name=\"editortranslator\" form=\"verb\">édité et traduit par</term> <!-- SHORT VERB ROLE FORMS --> <term name=\"director\" form=\"verb-short\">réal. par</term> <term name=\"editor\" form=\"verb-short\">éd. par</term> <term name=\"editorial-director\" form=\"verb-short\">ss la dir. de</term> <term name=\"illustrator\" form=\"verb-short\">ill. par</term> <term name=\"translator\" form=\"verb-short\">trad. par</term> <term name=\"editortranslator\" form=\"verb-short\">éd. et trad. par</term> <!-- LONG MONTH FORMS --> <term name=\"month-01\" gender=\"masculine\">janvier</term> <term name=\"month-02\" gender=\"masculine\">février</term> <term name=\"month-03\" gender=\"masculine\">mars</term> <term name=\"month-04\" gender=\"masculine\">avril</term> <term name=\"month-05\" gender=\"masculine\">mai</term> <term name=\"month-06\" gender=\"masculine\">juin</term> <term name=\"month-07\" gender=\"masculine\">juillet</term> <term name=\"month-08\" gender=\"masculine\">août</term> <term name=\"month-09\" gender=\"masculine\">septembre</term> <term name=\"month-10\" gender=\"masculine\">octobre</term> <term name=\"month-11\" gender=\"masculine\">novembre</term> <term name=\"month-12\" gender=\"masculine\">décembre</term> <!-- SHORT MONTH FORMS --> <term name=\"month-01\" form=\"short\">janv.</term> <term name=\"month-02\" form=\"short\">févr.</term> <term name=\"month-03\" form=\"short\">mars</term> <term name=\"month-04\" form=\"short\">avr.</term> <term name=\"month-05\" form=\"short\">mai</term> <term name=\"month-06\" form=\"short\">juin</term> <term name=\"month-07\" form=\"short\">juill.</term> <term name=\"month-08\" form=\"short\">août</term> <term name=\"month-09\" form=\"short\">sept.</term> <term name=\"month-10\" form=\"short\">oct.</term> <term name=\"month-11\" form=\"short\">nov.</term> <term name=\"month-12\" form=\"short\">déc.</term> <!-- SEASONS --> <term name=\"season-01\">printemps</term> <term name=\"season-02\">été</term> <term name=\"season-03\">automne</term> <term name=\"season-04\">hiver</term> </terms> </locale>"
                }
            },
            "properties": {
                "citationStyle": {
                    "type": "object",
                    "properties": {
                        "title": {
                            "type": "string",
                            "default": "American Psychological Association 5th edition"
                        },
                        "idUrl": {
                            "type": "string",
                            "default": "http://www.zotero.org/styles/apa-5th-edition"
                        },
                        "id": {
                            "type": "string",
                            "default": "apa-5th-edition"
                        },
                        "fileName": {
                            "type": "string",
                            "default": "apa-5th-edition.csl"
                        },
                        "data": {
                            "type": "string",
                            "default": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <style xmlns=\"http://purl.org/net/xbiblio/csl\" class=\"in-text\" version=\"1.0\" demote-non-dropping-particle=\"sort-only\"> <info> <title>American Psychological Association 5th edition</title> <title-short>APA</title-short> <id>http://www.zotero.org/styles/apa-5th-edition</id> <link href=\"http://www.zotero.org/styles/apa-5th-edition\" rel=\"self\"/> <link href=\"http://rdc.libguides.com/content.php?pid=63487\" rel=\"documentation\"/> <author> <name>Simon Kornblith</name> <email>simon@simonster.com</email> </author> <contributor> <name>Bruce D'Arcus</name> </contributor> <contributor> <name>Curtis M. Humphrey</name> </contributor> <contributor> <name>Richard Karnesky</name> <email>karnesky+zotero@gmail.com</email> <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri> </contributor> <contributor> <name>Sebastian Karcher</name> </contributor> <category citation-format=\"author-date\"/> <category field=\"psychology\"/> <category field=\"generic-base\"/> <updated>2012-09-27T22:06:38+00:00</updated> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> </info> <macro name=\"container-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"any\"> <text term=\"in\" text-case=\"capitalize-first\" suffix=\" \"/> <names variable=\"editor\" delimiter=\", \" suffix=\", \"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\" (\" text-case=\"capitalize-first\" suffix=\")\"/> <substitute> <names variable=\"translator\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"secondary-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"none\"> <names variable=\"translator\" delimiter=\", \" prefix=\" (\" suffix=\")\"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\", \" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"author\"> <names variable=\"author\"> <name name-as-sort-order=\"all\" and=\"symbol\" sort-separator=\", \" initialize-with=\". \" delimiter=\", \" delimiter-precedes-last=\"always\"/> <label form=\"short\" prefix=\" (\" suffix=\")\" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <text macro=\"title\"/> </substitute> </names> </macro> <macro name=\"author-short\"> <names variable=\"author\"> <name form=\"short\" and=\"symbol\" delimiter=\", \" initialize-with=\". \"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <choose> <if type=\"bill book graphic legal_case legislation motion_picture report song\" match=\"any\"> <text variable=\"title\" form=\"short\" font-style=\"italic\"/> </if> <else> <text variable=\"title\" form=\"short\" quotes=\"true\"/> </else> </choose> </substitute> </names> </macro> <macro name=\"access\"> <choose> <if type=\"thesis\"> <choose> <if variable=\"archive\" match=\"any\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> <text variable=\"archive_location\" prefix=\" (\" suffix=\")\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </else> </choose> </if> <else> <choose> <if variable=\"URL\"> <choose> <if variable=\"archive\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <group> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </group> </else> </choose> </if> </choose> </else> </choose> </macro> <macro name=\"title\"> <choose> <if type=\"report thesis\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> <group prefix=\" (\" suffix=\")\"> <text variable=\"genre\"/> <text variable=\"number\" prefix=\" No. \"/> </group> </if> <else-if type=\"bill book graphic legal_case legislation manuscript motion_picture report song speech\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> </else-if> <else> <text variable=\"title\"/> </else> </choose> </macro> <macro name=\"publisher\"> <choose> <if type=\"report\" match=\"any\"> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </if> <else-if type=\"thesis\" match=\"any\"> <group delimiter=\", \"> <text variable=\"publisher\"/> <text variable=\"publisher-place\"/> </group> </else-if> <else> <choose> <if variable=\"event\" match=\"none\"> <text variable=\"genre\" suffix=\", \"/> </if> </choose> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </else> </choose> </macro> <macro name=\"event\"> <choose> <if variable=\"event\"> <choose> <if variable=\"genre\" match=\"none\"> <text term=\"presented at\" text-case=\"capitalize-first\" suffix=\" \"/> <text variable=\"event\"/> </if> <else> <group delimiter=\" \"> <text variable=\"genre\" text-case=\"capitalize-first\"/> <text term=\"presented at\"/> <text variable=\"event\"/> </group> </else> </choose> </if> </choose> </macro> <macro name=\"issued\"> <choose> <if variable=\"issued\"> <group prefix=\" (\" suffix=\").\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> <choose> <if type=\"article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"none\"> <date variable=\"issued\"> <date-part prefix=\", \" name=\"month\"/> <date-part prefix=\" \" name=\"day\"/> </date> </if> </choose> </group> </if> <else> <text prefix=\" (\" term=\"no date\" suffix=\").\" form=\"short\"/> </else> </choose> </macro> <macro name=\"issued-year\"> <choose> <if variable=\"issued\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> </if> <else> <text term=\"no date\" form=\"short\"/> </else> </choose> </macro> <macro name=\"edition\"> <choose> <if is-numeric=\"edition\"> <group delimiter=\" \"> <number variable=\"edition\" form=\"ordinal\"/> <text term=\"edition\" form=\"short\"/> </group> </if> <else> <text variable=\"edition\" suffix=\".\"/> </else> </choose> </macro> <macro name=\"locators\"> <choose> <if type=\"article-journal article-magazine article-newspaper\" match=\"any\"> <group prefix=\", \" delimiter=\", \"> <group> <text variable=\"volume\" font-style=\"italic\"/> <text variable=\"issue\" prefix=\"(\" suffix=\")\"/> </group> <text variable=\"page\"/> </group> </if> <else-if type=\"bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"any\"> <group prefix=\" (\" suffix=\")\" delimiter=\", \"> <text macro=\"edition\"/> <group> <text term=\"volume\" form=\"short\" plural=\"true\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"number-of-volumes\" form=\"numeric\" prefix=\"1-\"/> </group> <group> <text term=\"volume\" form=\"short\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"volume\" form=\"numeric\"/> </group> <group> <label variable=\"page\" form=\"short\" suffix=\" \"/> <text variable=\"page\"/> </group> </group> </else-if> </choose> </macro> <macro name=\"citation-locator\"> <group> <label variable=\"locator\" form=\"short\"/> <text variable=\"locator\" prefix=\" \"/> </group> </macro> <citation et-al-min=\"6\" et-al-use-first=\"1\" et-al-subsequent-min=\"3\" et-al-subsequent-use-first=\"1\" disambiguate-add-year-suffix=\"true\" disambiguate-add-names=\"true\" disambiguate-add-givenname=\"true\" givenname-disambiguation-rule=\"primary-name\" collapse=\"year\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\"/> </sort> <layout prefix=\"(\" suffix=\")\" delimiter=\"; \"> <group delimiter=\", \"> <text macro=\"author-short\"/> <text macro=\"issued-year\"/> <text macro=\"citation-locator\"/> </group> </layout> </citation> <bibliography hanging-indent=\"true\" et-al-min=\"8\" et-al-use-first=\"7\" entry-spacing=\"0\" line-spacing=\"2\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\" sort=\"ascending\"/> </sort> <layout> <group suffix=\".\"> <text macro=\"author\" suffix=\".\"/> <text macro=\"issued\" suffix=\" \"/> <group delimiter=\". \"> <text macro=\"title\"/> <group> <text macro=\"container-contributors\"/> <text macro=\"secondary-contributors\"/> <group delimiter=\", \"> <text variable=\"container-title\" font-style=\"italic\"/> <text variable=\"collection-title\"/> </group> </group> </group> <text macro=\"locators\"/> <group delimiter=\", \" prefix=\". \"> <text macro=\"event\"/> <text macro=\"publisher\"/> </group> </group> <text macro=\"access\" prefix=\". \"/> </layout> </bibliography> </style>"
                        },
                        "xmlJs": {
                            "type": "object"
                        }
                    }
                },
                "citationLocale": {
                    "type": "object",
                    "keys": {
                        "id": {
                            "type": "string",
                            "default": "fr-FR"
                        },
                        "names": {
                            "type": "array",
                            "default": ["Français (France)", "French (France)"]
                        },
                        "fileName": {
                            "type": "string",
                            "default": "locales-fr-FR.xml"
                        },
                        "data": {
                            "type": "string",
                            "default": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <locale xmlns=\"http://purl.org/net/xbiblio/csl\" version=\"1.0\" xml:lang=\"fr-FR\"> <info> <translator> <name>Grégoire Colly</name> </translator> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> <updated>2012-07-04T23:31:02+00:00</updated> </info> <style-options punctuation-in-quote=\"false\" limit-day-ordinals-to-day-1=\"true\"/> <date form=\"text\"> <date-part name=\"day\" suffix=\" \"/> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"year\"/> </date> <date form=\"numeric\"> <date-part name=\"day\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"month\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"year\"/> </date> <terms> <term name=\"accessed\">consulté le</term> <term name=\"and\">et</term> <term name=\"and others\">et autres</term> <term name=\"anonymous\">anonyme</term> <term name=\"anonymous\" form=\"short\">anon.</term> <term name=\"at\">sur</term> <term name=\"available at\">disponible sur</term> <term name=\"by\">par</term> <term name=\"circa\">vers</term> <term name=\"circa\" form=\"short\">v.</term> <term name=\"cited\">cité</term> <term name=\"edition\" gender=\"feminine\"> <single>édition</single> <multiple>éditions</multiple> </term> <term name=\"edition\" form=\"short\">éd.</term> <term name=\"et-al\">et al.</term> <term name=\"forthcoming\">à paraître</term> <term name=\"from\">à l'adresse</term> <term name=\"ibid\">ibid.</term> <term name=\"in\">in</term> <term name=\"in press\">sous presse</term> <term name=\"internet\">Internet</term> <term name=\"interview\">entretien</term> <term name=\"letter\">lettre</term> <term name=\"no date\">sans date</term> <term name=\"no date\" form=\"short\">s.&#160;d.</term> <term name=\"online\">en ligne</term> <term name=\"presented at\">présenté à</term> <term name=\"reference\"> <single>référence</single> <multiple>références</multiple> </term> <term name=\"reference\" form=\"short\"> <single>réf.</single> <multiple>réf.</multiple> </term> <term name=\"retrieved\">consulté</term> <term name=\"scale\">échelle</term> <term name=\"version\">version</term> <!-- ANNO DOMINI; BEFORE CHRIST --> <term name=\"ad\">apr. J.-C.</term> <term name=\"bc\">av. J.-C.</term> <!-- PUNCTUATION --> <term name=\"open-quote\">«&#160;</term> <term name=\"close-quote\">&#160;»</term> <term name=\"open-inner-quote\">“</term> <term name=\"close-inner-quote\">”</term> <term name=\"page-range-delimiter\">&#8209;</term> <!-- non-breaking hyphen --> <!-- ORDINALS --> <term name=\"ordinal\">ᵉ</term> <term name=\"ordinal-01\" gender-form=\"feminine\" match=\"whole-number\">ʳᵉ</term> <term name=\"ordinal-01\" gender-form=\"masculine\" match=\"whole-number\">ᵉʳ</term> <!-- LONG ORDINALS --> <term name=\"long-ordinal-01\">premier</term> <term name=\"long-ordinal-02\">deuxième</term> <term name=\"long-ordinal-03\">troisième</term> <term name=\"long-ordinal-04\">quatrième</term> <term name=\"long-ordinal-05\">cinquième</term> <term name=\"long-ordinal-06\">sixième</term> <term name=\"long-ordinal-07\">septième</term> <term name=\"long-ordinal-08\">huitième</term> <term name=\"long-ordinal-09\">neuvième</term> <term name=\"long-ordinal-10\">dixième</term> <!-- LONG LOCATOR FORMS --> <term name=\"book\"> <single>livre</single> <multiple>livres</multiple> </term> <term name=\"chapter\"> <single>chapitre</single> <multiple>chapitres</multiple> </term> <term name=\"column\"> <single>colonne</single> <multiple>colonnes</multiple> </term> <term name=\"figure\"> <single>figure</single> <multiple>figures</multiple> </term> <term name=\"folio\"> <single>folio</single> <multiple>folios</multiple> </term> <term name=\"issue\" gender=\"masculine\"> <single>numéro</single> <multiple>numéros</multiple> </term> <term name=\"line\"> <single>ligne</single> <multiple>lignes</multiple> </term> <term name=\"note\"> <single>note</single> <multiple>notes</multiple> </term> <term name=\"opus\"> <single>opus</single> <multiple>opus</multiple> </term> <term name=\"page\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"number-of-pages\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"paragraph\"> <single>paragraphe</single> <multiple>paragraphes</multiple> </term> <term name=\"part\"> <single>partie</single> <multiple>parties</multiple> </term> <term name=\"section\"> <single>section</single> <multiple>sections</multiple> </term> <term name=\"sub verbo\"> <single>sub verbo</single> <multiple>sub verbis</multiple> </term> <term name=\"verse\"> <single>verset</single> <multiple>versets</multiple> </term> <term name=\"volume\" gender=\"masculine\"> <single>volume</single> <multiple>volumes</multiple> </term> <!-- SHORT LOCATOR FORMS --> <term name=\"book\" form=\"short\">liv.</term> <term name=\"chapter\" form=\"short\">chap.</term> <term name=\"column\" form=\"short\">col.</term> <term name=\"figure\" form=\"short\">fig.</term> <term name=\"folio\" form=\"short\"> <single>fᵒ</single> <multiple>fᵒˢ</multiple> </term> <term name=\"issue\" form=\"short\"> <single>nᵒ</single> <multiple>nᵒˢ</multiple> </term> <term name=\"line\" form=\"short\">l.</term> <term name=\"note\" form=\"short\">n.</term> <term name=\"opus\" form=\"short\">op.</term> <term name=\"page\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"number-of-pages\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"paragraph\" form=\"short\">paragr.</term> <term name=\"part\" form=\"short\">part.</term> <term name=\"section\" form=\"short\">sect.</term> <term name=\"sub verbo\" form=\"short\"> <single>s.&#160;v.</single> <multiple>s.&#160;vv.</multiple> </term> <term name=\"verse\" form=\"short\"> <single>v.</single> <multiple>v.</multiple> </term> <term name=\"volume\" form=\"short\"> <single>vol.</single> <multiple>vol.</multiple> </term> <!-- SYMBOL LOCATOR FORMS --> <term name=\"paragraph\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <term name=\"section\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <!-- LONG ROLE FORMS --> <term name=\"director\"> <single>réalisateur</single> <multiple>réalisateurs</multiple> </term> <term name=\"editor\"> <single>éditeur</single> <multiple>éditeurs</multiple> </term> <term name=\"editorial-director\"> <single>directeur</single> <multiple>directeurs</multiple> </term> <term name=\"illustrator\"> <single>illustrateur</single> <multiple>illustrateurs</multiple> </term> <term name=\"translator\"> <single>traducteur</single> <multiple>traducteurs</multiple> </term> <term name=\"editortranslator\"> <single>éditeur et traducteur</single> <multiple>éditeurs et traducteurs</multiple> </term> <!-- SHORT ROLE FORMS --> <term name=\"director\" form=\"short\"> <single>réal.</single> <multiple>réal.</multiple> </term> <term name=\"editor\" form=\"short\"> <single>éd.</single> <multiple>éd.</multiple> </term> <term name=\"editorial-director\" form=\"short\"> <single>dir.</single> <multiple>dir.</multiple> </term> <term name=\"illustrator\" form=\"short\"> <single>ill.</single> <multiple>ill.</multiple> </term> <term name=\"translator\" form=\"short\"> <single>trad.</single> <multiple>trad.</multiple> </term> <term name=\"editortranslator\" form=\"short\"> <single>éd. et trad.</single> <multiple>éd. et trad.</multiple> </term> <!-- VERB ROLE FORMS --> <term name=\"container-author\" form=\"verb\">par</term> <term name=\"director\" form=\"verb\">réalisé par</term> <term name=\"editor\" form=\"verb\">édité par</term> <term name=\"editorial-director\" form=\"verb\">sous la direction de</term> <term name=\"illustrator\" form=\"verb\">illustré par</term> <term name=\"interviewer\" form=\"verb\">entretien réalisé par</term> <term name=\"recipient\" form=\"verb\">à</term> <term name=\"reviewed-author\" form=\"verb\">par</term> <term name=\"translator\" form=\"verb\">traduit par</term> <term name=\"editortranslator\" form=\"verb\">édité et traduit par</term> <!-- SHORT VERB ROLE FORMS --> <term name=\"director\" form=\"verb-short\">réal. par</term> <term name=\"editor\" form=\"verb-short\">éd. par</term> <term name=\"editorial-director\" form=\"verb-short\">ss la dir. de</term> <term name=\"illustrator\" form=\"verb-short\">ill. par</term> <term name=\"translator\" form=\"verb-short\">trad. par</term> <term name=\"editortranslator\" form=\"verb-short\">éd. et trad. par</term> <!-- LONG MONTH FORMS --> <term name=\"month-01\" gender=\"masculine\">janvier</term> <term name=\"month-02\" gender=\"masculine\">février</term> <term name=\"month-03\" gender=\"masculine\">mars</term> <term name=\"month-04\" gender=\"masculine\">avril</term> <term name=\"month-05\" gender=\"masculine\">mai</term> <term name=\"month-06\" gender=\"masculine\">juin</term> <term name=\"month-07\" gender=\"masculine\">juillet</term> <term name=\"month-08\" gender=\"masculine\">août</term> <term name=\"month-09\" gender=\"masculine\">septembre</term> <term name=\"month-10\" gender=\"masculine\">octobre</term> <term name=\"month-11\" gender=\"masculine\">novembre</term> <term name=\"month-12\" gender=\"masculine\">décembre</term> <!-- SHORT MONTH FORMS --> <term name=\"month-01\" form=\"short\">janv.</term> <term name=\"month-02\" form=\"short\">févr.</term> <term name=\"month-03\" form=\"short\">mars</term> <term name=\"month-04\" form=\"short\">avr.</term> <term name=\"month-05\" form=\"short\">mai</term> <term name=\"month-06\" form=\"short\">juin</term> <term name=\"month-07\" form=\"short\">juill.</term> <term name=\"month-08\" form=\"short\">août</term> <term name=\"month-09\" form=\"short\">sept.</term> <term name=\"month-10\" form=\"short\">oct.</term> <term name=\"month-11\" form=\"short\">nov.</term> <term name=\"month-12\" form=\"short\">déc.</term> <!-- SEASONS --> <term name=\"season-01\">printemps</term> <term name=\"season-02\">été</term> <term name=\"season-03\">automne</term> <term name=\"season-04\">hiver</term> </terms> </locale>"
                        }
                    }
                }
            }
        }
    },
    "required": ["type", "metadata", "sectionsOrder", "resources", "contextualizers", "assets", "contextualizations"],

    "definitions": {
        
        "asset": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "description": "self-identifying id of the asset (uuid v4)",
                    "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
                },

                "filename": {
                    "type": "string",
                    "description": "The filename if any"
                },

                "mimetype": {
                    "type": "string",
                    "description": "The mimetype"
                },

                "data": {
                    "type": ["string", "object", "array"],
                    "description": "raw data stored directly the dataset object if any"
                }

            }
        },
        
        "tag": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "description": "self-identifying id of the tag (uuid v4)",
                    "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
                },

                "name": {
                    "type": "string",
                    "description": "The tag name"
                },

                "color": {
                    "type": "string",
                    "description": "The tag color"
                }
            }
        },

        "summaryBlock": {
            "type": "object",
            "default": {
                "type": "section"
            },
            "properties": {
                "type": {
                    "type": "string"
                },
                "data": {
                    "type": "object"
                }
            }
        },
        
        "edition": {
            "type": "object",
            "default": {
                "data": {
                    "citationStyle": {
                        "title": "American Psychological Association 5th edition",
                        "id": "apa-5th-edition",
                        "data": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <style xmlns=\"http://purl.org/net/xbiblio/csl\" class=\"in-text\" version=\"1.0\" demote-non-dropping-particle=\"sort-only\"> <info> <title>American Psychological Association 5th edition</title> <title-short>APA</title-short> <id>http://www.zotero.org/styles/apa-5th-edition</id> <link href=\"http://www.zotero.org/styles/apa-5th-edition\" rel=\"self\"/> <link href=\"http://rdc.libguides.com/content.php?pid=63487\" rel=\"documentation\"/> <author> <name>Simon Kornblith</name> <email>simon@simonster.com</email> </author> <contributor> <name>Bruce D'Arcus</name> </contributor> <contributor> <name>Curtis M. Humphrey</name> </contributor> <contributor> <name>Richard Karnesky</name> <email>karnesky+zotero@gmail.com</email> <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri> </contributor> <contributor> <name>Sebastian Karcher</name> </contributor> <category citation-format=\"author-date\"/> <category field=\"psychology\"/> <category field=\"generic-base\"/> <updated>2012-09-27T22:06:38+00:00</updated> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> </info> <macro name=\"container-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"any\"> <text term=\"in\" text-case=\"capitalize-first\" suffix=\" \"/> <names variable=\"editor\" delimiter=\", \" suffix=\", \"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\" (\" text-case=\"capitalize-first\" suffix=\")\"/> <substitute> <names variable=\"translator\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"secondary-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"none\"> <names variable=\"translator\" delimiter=\", \" prefix=\" (\" suffix=\")\"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\", \" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"author\"> <names variable=\"author\"> <name name-as-sort-order=\"all\" and=\"symbol\" sort-separator=\", \" initialize-with=\". \" delimiter=\", \" delimiter-precedes-last=\"always\"/> <label form=\"short\" prefix=\" (\" suffix=\")\" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <text macro=\"title\"/> </substitute> </names> </macro> <macro name=\"author-short\"> <names variable=\"author\"> <name form=\"short\" and=\"symbol\" delimiter=\", \" initialize-with=\". \"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <choose> <if type=\"bill book graphic legal_case legislation motion_picture report song\" match=\"any\"> <text variable=\"title\" form=\"short\" font-style=\"italic\"/> </if> <else> <text variable=\"title\" form=\"short\" quotes=\"true\"/> </else> </choose> </substitute> </names> </macro> <macro name=\"access\"> <choose> <if type=\"thesis\"> <choose> <if variable=\"archive\" match=\"any\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> <text variable=\"archive_location\" prefix=\" (\" suffix=\")\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </else> </choose> </if> <else> <choose> <if variable=\"URL\"> <choose> <if variable=\"archive\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <group> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </group> </else> </choose> </if> </choose> </else> </choose> </macro> <macro name=\"title\"> <choose> <if type=\"report thesis\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> <group prefix=\" (\" suffix=\")\"> <text variable=\"genre\"/> <text variable=\"number\" prefix=\" No. \"/> </group> </if> <else-if type=\"bill book graphic legal_case legislation manuscript motion_picture report song speech\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> </else-if> <else> <text variable=\"title\"/> </else> </choose> </macro> <macro name=\"publisher\"> <choose> <if type=\"report\" match=\"any\"> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </if> <else-if type=\"thesis\" match=\"any\"> <group delimiter=\", \"> <text variable=\"publisher\"/> <text variable=\"publisher-place\"/> </group> </else-if> <else> <choose> <if variable=\"event\" match=\"none\"> <text variable=\"genre\" suffix=\", \"/> </if> </choose> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </else> </choose> </macro> <macro name=\"event\"> <choose> <if variable=\"event\"> <choose> <if variable=\"genre\" match=\"none\"> <text term=\"presented at\" text-case=\"capitalize-first\" suffix=\" \"/> <text variable=\"event\"/> </if> <else> <group delimiter=\" \"> <text variable=\"genre\" text-case=\"capitalize-first\"/> <text term=\"presented at\"/> <text variable=\"event\"/> </group> </else> </choose> </if> </choose> </macro> <macro name=\"issued\"> <choose> <if variable=\"issued\"> <group prefix=\" (\" suffix=\").\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> <choose> <if type=\"article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"none\"> <date variable=\"issued\"> <date-part prefix=\", \" name=\"month\"/> <date-part prefix=\" \" name=\"day\"/> </date> </if> </choose> </group> </if> <else> <text prefix=\" (\" term=\"no date\" suffix=\").\" form=\"short\"/> </else> </choose> </macro> <macro name=\"issued-year\"> <choose> <if variable=\"issued\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> </if> <else> <text term=\"no date\" form=\"short\"/> </else> </choose> </macro> <macro name=\"edition\"> <choose> <if is-numeric=\"edition\"> <group delimiter=\" \"> <number variable=\"edition\" form=\"ordinal\"/> <text term=\"edition\" form=\"short\"/> </group> </if> <else> <text variable=\"edition\" suffix=\".\"/> </else> </choose> </macro> <macro name=\"locators\"> <choose> <if type=\"article-journal article-magazine article-newspaper\" match=\"any\"> <group prefix=\", \" delimiter=\", \"> <group> <text variable=\"volume\" font-style=\"italic\"/> <text variable=\"issue\" prefix=\"(\" suffix=\")\"/> </group> <text variable=\"page\"/> </group> </if> <else-if type=\"bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"any\"> <group prefix=\" (\" suffix=\")\" delimiter=\", \"> <text macro=\"edition\"/> <group> <text term=\"volume\" form=\"short\" plural=\"true\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"number-of-volumes\" form=\"numeric\" prefix=\"1-\"/> </group> <group> <text term=\"volume\" form=\"short\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"volume\" form=\"numeric\"/> </group> <group> <label variable=\"page\" form=\"short\" suffix=\" \"/> <text variable=\"page\"/> </group> </group> </else-if> </choose> </macro> <macro name=\"citation-locator\"> <group> <label variable=\"locator\" form=\"short\"/> <text variable=\"locator\" prefix=\" \"/> </group> </macro> <citation et-al-min=\"6\" et-al-use-first=\"1\" et-al-subsequent-min=\"3\" et-al-subsequent-use-first=\"1\" disambiguate-add-year-suffix=\"true\" disambiguate-add-names=\"true\" disambiguate-add-givenname=\"true\" givenname-disambiguation-rule=\"primary-name\" collapse=\"year\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\"/> </sort> <layout prefix=\"(\" suffix=\")\" delimiter=\"; \"> <group delimiter=\", \"> <text macro=\"author-short\"/> <text macro=\"issued-year\"/> <text macro=\"citation-locator\"/> </group> </layout> </citation> <bibliography hanging-indent=\"true\" et-al-min=\"8\" et-al-use-first=\"7\" entry-spacing=\"0\" line-spacing=\"2\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\" sort=\"ascending\"/> </sort> <layout> <group suffix=\".\"> <text macro=\"author\" suffix=\".\"/> <text macro=\"issued\" suffix=\" \"/> <group delimiter=\". \"> <text macro=\"title\"/> <group> <text macro=\"container-contributors\"/> <text macro=\"secondary-contributors\"/> <group delimiter=\", \"> <text variable=\"container-title\" font-style=\"italic\"/> <text variable=\"collection-title\"/> </group> </group> </group> <text macro=\"locators\"/> <group delimiter=\", \" prefix=\". \"> <text macro=\"event\"/> <text macro=\"publisher\"/> </group> </group> <text macro=\"access\" prefix=\". \"/> </layout> </bibliography> </style>"
                    },
                    "citationLocale": {
                        "id": "fr-FR",
                        "names": ["Français (France)", "French (France)"],
                        "data": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <locale xmlns=\"http://purl.org/net/xbiblio/csl\" version=\"1.0\" xml:lang=\"fr-FR\"> <info> <translator> <name>Grégoire Colly</name> </translator> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> <updated>2012-07-04T23:31:02+00:00</updated> </info> <style-options punctuation-in-quote=\"false\" limit-day-ordinals-to-day-1=\"true\"/> <date form=\"text\"> <date-part name=\"day\" suffix=\" \"/> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"year\"/> </date> <date form=\"numeric\"> <date-part name=\"day\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"month\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"year\"/> </date> <terms> <term name=\"accessed\">consulté le</term> <term name=\"and\">et</term> <term name=\"and others\">et autres</term> <term name=\"anonymous\">anonyme</term> <term name=\"anonymous\" form=\"short\">anon.</term> <term name=\"at\">sur</term> <term name=\"available at\">disponible sur</term> <term name=\"by\">par</term> <term name=\"circa\">vers</term> <term name=\"circa\" form=\"short\">v.</term> <term name=\"cited\">cité</term> <term name=\"edition\" gender=\"feminine\"> <single>édition</single> <multiple>éditions</multiple> </term> <term name=\"edition\" form=\"short\">éd.</term> <term name=\"et-al\">et al.</term> <term name=\"forthcoming\">à paraître</term> <term name=\"from\">à l'adresse</term> <term name=\"ibid\">ibid.</term> <term name=\"in\">in</term> <term name=\"in press\">sous presse</term> <term name=\"internet\">Internet</term> <term name=\"interview\">entretien</term> <term name=\"letter\">lettre</term> <term name=\"no date\">sans date</term> <term name=\"no date\" form=\"short\">s.&#160;d.</term> <term name=\"online\">en ligne</term> <term name=\"presented at\">présenté à</term> <term name=\"reference\"> <single>référence</single> <multiple>références</multiple> </term> <term name=\"reference\" form=\"short\"> <single>réf.</single> <multiple>réf.</multiple> </term> <term name=\"retrieved\">consulté</term> <term name=\"scale\">échelle</term> <term name=\"version\">version</term> <!-- ANNO DOMINI; BEFORE CHRIST --> <term name=\"ad\">apr. J.-C.</term> <term name=\"bc\">av. J.-C.</term> <!-- PUNCTUATION --> <term name=\"open-quote\">«&#160;</term> <term name=\"close-quote\">&#160;»</term> <term name=\"open-inner-quote\">“</term> <term name=\"close-inner-quote\">”</term> <term name=\"page-range-delimiter\">&#8209;</term> <!-- non-breaking hyphen --> <!-- ORDINALS --> <term name=\"ordinal\">ᵉ</term> <term name=\"ordinal-01\" gender-form=\"feminine\" match=\"whole-number\">ʳᵉ</term> <term name=\"ordinal-01\" gender-form=\"masculine\" match=\"whole-number\">ᵉʳ</term> <!-- LONG ORDINALS --> <term name=\"long-ordinal-01\">premier</term> <term name=\"long-ordinal-02\">deuxième</term> <term name=\"long-ordinal-03\">troisième</term> <term name=\"long-ordinal-04\">quatrième</term> <term name=\"long-ordinal-05\">cinquième</term> <term name=\"long-ordinal-06\">sixième</term> <term name=\"long-ordinal-07\">septième</term> <term name=\"long-ordinal-08\">huitième</term> <term name=\"long-ordinal-09\">neuvième</term> <term name=\"long-ordinal-10\">dixième</term> <!-- LONG LOCATOR FORMS --> <term name=\"book\"> <single>livre</single> <multiple>livres</multiple> </term> <term name=\"chapter\"> <single>chapitre</single> <multiple>chapitres</multiple> </term> <term name=\"column\"> <single>colonne</single> <multiple>colonnes</multiple> </term> <term name=\"figure\"> <single>figure</single> <multiple>figures</multiple> </term> <term name=\"folio\"> <single>folio</single> <multiple>folios</multiple> </term> <term name=\"issue\" gender=\"masculine\"> <single>numéro</single> <multiple>numéros</multiple> </term> <term name=\"line\"> <single>ligne</single> <multiple>lignes</multiple> </term> <term name=\"note\"> <single>note</single> <multiple>notes</multiple> </term> <term name=\"opus\"> <single>opus</single> <multiple>opus</multiple> </term> <term name=\"page\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"number-of-pages\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"paragraph\"> <single>paragraphe</single> <multiple>paragraphes</multiple> </term> <term name=\"part\"> <single>partie</single> <multiple>parties</multiple> </term> <term name=\"section\"> <single>section</single> <multiple>sections</multiple> </term> <term name=\"sub verbo\"> <single>sub verbo</single> <multiple>sub verbis</multiple> </term> <term name=\"verse\"> <single>verset</single> <multiple>versets</multiple> </term> <term name=\"volume\" gender=\"masculine\"> <single>volume</single> <multiple>volumes</multiple> </term> <!-- SHORT LOCATOR FORMS --> <term name=\"book\" form=\"short\">liv.</term> <term name=\"chapter\" form=\"short\">chap.</term> <term name=\"column\" form=\"short\">col.</term> <term name=\"figure\" form=\"short\">fig.</term> <term name=\"folio\" form=\"short\"> <single>fᵒ</single> <multiple>fᵒˢ</multiple> </term> <term name=\"issue\" form=\"short\"> <single>nᵒ</single> <multiple>nᵒˢ</multiple> </term> <term name=\"line\" form=\"short\">l.</term> <term name=\"note\" form=\"short\">n.</term> <term name=\"opus\" form=\"short\">op.</term> <term name=\"page\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"number-of-pages\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"paragraph\" form=\"short\">paragr.</term> <term name=\"part\" form=\"short\">part.</term> <term name=\"section\" form=\"short\">sect.</term> <term name=\"sub verbo\" form=\"short\"> <single>s.&#160;v.</single> <multiple>s.&#160;vv.</multiple> </term> <term name=\"verse\" form=\"short\"> <single>v.</single> <multiple>v.</multiple> </term> <term name=\"volume\" form=\"short\"> <single>vol.</single> <multiple>vol.</multiple> </term> <!-- SYMBOL LOCATOR FORMS --> <term name=\"paragraph\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <term name=\"section\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <!-- LONG ROLE FORMS --> <term name=\"director\"> <single>réalisateur</single> <multiple>réalisateurs</multiple> </term> <term name=\"editor\"> <single>éditeur</single> <multiple>éditeurs</multiple> </term> <term name=\"editorial-director\"> <single>directeur</single> <multiple>directeurs</multiple> </term> <term name=\"illustrator\"> <single>illustrateur</single> <multiple>illustrateurs</multiple> </term> <term name=\"translator\"> <single>traducteur</single> <multiple>traducteurs</multiple> </term> <term name=\"editortranslator\"> <single>éditeur et traducteur</single> <multiple>éditeurs et traducteurs</multiple> </term> <!-- SHORT ROLE FORMS --> <term name=\"director\" form=\"short\"> <single>réal.</single> <multiple>réal.</multiple> </term> <term name=\"editor\" form=\"short\"> <single>éd.</single> <multiple>éd.</multiple> </term> <term name=\"editorial-director\" form=\"short\"> <single>dir.</single> <multiple>dir.</multiple> </term> <term name=\"illustrator\" form=\"short\"> <single>ill.</single> <multiple>ill.</multiple> </term> <term name=\"translator\" form=\"short\"> <single>trad.</single> <multiple>trad.</multiple> </term> <term name=\"editortranslator\" form=\"short\"> <single>éd. et trad.</single> <multiple>éd. et trad.</multiple> </term> <!-- VERB ROLE FORMS --> <term name=\"container-author\" form=\"verb\">par</term> <term name=\"director\" form=\"verb\">réalisé par</term> <term name=\"editor\" form=\"verb\">édité par</term> <term name=\"editorial-director\" form=\"verb\">sous la direction de</term> <term name=\"illustrator\" form=\"verb\">illustré par</term> <term name=\"interviewer\" form=\"verb\">entretien réalisé par</term> <term name=\"recipient\" form=\"verb\">à</term> <term name=\"reviewed-author\" form=\"verb\">par</term> <term name=\"translator\" form=\"verb\">traduit par</term> <term name=\"editortranslator\" form=\"verb\">édité et traduit par</term> <!-- SHORT VERB ROLE FORMS --> <term name=\"director\" form=\"verb-short\">réal. par</term> <term name=\"editor\" form=\"verb-short\">éd. par</term> <term name=\"editorial-director\" form=\"verb-short\">ss la dir. de</term> <term name=\"illustrator\" form=\"verb-short\">ill. par</term> <term name=\"translator\" form=\"verb-short\">trad. par</term> <term name=\"editortranslator\" form=\"verb-short\">éd. et trad. par</term> <!-- LONG MONTH FORMS --> <term name=\"month-01\" gender=\"masculine\">janvier</term> <term name=\"month-02\" gender=\"masculine\">février</term> <term name=\"month-03\" gender=\"masculine\">mars</term> <term name=\"month-04\" gender=\"masculine\">avril</term> <term name=\"month-05\" gender=\"masculine\">mai</term> <term name=\"month-06\" gender=\"masculine\">juin</term> <term name=\"month-07\" gender=\"masculine\">juillet</term> <term name=\"month-08\" gender=\"masculine\">août</term> <term name=\"month-09\" gender=\"masculine\">septembre</term> <term name=\"month-10\" gender=\"masculine\">octobre</term> <term name=\"month-11\" gender=\"masculine\">novembre</term> <term name=\"month-12\" gender=\"masculine\">décembre</term> <!-- SHORT MONTH FORMS --> <term name=\"month-01\" form=\"short\">janv.</term> <term name=\"month-02\" form=\"short\">févr.</term> <term name=\"month-03\" form=\"short\">mars</term> <term name=\"month-04\" form=\"short\">avr.</term> <term name=\"month-05\" form=\"short\">mai</term> <term name=\"month-06\" form=\"short\">juin</term> <term name=\"month-07\" form=\"short\">juill.</term> <term name=\"month-08\" form=\"short\">août</term> <term name=\"month-09\" form=\"short\">sept.</term> <term name=\"month-10\" form=\"short\">oct.</term> <term name=\"month-11\" form=\"short\">nov.</term> <term name=\"month-12\" form=\"short\">déc.</term> <!-- SEASONS --> <term name=\"season-01\">printemps</term> <term name=\"season-02\">été</term> <term name=\"season-03\">automne</term> <term name=\"season-04\">hiver</term> </terms> </locale>"
                    },
                    "style": {
                        "mode": "merge",
                        "css": ""
                    },
                    "additionalHTML": "",
                    "allowAnnotation": false
                }
            }, 
            "properties": {
                "id": {
                    "type": "string",
                    "description": "self-identifying id of the edition (uuid v4)",
                    "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
                },

                "metadata": {
                    "type": "object",
                    "properties": {
                        "title": {
                            "type": "string",
                            "description": "The title of the edition"
                        },
                        "description": {
                            "type": "string",
                            "description": "The description of the edition"
                        },
                        "date": {
                            "type": "string",
                            "description": "The displayed date of publication of the edition"
                        },
                        "type": {
                            "type": "string",
                            "description": "The rendering type of the edition",
                            "enum": ["screened", "paged"]
                        },
                        
                        "templateId": {
                            "type": "string",
                            "description": "The id of the template module used by the edition"
                        }

                    }
                },

                "data": {
                    "type": "object",
                    "properties": {
                        "plan": {
                            "type": "object",
                            "properties": {
                                "type": {
                                    "type": "string",
                                    "enum": ["linear"]
                                },
                                    
                                "summary": {
                                    "type": "array",
                                    "items": {
                                        "description": "summary block",
                                        "$ref": "#/definitions/summaryBlock"
                                    }
                                }
                            }
                        },
                        "publicationTitle": {
                            "type": "string",
                            "description": "A specific title to display as the title of the edition"
                        },
                        "publicationAuthors": {
                          "type": "array",
                          "description": "Specific authors of this edition",
                          "default": [],
                          "items": {
                            "type": ["object", "string"],
                            "properties": {
                              "given": {
                                "type": "string"
                              },
                              "family": {
                                "type": "string"
                              },
                              "affiliation": {
                                "type": "string"
                              },
                              "role": {
                                "type": "string"
                              }
                              
                            }
                          }
                        },
                        "publicationSubtitle": {
                            "type": "string",
                            "description": "A specific subtitle to display as the title of the edition"
                        },
                        "bibType": {
                            "type": "string",
                            "description": "type of item to register the edition in",
                            "enum": [
                                "article",
                                "book",
                                "booklet",
                                "inbook",
                                "incollection",
                                "inproceedings",
                                "manual",
                                "mastersthesis",
                                "misc",
                                "phdthesis",
                                "proceedings",
                                "techreport",
                                "unpublished"
                           ]
                        },
                        "templateOptions": {
                            "type": "object",
                            "description": "Map of options for a given template"
                        },
                        "allowAnnotation": {
                            "type": "boolean",
                            "description": "Whether to allow annotation"
                        },
                        "citationStyle": {
                            "type": "object",
                            "properties": {
                                "title": {
                                    "type": "string",
                                    "default": "American Psychological Association 5th edition"
                                },
                                "id": {
                                    "type": "string",
                                    "default": "apa-5th-edition"
                                },
                                "data": {
                                    "type": "string",
                                    "default": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <style xmlns=\"http://purl.org/net/xbiblio/csl\" class=\"in-text\" version=\"1.0\" demote-non-dropping-particle=\"sort-only\"> <info> <title>American Psychological Association 5th edition</title> <title-short>APA</title-short> <id>http://www.zotero.org/styles/apa-5th-edition</id> <link href=\"http://www.zotero.org/styles/apa-5th-edition\" rel=\"self\"/> <link href=\"http://rdc.libguides.com/content.php?pid=63487\" rel=\"documentation\"/> <author> <name>Simon Kornblith</name> <email>simon@simonster.com</email> </author> <contributor> <name>Bruce D'Arcus</name> </contributor> <contributor> <name>Curtis M. Humphrey</name> </contributor> <contributor> <name>Richard Karnesky</name> <email>karnesky+zotero@gmail.com</email> <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri> </contributor> <contributor> <name>Sebastian Karcher</name> </contributor> <category citation-format=\"author-date\"/> <category field=\"psychology\"/> <category field=\"generic-base\"/> <updated>2012-09-27T22:06:38+00:00</updated> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> </info> <macro name=\"container-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"any\"> <text term=\"in\" text-case=\"capitalize-first\" suffix=\" \"/> <names variable=\"editor\" delimiter=\", \" suffix=\", \"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\" (\" text-case=\"capitalize-first\" suffix=\")\"/> <substitute> <names variable=\"translator\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"secondary-contributors\"> <choose> <if type=\"chapter paper-conference\" match=\"none\"> <names variable=\"translator\" delimiter=\", \" prefix=\" (\" suffix=\")\"> <name and=\"symbol\" initialize-with=\". \" delimiter=\", \"/> <label form=\"short\" prefix=\", \" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> </substitute> </names> </if> </choose> </macro> <macro name=\"author\"> <names variable=\"author\"> <name name-as-sort-order=\"all\" and=\"symbol\" sort-separator=\", \" initialize-with=\". \" delimiter=\", \" delimiter-precedes-last=\"always\"/> <label form=\"short\" prefix=\" (\" suffix=\")\" text-case=\"capitalize-first\"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <text macro=\"title\"/> </substitute> </names> </macro> <macro name=\"author-short\"> <names variable=\"author\"> <name form=\"short\" and=\"symbol\" delimiter=\", \" initialize-with=\". \"/> <substitute> <names variable=\"editor\"/> <names variable=\"translator\"/> <choose> <if type=\"bill book graphic legal_case legislation motion_picture report song\" match=\"any\"> <text variable=\"title\" form=\"short\" font-style=\"italic\"/> </if> <else> <text variable=\"title\" form=\"short\" quotes=\"true\"/> </else> </choose> </substitute> </names> </macro> <macro name=\"access\"> <choose> <if type=\"thesis\"> <choose> <if variable=\"archive\" match=\"any\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> <text variable=\"archive_location\" prefix=\" (\" suffix=\")\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </else> </choose> </if> <else> <choose> <if variable=\"URL\"> <choose> <if variable=\"archive\"> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <text term=\"from\" suffix=\" \"/> <text variable=\"archive\" suffix=\".\"/> </group> </if> <else> <group> <text term=\"retrieved\" text-case=\"capitalize-first\" suffix=\" \"/> <date variable=\"accessed\" suffix=\", \"> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"day\" suffix=\", \"/> <date-part name=\"year\"/> </date> <group> <text term=\"from\" suffix=\" \"/> <text variable=\"URL\"/> </group> </group> </else> </choose> </if> </choose> </else> </choose> </macro> <macro name=\"title\"> <choose> <if type=\"report thesis\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> <group prefix=\" (\" suffix=\")\"> <text variable=\"genre\"/> <text variable=\"number\" prefix=\" No. \"/> </group> </if> <else-if type=\"bill book graphic legal_case legislation manuscript motion_picture report song speech\" match=\"any\"> <text variable=\"title\" font-style=\"italic\"/> </else-if> <else> <text variable=\"title\"/> </else> </choose> </macro> <macro name=\"publisher\"> <choose> <if type=\"report\" match=\"any\"> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </if> <else-if type=\"thesis\" match=\"any\"> <group delimiter=\", \"> <text variable=\"publisher\"/> <text variable=\"publisher-place\"/> </group> </else-if> <else> <choose> <if variable=\"event\" match=\"none\"> <text variable=\"genre\" suffix=\", \"/> </if> </choose> <group delimiter=\": \"> <text variable=\"publisher-place\"/> <text variable=\"publisher\"/> </group> </else> </choose> </macro> <macro name=\"event\"> <choose> <if variable=\"event\"> <choose> <if variable=\"genre\" match=\"none\"> <text term=\"presented at\" text-case=\"capitalize-first\" suffix=\" \"/> <text variable=\"event\"/> </if> <else> <group delimiter=\" \"> <text variable=\"genre\" text-case=\"capitalize-first\"/> <text term=\"presented at\"/> <text variable=\"event\"/> </group> </else> </choose> </if> </choose> </macro> <macro name=\"issued\"> <choose> <if variable=\"issued\"> <group prefix=\" (\" suffix=\").\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> <choose> <if type=\"article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"none\"> <date variable=\"issued\"> <date-part prefix=\", \" name=\"month\"/> <date-part prefix=\" \" name=\"day\"/> </date> </if> </choose> </group> </if> <else> <text prefix=\" (\" term=\"no date\" suffix=\").\" form=\"short\"/> </else> </choose> </macro> <macro name=\"issued-year\"> <choose> <if variable=\"issued\"> <date variable=\"issued\"> <date-part name=\"year\"/> </date> </if> <else> <text term=\"no date\" form=\"short\"/> </else> </choose> </macro> <macro name=\"edition\"> <choose> <if is-numeric=\"edition\"> <group delimiter=\" \"> <number variable=\"edition\" form=\"ordinal\"/> <text term=\"edition\" form=\"short\"/> </group> </if> <else> <text variable=\"edition\" suffix=\".\"/> </else> </choose> </macro> <macro name=\"locators\"> <choose> <if type=\"article-journal article-magazine article-newspaper\" match=\"any\"> <group prefix=\", \" delimiter=\", \"> <group> <text variable=\"volume\" font-style=\"italic\"/> <text variable=\"issue\" prefix=\"(\" suffix=\")\"/> </group> <text variable=\"page\"/> </group> </if> <else-if type=\"bill book chapter graphic legal_case legislation motion_picture paper-conference report song\" match=\"any\"> <group prefix=\" (\" suffix=\")\" delimiter=\", \"> <text macro=\"edition\"/> <group> <text term=\"volume\" form=\"short\" plural=\"true\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"number-of-volumes\" form=\"numeric\" prefix=\"1-\"/> </group> <group> <text term=\"volume\" form=\"short\" text-case=\"capitalize-first\" suffix=\" \"/> <number variable=\"volume\" form=\"numeric\"/> </group> <group> <label variable=\"page\" form=\"short\" suffix=\" \"/> <text variable=\"page\"/> </group> </group> </else-if> </choose> </macro> <macro name=\"citation-locator\"> <group> <label variable=\"locator\" form=\"short\"/> <text variable=\"locator\" prefix=\" \"/> </group> </macro> <citation et-al-min=\"6\" et-al-use-first=\"1\" et-al-subsequent-min=\"3\" et-al-subsequent-use-first=\"1\" disambiguate-add-year-suffix=\"true\" disambiguate-add-names=\"true\" disambiguate-add-givenname=\"true\" givenname-disambiguation-rule=\"primary-name\" collapse=\"year\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\"/> </sort> <layout prefix=\"(\" suffix=\")\" delimiter=\"; \"> <group delimiter=\", \"> <text macro=\"author-short\"/> <text macro=\"issued-year\"/> <text macro=\"citation-locator\"/> </group> </layout> </citation> <bibliography hanging-indent=\"true\" et-al-min=\"8\" et-al-use-first=\"7\" entry-spacing=\"0\" line-spacing=\"2\"> <sort> <key macro=\"author\"/> <key macro=\"issued-year\" sort=\"ascending\"/> </sort> <layout> <group suffix=\".\"> <text macro=\"author\" suffix=\".\"/> <text macro=\"issued\" suffix=\" \"/> <group delimiter=\". \"> <text macro=\"title\"/> <group> <text macro=\"container-contributors\"/> <text macro=\"secondary-contributors\"/> <group delimiter=\", \"> <text variable=\"container-title\" font-style=\"italic\"/> <text variable=\"collection-title\"/> </group> </group> </group> <text macro=\"locators\"/> <group delimiter=\", \" prefix=\". \"> <text macro=\"event\"/> <text macro=\"publisher\"/> </group> </group> <text macro=\"access\" prefix=\". \"/> </layout> </bibliography> </style>"
                                }
                            }
                        },
                        "citationLocale": {
                            "type": "object",
                            "keys": {
                                "id": {
                                    "type": "string",
                                    "default": "fr-FR"
                                },
                                "names": {
                                    "type": "array",
                                    "default": ["Français (France)", "French (France)"]
                                },
                                "data": {
                                    "type": "string",
                                    "default": "<?xml version=\"1.0\" encoding=\"utf-8\"?> <locale xmlns=\"http://purl.org/net/xbiblio/csl\" version=\"1.0\" xml:lang=\"fr-FR\"> <info> <translator> <name>Grégoire Colly</name> </translator> <rights license=\"http://creativecommons.org/licenses/by-sa/3.0/\">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights> <updated>2012-07-04T23:31:02+00:00</updated> </info> <style-options punctuation-in-quote=\"false\" limit-day-ordinals-to-day-1=\"true\"/> <date form=\"text\"> <date-part name=\"day\" suffix=\" \"/> <date-part name=\"month\" suffix=\" \"/> <date-part name=\"year\"/> </date> <date form=\"numeric\"> <date-part name=\"day\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"month\" form=\"numeric-leading-zeros\" suffix=\"/\"/> <date-part name=\"year\"/> </date> <terms> <term name=\"accessed\">consulté le</term> <term name=\"and\">et</term> <term name=\"and others\">et autres</term> <term name=\"anonymous\">anonyme</term> <term name=\"anonymous\" form=\"short\">anon.</term> <term name=\"at\">sur</term> <term name=\"available at\">disponible sur</term> <term name=\"by\">par</term> <term name=\"circa\">vers</term> <term name=\"circa\" form=\"short\">v.</term> <term name=\"cited\">cité</term> <term name=\"edition\" gender=\"feminine\"> <single>édition</single> <multiple>éditions</multiple> </term> <term name=\"edition\" form=\"short\">éd.</term> <term name=\"et-al\">et al.</term> <term name=\"forthcoming\">à paraître</term> <term name=\"from\">à l'adresse</term> <term name=\"ibid\">ibid.</term> <term name=\"in\">in</term> <term name=\"in press\">sous presse</term> <term name=\"internet\">Internet</term> <term name=\"interview\">entretien</term> <term name=\"letter\">lettre</term> <term name=\"no date\">sans date</term> <term name=\"no date\" form=\"short\">s.&#160;d.</term> <term name=\"online\">en ligne</term> <term name=\"presented at\">présenté à</term> <term name=\"reference\"> <single>référence</single> <multiple>références</multiple> </term> <term name=\"reference\" form=\"short\"> <single>réf.</single> <multiple>réf.</multiple> </term> <term name=\"retrieved\">consulté</term> <term name=\"scale\">échelle</term> <term name=\"version\">version</term> <!-- ANNO DOMINI; BEFORE CHRIST --> <term name=\"ad\">apr. J.-C.</term> <term name=\"bc\">av. J.-C.</term> <!-- PUNCTUATION --> <term name=\"open-quote\">«&#160;</term> <term name=\"close-quote\">&#160;»</term> <term name=\"open-inner-quote\">“</term> <term name=\"close-inner-quote\">”</term> <term name=\"page-range-delimiter\">&#8209;</term> <!-- non-breaking hyphen --> <!-- ORDINALS --> <term name=\"ordinal\">ᵉ</term> <term name=\"ordinal-01\" gender-form=\"feminine\" match=\"whole-number\">ʳᵉ</term> <term name=\"ordinal-01\" gender-form=\"masculine\" match=\"whole-number\">ᵉʳ</term> <!-- LONG ORDINALS --> <term name=\"long-ordinal-01\">premier</term> <term name=\"long-ordinal-02\">deuxième</term> <term name=\"long-ordinal-03\">troisième</term> <term name=\"long-ordinal-04\">quatrième</term> <term name=\"long-ordinal-05\">cinquième</term> <term name=\"long-ordinal-06\">sixième</term> <term name=\"long-ordinal-07\">septième</term> <term name=\"long-ordinal-08\">huitième</term> <term name=\"long-ordinal-09\">neuvième</term> <term name=\"long-ordinal-10\">dixième</term> <!-- LONG LOCATOR FORMS --> <term name=\"book\"> <single>livre</single> <multiple>livres</multiple> </term> <term name=\"chapter\"> <single>chapitre</single> <multiple>chapitres</multiple> </term> <term name=\"column\"> <single>colonne</single> <multiple>colonnes</multiple> </term> <term name=\"figure\"> <single>figure</single> <multiple>figures</multiple> </term> <term name=\"folio\"> <single>folio</single> <multiple>folios</multiple> </term> <term name=\"issue\" gender=\"masculine\"> <single>numéro</single> <multiple>numéros</multiple> </term> <term name=\"line\"> <single>ligne</single> <multiple>lignes</multiple> </term> <term name=\"note\"> <single>note</single> <multiple>notes</multiple> </term> <term name=\"opus\"> <single>opus</single> <multiple>opus</multiple> </term> <term name=\"page\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"number-of-pages\"> <single>page</single> <multiple>pages</multiple> </term> <term name=\"paragraph\"> <single>paragraphe</single> <multiple>paragraphes</multiple> </term> <term name=\"part\"> <single>partie</single> <multiple>parties</multiple> </term> <term name=\"section\"> <single>section</single> <multiple>sections</multiple> </term> <term name=\"sub verbo\"> <single>sub verbo</single> <multiple>sub verbis</multiple> </term> <term name=\"verse\"> <single>verset</single> <multiple>versets</multiple> </term> <term name=\"volume\" gender=\"masculine\"> <single>volume</single> <multiple>volumes</multiple> </term> <!-- SHORT LOCATOR FORMS --> <term name=\"book\" form=\"short\">liv.</term> <term name=\"chapter\" form=\"short\">chap.</term> <term name=\"column\" form=\"short\">col.</term> <term name=\"figure\" form=\"short\">fig.</term> <term name=\"folio\" form=\"short\"> <single>fᵒ</single> <multiple>fᵒˢ</multiple> </term> <term name=\"issue\" form=\"short\"> <single>nᵒ</single> <multiple>nᵒˢ</multiple> </term> <term name=\"line\" form=\"short\">l.</term> <term name=\"note\" form=\"short\">n.</term> <term name=\"opus\" form=\"short\">op.</term> <term name=\"page\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"number-of-pages\" form=\"short\"> <single>p.</single> <multiple>p.</multiple> </term> <term name=\"paragraph\" form=\"short\">paragr.</term> <term name=\"part\" form=\"short\">part.</term> <term name=\"section\" form=\"short\">sect.</term> <term name=\"sub verbo\" form=\"short\"> <single>s.&#160;v.</single> <multiple>s.&#160;vv.</multiple> </term> <term name=\"verse\" form=\"short\"> <single>v.</single> <multiple>v.</multiple> </term> <term name=\"volume\" form=\"short\"> <single>vol.</single> <multiple>vol.</multiple> </term> <!-- SYMBOL LOCATOR FORMS --> <term name=\"paragraph\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <term name=\"section\" form=\"symbol\"> <single>§</single> <multiple>§</multiple> </term> <!-- LONG ROLE FORMS --> <term name=\"director\"> <single>réalisateur</single> <multiple>réalisateurs</multiple> </term> <term name=\"editor\"> <single>éditeur</single> <multiple>éditeurs</multiple> </term> <term name=\"editorial-director\"> <single>directeur</single> <multiple>directeurs</multiple> </term> <term name=\"illustrator\"> <single>illustrateur</single> <multiple>illustrateurs</multiple> </term> <term name=\"translator\"> <single>traducteur</single> <multiple>traducteurs</multiple> </term> <term name=\"editortranslator\"> <single>éditeur et traducteur</single> <multiple>éditeurs et traducteurs</multiple> </term> <!-- SHORT ROLE FORMS --> <term name=\"director\" form=\"short\"> <single>réal.</single> <multiple>réal.</multiple> </term> <term name=\"editor\" form=\"short\"> <single>éd.</single> <multiple>éd.</multiple> </term> <term name=\"editorial-director\" form=\"short\"> <single>dir.</single> <multiple>dir.</multiple> </term> <term name=\"illustrator\" form=\"short\"> <single>ill.</single> <multiple>ill.</multiple> </term> <term name=\"translator\" form=\"short\"> <single>trad.</single> <multiple>trad.</multiple> </term> <term name=\"editortranslator\" form=\"short\"> <single>éd. et trad.</single> <multiple>éd. et trad.</multiple> </term> <!-- VERB ROLE FORMS --> <term name=\"container-author\" form=\"verb\">par</term> <term name=\"director\" form=\"verb\">réalisé par</term> <term name=\"editor\" form=\"verb\">édité par</term> <term name=\"editorial-director\" form=\"verb\">sous la direction de</term> <term name=\"illustrator\" form=\"verb\">illustré par</term> <term name=\"interviewer\" form=\"verb\">entretien réalisé par</term> <term name=\"recipient\" form=\"verb\">à</term> <term name=\"reviewed-author\" form=\"verb\">par</term> <term name=\"translator\" form=\"verb\">traduit par</term> <term name=\"editortranslator\" form=\"verb\">édité et traduit par</term> <!-- SHORT VERB ROLE FORMS --> <term name=\"director\" form=\"verb-short\">réal. par</term> <term name=\"editor\" form=\"verb-short\">éd. par</term> <term name=\"editorial-director\" form=\"verb-short\">ss la dir. de</term> <term name=\"illustrator\" form=\"verb-short\">ill. par</term> <term name=\"translator\" form=\"verb-short\">trad. par</term> <term name=\"editortranslator\" form=\"verb-short\">éd. et trad. par</term> <!-- LONG MONTH FORMS --> <term name=\"month-01\" gender=\"masculine\">janvier</term> <term name=\"month-02\" gender=\"masculine\">février</term> <term name=\"month-03\" gender=\"masculine\">mars</term> <term name=\"month-04\" gender=\"masculine\">avril</term> <term name=\"month-05\" gender=\"masculine\">mai</term> <term name=\"month-06\" gender=\"masculine\">juin</term> <term name=\"month-07\" gender=\"masculine\">juillet</term> <term name=\"month-08\" gender=\"masculine\">août</term> <term name=\"month-09\" gender=\"masculine\">septembre</term> <term name=\"month-10\" gender=\"masculine\">octobre</term> <term name=\"month-11\" gender=\"masculine\">novembre</term> <term name=\"month-12\" gender=\"masculine\">décembre</term> <!-- SHORT MONTH FORMS --> <term name=\"month-01\" form=\"short\">janv.</term> <term name=\"month-02\" form=\"short\">févr.</term> <term name=\"month-03\" form=\"short\">mars</term> <term name=\"month-04\" form=\"short\">avr.</term> <term name=\"month-05\" form=\"short\">mai</term> <term name=\"month-06\" form=\"short\">juin</term> <term name=\"month-07\" form=\"short\">juill.</term> <term name=\"month-08\" form=\"short\">août</term> <term name=\"month-09\" form=\"short\">sept.</term> <term name=\"month-10\" form=\"short\">oct.</term> <term name=\"month-11\" form=\"short\">nov.</term> <term name=\"month-12\" form=\"short\">déc.</term> <!-- SEASONS --> <term name=\"season-01\">printemps</term> <term name=\"season-02\">été</term> <term name=\"season-03\">automne</term> <term name=\"season-04\">hiver</term> </terms> </locale>"
                                }
                            }
                        },

                        "additionalHTML": {
                            "type": "string",
                            "description": "additional document-level HTML code"
                        },

                        
                        "style": {
                            "type": "object",
                            "default": {
                                "mode": "merge",
                                "css": ""
                            },
                            "properties": {
                                "mode": {
                                    "type": "string",
                                    "description": "whether to merge or replace css",
                                    "enum": ["merge", "replace"],
                                    "default": "merge"
                                },
                                "css": {
                                    "type": "string",
                                    "default": ""
                                }
                            }
                        }

                    }
                }

            }
        },

        "metadata": {
            "type": "object",
            "properties": {
                "title": {
                  "type": "string",
                  "description": "Title of the item",
                  "default": ""
                },
                "subtitle": {
                  "type": "string",
                  "description": "Subtitle fo the item",
                  "default": ""
                },
                "authors": {
                  "type": "array",
                  "description": "authors of the item",
                  "default": [],
                  "items": {
                    "type": ["object", "string"],
                    "properties": {
                      "given": {
                        "type": "string"
                      },
                      "family": {
                        "type": "string"
                      },
                      "affiliation": {
                        "type": "string"
                      },
                      "role": {
                        "type": "string"
                      }
                      
                    }
                  }
                },
                "type": {
                  "type": "string"
                },
                "description": {
                  "type": "string",
                  "default": ""
                },
                "level": {
                  "type": "number",
                  "description": "level of hierarchy of the item",
                  "default": 0
                }
              }
        },
        "resource": {
            "type": "object",
            "description": "description of a resource used in the production",
            "properties": {
                "id": {
                    "type": "string",
                    "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
                },
                "metadata": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "type": "string",
                            "description": "type of the resource",
                            "enum": ["image",  "table", "video", "embed", "glossary", "bib", "webpage", "section"]
                        }
                    }
                },
                "data": {
                    "type": ["object", "string", "array"]
                }
            }
        },
        "contextualizer": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
                },
                "type": {
                    "type": "string",
                    "description": "type of the contextualizer"
                },
                "insertionType": {
                    "type": "string",
                    "enum": ["BLOCK_ASSET", "INLINE_ASSET"],
                    "description": "whether contextualizer targets an inline or block contextualization"
                }
            }
        },
        "contextualization": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
                },
                "sourceId": {
                    "type": "string"
                },
                "targetId": {
                    "type": "string"
                },
                "contextualizerId": {
                    "type": "string",
                    "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
                },
                "type": {
                    "type": "string",
                    "description": "type of the contextualizer being used for this contextualization (note: this is some sugar for implementation, as this information is redundant with associated contextualizer)",
                    "default": ""
                },
                "title": {
                    "type": "string",
                    "description": "specific title of the contextualization",
                    "default": ""
                },
                "legend": {
                    "type": "string",
                    "longString": true,
                    "description": "legend of the contextualization",
                    "default": ""
                }
            }
        }
    }
}
