{

"components": {
  "schemas": {
    "request": {
      "type": "object",
      "xml": { "name": "/" },
      "properties": {
        "incident": {
          "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" },
            "requester_name": { "type": "string", "format": "email", "example": "john.doe@email.com" },
            "priority": { "type": "string", "example": "High" },
            "due_at": { "type": "string", "example": "Jan 01,2025" },
            "add_to_tag_list": { "type": "string", "example": "tag1, tag2" },
            "remove_from_tag_list": { "type": "string", "example": "tag3" },
            "tag_list": { "type": "string", "example": "tag1, tag2" },
            "request_variables_attributes": {
              "anyOf": [
                { "$ref": "../../components.json#/components/request/schemas/variable" },
                { "type": "array", "items": { "$ref": "../../components.json#/components/request/schemas/variable" } }
              ]
            }
          }
        }
      }
    }
  }
}

}