{
  "collective" : {
    "common" : {
      "properties" : [
        {
          "key" : "bibType",
          "valueType" : "string",
          "description" : "The type of the resource",
          "required" : true
        },
        {
          "key" : "citeKey",
          "valueType" : "string",
          "description" : "The id of the resource",
          "required" : true
        },
        {
          "key" : "doi",
          "valueType" : "string",
          "description" : "The digital object identifier of the resource",
          "required" : false
        },
        {
          "key" : "title",
          "valueType" : "string",
          "description" : "The title of the resource",
          "required" : false
        },
        {
          "key" : "description",
          "valueType" : "string",
          "description" : "The description of the resource",
          "required" : false
        },
        {
          "key" : "url",
          "valueType" : "string",
          "description" : "The url at which the resource can be browsed",
          "required" : false
        },
        {
          "key" : "schematype",
          "valueType" : "string",
          "description" : "The schema's type of the resource (for a fine-grained micro-indexation - see http://schema.org/)",
          "required" : false
        },
        {
          "key" : "creators",
          "valueType" : "bibAuthorsArray",
          "description" : "The creators of the resource",
          "required" : false
        },
        {
          "key" : "keywords",
          "valueType" : "stringArray",
          "description" : "The keywords for describing the resource",
          "required" : false
        },
        {
          "key" : "date",
          "valueType" : "yyyymmddDate",
          "description" : "The date in which the resource was published",
          "required" : false
        },
        {
            "key" : "caption",
            "description" : "The caption of the resource.",
            "valueType" : "string",
            "required" : false
        },
        {
          "key" : "inheritedVerticallyFrom",
          "valueType" : "string",
          "description" : "The citekey of the section from which this resource is inherited.",
          "required" : false
        }
      ]
    },
    "usableResource" : {
      "properties" : [
        {
          "key" : "url",
          "valueType" : "string",
          "description" : "The url at which the resource can be fetched",
          "required" : true
        }
      ]
    },
    "entityResource" : {
      "properties" : [
        {
          "key" : "name",
          "valueType" : "string",
          "description" : "Name of the entity.",
          "required" : false
        }
      ],
      "defaultContextualizer" : "glossary"
    },
    "bibliographicResource" : {
      "properties" : [
        {
          "key" : "title",
          "valueType" : "string",
          "description" : "The title of the resource",
          "required" : true
        },
        {
          "key" : "author",
          "valueType" : "bibAuthorsArray",
          "description" : "The author(s) of the bibliographic resource",
          "required" : false
        },

        {
          "key" : "editor",
          "valueType" : "bibAuthorsArray",
          "description" : "The editor(s) of the bibliographic resource",
          "required" : false
        },
        {
          "key" : "year",
          "valueType" : "number",
          "description" : "The year of publication of the resource",
          "required" : false
        },
        {
          "key" : "month",
          "valueType" : "string",
          "description" : "The month of publication of the resource",
          "required" : false
        },
        {
          "key" : "isbn",
          "valueType" : "string",
          "description" : "The isbn of the reference",
          "required" : false
        },
        {
          "key" : "issn",
          "valueType" : "string",
          "description" : "The issn identifier of the reference",
          "required" : false
        }
      ],
      "defaultContextualizer" : "citation"
    },
    "childResource" : {
      "properties" : [
        {
          "key" : "parent",
          "valueType" : "string",
          "description" : "The parent publication's citeKey",
          "required" : true
        }
      ]
    }
  },
  "individual" : {
    "image" : {
      "categories" : ["usableResource"],
      "defaultContextualizer" : "imagegallery",

      "properties" : [
        {
          "key" : "width",
          "valueType" : "string",
          "description" : "The original width of the image",
          "required" : false
        },
        {
          "key" : "height",
          "valueType" : "string",
          "description" : "The original height of the image",
          "required" : false
        },
        {
          "key" : "imageurl",
          "valueType" : "string",
          "description" : "The actual url to use for displaying the image.",
          "required" : false
        },
        {
          "key" : "alt",
          "valueType" : "string",
          "description" : "The text to display if image is not there",
          "required" : false
        }
      ],
      "acceptedFileExtensions" : [".jpg", ".png", ".jpeg", ".gif", ".tiff", ".bmp", ".webp"]
    },
    "online" : {
      "categories" : ["usableResource"],
      "defaultContextualizer" : "webpage",

      "properties" : [
        {
          "key" : "posterurl",
          "valueType" : "string",
          "description" : "The poster address of the resource",
          "required" : false
        }
      ],
      "acceptedFileExtensions" : []
    },
    "vectorsImage" : {
      "categories" : ["usableResource"],
      "defaultContextualizer" : "imageplayer",
      "properties" : [],
      "acceptedFileExtensions" : [".svg"]
    },
    "tabularData" : {
      "categories" : ["usableResource"],
      "defaultContextualizer" : "table",
      "properties" : [
        {
          "key" : "format",
          "valueType" : "string",
          "description" : "The format of the tabular data.",
          "required" : true
        },
        {
          "key" : "separator",
          "valueType" : "string",
          "description" : "The separator character of the tabular data file (',', ';', ...)",
          "required" : false
        }
      ],
      "acceptedFileExtensions" : [".txt", ".csv", ".tsv"]
    },
    "jsonData" : {
      "categories" : ["usableResource"],
      "defaultContextualizer" : "sourcecodedisplay",
      "properties" : [],
      "acceptedFileExtensions" : []
    },
    "video" : {
      "categories" : ["usableResource"],
      "defaultContextualizer" : "videoplayer",
      "properties" : [],
      "acceptedFileExtensions" : []
    },
    "audio" : {
      "categories" : ["usableResource"],
      "defaultContextualizer" : "audioplayer",
      "properties" : [],
      "acceptedFileExtensions" : []
    },





    "article" : {
      "categories" : ["bibliographicResource"],
      "properties" : [
        {
          "key" : "journal",
          "valueType" : "string",
          "description" : "The journal in which the article is cited",
          "required" : true
        },
        {
          "key" : "issue",
          "valueType" : "number",
          "description" : "The issue number of the article's hosting resource",
          "required" : false
        },
        {
          "key" : "volume",
          "valueType" : "number",
          "description" : "The volume number of the article's hosting resource",
          "required" : false
        },
        {
          "key" : "pages",
          "valueType" : "string",
          "description" : "The pages of begining and end of the reference",
          "required" : false
        }
      ]
    },
    "book" : {
      "categories" : ["bibliographicResource"],
      "properties" : [
        {
          "key" : "publisher",
          "valueType" : "string",
          "description" : "The publisher's name",
          "required" : true
        },
        {
          "key" : "edition",
          "valueType" : "string",
          "description" : "The edition of the publication",
          "required" : false
        },
        {
          "key" : "volume",
          "valueType" : "number",
          "description" : "The volume's number",
          "required" : false
        },
        {
          "key" : "series",
          "valueType" : "string",
          "description" : "The series of books in which is the publication",
          "required" : false
        },
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication",
          "required" : false
        },
        {
          "key" : "numberofpages",
          "valueType" : "string",
          "description" : "The number of pages",
          "required" : false
        }
      ]
    },
    "booklet" : {
      "categories" : ["bibliographicResource"],
      "properties" : [
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication",
          "required" : false
        },
        {
          "key" : "howpublished",
          "valueType" : "string",
          "description" : "Details about the publication context.",
          "required" : false
        }
      ]
    },
    "inbook" : {
      "categories" : ["bibliographicResource", "childResource"],

      "properties" : [
        {
          "key" : "publisher",
          "valueType" : "string",
          "description" : "The publisher's name",
          "required" : true
        },
        {
          "key" : "edition",
          "valueType" : "string",
          "description" : "The edition of the publication",
          "required" : false
        },
        {
          "key" : "volume",
          "valueType" : "number",
          "description" : "The volume's number",
          "required" : false
        },
        {
          "key" : "series",
          "valueType" : "string",
          "description" : "The series of books in which is the publication",
          "required" : false
        },
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication",
          "required" : false
        },
        {
          "key" : "nb_pages",
          "valueType" : "string",
          "description" : "The number of pages",
          "required" : false
        },
        {
          "key" : "chapter",
          "valueType" : "string",
          "description" : "The chapter name of the sample",
          "required" : false
        },
        {
          "key" : "pages",
          "valueType" : "string",
          "description" : "The starting and ending pages of the sample",
          "required" : false
        }
      ]
    },
    "incollection" : {
      "categories" : ["bibliographicResource", "childResource"],

      "properties" : [
        {
          "key" : "booktitle",
          "valueType" : "string",
          "description" : "The title of the parent book",
          "required" : false
        },
        {
          "key" : "organization",
          "valueType" : "string",
          "description" : "The organization behind this resource.",
          "required" : false
        },
        {
          "key" : "pages",
          "valueType" : "string",
          "description" : "The starting and ending pages of the sample",
          "required" : false
        },
        {
          "key" : "publisher",
          "valueType" : "string",
          "description" : "The publisher's name",
          "required" : true
        },
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication",
          "required" : false
        }
      ]
    },
    "inproceedings" : {
      "categories" : ["bibliographicResource", "childResource"],

      "properties" : [
        {
          "key" : "organization",
          "valueType" : "string",
          "description" : "The organization behind this resource.",
          "required" : false
        },
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication",
          "required" : false
        },
        {
          "key" : "pages",
          "valueType" : "string",
          "description" : "The starting and ending pages of the sample",
          "required" : false
        },
        {
          "key" : "publisher",
          "valueType" : "string",
          "description" : "The publisher's name",
          "required" : true
        }
      ]
    },
    "inherits" : {
      "categories" : ["bibliographicResource"],

      "properties" : []
    },
    "manual" : {
      "categories" : ["bibliographicResource"],

      "properties" : [
        {
          "key" : "edition",
          "valueType" : "string",
          "description" : "The edition of the publication",
          "required" : false
        },
        {
          "key" : "organization",
          "valueType" : "string",
          "description" : "The organization behind this resource.",
          "required" : false
        },
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication",
          "required" : false
        }
      ]
    },
    "mastersthesis" : {
      "categories" : ["bibliographicResource"],

      "properties" : [
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication.",
          "required" : false
        },
        {
          "key" : "school",
          "valueType" : "string",
          "description" : "The school to which the document has been submitted.",
          "required" : false
        }
      ]
    },
    "phdthesis" :{
      "categories" : ["bibliographicResource"],

      "properties" : [
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication.",
          "required" : false
        },
        {
          "key" : "school",
          "valueType" : "string",
          "description" : "The school to which the document has been submitted.",
          "required" : false
        }
      ]
    },
    "proceedings" : {
      "categories" : ["bibliographicResource"],

      "properties" : [
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication.",
          "required" : false
        },
        {
          "key" : "organization",
          "valueType" : "string",
          "description" : "The organization behind this resource.",
          "required" : false
        },
        {
          "key" : "publisher",
          "valueType" : "string",
          "description" : "The publisher's name",
          "required" : true
        }
      ]
    },
    "techreport" : {
      "categories" : ["bibliographicResource"],

      "properties" : [
        {
          "key" : "address",
          "valueType" : "string",
          "description" : "The address of publication.",
          "required" : false
        },
        {
          "key" : "institution",
          "valueType" : "string",
          "description" : "The institution behind the report.",
          "required" : false
        },
        {
          "key" : "number",
          "valueType" : "string",
          "description" : "The number of the tech report.",
          "required" : false
        }
      ]
    },
    "unpublished" : {
      "categories" : ["bibliographicResource"],

      "properties" : []
    },
    "misc" : {
      "categories" : ["bibliographicResource"],

      "properties" : [
        {
          "key" : "howpublished",
          "valueType" : "string",
          "description" : "Details about the publication context.",
          "required" : false
        }
      ]
    },


    "person" : {
      "categories" : ["entityResource"],
      "defaultContextualizer_inline" : "entityinline",
      "defaultContextualizer_block" : "entitycartel",
      "properties" : [
        {
          "key" : "firstname",
          "valueType" : "string",
          "description" : "First name of the person.",
          "required" : true
        },
        {
          "key" : "lastname",
          "valueType" : "string",
          "description" : "Last name of the person.",
          "required" : true
        }
      ]
    },
    "place" : {
      "categories" : ["entityResource"],
      "defaultContextualizer_inline" : "entityinline",
      "defaultContextualizer_block" : "entitycartel",
      "properties" : []
    },
    "subject" : {
      "categories" : ["entityResource"],
      "defaultContextualizer_inline" : "entityinline",
      "defaultContextualizer_block" : "entitycartel",
      "properties" : []
    },
    "concept" : {
      "categories" : ["entityResource"],
      "defaultContextualizer_inline" : "entityinline",
      "defaultContextualizer_block" : "entitycartel",
      "properties" : []
    },
    "organization" : {
      "categories" : ["entityResource"],
      "defaultContextualizer_inline" : "entityinline",
      "defaultContextualizer_block" : "entitycartel",
      "properties" : []
    },
    "technology" : {
      "categories" : ["entityResource"],
      "defaultContextualizer_inline" : "entityinline",
      "defaultContextualizer_block" : "entitycartel",
      "properties" : []
    },
    "artefact" : {
      "categories" : ["entityResource"],
      "defaultContextualizer_inline" : "entityinline",
      "defaultContextualizer_block" : "entitycartel",
      "properties" : []
    }
  }
}
