{

"components": {
  "schemas": {
    "request": {
      "type": "object",
      "xml": { "name": "/" },
      "properties": {
        "change_request": {
          "type": "object",
          "properties": {
            "site_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
            "department_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" },
            "priority": { "type": "string", "example": "High" },
            "change_plan": { "type": "string", "example": "Change Plan" },
            "test_plan": { "type": "string", "example": "Test Plan" },
            "rollback_plan": { "type": "string", "example": "Rollback Plan" },
            "assignee": { "$ref": "../../components.json#/components/request/schemas/association_by_email" },
            "request_variables_attributes": {
              "anyOf": [
                { "$ref": "../../components.json#/components/request/schemas/variable" },
                { "type": "array", "items": { "$ref": "../../components.json#/components/request/schemas/variable" } }
              ]
            }
          }
        }
      }
    }
  }
}

}