{
  "type": "object",
  "required" : [
    "status",
    "applications"
  ],
  "properties" : {
    "status": { "type": "string" },
    "status_reason": { "type": ["string", "null"] },
    "applications": {
      "type": "array",
      "items": { "$ref": "#/definitions/application_status" }
    }
  },
  "additionalProperties": false,
  "definitions": {
    "application_status": {
      "type": "object",
      "additionalProperties": false,
      "properties" : {
        "name": { "type": "string" },
        "status": {
          "type": {
            "enum": [
              "installable",
              "scheduled",
              "installing",
              "installed",
              "errored"
            ]
          }
        },
        "status_reason": { "type": ["string", "null"] },
        "external_ip": { "type": ["string", "null"] },
        "hostname": { "type": ["string", "null"] }
      },
      "required" : [ "name", "status" ]
    }
  }
}

{
  "type": "object",
  "required" : [
    "status",
    "applications"
  ],
  "properties" : {
    "status": { "type": "string" },
    "status_reason": { "type": ["string", "null"] },
    "applications": {
      "type": "array",
      "items": { "$ref": "#/definitions/application_status" }
    }
  },
  "additionalProperties": false,
  "definitions": {
    "application_status": {
      "type": "object",
      "additionalProperties": false,
      "properties" : {
        "name": { "type": "string" },
        "status": {
          "type": {
            "enum": [
              "installable",
              "scheduled",
              "installing",
              "installed",
              "errored"
            ]
          }
        },
        "status_reason": { "type": ["string", "null"] },
        "external_ip": { "type": ["string", "null"] },
        "hostname": { "type": ["string", "null"] },
        "domainname": { "type": ["string", "null"] }
      },
      "required" : [ "name", "status" ]
    }
  }
}

Resolve error with missing attribute in spec fixture
Resolve error with missing attribute in spec fixture
