The following general rules apply on this project:
- All contributions including documentation, filenames and discussions should be written in English language.
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.
- 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
_embeddedobject) - Resource links (HAL
_linksobject)
- Links should have descriptive names (e.g.
authorinstead ofpersonfor blog posts). - Nesting of properties, besides hypermedia controls, is not allowed.
- Date / date-time properties are formatted conforming to the RFC3339 standard.