Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AKPlanning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Blanke
AKPlanning
Compare revisions
main to 5f53d1ffb8fbb61349f2c0b49d173d5df5ae5f4b
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
felix_bonn/akplanning
Select target project
No results found
5f53d1ffb8fbb61349f2c0b49d173d5df5ae5f4b
Select Git revision
Swap
Target
kif/akplanning
Select target project
konstantin/akplanning
matedealer/akplanning
kif/akplanning
mirco/akplanning
lordofthevoid/akplanning
voidptr/akplanning
xayomer/akplanning-fork
mollux/akplanning
neumantm/akplanning
mmarx/akplanning
nerf/akplanning
felix_bonn/akplanning
sebastian.uschmann/akplanning
13 results
main
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
schemas/solver-input.schema.json
+23
-0
23 additions, 0 deletions
schemas/solver-input.schema.json
schemas/solver-output.schema.json
+52
-0
52 additions, 0 deletions
schemas/solver-output.schema.json
schemas/timeslot.schema.json
+61
-0
61 additions, 0 deletions
schemas/timeslot.schema.json
with
136 additions
and
0 deletions
schemas/solver-input.schema.json
0 → 100644
View file @
5f53d1ff
{
"$schema"
:
"https://json-schema.org/draft/2020-12/schema"
,
"$id"
:
"/schema/solver-input.schema.json"
,
"type"
:
"object"
,
"properties"
:
{
"aks"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"/schema/ak.schema.json"
},
"uniqueItems"
:
true
},
"rooms"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"/schema/room.schema.json"
},
"uniqueItems"
:
true
},
"participants"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"/schema/participant.schema.json"
},
"uniqueItems"
:
true
},
"timeslots"
:
{
"$ref"
:
"/schema/timeslot.schema.json"
},
"info"
:
{
"type"
:
"object"
,
"properties"
:
{
"title"
:
{
"type"
:
"string"
},
"slug"
:
{
"type"
:
"string"
},
"place"
:
{
"type"
:
"string"
},
"contact_email"
:
{
"type"
:
"string"
}
},
"additionalProperties"
:
false
}
},
"required"
:
[
"aks"
,
"rooms"
,
"participants"
,
"timeslots"
,
"info"
],
"additionalProperties"
:
false
}
This diff is collapsed.
Click to expand it.
schemas/solver-output.schema.json
0 → 100644
View file @
5f53d1ff
{
"$schema"
:
"https://json-schema.org/draft/2020-12/schema"
,
"$id"
:
"/schema/solver-output.schema.json"
,
"type"
:
"object"
,
"additionalProperties"
:
false
,
"required"
:
[
"input"
,
"scheduled_aks"
],
"properties"
:
{
"input"
:
{
"$ref"
:
"/schema/solver-input.schema.json"
},
"scheduled_aks"
:
{
"type"
:
"array"
,
"items"
:
{
"description"
:
"An object representing the scheduling information for one AK"
,
"type"
:
"object"
,
"properties"
:
{
"ak_id"
:
{
"description"
:
"The unique identifier of the scheduled AK"
,
"type"
:
"integer"
,
"minimum"
:
0
},
"room_id"
:
{
"description"
:
"The unique identifier of the room the AK takes place in"
,
"type"
:
"integer"
,
"minimum"
:
0
},
"timeslot_ids"
:
{
"description"
:
"The unique identifiers of all timeslots the AK takes place in"
,
"type"
:
"array"
,
"items"
:
{
"description"
:
"The unique identifier of the referenced timeslot"
,
"type"
:
"integer"
,
"minimum"
:
0
},
"uniqueItems"
:
true
},
"participant_ids"
:
{
"description"
:
"The unique identifiers of all participants assigned to the AK"
,
"type"
:
"array"
,
"items"
:
{
"description"
:
"The unique identifier of the referenced participant"
,
"type"
:
"integer"
,
"minimum"
:
0
},
"uniqueItems"
:
true
}
},
"required"
:
[
"ak_id"
,
"room_id"
,
"timeslot_ids"
,
"participant_ids"
],
"additionalProperties"
:
false
},
"uniqueItems"
:
true
}
}
}
This diff is collapsed.
Click to expand it.
schemas/timeslot.schema.json
0 → 100644
View file @
5f53d1ff
{
"$schema"
:
"https://json-schema.org/draft/2020-12/schema"
,
"$id"
:
"/schema/timeslot.schema.json"
,
"title"
:
"Timeslot"
,
"type"
:
"object"
,
"required"
:
[
"info"
,
"blocks"
],
"additionalProperties"
:
false
,
"properties"
:
{
"info"
:
{
"type"
:
"object"
,
"properties"
:
{
"duration"
:
{
"description"
:
"Duration in hours of a slot unit"
,
"type"
:
"number"
},
"blocknames"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
},
"minItems"
:
2
,
"maxItems"
:
2
}
}
},
"required"
:
[
"duration"
],
"additionalProperties"
:
false
},
"blocks"
:
{
"type"
:
"array"
,
"description"
:
"Blocks of consecutive timeslots"
,
"items"
:
{
"type"
:
"array"
,
"description"
:
"A single block of consecutive timeslots"
,
"items"
:
{
"type"
:
"object"
,
"description"
:
"A single timeslot"
,
"properties"
:
{
"id"
:
{
"$ref"
:
"/schema/common/id.schema.json"
,
"description"
:
"The unique identifier of the single timeslot. Accross all blocks, the ids must be sorted chronologically."
},
"info"
:
{
"type"
:
"object"
,
"properties"
:
{
"start"
:
{
"description"
:
"Start datetime of the timeslot"
,
"type"
:
"string"
},
"end"
:
{
"description"
:
"End datetime of the timeslot"
,
"type"
:
"string"
}
},
"required"
:
[
"start"
,
"end"
],
"additionalProperties"
:
false
},
"fulfilled_time_constraints"
:
{
"$ref"
:
"/schema/common/constraints.schema.json"
,
"description"
:
"Time constraints fulfilled by this timeslot"
}
},
"required"
:
[
"id"
,
"info"
,
"fulfilled_time_constraints"
],
"additionalProperties"
:
false
}
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next