{
  "$id": "https://schemas.dissco.tech/schemas/fdo-profile/organisation/0.1.0/organisation-request-attributes.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Attributes of a request to the DiSSCo PID API to create a FDO Record for an organisation",
  "$comment": "FDO Profile Version 0.1.0",
  "properties": {
    "pidIssuer": {
      "type": "string",
      "description": "In case of a DOI this is a PID for the DOI Registration Agency",
      "example": "https://hdl.handle.net/10.17183",
      "$comment": "idx = 6"
    },
    "issuedForAgent": {
      "type": "string",
      "description": "In the case of a digital specimen, this is a PID for DiSSCo as the agent responsible for serving the digital specimen object",
      "example": "https://hdl.handle.net/10.22",
      "$comment": "idx = 8"
    },
    "structuralType": {
      "enum": [
        "digital",
        "physical",
        "performance",
        "abstraction"
      ],
      "description": "Nature of the digital object, compatible with DOI schema requirements. The nature of a digital specimen object is always \"digital\". Other digital objects (outside DiSSCo) could be of physical, performance or abstraction nature.",
      "$comment": "idx = 12"
    },
    "locations": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Additional URLs to be appended to the 10320/loc field"
    },
    "referentType": {
      "type": "string",
      "description": "A generic name for the type of object that the DOI refers to. This is different from digitalObjectType that points to a specific type, e.g. there can be different types of digital specimens that each have a slightly different metadata schema because they describe a different kind of specimen, like a botanical versus a geological specimen.",
      "example": "digital specimen",
      "$comment": "idx = 40"
    },
    "referentName": {
      "type": "string",
      "description": "In the case of a digital specimen this is the name for the object in the collection, which can be anything from a taxon name to a collection number.",
      "example": "Mus musculus type 1",
      "$comment": "idx = 42"
    },
    "primaryReferentType": {
      "type": "string",
      "description": "The primary type of the referent in the DOI Kernel XML Schema (e.g. creation, party, event). This is an open list. For digital specimens and media it will always be creation.",
      "example": "creation",
      "$comment": "idx = 43"
    },
    "organisationIdentifier": {
      "type": "string",
      "$comment": "idx = 800"
    },
    "organisationIdentifierType": {
      "type": "string",
      "$comment": "idx = 801"
    }
  },
  "required": [
    "issuedForAgent",
    "organisationIdentifier"
  ],
  "additionalProperties": false
}