initial author handle and winner JSON files ideas

The `tmp/example.author_handle.json' is an initial concept for a
JSON file describing people who have won the IOCCC at least once.
If this example described a real winner, the filename would be:

```
author/author_handle.json
```

The `tmp/example.dot_winner.json` is an initial concept for a
JSON file describing an entry what won the IOCCC.
If this example described a real entry, the filename would be:

```
2024/dirname/.winner.json
```

These files are "works in progress" and are subject to change.
There is currently NO code that generates, nor manages these files.

Suggestions and questions are welcome.
This commit is contained in:
Landon Curt Noll committed 2023-04-12 12:48:11 +09:30
1 parent eca3fc6845
commit 33b4ba4eb5
2 files changed
+144

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{
"no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
"author_version" : "0.0 2023-04-12",
"author_handle" : "first0_last0",
"full_name" : "First Middle Last",
"location_code" : "AU",
"location_name" : "Australia",
"email" : "user0@example.com",
"url" : "https:\/\/a.host0.example.com\/index.html",
"alt_url" : "https:\/\/b.host0.example.com\/index.html",
"mastodon" : "@mastodon0@example.com",
"mastodon_url" : "https:\/\/example.org\/@mastodon0",
"github" : "@github0",
"affiliation" : "an affiliation group",
"winning_entry_set" : [
{ "IOCCC_entry_handle" : "1987_somedir" },
{ "IOCCC_entry_handle" : "2020_entrydir" },
{ "IOCCC_entry_handle" : "2024_dirname" }
]
}
+124
View File
@@ -0,0 +1,124 @@
{
"no_comment" : "mandatory comment: because comments were removed from the original JSON spec",
"winner_version" : "0.0 2023-04-12",
"IOCCC_award" : "Best award title",
"IOCCC_contest" : "IOCCC28",
"IOCCC_year_dir" : 2024,
"IOCCC_dirname" : "dirname",
"IOCCC_entry_handle" : "2024_dirname",
"author_set" : [
{ "author_handle" : "first0_last0" },
{ "author_handle" : "first1_last1" },
{ "author_handle" : "first2_last2" }
],
"manifest" : [
{
"filename" : "index.html",
"filetype" : "html",
"created_by" : "README2index",
"winners.html_show" : true,
"winners.html_display_via" : "browser",
"winners.html_extra_text" : " - click here first",
"winners.html_rank" : 10
},
{
"filename" : "README.md",
"filetype" : "markdown",
"created_by" : null,
"winners.html_show" : false,
"winners.html_display_via" : null,
"winners.html_extra_text" : null,
"winners.html_rank" : null
},
{
"filename" : "prog.c",
"filetype" : "c",
"created_by" : null,
"winners.html_show" : true,
"winners.html_display_via" : "GitHub",
"winners.html_extra_text" : " - winning source code",
"winners.html_rank" : 20
},
{
"filename" : "Makefile",
"filetype" : "make",
"created_by" : null,
"winners.html_show" : true,
"winners.html_display_via" : "GitHub",
"winners.html_extra_text" : " - how to compile",
"winners.html_rank" : 30
},
{
"filename" : "prog.alt.c",
"filetype" : "c",
"created_by" : null,
"winners.html_show" : true,
"winners.html_display_via" : "GitHub",
"winners.html_extra_text" : " - alternative program to try",
"winners.html_rank" : 40
},
{
"filename" : "raw_data.file",
"filetype" : "data",
"created_by" : null,
"winners.html_show" : true,
"winners.html_display_via" : "download_only",
"winners.html_extra_text" : " - optional argument",
"winners.html_rank" : 100
},
{
"filename" : "chocolate_cake.jpg",
"filetype" : "image",
"created_by" : null,
"winners.html_show" : true,
"winners.html_display_via" : "browser",
"winners.html_extra_text" : " - required argument",
"winners.html_rank" : 100
},
{
"filename" : "magic.txt",
"filetype" : "text",
"created_by" : null,
"winners.html_show" : true,
"winners.html_display_via" : "download_only",
"winners.html_extra_text" : " - required data file",
"winners.html_rank" : 100
},
{
"filename" : "spoliler.md",
"filetype" : "markdown",
"created_by" : null,
"winners.html_show" : false,
"winners.html_display_via" : null,
"winners.html_extra_text" : null,
"winners.html_rank" : null
},
{
"filename" : "spoliler.html",
"filetype" : "html",
"created_by" : "md2html",
"winners.html_show" : true,
"winners.html_display_via" : "browser",
"winners.html_extra_text" : " - Spoiler warning",
"winners.html_rank" : 200
},
{
"filename" : ".gitignore",
"filetype" : "gitignore",
"created_by" : null,
"winners.html_show" : false,
"winners.html_display_via" : null,
"winners.html_extra_text" : null,
"winners.html_rank" : null
},
{
"filename" : ".winner.json",
"filetype" : "JSON",
"created_by" : "jwinner",
"winners.html_show" : false,
"winners.html_display_via" : null,
"winners.html_extra_text" : null,
"winners.html_rank" : null
}
]
}