{
  "type": "object",
  "required" : [
    "id",
    "name",
    "url",
    "primary",
    "enabled",
    "current",
    "files_max_capacity",
    "repos_max_capacity",
    "verification_max_capacity",
    "container_repositories_max_capacity",
    "selective_sync_type",
    "selective_sync_shards",
    "selective_sync_namespace_ids",
    "minimum_reverification_interval",
    "clone_protocol",
    "web_edit_url",
    "_links"
  ],
  "properties" : {
    "id": { "type": "integer" },
    "name": { "type": ["string", "null"] },
    "url": { "type": ["string", "null"] },
    "primary": { "type": "boolean" },
    "internal_url": { "type": ["string", "null"] },
    "enabled": { "type": "boolean" },
    "current": { "type": "boolean" },
    "files_max_capacity": { "type": "integer" },
    "repos_max_capacity": { "type": "integer" },
    "verification_max_capacity": { "type": "integer" },
    "container_repositories_max_capacity": { "type": "integer" },
    "selective_sync_type": { "type": ["string", "null"] },
    "selective_sync_shards": {
      "type": ["array", "null"],
      "items": {
        "type": "string"
      }
    },
    "selective_sync_namespace_ids": {
      "type": ["array", "null"],
      "items": {
        "type": "integer"
      }
    },
    "minimum_reverification_interval": { "type": "integer" },
    "sync_object_storage" : { "type":  "boolean" },
    "clone_protocol": { "type": "string" },
    "web_edit_url": { "type": "string" },
    "web_geo_projects_url" : { "type": ["string", "null"] },
    "_links": {
      "type": "object",
      "required": ["self", "repair"],
      "properties" : {
        "self": { "type": "string" },
        "status": { "type": "string" },
        "repair": { "type": "string" }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
