Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 2.03 KB

File metadata and controls

37 lines (28 loc) · 2.03 KB

Contributing Guidelines

General

The following general rules apply on this project:

  • All contributions including documentation, filenames and discussions should be written in English language.

Issue tracker

Our issue tracker can be used to discuss problems or additions to the current or next version of the Open Education API specification.

Please follow these guidelines before opening an issue:

  • Make sure your issue is not a duplicate.
  • Make sure your issue is relevant to the specification.

Formatting / naming conventions

  • The spec must comply with the Open API Specification v3.0
  • The spec files must be written in YAML 1.2 format
  • YAML indentation should be 2 spaces (not tabs)
  • YAML string keys/values should be unquoted when quotation is not needed
  • YAML string keys/values should be single-quoted when quotation is needed
  • Duplication should be avoided where possible (e.g. using $ref attributes)
  • Whether property- and relation names are written as single or plural, depends on the cardinality of the property or relation.
  • Parameter or property names are written as lowerCamelCase, also for abbreviations (e.g. educationalDepartmentId).
  • Path names are written as kekab-case (e.g. /educational-departments/{id}).
  • The default order of properties is:
    • Identifier
    • Properties
    • Meta properties (e.g. createdAt)
    • Embedded resource (HAL _embedded object)
    • Resource links (HAL _links object)
  • Links should have descriptive names (e.g. author instead of person for blog posts).
  • Nesting of properties, besides hypermedia controls, is not allowed.
  • Date / date-time properties are formatted conforming to the RFC3339 standard.