Skip to content

Commit e875b3c

Browse files
authored
Adopting Berlin Code of Conduct for Express Zod API (#2845)
- Adopting from https://berlincodeofconduct.org/en - According to the license https://creativecommons.org/licenses/by-sa/4.0/ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Replaced the previous Code of Conduct with a new, community-specific version emphasizing inclusivity, respectful participation, and clear reporting procedures. * Updated behavioral expectations, detailed unacceptable behaviors, outlined consequences for violations, and clarified the scope of applicability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent b62608a commit e875b3c

1 file changed

Lines changed: 96 additions & 132 deletions

File tree

CODE_OF_CONDUCT.md

Lines changed: 96 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -1,132 +1,96 @@
1-
# Contributor Covenant Code of Conduct
2-
3-
## Our Pledge
4-
5-
We as members, contributors, and leaders pledge to make participation in our
6-
community a harassment-free experience for everyone, regardless of age, body
7-
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, caste, color, religion, or sexual
10-
identity and orientation.
11-
12-
We pledge to act and interact in ways that contribute to an open, welcoming,
13-
diverse, inclusive, and healthy community.
14-
15-
## Our Standards
16-
17-
Examples of behavior that contributes to a positive environment for our
18-
community include:
19-
20-
- Demonstrating empathy and kindness toward other people
21-
- Being respectful of differing opinions, viewpoints, and experiences
22-
- Giving and gracefully accepting constructive feedback
23-
- Accepting responsibility and apologizing to those affected by our mistakes,
24-
and learning from the experience
25-
- Focusing on what is best not just for us as individuals, but for the overall
26-
community
27-
28-
Examples of unacceptable behavior include:
29-
30-
- The use of sexualized language or imagery, and sexual attention or advances of
31-
any kind
32-
- Trolling, insulting or derogatory comments, and personal or political attacks
33-
- Public or private harassment
34-
- Publishing others' private information, such as a physical or email address,
35-
without their explicit permission
36-
- Other conduct which could reasonably be considered inappropriate in a
37-
professional setting
38-
39-
## Enforcement Responsibilities
40-
41-
Community leaders are responsible for clarifying and enforcing our standards of
42-
acceptable behavior and will take appropriate and fair corrective action in
43-
response to any behavior that they deem inappropriate, threatening, offensive,
44-
or harmful.
45-
46-
Community leaders have the right and responsibility to remove, edit, or reject
47-
comments, commits, code, wiki edits, issues, and other contributions that are
48-
not aligned to this Code of Conduct, and will communicate reasons for moderation
49-
decisions when appropriate.
50-
51-
## Scope
52-
53-
This Code of Conduct applies within all community spaces, and also applies when
54-
an individual is officially representing the community in public spaces.
55-
Examples of representing our community include using an official e-mail address,
56-
posting via an official social media account, or acting as an appointed
57-
representative at an online or offline event.
58-
59-
## Enforcement
60-
61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement by
63-
[email](https://github.com/RobinTail/express-zod-api/blob/master/package.json#L14).
64-
All complaints will be reviewed and investigated promptly and fairly.
65-
66-
All community leaders are obligated to respect the privacy and security of the
67-
reporter of any incident.
68-
69-
## Enforcement Guidelines
70-
71-
Community leaders will follow these Community Impact Guidelines in determining
72-
the consequences for any action they deem in violation of this Code of Conduct:
73-
74-
### 1. Correction
75-
76-
**Community Impact**: Use of inappropriate language or other behavior deemed
77-
unprofessional or unwelcome in the community.
78-
79-
**Consequence**: A private, written warning from community leaders, providing
80-
clarity around the nature of the violation and an explanation of why the
81-
behavior was inappropriate. A public apology may be requested.
82-
83-
### 2. Warning
84-
85-
**Community Impact**: A violation through a single incident or series of
86-
actions.
87-
88-
**Consequence**: A warning with consequences for continued behavior. No
89-
interaction with the people involved, including unsolicited interaction with
90-
those enforcing the Code of Conduct, for a specified period of time. This
91-
includes avoiding interactions in community spaces as well as external channels
92-
like social media. Violating these terms may lead to a temporary or permanent
93-
ban.
94-
95-
### 3. Temporary Ban
96-
97-
**Community Impact**: A serious violation of community standards, including
98-
sustained inappropriate behavior.
99-
100-
**Consequence**: A temporary ban from any sort of interaction or public
101-
communication with the community for a specified period of time. No public or
102-
private interaction with the people involved, including unsolicited interaction
103-
with those enforcing the Code of Conduct, is allowed during this period.
104-
Violating these terms may lead to a permanent ban.
105-
106-
### 4. Permanent Ban
107-
108-
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
110-
individual, or aggression toward or disparagement of classes of individuals.
111-
112-
**Consequence**: A permanent ban from any sort of public interaction within the
113-
community.
114-
115-
## Attribution
116-
117-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118-
version 2.1, available at
119-
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
120-
121-
Community Impact Guidelines were inspired by
122-
[Mozilla's code of conduct enforcement ladder][mozilla coc].
123-
124-
For answers to common questions about this code of conduct, see the FAQ at
125-
[https://www.contributor-covenant.org/faq][faq]. Translations are available at
126-
[https://www.contributor-covenant.org/translations][translations].
127-
128-
[homepage]: https://www.contributor-covenant.org
129-
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130-
[mozilla coc]: https://github.com/mozilla/diversity
131-
[faq]: https://www.contributor-covenant.org/faq
132-
[translations]: https://www.contributor-covenant.org/translations
1+
# Code of Conduct for the Express Zod API Community
2+
3+
This Code of Conduct is adapted from the [Berlin Code of Conduct](https://berlincodeofconduct.org/en),
4+
licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
5+
6+
Our primary goal is to foster an inclusive, friendly, safe, and welcoming environment for all
7+
contributors, users, and participants in the Express Zod API project, regardless of gender,
8+
sexual orientation, ability, ethnicity, socioeconomic status, or religion.
9+
10+
A supplemental goal is to promote **open-source citizenship** by encouraging all participants to
11+
understand the impact of their actions on the community and to actively counteract inequality and
12+
abuses of power within our project spaces.
13+
14+
## Key Expectations for Participants
15+
16+
The Express Zod API community expects participants to:
17+
18+
- **Participate authentically and actively.** Your contributions should be genuine and made in good
19+
faith towards the project's goals.
20+
- **Exercise consideration and respect** in your speech and actions within all project communications
21+
(e.g., GitHub issues, pull requests, discussions, Discord/chat).
22+
- **Attempt collaboration before conflict.** When disagreements arise, seek to understand different
23+
perspectives and find common ground respectfully before escalating.
24+
- **Refrain from demeaning, discriminatory, or harassing behavior and speech.** This applies to all
25+
online interactions, written communication, and any in-person events related to the project.
26+
- **Be mindful of your surroundings** in shared online spaces. If you notice a dangerous situation,
27+
someone in distress, or violations of this Code of Conduct, please report it to the project
28+
maintainers.
29+
30+
## Unacceptable Behaviors
31+
32+
The following behaviors are considered unacceptable within the Express Zod API community:
33+
34+
- **Intimidating, harassing, abusive, discriminatory, derogatory, or demeaning speech or actions** by
35+
any participant in our community online or in any related context.
36+
- **Harmful or prejudiced comments** related to gender, sexual orientation, disability, mental
37+
illness, neuro(a)typicality, physical appearance, body size, race, ethnicity, age, religion, or
38+
other personal attributes.
39+
- **Inappropriate use of nudity and/or sexual images** in public online spaces (e.g., as profile
40+
pictures, in discussions).
41+
- **Deliberate intimidation, stalking, or following** of community members.
42+
- **Harassing photography or recording** of in-person interactions without explicit consent.
43+
- **Sustained disruption** of discussions, talks, or other online activities.
44+
- **Inappropriate physical contact** (in in-person contexts).
45+
- **Unwelcome sexual attention.** This includes sexualized comments or jokes, inappropriate touching,
46+
groping, and unwelcome sexual advances.
47+
- **Advocating for, or encouraging, any of the above behaviors.**
48+
49+
## Consequences of Unacceptable Behavior
50+
51+
Unacceptable behavior from any participant will not be tolerated.
52+
53+
- Anyone asked to stop unacceptable behavior is expected to comply **immediately**.
54+
- If a participant engages in unacceptable behavior, the project maintainers may take any action they
55+
deem appropriate, including a temporary ban, permanent expulsion from the community, or
56+
editing/deletion of offending content, without warning or refund (if applicable to any paid
57+
access/materials).
58+
59+
## Reporting Guidelines
60+
61+
If you are subject to, or witness, unacceptable behavior, or have any other concerns, please notify
62+
the project maintainers as soon as possible.
63+
64+
**How to Report:**
65+
66+
- **For private and sensitive reports:** Contact the core maintainers directly via
67+
[email](https://github.com/RobinTail/express-zod-api/blob/master/express-zod-api/package.json#L14).
68+
- **For less sensitive or public issues:** You may open a GitHub issue, but be mindful of privacy and
69+
consider if direct email is more appropriate.
70+
71+
Project maintainers will be available to help participants contact local law enforcement, provide
72+
escorts, or otherwise assist those experiencing unacceptable behavior to feel safe. Your grievance
73+
will be handled seriously and investigated according to existing project governing policies. We
74+
respect concerns about false accusations and will handle them according to our project's dispute
75+
resolution processes.
76+
77+
## Scope and Applicability
78+
79+
This Code of Conduct applies to all Express Zod API community participants in all official project
80+
venues, both online and potentially in-person (e.g., meetups, sprints), and in one-on-one
81+
communications related to project business. This includes, but is not limited to:
82+
83+
- The [GitHub repository](https://github.com/RobinTail/express-zod-api);
84+
- GitHub Issues and Pull Requests;
85+
- GitHub Discussions;
86+
- Project-related chat platforms (e.g., Discord, Slack if applicable);
87+
- Any official project social media accounts;
88+
- Any future in-person events or workshops organized by the project.
89+
90+
## License
91+
92+
This Code of Conduct, being a derivative work of the Berlin Code of Conduct, is also licensed under
93+
the [CC BY-SA 4.0 License](https://creativecommons.org/licenses/by-sa/4.0/). You are free to share
94+
and adapt this work, provided you give appropriate credit, provide a link to the license, and
95+
indicate if changes were made. If you remix, transform, or build upon the material, you must
96+
distribute your contributions under the same license as the original.

0 commit comments

Comments
 (0)