Newer
Older
dmpopidor / config / schemas / main / Partner-schema.json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "../Documentation/Implementation/data_model/JSON/",
  "title": "Partner",
  "description": "Schema describing a partner",
  "type": "object",
  "properties": {
    "name": {
      "label": "Name",
      "type": "string",
      "description": "Name of the research organization or structure"
    },
    "orgId": {
      "label": "Org ID",
      "type": "object",
      "classname": "identifier",
      "properties": {
        "dbid": {
          "type": "number"
        }
      },
      "required": ["dbid"]
    },
    "dataPolicyUrl": {
      "label": "Data policy URL",
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "name",
    "orgId"
  ]
}