{
  "$id": "https://schemas.dissco.tech/schemas/fdo-profile/tettris-service/0.1.0/tettris-service-request.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "FDO Profile for PID Request for TETTRIs Service",
  "$comment": "FDO Profile Version 0.1.0",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "PID of the Digital Object Type"
        },
        "attributes": {
          "type": "object",
          "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"
            },
            "resourceType": {
              "enum": [
                "Digital",
                "Physical",
                "Expertise"
              ],
              "$comment": "idx = 350"
            },
            "serviceCategory": {
              "enum": [
                "reference collections",
                "training datasets",
                "R-packages",
                "Identification tools",
                "MAS",
                "lab tools",
                "crowd sourcing tools for digitisation",
                "training platforms (DEST)"
              ],
              "$comment": "idx = 351"
            },
            "taxonomicTopic": {
              "type": "string",
              "$comment": "idx = 352",
              "$comment": "Vocabulary yet to be defined"
            }
          },
          "required": [
            "issuedForAgent"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "type",
        "attributes"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}