{
"components": { "schemas": { "request": { "post": { "type": "object", "xml": { "name": "/" }, "properties": { "change_catalog": { "type": "object", "required": ["name", "change_type"], "properties": { "$ref": "change_catalog.json#/components/schemas/request_properties" } } } }, "put": { "type": "object", "xml": { "name": "/" }, "properties": { "change_catalog": { "type": "object", "properties": { "$ref": "change_catalog.json#/components/schemas/request_properties" } } } } }, "request_properties": { "name": { "type": "string", "example": "Change Name" }, "change_type": { "type": "integer", "example": 1 }, "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": "Approved" }, "default_assignee_id": { "$ref": "../../components.json#/components/common/schemas/association_by_id" }, "priority": { "type": "string", "example": "High" }, "change_plan": { "type": "string", "example": "change plan" }, "rollback_plan": { "type": "string", "example": "rollback plan" }, "test_plan": { "type": "string", "example": "test plan" }, "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" }, "add_to_tag_list": { "type": "string", "example": "tag1" }, "remove_from_tag_list": { "type": "string", "example": "tag2" }, "tag_list": { "type": "string", "example": "tag1" }, "show_in_portal": { "type": "boolean", "example": true } }, "response": { "type": "object", "xml": { "name": "/", "wrapped": true }, "properties": { "change_catalog": { "type": "object", "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "Change 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": "Approved" }, "priority": { "type": "string", "example": "High" }, "change_plan": { "type": "string", "example": "change plan" }, "rollback_plan": { "type": "string", "example": "rollback plan" }, "test_plan": { "type": "string", "example": "test plan" }, "created_by": { "$ref": "../../components.json#/components/response/schemas/user_details" }, "default_assignee": { "$ref": "../../components.json#/components/response/schemas/group_details" }, "custom_fields_values": { "$ref": "../../components.json#/components/response/schemas/custom_fields_values" }, "tags": { "$ref": "../../components.json#/components/response/schemas/tags" }, "created_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" }, "show_in_portal": { "type": "boolean", "example": true } } } } } } }
}