{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new or updates an existing custom property that is defined for an organization.\n\nTo use this endpoint, the authenticated user must be one of:\n- An administrator for the organization.\n- A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."},"custom_property_name":{"type":"string","description":"The custom property name"}},"required":["org","custom_property_name"],"additionalProperties":false},"body":{"$ref":"#/definitions/custom-property-set-payload","examples":[{"value_type":"single_select","required":true,"default_value":"production","description":"Prod or dev environment","allowed_values":["production","development"]}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"custom-property-set-payload":{"title":"Custom Property Set Payload","description":"Custom property set payload","type":"object","properties":{"value_type":{"type":"string","enum":["string","single_select","multi_select","true_false","url"],"description":"The type of the value for the property","examples":["single_select"]},"required":{"type":"boolean","description":"Whether the property is required."},"default_value":{"oneOf":[{"type":["string","null"]},{"type":"array","items":{"type":"string"}}],"description":"Default value of the property"},"description":{"type":["string","null"],"description":"Short description of the property"},"allowed_values":{"type":["array","null"],"items":{"type":"string"},"description":"An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values."},"values_editable_by":{"type":["string","null"],"enum":["org_actors","org_and_repo_actors"],"description":"Who can edit the values of the property","examples":["org_actors"]},"require_explicit_values":{"type":"boolean","description":"Whether setting properties values is mandatory"}},"required":["value_type"]}}},"name":"Create or update a custom property for an organization","id":"github.orgs.custom-properties-for-repos-create-or-update-organization-definition","example":{"path":{"org":"example","custom_property_name":"example"},"body":{"value_type":"single_select"}},"maxRequests":1,"summary":false}}