diff --git a/grand_challenge_forge/partials/pack-readme/README.md.j2 b/grand_challenge_forge/partials/pack-readme/README.md.j2 index 125a718..d30fed3 100644 --- a/grand_challenge_forge/partials/pack-readme/README.md.j2 +++ b/grand_challenge_forge/partials/pack-readme/README.md.j2 @@ -4,7 +4,8 @@ Thank you for hosting your challenge on Grand-Challenge.org, we appreciate it! ## Content This Challenge Pack is a collection of challenge-tailored examples to help you on your -way to host your {{ challenge.slug }} challenge. +way to host your [{{ challenge.slug }} challenge]({{ challenge.url }}). + It contains the following: * ️🦾 An example script to _automate uploading_ data to an archive diff --git a/grand_challenge_forge/schemas.py b/grand_challenge_forge/schemas.py index dafa6ab..0adb2a5 100644 --- a/grand_challenge_forge/schemas.py +++ b/grand_challenge_forge/schemas.py @@ -40,6 +40,7 @@ "type": "object", "properties": { "slug": {"type": "string"}, + "url": {"type": "string"}, "archives": {"type": "array", "items": ARCHIVE_SCHEMA}, "phases": { "type": "array", @@ -67,7 +68,7 @@ }, }, }, - "required": ["slug", "phases", "archives"], + "required": ["slug", "url", "phases", "archives"], }, }, "required": ["challenge"], diff --git a/tests/utils.py b/tests/utils.py index 49a7bbc..60e830f 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -12,6 +12,7 @@ DEFAULT_PACK_CONTEXT_STUB = { "challenge": { "slug": "challenge-slug", + "url": "https://challenge-slug.grand-challenge.org/", "archives": [ { "slug": "archive-slug",