Skip to content

GitHub: Codes of conduct schemas

1 GitHub schema with complete fields and constraints.

โ† Codes of conduct operations ยท All schemas

Get a code of conduct โ€” response body

FieldTypePresenceDescription and constraints
$objectRootCode Of Conduct
bodystringOptional
html_urlJSONRequired within parent
html_url (anyOf 1)stringAlternativeFormat: uri
html_url (anyOf 2)nullAlternative
keystringRequired within parent
namestringRequired within parent
urlstringRequired within parentFormat: uri

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.