{
  "$ref": "#/definitions/DtAnalysesCurrentTerm",
  "definitions": {
    "DtAnalysesCurrentTerm": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "since": {
              "type": "string",
              "format": "date",
              "description": "ISO 8601 date (YYYY-MM-DD)."
            },
            "until": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "not": {}
                    },
                    {
                      "type": "string",
                      "format": "date"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "ISO 8601 date (YYYY-MM-DD). Null/omitted if ongoing or unknown."
            },
            "until_latest": {
              "anyOf": [
                {
                  "anyOf": [
                    {
                      "not": {}
                    },
                    {
                      "type": "string",
                      "format": "date"
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ],
              "description": "ISO 8601 date (YYYY-MM-DD). Latest possible end date."
            },
            "identifiers": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "scheme": {
                    "type": "string"
                  },
                  "identifier": {
                    "type": "string"
                  }
                },
                "required": [
                  "scheme",
                  "identifier"
                ],
                "additionalProperties": false
              }
            },
            "note": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "name",
            "since"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}