{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"path":{"type":"object","properties":{"data_source_id":{"type":"string","minLength":1,"maxLength":2000}},"required":["data_source_id"],"additionalProperties":false},"data":{"type":"object","properties":{"title":{"type":"array","maxItems":100,"items":{"$ref":"#/$defs/richTextItemRequest"}},"icon":{"oneOf":[{"$ref":"#/$defs/pageIconRequest"},{"type":"null"}]},"properties":{"type":"object","additionalProperties":{"oneOf":[{"allOf":[{"type":"object","properties":{"name":{"type":"string","maxLength":64000},"description":{"oneOf":[{"$ref":"#/$defs/propertyDescriptionRequest"},{"type":"null"}]}},"maxProperties":100},{"oneOf":[{"type":"object","required":["number"],"properties":{"type":{"type":"string","const":"number","maxLength":64000},"number":{"type":"object","properties":{"format":{"$ref":"#/$defs/numberFormat"}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["formula"],"properties":{"type":{"type":"string","const":"formula","maxLength":64000},"formula":{"type":"object","properties":{"expression":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["select"],"properties":{"type":{"type":"string","const":"select","maxLength":64000},"select":{"type":"object","properties":{"options":{"type":"array","maxItems":100,"items":{"allOf":[{"type":"object","properties":{"color":{"$ref":"#/$defs/selectColor"},"description":{"oneOf":[{"type":"string","maxLength":64000},{"type":"null"}]}},"maxProperties":100},{"oneOf":[{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":64000},"id":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64000},"name":{"type":"string","maxLength":64000}},"maxProperties":100}]}]}}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["multi_select"],"properties":{"type":{"type":"string","const":"multi_select","maxLength":64000},"multi_select":{"type":"object","properties":{"options":{"type":"array","maxItems":100,"items":{"allOf":[{"type":"object","properties":{"color":{"$ref":"#/$defs/selectColor"},"description":{"oneOf":[{"type":"string","maxLength":64000},{"type":"null"}]}},"maxProperties":100},{"oneOf":[{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":64000},"id":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64000},"name":{"type":"string","maxLength":64000}},"maxProperties":100}]}]}}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["status"],"properties":{"type":{"type":"string","const":"status","maxLength":64000},"status":{"$ref":"#/$defs/statusPropertyConfigUpdateRequest"}},"maxProperties":100},{"type":"object","required":["relation"],"properties":{"type":{"type":"string","const":"relation","maxLength":64000},"relation":{"allOf":[{"type":"object","required":["data_source_id"],"properties":{"data_source_id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100},{"oneOf":[{"type":"object","required":["single_property"],"properties":{"type":{"type":"string","const":"single_property","maxLength":64000},"single_property":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["dual_property"],"properties":{"type":{"type":"string","const":"dual_property","maxLength":64000},"dual_property":{"type":"object","properties":{"synced_property_id":{"type":"string","maxLength":64000},"synced_property_name":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100}]}]}},"maxProperties":100},{"type":"object","required":["rollup"],"properties":{"type":{"type":"string","const":"rollup","maxLength":64000},"rollup":{"allOf":[{"type":"object","required":["function"],"properties":{"function":{"$ref":"#/$defs/rollupFunction"}},"maxProperties":100},{"oneOf":[{"type":"object","required":["relation_property_name","rollup_property_name"],"properties":{"relation_property_name":{"type":"string","maxLength":64000},"rollup_property_name":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"object","required":["relation_property_id","rollup_property_name"],"properties":{"relation_property_id":{"type":"string","maxLength":64000},"rollup_property_name":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"object","required":["relation_property_name","rollup_property_id"],"properties":{"relation_property_name":{"type":"string","maxLength":64000},"rollup_property_id":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"object","required":["relation_property_id","rollup_property_id"],"properties":{"relation_property_id":{"type":"string","maxLength":64000},"rollup_property_id":{"type":"string","maxLength":64000}},"maxProperties":100}]}]}},"maxProperties":100},{"type":"object","required":["unique_id"],"properties":{"type":{"type":"string","const":"unique_id","maxLength":64000},"unique_id":{"type":"object","properties":{"prefix":{"oneOf":[{"type":"string","maxLength":64000},{"type":"null"}]}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["title"],"properties":{"type":{"type":"string","const":"title","maxLength":64000},"title":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["rich_text"],"properties":{"type":{"type":"string","const":"rich_text","maxLength":64000},"rich_text":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["url"],"properties":{"type":{"type":"string","const":"url","maxLength":64000},"url":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["people"],"properties":{"type":{"type":"string","const":"people","maxLength":64000},"people":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["files"],"properties":{"type":{"type":"string","const":"files","maxLength":64000},"files":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["email"],"properties":{"type":{"type":"string","const":"email","maxLength":64000},"email":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["phone_number"],"properties":{"type":{"type":"string","const":"phone_number","maxLength":64000},"phone_number":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["date"],"properties":{"type":{"type":"string","const":"date","maxLength":64000},"date":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["checkbox"],"properties":{"type":{"type":"string","const":"checkbox","maxLength":64000},"checkbox":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["created_by"],"properties":{"type":{"type":"string","const":"created_by","maxLength":64000},"created_by":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["created_time"],"properties":{"type":{"type":"string","const":"created_time","maxLength":64000},"created_time":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["last_edited_by"],"properties":{"type":{"type":"string","const":"last_edited_by","maxLength":64000},"last_edited_by":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["last_edited_time"],"properties":{"type":{"type":"string","const":"last_edited_time","maxLength":64000},"last_edited_time":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100},{"type":"object","required":["place"],"properties":{"type":{"type":"string","const":"place","maxLength":64000},"place":{"$ref":"#/$defs/emptyObject"}},"maxProperties":100}]}]},{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"null"}]},"maxProperties":100},"in_trash":{"type":"boolean"},"parent":{"$ref":"#/$defs/parentOfDataSourceRequest"}},"maxProperties":100}},"required":["path","data"],"additionalProperties":false,"$defs":{"richTextItemRequest":{"allOf":[{"$ref":"#/$defs/richTextItemRequestCommon"},{"oneOf":[{"$ref":"#/$defs/textRichTextItemRequest"},{"$ref":"#/$defs/mentionRichTextItemRequest"},{"$ref":"#/$defs/equationRichTextItemRequest"}]}]},"richTextItemRequestCommon":{"type":"object","properties":{"annotations":{"$ref":"#/$defs/annotationRequest"}},"maxProperties":100},"annotationRequest":{"type":"object","properties":{"bold":{"type":"boolean"},"italic":{"type":"boolean"},"strikethrough":{"type":"boolean"},"underline":{"type":"boolean"},"code":{"type":"boolean"},"color":{"$ref":"#/$defs/apiColor"}},"maxProperties":100},"apiColor":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red","default_background","gray_background","brown_background","orange_background","yellow_background","green_background","blue_background","purple_background","pink_background","red_background"],"maxLength":64000},"textRichTextItemRequest":{"type":"object","required":["text"],"properties":{"type":{"type":"string","const":"text","maxLength":64000},"text":{"type":"object","required":["content"],"additionalProperties":false,"properties":{"content":{"type":"string","maxLength":2000},"link":{"oneOf":[{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"null"}]}},"maxProperties":100}},"maxProperties":100},"mentionRichTextItemRequest":{"type":"object","required":["mention"],"properties":{"type":{"type":"string","const":"mention","maxLength":64000},"mention":{"oneOf":[{"type":"object","required":["user"],"properties":{"type":{"type":"string","const":"user","maxLength":64000},"user":{"$ref":"#/$defs/partialUserObjectRequest"}},"maxProperties":100},{"type":"object","required":["date"],"properties":{"type":{"type":"string","const":"date","maxLength":64000},"date":{"$ref":"#/$defs/dateRequest"}},"maxProperties":100},{"type":"object","required":["page"],"properties":{"type":{"type":"string","const":"page","maxLength":64000},"page":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["database"],"properties":{"type":{"type":"string","const":"database","maxLength":64000},"database":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100}},"maxProperties":100},{"type":"object","required":["template_mention"],"properties":{"type":{"type":"string","const":"template_mention","maxLength":64000},"template_mention":{"$ref":"#/$defs/templateMentionRequest"}},"maxProperties":100},{"type":"object","required":["custom_emoji"],"properties":{"type":{"type":"string","const":"custom_emoji","maxLength":64000},"custom_emoji":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"},"name":{"type":"string","maxLength":64000},"url":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100}]}},"maxProperties":100},"partialUserObjectRequest":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"},"object":{"type":"string","const":"user","maxLength":64000}},"maxProperties":100},"idRequest":{"type":"string","maxLength":64000},"dateRequest":{"type":"object","required":["start"],"additionalProperties":false,"properties":{"start":{"type":"string","maxLength":64000},"end":{"oneOf":[{"type":"string","maxLength":64000},{"type":"null"}]},"time_zone":{"oneOf":[{"$ref":"#/$defs/timeZoneRequest"},{"type":"null"}]}},"maxProperties":100},"timeZoneRequest":{"type":"string","maxLength":64000},"templateMentionRequest":{"oneOf":[{"$ref":"#/$defs/templateMentionDateTemplateMentionRequest"},{"$ref":"#/$defs/templateMentionUserTemplateMentionRequest"}]},"templateMentionDateTemplateMentionRequest":{"type":"object","required":["template_mention_date"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"template_mention_date","maxLength":64000},"template_mention_date":{"type":"string","enum":["today","now"],"maxLength":64000}},"maxProperties":100},"templateMentionUserTemplateMentionRequest":{"type":"object","required":["template_mention_user"],"additionalProperties":false,"properties":{"type":{"type":"string","const":"template_mention_user","maxLength":64000},"template_mention_user":{"type":"string","const":"me","maxLength":64000}},"maxProperties":100},"equationRichTextItemRequest":{"type":"object","required":["equation"],"properties":{"type":{"type":"string","const":"equation","maxLength":64000},"equation":{"type":"object","required":["expression"],"properties":{"expression":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"pageIconRequest":{"oneOf":[{"$ref":"#/$defs/fileUploadPageIconRequest"},{"$ref":"#/$defs/emojiPageIconRequest"},{"$ref":"#/$defs/externalPageIconRequest"},{"$ref":"#/$defs/customEmojiPageIconRequest"},{"$ref":"#/$defs/iconPageIconRequest"}]},"fileUploadPageIconRequest":{"type":"object","required":["file_upload"],"properties":{"type":{"type":"string","const":"file_upload","maxLength":64000},"file_upload":{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"emojiPageIconRequest":{"type":"object","required":["emoji"],"properties":{"type":{"type":"string","const":"emoji","maxLength":64000},"emoji":{"$ref":"#/$defs/emojiRequest"}},"maxProperties":100},"emojiRequest":{"type":"string","maxLength":64000},"externalPageIconRequest":{"type":"object","required":["external"],"properties":{"type":{"type":"string","const":"external","maxLength":64000},"external":{"type":"object","required":["url"],"properties":{"url":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"customEmojiPageIconRequest":{"type":"object","required":["custom_emoji"],"properties":{"type":{"type":"string","const":"custom_emoji","maxLength":64000},"custom_emoji":{"type":"object","required":["id"],"properties":{"id":{"$ref":"#/$defs/idRequest"},"name":{"type":"string","maxLength":64000},"url":{"type":"string","maxLength":64000}},"maxProperties":100}},"maxProperties":100},"iconPageIconRequest":{"type":"object","required":["icon"],"properties":{"type":{"type":"string","const":"icon","maxLength":64000},"icon":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/$defs/noticonName"},"color":{"$ref":"#/$defs/noticonColor"}},"maxProperties":100}},"maxProperties":100},"noticonName":{"type":"string","maxLength":64000},"noticonColor":{"type":"string","enum":["gray","lightgray","brown","yellow","orange","green","blue","purple","pink","red"],"maxLength":64000},"propertyDescriptionRequest":{"type":"string","minLength":1,"maxLength":280},"numberFormat":{"type":"string","maxLength":64000},"selectColor":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red"],"maxLength":64000},"statusPropertyConfigUpdateRequest":{"type":"object","properties":{"options":{"$ref":"#/$defs/statusOptionUpdateRequestArray"}},"maxProperties":100},"statusOptionUpdateRequestArray":{"type":"array","maxItems":100,"items":{"$ref":"#/$defs/statusOptionUpdateRequest"}},"statusOptionUpdateRequest":{"allOf":[{"$ref":"#/$defs/statusOptionUpdateRequestCommon"},{"oneOf":[{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":64000},"id":{"type":"string","maxLength":64000}},"maxProperties":100},{"type":"object","required":["id"],"properties":{"id":{"type":"string","maxLength":64000},"name":{"type":"string","maxLength":64000}},"maxProperties":100}]}]},"statusOptionUpdateRequestCommon":{"type":"object","properties":{"color":{"$ref":"#/$defs/selectColor"},"description":{"oneOf":[{"type":"string","maxLength":64000},{"type":"null"}]},"group":{"$ref":"#/$defs/statusOptionGroup"}},"maxProperties":100},"statusOptionGroup":{"type":"string","enum":["To-do","In progress","Complete"],"maxLength":64000},"emptyObject":{"type":"object","additionalProperties":false,"properties":{},"maxProperties":100},"rollupFunction":{"type":"string","enum":["count","count_values","empty","not_empty","unique","show_unique","percent_empty","percent_not_empty","sum","average","median","min","max","range","earliest_date","latest_date","date_range","checked","unchecked","percent_checked","percent_unchecked","count_per_group","percent_per_group","show_original"],"maxLength":64000},"parentOfDataSourceRequest":{"type":"object","required":["database_id"],"properties":{"type":{"type":"string","const":"database_id","maxLength":64000},"database_id":{"$ref":"#/$defs/idRequest"}},"maxProperties":100}}},"name":"Update a data source","id":"notion.api.update-a-data-source","example":{"path":{"data_source_id":"00000000-0000-0000-0000-000000000001"},"data":{}},"maxRequests":1,"summary":false}}