{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Add a field to a specified user owned project.","properties":{"path":{"type":"object","properties":{"username":{"type":"string","description":"The handle for the GitHub user account."},"project_number":{"type":"integer","description":"The project's number."}},"required":["username","project_number"],"additionalProperties":false},"body":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","description":"The name of the field."},"data_type":{"type":"string","description":"The field's data type.","enum":["text","number","date"]}},"required":["name","data_type"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","description":"The name of the field."},"data_type":{"type":"string","description":"The field's data type.","enum":["single_select"]},"single_select_options":{"type":"array","description":"The options available for single select fields. At least one option must be provided when creating a single select field.","items":{"$ref":"#/definitions/projects-v2-field-single-select-option"}}},"required":["name","data_type","single_select_options"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","description":"The name of the field."},"data_type":{"type":"string","description":"The field's data type.","enum":["iteration"]},"iteration_configuration":{"$ref":"#/definitions/projects-v2-field-iteration-configuration"}},"required":["name","data_type","iteration_configuration"],"additionalProperties":false}],"examples":[{"name":"Team notes","data_type":"text"}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"projects-v2-field-single-select-option":{"type":"object","properties":{"name":{"type":"string","description":"The display name of the option."},"color":{"type":"string","description":"The color associated with the option.","enum":["BLUE","GRAY","GREEN","ORANGE","PINK","PURPLE","RED","YELLOW"]},"description":{"type":"string","description":"The description of the option."}},"additionalProperties":false},"projects-v2-field-iteration-configuration":{"type":"object","description":"The configuration for iteration fields.","required":["start_date","duration"],"properties":{"start_date":{"type":"string","format":"date","description":"The start date of the first iteration."},"duration":{"type":"integer","description":"The default duration for iterations in days. Individual iterations can override this value."},"iterations":{"type":"array","description":"Zero or more iterations for the field.","items":{"type":"object","additionalProperties":false,"required":["title","start_date","duration"],"properties":{"title":{"type":"string","description":"The title of the iteration."},"start_date":{"type":"string","format":"date","description":"The start date of the iteration."},"duration":{"type":"integer","description":"The duration of the iteration in days."}}}}}}}},"name":"Add field to user owned project","id":"github.projects.add-field-for-user","example":{"path":{"username":"example","project_number":1},"body":{"name":"Team notes","data_type":"text"}},"maxRequests":1,"summary":false}}