{
"components": { "schemas": { "request": { "post": { "type": "object", "xml": { "name": "/" }, "properties": { "problem": { "type": "object", "required": ["name"], "properties": { "$ref": "problem.json#/components/schemas/request_properties" } } } }, "put": { "type": "object", "xml": { "name": "/" }, "properties": { "problem": { "type": "object", "properties": { "$ref": "problem.json#/components/schemas/request_properties" } } } } }, "request_properties": { "name": { "type": "string", "example": "Problem Name" }, "description": { "$ref": "../../components.json#/components/common/schemas/string_or_null" }, "site": { "$ref": "../../components.json#/components/request/schemas/association_by_name" }, "department": { "$ref": "../../components.json#/components/request/schemas/association_by_name" }, "site_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "department_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "state": { "type": "string", "example": "New" }, "requester": { "$ref": "../../components.json#/components/request/schemas/association_by_email" }, "assignee": { "$ref": "../../components.json#/components/request/schemas/association_by_email" }, "priority": { "type": "string", "example": "High" }, "root_cause": { "type": "string", "example": "Root cause description" }, "symptoms": { "type": "string", "example": "Symptoms description" }, "workaround": { "type": "string", "example": "workaround description" }, "add_to_tag_list": { "type": "string", "example": "tag1" }, "remove_from_tag_list": { "type": "string", "example": "tag2" }, "tag_list": { "type": "string", "example": "tag1" }, "custom_fields_values": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values" }, "custom_fields_values_attributes": { "$ref": "../../components.json#/components/request/schemas/custom_fields_values_attributes" }, "incident_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "itsm_change_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "configuration_item_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" } }, "response": { "type": "object", "xml": { "name": "/", "wrapped": true }, "properties": { "problem": { "type": "object", "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "Problem Name" }, "description": { "type": "string", "example": "description" }, "site": { "$ref": "../../components.json#/components/response/schemas/site_response" }, "department": { "$ref": "../../components.json#/components/response/schemas/department_response" }, "state": { "type": "string", "example": "New" }, "priority": { "type": "string", "example": "High" }, "root_cause": { "type": "string", "example": "Root cause description" }, "symptoms": { "type": "string", "example": "Symptoms description" }, "workaround": { "type": "string", "example": "Workaround description" }, "created_by": { "$ref": "../../components.json#/components/response/schemas/user_details" }, "assignee": { "$ref": "../../components.json#/components/response/schemas/group_details" }, "requester": { "$ref": "../../components.json#/components/response/schemas/user_details" }, "custom_fields_values": { "$ref": "../../components.json#/components/response/schemas/custom_fields_values" }, "tags": { "$ref": "../../components.json#/components/response/schemas/tags" }, "incidents": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "changes": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "configuration_items": { "$ref": "../../components.json#/components/response/schemas/response_attachments" } } } } } } }
}