"""Request Body Schemas for API Tools

DO NOT EDIT THIS MODULE DIRECTLY.

THIS MODULE WAS AUTO-GENERATED AND CONTAINS OpenAPI REQUEST BODY SCHEMAS
FOR TOOLS WITH COMPLEX REQUEST BODIES. ANY CHANGES TO THIS MODULE WILL
BE OVERWRITTEN BY THE TRANSPILER.
"""

from typing import Any

REQUEST_BODY_SCHEMAS: dict[str, Any] = {
    "UPDATETRELLOCARDCUSTOMFIELD": '{"oneOf": [{"type": "object", "properties": {"value": {"type": "object", "description": "An object containing the key and value to set for the card\'s Custom Field value. The key used to set the value should match the type of Custom Field defined.", "properties": {"text": {"type": "string"}, "checked": {"type": "boolean"}, "date": {"type": "string", "format": "date-time", "example": "2018-03-13T16:00:00.000Z"}, "number": {"type": "number"}}}}}, {"type": "object", "properties": {"idValue": {"type": "string", "pattern": "^[0-9a-fA-F]{24}$", "example": "5abbe4b7ddc1b351ef961414"}}}]}',  # noqa: E501
    "UPDATETRELLOCARDCUSTOMFIELDS": '{"type": "object", "properties": {"customFieldItems": {"type": "array", "description": "An array of objects containing the custom field ID, key and value, and ID of list type option.", "items": {"type": "object", "properties": {"idCustomField": {"pattern": "^[0-9a-fA-F]{32}$", "example": "5abbe4b7ddc1b351ef961414", "description": "The ID of the Custom Field"}, "value": {"type": "object", "description": "An object containing the key and value to set for the card\'s Custom Field value. The key used to set the value should match the type of Custom Field defined. This is optional if Custom Field is list type.", "properties": {"text": {"type": "string"}, "checked": {"type": "boolean"}, "date": {"type": "string", "format": "date-time", "example": "2018-03-13T16:00:00.000Z"}, "number": {"type": "number"}}}, "idValue": {"pattern": "^[0-9a-fA-F]{32}$", "example": "5abbe4b7ddc1b351ef961414", "description": "The ID of the option for the list type Custom Field. This is optional if Custom Field is not list type."}}}}}}',  # noqa: E501
    "CREATETRELLOCUSTOMFIELD": '{"type": "object", "required": ["idModel", "modelType", "name", "type", "pos"], "properties": {"idModel": {"type": "string", "pattern": "^[0-9a-fA-F]{24}$", "example": "5abbe4b7ddc1b351ef961414"}, "modelType": {"enum": ["board"], "type": "string", "description": "The type of model that the Custom Field is being defined on. This should always be `board`."}, "name": {"type": "string", "description": "The name of the Custom Field"}, "type": {"enum": ["checkbox", "list", "number", "text", "date"], "type": "string", "description": "The type of Custom Field to create."}, "options": {"type": "string", "description": "If the type is `checkbox` "}, "pos": {"oneOf": [{"type": "string", "enum": ["top", "bottom"]}, {"type": "number", "format": "float", "example": 1293.5}]}, "display_cardFront": {"type": "boolean", "description": "Whether this Custom Field should be shown on the front of Cards", "default": true}}}',  # noqa: E501
    "UPDATECUSTOMFIELDDEFINITION": '{"type": "object", "properties": {"name": {"type": "string", "description": "The name of the Custom Field"}, "pos": {"oneOf": [{"type": "string", "enum": ["top", "bottom"]}, {"type": "number", "format": "float", "example": 1293.5}]}, "display/cardFront": {"type": "boolean", "description": "Whether to display this custom field on the front of cards"}}}',  # noqa: E501
    "UPDATEMEMBERNOTIFICATIONBLOCKEDKEYS": '{"type": "object", "required": ["channel", "blockedKeys"], "properties": {"channel": {"type": "string", "enum": ["email"], "example": "email"}, "blockedKeys": {"description": "Blocked key or array of blocked keys.", "oneOf": [{"type": "string", "enum": ["notification_comment_card", "notification_added_a_due_date", "notification_changed_due_date", "notification_card_due_soon", "notification_removed_from_card", "notification_added_attachment_to_card", "notification_created_card", "notification_moved_card", "notification_archived_card", "notification_unarchived_card"], "example": "notification_comment_card"}, {"type": "array", "items": {"type": "string", "enum": ["notification_comment_card", "notification_added_a_due_date", "notification_changed_due_date", "notification_card_due_soon", "notification_removed_from_card", "notification_added_attachment_to_card", "notification_created_card", "notification_moved_card", "notification_archived_card", "notification_unarchived_card"], "example": "notification_comment_card"}}]}}}',  # noqa: E501
    "UPDATETRELLOMEMBERNOTIFICATIONSETTINGS": '{"type": "object", "required": ["blockedKeys"], "properties": {"blockedKeys": {"description": "Singular key or array of notification keys", "oneOf": [{"type": "string", "enum": ["notification_comment_card", "notification_added_a_due_date", "notification_changed_due_date", "notification_card_due_soon", "notification_removed_from_card", "notification_added_attachment_to_card", "notification_created_card", "notification_moved_card", "notification_archived_card", "notification_unarchived_card"], "example": "notification_comment_card"}, {"type": "array", "items": {"type": "string", "enum": ["notification_comment_card", "notification_added_a_due_date", "notification_changed_due_date", "notification_card_due_soon", "notification_removed_from_card", "notification_added_attachment_to_card", "notification_created_card", "notification_moved_card", "notification_archived_card", "notification_unarchived_card"], "example": "notification_comment_card"}}]}}}',  # noqa: E501
}
