{
  "$ref": "#/definitions/DtAnalysesAllGroups",
  "definitions": {
    "DtAnalysesAllGroups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "description": "Primary name."
          },
          "other_names": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                },
                "start_date": {
                  "type": "string"
                },
                "end_date": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "additionalProperties": false
            },
            "description": "Alternate and former names."
          },
          "identifiers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "scheme": {
                  "type": "string"
                },
                "identifier": {
                  "type": "string"
                }
              },
              "required": [
                "scheme",
                "identifier"
              ],
              "additionalProperties": false
            }
          },
          "classification": {
            "type": "string",
            "description": "Organizational category, e.g., committee, party."
          },
          "parent": {
            "type": "string",
            "description": "Human name or object ref (use parent_id for linkage)."
          },
          "parent_id": {
            "type": "string",
            "description": "ID of the parent org."
          },
          "area_id": {
            "type": "string",
            "description": "Related geographic area ID."
          },
          "summary": {
            "type": "string",
            "description": "One-line description."
          },
          "description": {
            "type": "string",
            "description": "Longer description."
          },
          "founding_date": {
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "dissolution_date": {
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "image": {
            "type": "string",
            "format": "uri"
          },
          "contact_details": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false
            }
          },
          "links": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "note": {
                  "type": "string"
                }
              },
              "required": [
                "url"
              ],
              "additionalProperties": false
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "note": {
                  "type": "string"
                }
              },
              "required": [
                "url"
              ],
              "additionalProperties": false
            }
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}