{
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": {
        "cacheKey": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "forename": {
          "type": "string"
        },
        "identifier": {
          "type": "string"
        },
        "jobTitle": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "leftDate": {
          "type": "string"
        },
        "mainAdminEmail": {
          "type": "string"
        },
        "mainAdminName": {
          "type": "string"
        },
        "metricAdministrators": {
          "type": "array",
          "ref": "#/definitions/UserResultDTO"
        },
        "metricsAdministrator": {
          "type": "boolean"
        },
        "organisation": {
          "type": "object",
          "ref": "#/definitions/OrganisationInternalResultDTO"
        },
        "partnerOrganisationUser": {
          "type": "boolean"
        },
        "roles": {
          "type": "array"
        },
        "superUser": {
          "type": "boolean"
        },
        "surname": {
          "type": "string"
        }
      }
    }
  },
  "definitions": {
    "AreaResultDTO": {
      "type": "object",
      "properties": {
        "areaType": {
          "type": "object",
          "ref": "#/definitions/AreaTypeResultDTO"
        },
        "boundingBox": {
          "type": "object",
          "ref": "#/definitions/BoundingBox"
        },
        "childOf": {
          "type": "array",
          "ref": "#/definitions/AreaResultDTO"
        },
        "defaultComparisonGroup": {
          "type": "object",
          "ref": "#/definitions/ComparisonGroupResultDTO"
        },
        "governedBy": {
          "type": "object",
          "ref": "#/definitions/OrganisationResultDTO"
        },
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "longLabel": {
          "type": "string"
        },
        "memberOf": {
          "type": "array",
          "ref": "#/definitions/ComparisonGroupResultDTO"
        },
        "ownerOf": {
          "type": "array",
          "ref": "#/definitions/ComparisonGroupResultDTO"
        },
        "shortLabel": {
          "type": "string"
        }
      }
    },
    "AreaTypeResultDTO": {
      "type": "object",
      "properties": {
        "childOf": {
          "type": "array",
          "ref": "#/definitions/AreaTypeResultDTO"
        },
        "description": {
          "type": "string"
        },
        "identifier": {
          "type": "string"
        },
        "isGroup": {
          "type": "boolean"
        },
        "isMain": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "longLabel": {
          "type": "string"
        },
        "memberOf": {
          "type": "array",
          "ref": "#/definitions/AreaTypeResultDTO"
        },
        "parentOf": {
          "type": "array",
          "ref": "#/definitions/AreaTypeResultDTO"
        },
        "sameAs": {
          "type": "array"
        },
        "shortLabel": {
          "type": "string"
        }
      }
    },
    "BoundingBox": {
      "type": "object",
      "properties": {
        "maxLatitude": {
          "type": "number"
        },
        "maxLongitude": {
          "type": "number"
        },
        "minLatitude": {
          "type": "number"
        },
        "minLongitude": {
          "type": "number"
        }
      }
    },
    "ComparisonGroupResultDTO": {
      "type": "object",
      "properties": {
        "bottomTier": {
          "type": "object",
          "ref": "#/definitions/ComparisonGroupResultDTO"
        },
        "identifier": {
          "type": "string"
        },
        "isCustom": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "members": {
          "type": "array",
          "ref": "#/definitions/AreaResultDTO"
        },
        "owners": {
          "type": "array",
          "ref": "#/definitions/AreaResultDTO"
        },
        "topTier": {
          "type": "object",
          "ref": "#/definitions/ComparisonGroupResultDTO"
        },
        "type": {
          "type": "object",
          "ref": "#/definitions/ComparisonGroupTypeResultDTO"
        }
      }
    },
    "ComparisonGroupTypeResultDTO": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "LicenceResultDTO": {
      "type": "object",
      "properties": {
        "allowAllAreas": {
          "type": "boolean"
        },
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "OrganisationInternalResultDTO": {
      "type": "object",
      "properties": {
        "canAccessApplications": {
          "type": "array"
        },
        "governs": {
          "type": "object",
          "ref": "#/definitions/AreaResultDTO"
        },
        "hasInformAccess": {
          "type": "boolean"
        },
        "hasVfMAccess": {
          "type": "boolean"
        },
        "identifier": {
          "type": "string"
        },
        "isSubscribed": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "licences": {
          "type": "array",
          "ref": "#/definitions/LicenceResultDTO"
        },
        "organisationType": {
          "type": "object",
          "ref": "#/definitions/OrganisationTypeResultDTO"
        },
        "shortLabel": {
          "type": "string"
        },
        "subStatus": {
          "type": "string"
        }
      }
    },
    "OrganisationResultDTO": {
      "type": "object",
      "properties": {
        "canAccessApplications": {
          "type": "array"
        },
        "governs": {
          "type": "object",
          "ref": "#/definitions/AreaResultDTO"
        },
        "hasInformAccess": {
          "type": "boolean"
        },
        "hasVfMAccess": {
          "type": "boolean"
        },
        "identifier": {
          "type": "string"
        },
        "isSubscribed": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "licences": {
          "type": "array",
          "ref": "#/definitions/LicenceResultDTO"
        },
        "mainAdminEmail": {
          "type": "string"
        },
        "mainAdminName": {
          "type": "string"
        },
        "organisationType": {
          "type": "object",
          "ref": "#/definitions/OrganisationTypeResultDTO"
        },
        "shortLabel": {
          "type": "string"
        },
        "subStatus": {
          "type": "string"
        }
      }
    },
    "OrganisationTypeResultDTO": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "UserResultDTO": {
      "type": "object",
      "properties": {
        "forename": {
          "type": "string"
        },
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "organisation": {
          "type": "object",
          "ref": "#/definitions/OrganisationResultDTO"
        },
        "superUser": {
          "type": "boolean"
        },
        "surname": {
          "type": "string"
        }
      }
    }
  }
}