Skip to content

Commit

Permalink
Change structure to previous state
Browse files Browse the repository at this point in the history
  • Loading branch information
Tovmas committed Feb 22, 2024
1 parent c6b5bc6 commit aed274b
Show file tree
Hide file tree
Showing 6 changed files with 379 additions and 178 deletions.
104 changes: 64 additions & 40 deletions _data/_events.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,40 @@
"link2",
"link3"
],
"important_dates": {
"name": "date",
"name_2": "date"
},
"speakers":
{
"type of the speakers": [
"Information about each speaker: Name, Institution",
"",
"",
""
]
},
"important_dates": [
{
"name": "",
"date": ""
},
{
"name": "",
"date": ""
},
{
"name": "",
"date": ""
}
],
"speakers": [
{
"type": "Type of the speaker: Panellist/Invited/Organizer, etc.",
"about": [
"Information about each speaker: Name and Institution",
"",
"",
""
]
},
{
"type": "Type of the speaker: Panellist/Invited/Organizer, etc.",
"about": [
"Information about each speaker: Name and Institution",
"",
"",
""
]
}
],
"workshops": [
{
"name": "",
Expand All @@ -54,35 +75,38 @@
},
"multiday_schedule": [
"Only given if the schedule is for more than one day",
{
"start date": "title",
"start date_2": "title",
"start date_3": "title",
"start date_4": "title",
"start date_5": "title",
"start date_6": "title",
"start date_7": "title"
},
{
"start date": "title",
"start date_2": "title",
"start date_3": "title",
"start date_4": "title",
"start date_5": "title",
"start date_6": "title",
"start date_7": "title"
[
{
"start_date": "",
"title": ""
},
{
"start_date": "",
"title": ""
}
],
[
{
"start_date": "",
"title": ""
},
{
"start_date": "",
"title": ""
}
]
],
"one_day_schedule":[
"Only given if the schedule is for one day only",
{
"start_time": "",
"title": ""
},
{
"start_time": "",
"title": ""
}
],
"one_day_schedule":{
"Only given if the schedule is for one day only": "",
"start date": "title",
"start date_2": "title",
"start date_3": "title",
"start date_4": "title",
"start date_5": "title",
"start date_6": "title",
"start date_7": "title"
},
"calls_for_papers": [
{
"title": "",
Expand Down
62 changes: 43 additions & 19 deletions _data/_events_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
"end_date":{
"type":"string"
},
"title":{
"type":"string"
},
"date":{
"type":"string"
},
"more_paragraphs":{
"type":"array",
"items":{
Expand Down Expand Up @@ -72,18 +66,35 @@
"minItems":1
},
"important_dates":{
"type":"object",
"type":"array",
"items":{
"type":"string"
"type":"object",
"properties": {
"name": {
"type": "string"
},
"date":{
"type": "string",
"format": "date"
}
}
},
"minItems":1
},
"speakers": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
"speakers":{
"type":"array",
"items":{
"type":"object",
"properties":{
"type":{
"type":"string"
},
"about":{
"type":"array",
"items":{
"type":"string"
}
}
}
},
"minItems":1
Expand Down Expand Up @@ -121,17 +132,30 @@
"multiday_schedule":{
"type":"array",
"items":{
"type":"object",
"items":{
"type":"string"
"type":"array",
"properties":{
"start_time":{
"type": "string"
},
"title": {
"type": "string"
}
}
},
"minItems":1
},
"one_day_schedule":{
"type":"object",
"type":"array",
"items":{
"type":"string"
"type":"object",
"properties":{
"start_time":{
"type":"string"
},
"title":{
"type":"string"
}
}
},
"minItems":1
},
Expand Down
75 changes: 43 additions & 32 deletions _data/_wmt_events.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,20 @@
"link2",
"link3"
],
"important_dates":{
"name": "date",
"name_2": "date",
"name_3": "date",
"name_4": "date"
"important_dates": [
{
"name": "",
"date": ""
},
{
"name": "",
"date": ""
},
{
"name": "",
"date": ""
}
],
"shared_tasks": [
{
"name": "The name of the task",
Expand Down Expand Up @@ -105,35 +113,38 @@
],
"multiday_schedule": [
"Only given if the schedule is for more than one day",
{
"start date": "title",
"start date_2": "title",
"start date_3": "title",
"start date_4": "title",
"start date_5": "title",
"start date_6": "title",
"start date_7": "title"
},
{
"start date": "title",
"start date_2": "title",
"start date_3": "title",
"start date_4": "title",
"start date_5": "title",
"start date_6": "title",
"start date_7": "title"
[
{
"start_date": "",
"title": ""
},
{
"start_date": "",
"title": ""
}
],
[
{
"start_date": "",
"title": ""
},
{
"start_date": "",
"title": ""
}
]
],
"one_day_schedule":[
"Only given if the schedule is for one day only",
{
"start_time": "",
"title": ""
},
{
"start_time": "",
"title": ""
}
],
"one_day_schedule":{
"Only given if the schedule is for one day only": "",
"start date": "title",
"start date_2": "title",
"start date_3": "title",
"start date_4": "title",
"start date_5": "title",
"start date_6": "title",
"start date_7": "title"
},
"results": [
{
"full_results": {
Expand Down
44 changes: 30 additions & 14 deletions _data/_wmt_events_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
"end_date":{
"type":"string"
},
"title":{
"type":"string"
},
"date":{
"type":"string"
},
"more_paragraphs":{
"type":"array",
"items":{
Expand Down Expand Up @@ -72,10 +66,19 @@
"minItems":1
},
"important_dates":{
"type":"object",
"type":"array",
"items":{
"type":"string"
},
"type":"object",
"properties": {
"name": {
"type": "string"
},
"date":{
"type": "string",
"format": "date"
}
}
},
"minItems":1
},
"shared_tasks":{
Expand Down Expand Up @@ -159,17 +162,30 @@
"multiday_schedule":{
"type":"array",
"items":{
"type":"object",
"items":{
"type":"string"
"type":"array",
"properties":{
"start_time":{
"type": "string"
},
"title": {
"type": "string"
}
}
},
"minItems":1
},
"one_day_schedule":{
"type":"object",
"type":"array",
"items":{
"type":"string"
"type":"object",
"properties":{
"time":{
"type":"string"
},
"title":{
"type":"string"
}
}
},
"minItems":1
},
Expand Down
Loading

0 comments on commit aed274b

Please sign in to comment.