{
"components": { "schemas": { "request": { "post": { "type": "object", "xml": { "name": "/" }, "properties": { "release": { "type": "object", "required": ["name", "requester"], "properties": { "$ref": "release.json#/components/schemas/request_properties" } } } }, "put": { "type": "object", "xml": { "name": "/" }, "properties": { "release": { "type": "object", "properties": { "$ref": "release.json#/components/schemas/request_properties" } } } } }, "request_properties": { "name": { "type": "string", "example": "Release 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" }, "plan": { "type": "string", "example": "plan description" }, "build": { "type": "string", "example": "build description" }, "deploy": { "type": "string", "example": "deploy description" }, "planned_start_at": { "type": "string", "example": "2025-01-01 00:00" }, "planned_end_at": { "type": "string", "example": "2025-01-01 05:00" }, "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" }, "itsm_change_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "configuration_item_ids": { "$ref": "../../components.json#/components/common/schemas/ids_array" }, "approval_levels_attributes": { "$ref": "../../components.json#/components/request/schemas/approval_levels_attributes" } }, "response": { "type": "object", "xml": { "name": "/", "wrapped": true }, "properties": { "release": { "type": "object", "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "Release 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" }, "plan": { "type": "string", "example": "plan description" }, "build": { "type": "string", "example": "build description" }, "deploy": { "type": "string", "example": "deploy description" }, "planned_start_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" }, "planned_end_at": { "type": "string", "example": "2025-01-01T05:00:00.000+01:00" }, "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" }, "created_at": { "type": "string", "example": "2025-01-01T00:00:00.000+01:00" }, "changes": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "configuration_items": { "$ref": "../../components.json#/components/response/schemas/response_attachments" }, "approvers": { "$ref": "../../components.json#/components/response/schemas/approvers" } } } } } } }
}