No project description provided
Project description
Content CLI Tools
Module Repository Validator
Validates that a module repo structure and content is valid, based
on the following rules:
* metadata.yml exists
* metadata.yml is valid
* validate JSON schema
* docker-compose.yml exists
* docker-compose.yml is valid
* validate JSON schema
* english.md exists
* validating english.md:
* pages:
* unique IDs
* all pages contain a valid ID
* all pages have a name
* all images referenced in md exist as static files
* activities:
* all activities have an unique `id`
* all activities have `type` defined
* input:
* has required `correct-answer` tag
* multiple-choice:
* has required `answer` (many) tags
* at least one answer is marked as `is-correct`
* when more than one answer is correct, `widget` has to be `checkbox`
* code:
* `template` and `device` attrs are defined
* has required `validation-code` tag
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dw_content_tools-0.1.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for dw_content_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d40d4b92d1aa9ebd356efa7bd4ed44a85c770118d25b361dabd64f7922ef0e |
|
MD5 | ac443ffc66cbdae3595d7e8ab9024954 |
|
BLAKE2b-256 | 1197782a78b50dd4a6e88f133aa664817e0a4ad588c81a0cec2f13282a6034f7 |