Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Update backend/documentation.md
Browse files Browse the repository at this point in the history
typo

Co-authored-by: Ruben Vandamme <[email protected]>
  • Loading branch information
lbarraga and rubben-88 authored Mar 19, 2024
1 parent 0d8fd7c commit 92d109d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ These universal dataclasses inherit the **Pydantic** BaseModel. It allows for au

These constraints can be nested indefinitely.

The frontend should send a json file containing a `SubmissionConstraint`. Such a submission constraint hase a `root_constraint`
The frontend should send a json file containing a `SubmissionConstraint`. Such a submission constraint has a `root_constraint`
which is one of two things: A `FileConstraint` or a `Zipconstraint`, as a submission is OR a file, OR a zip file.
A `FileConstraint` simply checks if a file with a certain name is present. The `ZipConstraint` also contains a name field specifying the name of the zip file, along
with a list of either `FileConstrainst`, `DirectoryConstraint` or `NotPresentConstraints`. These can be mixed.
Expand Down

0 comments on commit 92d109d

Please sign in to comment.