{
  "type": "object",
  "properties": {
    "": {
      "type": "object",
      "properties": {
        "governs": {
          "type": "object",
          "ref": "#/definitions/SimpleArea"
        },
        "hasInformAccess": {
          "type": "boolean"
        },
        "hasVfMAccess": {
          "type": "boolean"
        },
        "identifier": {
          "type": "string"
        },
        "isSubscribed": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "licences": {
          "type": "array",
          "ref": "#/definitions/Licence"
        },
        "organisationType": {
          "type": "object",
          "ref": "#/definitions/OrganisationType"
        },
        "shortLabel": {
          "type": "string"
        },
        "uniqueIdentifier": {
          "type": "string"
        }
      }
    }
  },
  "definitions": {
    "AreaType": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "isGroup": {
          "type": "boolean"
        },
        "isLocalAuthority": {
          "type": "boolean"
        },
        "isOfficial": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "longLabel": {
          "type": "string"
        },
        "shortLabel": {
          "type": "string"
        }
      }
    },
    "ComparisonGroup": {
      "type": "object",
      "properties": {
        "bottomTier": {
          "type": "object",
          "ref": "#/definitions/SimpleComparisonGroup"
        },
        "identifier": {
          "type": "string"
        },
        "isCustom": {
          "type": "boolean"
        },
        "isHidden": {
          "type": "boolean"
        },
        "isMain": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "members": {
          "type": "array",
          "ref": "#/definitions/SimpleArea"
        },
        "owners": {
          "type": "array",
          "ref": "#/definitions/SimpleArea"
        },
        "topTier": {
          "type": "object",
          "ref": "#/definitions/SimpleComparisonGroup"
        },
        "type": {
          "type": "object",
          "ref": "#/definitions/SimpleComparisonGroupType"
        }
      }
    },
    "Licence": {
      "type": "object",
      "properties": {
        "allowAllAreas": {
          "type": "boolean"
        },
        "id": {
          "type": "integer"
        },
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "OrganisationType": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    },
    "SimpleArea": {
      "type": "object",
      "properties": {
        "areaType": {
          "type": "object",
          "ref": "#/definitions/AreaType"
        },
        "children": {
          "type": "array",
          "ref": "#/definitions/SimpleArea"
        },
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "longLabel": {
          "type": "string"
        },
        "memberOf": {
          "type": "array",
          "ref": "#/definitions/ComparisonGroup"
        },
        "ownerOf": {
          "type": "array",
          "ref": "#/definitions/ComparisonGroup"
        },
        "parents": {
          "type": "array",
          "ref": "#/definitions/SimpleArea"
        },
        "shortLabel": {
          "type": "string"
        }
      }
    },
    "SimpleComparisonGroup": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "isCustom": {
          "type": "boolean"
        },
        "isHidden": {
          "type": "boolean"
        },
        "isMain": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "members": {
          "type": "array",
          "ref": "#/definitions/SimpleArea"
        },
        "owners": {
          "type": "array",
          "ref": "#/definitions/SimpleArea"
        },
        "type": {
          "type": "object",
          "ref": "#/definitions/SimpleComparisonGroupType"
        }
      }
    },
    "SimpleComparisonGroupType": {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      }
    }
  }
}