University of Basel · JSON Structure

University Of Basel Group Structure

JSON Structure for a DaSCH Service Platform (DSP-API) user group, derived from the live OpenAPI 3.1 description at https://api.dasch.swiss/api/docs/docs.yaml

Type: object Properties: 6 Required: 4
EducationHigher EducationUniversitySwitzerlandResearch DataOpen AccessInstitutional RepositoryLibraryDigital Humanities

Group is a JSON Structure definition published by University of Basel, describing 6 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

id name descriptions project status selfjoin

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

university-of-basel-group-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/university-of-basel/main/json-structure/university-of-basel-group-structure.json",
  "name": "Group",
  "description": "JSON Structure for a DaSCH Service Platform (DSP-API) user group, derived from the live OpenAPI 3.1 description at https://api.dasch.swiss/api/docs/docs.yaml",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "IRI identifying the group."
    },
    "name": {
      "type": "string"
    },
    "descriptions": {
      "type": "array",
      "items": {
        "type": {
          "$ref": "#/definitions/StringLiteral"
        }
      }
    },
    "project": {
      "type": {
        "$ref": "#/definitions/ProjectRef"
      }
    },
    "status": {
      "type": "boolean"
    },
    "selfjoin": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "name",
    "status",
    "selfjoin"
  ],
  "definitions": {
    "StringLiteral": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "language": {
          "type": "string"
        }
      },
      "required": [
        "value"
      ]
    },
    "ProjectRef": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "shortname": {
          "type": "string"
        },
        "shortcode": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "shortname",
        "shortcode"
      ]
    }
  }
}