{
  "openapi": "3.0.0",
  "info": {
    "title": "Award Force API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.cr4ce.com"
    }
  ],
  "paths": {
    "/account": {
      "get": {
        "summary": "Get account",
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines expected language.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Get account",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "domains": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "global_id": {
                      "type": "string"
                    },
                    "languages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "name": {
                      "type": "string"
                    },
                    "owner": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        }
                      }
                    },
                    "product": {
                      "type": "string"
                    },
                    "region": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "timezone": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns the account's information based on the API key used in the header."
      }
    },
    "/assignment": {
      "get": {
        "summary": "List assignments",
        "tags": [
          "Assignment"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "- none\n- in_progress\n- complete\n- abstained",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "score_set",
            "in": "query",
            "required": false,
            "description": "Score Set slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "panel",
            "in": "query",
            "required": false,
            "description": "Panel slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "required": false,
            "description": "Tag",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "method",
            "in": "query",
            "required": false,
            "description": "- automatic\n- manual\n- random\n- stray",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "judge",
            "in": "query",
            "required": false,
            "description": "Judge slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "- undecided\n- approved\n- rejected",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "chapter",
            "in": "query",
            "required": false,
            "description": "Chapter slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines expected language.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List assignments",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "application": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "title": {
                                "type": "string"
                              }
                            }
                          },
                          "category": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "chapter": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "comments": {
                            "type": "object",
                            "properties": {
                              "judging": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "slug": {
                                      "type": "string"
                                    },
                                    "comment": {
                                      "type": "string"
                                    },
                                    "created_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "updated_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "user": {
                                      "type": "object",
                                      "properties": {
                                        "slug": {
                                          "type": "string"
                                        },
                                        "link": {
                                          "type": "string",
                                          "format": "uri"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "first_name": {
                                          "type": "string"
                                        },
                                        "last_name": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "abstention": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "slug": {
                                      "type": "string"
                                    },
                                    "comment": {
                                      "type": "string"
                                    },
                                    "created_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "updated_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "user": {
                                      "type": "object",
                                      "properties": {
                                        "slug": {
                                          "type": "string"
                                        },
                                        "link": {
                                          "type": "string",
                                          "format": "uri"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "first_name": {
                                          "type": "string"
                                        },
                                        "last_name": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "conflict": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "slug": {
                                      "type": "string"
                                    },
                                    "comment": {
                                      "type": "string"
                                    },
                                    "created_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "updated_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "user": {
                                      "type": "object",
                                      "properties": {
                                        "slug": {
                                          "type": "string"
                                        },
                                        "link": {
                                          "type": "string",
                                          "format": "uri"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "first_name": {
                                          "type": "string"
                                        },
                                        "last_name": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "criteria": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "comments": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "slug": {
                                            "type": "string"
                                          },
                                          "comment": {
                                            "type": "string"
                                          },
                                          "created_at": {
                                            "type": "string",
                                            "format": "date-time"
                                          },
                                          "updated_at": {
                                            "type": "string",
                                            "format": "date-time"
                                          },
                                          "user": {
                                            "type": "object",
                                            "properties": {
                                              "slug": {
                                                "type": "string"
                                              },
                                              "link": {
                                                "type": "string",
                                                "format": "uri"
                                              },
                                              "name": {
                                                "type": "string"
                                              },
                                              "first_name": {
                                                "type": "string"
                                              },
                                              "last_name": {
                                                "type": "string"
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "form": {
                            "type": "string"
                          },
                          "method": {
                            "type": "string"
                          },
                          "panels": {
                            "type": "array",
                            "items": {}
                          },
                          "reviewer": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "string"
                              }
                            }
                          },
                          "role": {
                            "nullable": true
                          },
                          "rounds": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "name": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "score_set": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "List all assignments."
      },
      "post": {
        "summary": "Create assignment",
        "tags": [
          "Assignment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Create assignment",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Create a new assignment.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| score_set | Yes | String | Score Set slug |\n| entries | Yes | Array | List of Entry slugs |\n| judges | Yes | Array | List of Judge slugs |\n| rounds | Yes | Array | List of Round slugs |",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "score_set": {
                    "type": "string"
                  },
                  "entries": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "judges": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "rounds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/assignment/{slug}": {
      "get": {
        "summary": "Get assignment",
        "tags": [
          "Assignment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines expected language.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get assignment",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            },
                            "pl_PL": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "chapter": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            },
                            "pl_PL": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "comments": {
                      "type": "object",
                      "properties": {
                        "judging": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "comment": {
                                "type": "string"
                              },
                              "created_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "updated_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "user": {
                                "type": "object",
                                "properties": {
                                  "slug": {
                                    "type": "string"
                                  },
                                  "link": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "first_name": {
                                    "type": "string"
                                  },
                                  "last_name": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "abstention": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "comment": {
                                "type": "string"
                              },
                              "created_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "updated_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "user": {
                                "type": "object",
                                "properties": {
                                  "slug": {
                                    "type": "string"
                                  },
                                  "link": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "first_name": {
                                    "type": "string"
                                  },
                                  "last_name": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "conflict": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "comment": {
                                "type": "string"
                              },
                              "created_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "updated_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "user": {
                                "type": "object",
                                "properties": {
                                  "slug": {
                                    "type": "string"
                                  },
                                  "link": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "first_name": {
                                    "type": "string"
                                  },
                                  "last_name": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          }
                        },
                        "criteria": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "comments": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "slug": {
                                      "type": "string"
                                    },
                                    "comment": {
                                      "type": "string"
                                    },
                                    "created_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "updated_at": {
                                      "type": "string",
                                      "format": "date-time"
                                    },
                                    "user": {
                                      "type": "object",
                                      "properties": {
                                        "slug": {
                                          "type": "string"
                                        },
                                        "link": {
                                          "type": "string",
                                          "format": "uri"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "first_name": {
                                          "type": "string"
                                        },
                                        "last_name": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "entry": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        }
                      }
                    },
                    "form": {
                      "type": "string"
                    },
                    "judge": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        }
                      }
                    },
                    "method": {
                      "type": "string"
                    },
                    "panels": {
                      "type": "array",
                      "items": {}
                    },
                    "role": {
                      "nullable": true
                    },
                    "rounds": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              },
                              "pl_PL": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "score_set": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            },
                            "pl_PL": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns an assignment identified by it's slug."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "delete": {
        "summary": "Delete assignment",
        "tags": [
          "Assignment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines expected language.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete assignment",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Delete an existing assignment."
      }
    },
    "/entry/{slug}/recuse": {
      "put": {
        "summary": "Recuse assignment",
        "tags": [
          "Assignment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines expected language.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Recuse assignment",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Recuse a judge from an existing assignment.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| judge | Yes | String | Judge slug |\n| score_set | No | String | Score Set slug |",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "judge": {
                    "type": "string"
                  },
                  "score_set": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/entry/{slug}/unrecuse": {
      "put": {
        "summary": "Unrecuse assignment",
        "tags": [
          "Assignment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines expected language.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Unrecuse assignment",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Unrecuse a judge from an existing assignment.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| judge | Yes | String | Judge slug |\n| score_set | No | String | Score Set slug |",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "judge": {
                    "type": "string"
                  },
                  "score_set": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/attachment": {
      "get": {
        "summary": "List attachments",
        "tags": [
          "Attachment"
        ],
        "parameters": [
          {
            "name": "entry",
            "in": "query",
            "required": false,
            "description": "Entry slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tab",
            "in": "query",
            "required": false,
            "description": "Tab slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "chapter",
            "in": "query",
            "required": false,
            "description": "Chapter slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- created\n- entry\n- order\n- tab\n- updated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List attachments",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "entry": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "title": {
                                "type": "string"
                              }
                            }
                          },
                          "attachment_fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "label": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "value": {
                                  "type": "string"
                                },
                                "translated": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "file": {
                            "type": "object",
                            "properties": {
                              "token": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "download": {
                                "type": "string",
                                "format": "uri"
                              },
                              "filename": {
                                "type": "string"
                              }
                            }
                          },
                          "order": {
                            "type": "integer"
                          },
                          "tab": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "token": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of attachments."
      }
    },
    "/attachment/{token}": {
      "get": {
        "summary": "Get attachment",
        "tags": [
          "Attachment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get attachment",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "entry": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        }
                      }
                    },
                    "attachment_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "file": {
                      "type": "object",
                      "properties": {
                        "token": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "download": {
                          "type": "string",
                          "format": "uri"
                        },
                        "filename": {
                          "type": "string"
                        }
                      }
                    },
                    "order": {
                      "type": "integer"
                    },
                    "tab": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "token": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns an attachment by its token. The response consists of all attachment fields. Files include a download link.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "token",
          "in": "path",
          "required": true,
          "description": "Attachment token",
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update attachment",
        "tags": [
          "Attachment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update attachment",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "entry": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        }
                      }
                    },
                    "attachment_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "file": {
                      "type": "object",
                      "properties": {
                        "token": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "download": {
                          "type": "string",
                          "format": "uri"
                        },
                        "filename": {
                          "type": "string"
                        }
                      }
                    },
                    "order": {
                      "type": "integer"
                    },
                    "tab": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "token": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update an existing attachment.  \nPlease note that attachment fields are linked to the attachment and shouldn't be confused with form fields.  \nIf you don't have attachment fields you can remove this object from the body of your request.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| attachment_fields | No | array | Object containing key / value pairs. Where the key is the Field slug. e.g. \"fJkIjGmB\": \"Test value\" |\n| order | No | Integer | Attachment order |\n| tab | No | Array | Tab slug |"
      },
      "delete": {
        "summary": "Delete attachment",
        "tags": [
          "Attachment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete attachment",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "description": "Delete an existing attachment."
      }
    },
    "/entry/{entry_slug}/attachment/{tab_slug}": {
      "post": {
        "summary": "Create attachment",
        "tags": [
          "Attachment"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Upload entry attachment",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    },
                    "link": {
                      "type": "string",
                      "format": "uri"
                    },
                    "file": {
                      "type": "object",
                      "properties": {
                        "filename": {
                          "type": "string"
                        },
                        "token": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Upload an attachment to an entry by its tab.  \nPlease note that attachment fields are linked to the attachment and shouldn't be confused with form fields.  \nIf you don't have attachment fields you can remove this object from the body of your request."
      },
      "parameters": [
        {
          "name": "entry_slug",
          "in": "path",
          "required": true,
          "description": "Entry slug",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "tab_slug",
          "in": "path",
          "required": true,
          "description": "Entry tab slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/category": {
      "get": {
        "summary": "List categories",
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "- active\n- inactive",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "chapter",
            "in": "query",
            "required": false,
            "description": "Chapter slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "parent",
            "in": "query",
            "required": false,
            "description": "Category slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "- only (show only deleted categories)\n- included (include deleted categories)\n- none (exclude deleted categories)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- chapters\n- created\n- divisions\n- entry_count\n- name\n- parent\n- season\n- shortcode\n- status\n- updated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List categories",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "chapter_count": {
                            "type": "integer"
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "description": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "divisions": {
                            "type": "integer"
                          },
                          "entry_count": {
                            "type": "integer"
                          },
                          "form": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "parent": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "shortcode": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string",
                                "format": "color"
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of categories."
      },
      "post": {
        "summary": "Create category",
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Create category",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "chapters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "description": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "divisions": {
                      "type": "integer"
                    },
                    "entrant_max_entries": {
                      "type": "integer"
                    },
                    "entry_name_label": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "fill_entry_name": {
                      "type": "boolean"
                    },
                    "form": {
                      "type": "string"
                    },
                    "image_heading": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "images": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "string"
                          },
                          "download": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "max_image_width": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "packing_slip_instructions": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "parent": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "pdf_packing_slip": {
                      "type": "boolean"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "shortcode": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string",
                          "format": "color"
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Create a new category.\n\n| Parameter | Required | Type | Description |\n| --------- | -------- | ---- | ----------- |\n| season | Yes | String | Season slug |\n| status | Yes | String | One of the following values: <ul> <li>active</li> <li>inactive</li> </ul> |\n| translated | Yes | Array | Array of key / value pairs where keys can be any of the following: <ul> <li>name (Required)</li> <li>description</li> <li>entry_name_label</li> <li>image_heading</li>  <li>packing_slip_instructions</li> <li>shortcode</li> </ul> Values are themselves of type Array containing key / value pairs where the key can be any existing and enabled language code. |\n| chapters | No | Array | Array of Chapter slugs |\n| divisions | No | Integer | Number of divisions |\n| entrant_max_entries | No | Integer | Number of max entries per Entrant |\n| fill_entry_name | No | Boolean | Determines whether to prefill the entry name field on the entry from when that category is selected |\n| max_image_width | No | Integer | Maximum image width |\n| form | No | String | Form slug |\n| parent | No | String | Parent Category slug |\n| pdf_packing_slip | No | Boolean | Determines whether or not to generate a PDF packing slip |"
      }
    },
    "/category/{slug}": {
      "get": {
        "summary": "Get category",
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get category",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "chapters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "description": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "divisions": {
                      "type": "integer"
                    },
                    "entrant_max_entries": {
                      "type": "integer"
                    },
                    "entry_name_label": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "fill_entry_name": {
                      "type": "boolean"
                    },
                    "form": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "image_heading": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "images": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "filename": {
                            "type": "string"
                          },
                          "download": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "max_image_width": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "packing_slip_instructions": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "parent": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "pdf_packing_slip": {
                      "type": "boolean"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "shortcode": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string",
                          "format": "color"
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a category by its slug. The response consists of all category fields. Images include a download link."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Category slug",
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update category",
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update category",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "chapters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "description": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "divisions": {
                      "type": "integer"
                    },
                    "entrant_max_entries": {
                      "type": "integer"
                    },
                    "entry_name_label": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "fill_entry_name": {
                      "type": "boolean"
                    },
                    "form": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "image_heading": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "images": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "string"
                          },
                          "download": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "max_image_width": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "packing_slip_instructions": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "parent": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "pdf_packing_slip": {
                      "type": "boolean"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "shortcode": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string",
                          "format": "color"
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update an existing category.\n\n| Parameter | Required | Type | Description |\n| --------- | -------- | ---- | ----------- |\n| season | No | String | Season slug |\n| status | No | String | One of the following values: <ul> <li>active</li> <li>inactive</li> </ul> |\n| translated | No| Array | Array of key / value pairs where keys can be any of the following: <ul> <li>name</li> <li>description</li> <li>entry_name_label</li> <li>image_heading</li>  <li>packing_slip_instructions</li> <li>shortcode</li> </ul> Values are themselves of type Array containing key / value pairs where the key can be any existing and enabled language code. |\n| chapters | No | Array | Array of Chapter slugs |\n| divisions | No | Integer | Number of divisions |\n| entrant_max_entries | No | Integer | Number of max entries per Entrant |\n| fill_entry_name | No | Boolean | Determines whether to prefill the entry name field on the entry from when that category is selected. |\n| max_image_width | No | Integer | Maximum image width |\n| parent | No | String | Parent Category slug |\n| pdf_packing_slip | No | Boolean | Determines whether or not to generate a PDF packing slip |"
      },
      "delete": {
        "summary": "Delete category",
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete category",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "description": "Delete an existing category."
      }
    },
    "/category/{slug}/upload": {
      "post": {
        "summary": "Upload category file",
        "tags": [
          "Category"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Upload category file",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "filename": {
                      "type": "string"
                    },
                    "token": {
                      "type": "string"
                    },
                    "link": {
                      "type": "string",
                      "format": "uri"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Upload a category image."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Category slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/chapter": {
      "get": {
        "summary": "List chapters",
        "tags": [
          "Chapter"
        ],
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "- active\n- inactive",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "- season slug\n- \"all\" to show all seasons",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "- only (show only deleted categories)\n- included (include deleted categories)\n- none (exclude deleted categories)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- chapter_count\n- divisions\n- entry_count\n- name\n- parent (slug)\n- season (slug)\n- shortcode\n- status\n- updated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List chapters",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "managers": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "first_name": {
                                  "type": "string"
                                },
                                "last_name": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string",
                                    "format": "utc-millisec"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of chapters."
      },
      "post": {
        "summary": "Create chapter",
        "tags": [
          "Chapter"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Create chapter",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "managers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "first_name": {
                            "type": "string"
                          },
                          "last_name": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Create a new chapter.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| season | Yes | String | Season slug |\n| status | Yes | String | One of the following values:<br><br>- active<br>    <br><br>- inactive |\n| translated | No | Array | Array of key / value pairs where keys can be any of the following:<br><br>- name<br>    <br><br>- image_heading |\n| max_image_width | No | Integer | Maximum image width |\n| managers | No | Array fo slugs | Array of user slugs of chapter managers |"
      }
    },
    "/chapter/{slug}": {
      "get": {
        "summary": "Get chapter",
        "tags": [
          "Chapter"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get chapter",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "managers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "first_name": {
                            "type": "string"
                          },
                          "last_name": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a chapter by its slug. The response consists of all chapter fields."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Chapter slug",
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update chapter",
        "tags": [
          "Chapter"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update chapter",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "managers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "first_name": {
                            "type": "string"
                          },
                          "last_name": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update an existing chapter.\n\n| Parameter | Required | Type | Description |\n| --------- | -------- | ---- | ----------- |\n| season | No | String | Season slug |\n| status | No | String | One of the following values: <ul> <li>active</li> <li>inactive</li> </ul> |\n| translated | No| Array | Array of key / value pairs where keys can be any of the following: <ul> <li>name</li> <li>image_heading</li> |\n| max_image_width | No | Integer | Maximum image width |\n| managers | No | Array fo slugs | Array of user slugs of chapter managers |"
      },
      "delete": {
        "summary": "Delete chapter",
        "tags": [
          "Chapter"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete chapter",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "description": "Delete an existing chapter."
      }
    },
    "/chapter/{slug}/upload": {
      "post": {
        "summary": "Upload chapter file",
        "tags": [
          "Chapter"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Upload chapter file",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "filename": {
                      "type": "string"
                    },
                    "token": {
                      "type": "string"
                    },
                    "link": {
                      "type": "string",
                      "format": "uri"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Upload a chapter image."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Chapter slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/contributor": {
      "get": {
        "summary": "List contributors",
        "tags": [
          "Contributor"
        ],
        "parameters": [
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "chapter",
            "in": "query",
            "required": false,
            "description": "- chapter slug -",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "- category slug -",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "- season slug\n- \"all\" to show all seasons",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List contributors",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "entry": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "title": {
                                "type": "string"
                              }
                            }
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "label": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "value": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string",
                                    "format": "utc-millisec"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "tab": {
                            "type": "array",
                            "items": {}
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of contributors."
      },
      "post": {
        "summary": "Create contributor",
        "tags": [
          "Contributor"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Create contributor",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "entry": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "tab": {
                      "type": "array",
                      "items": {}
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Create a new contributor.\n\n| Parameter | Required | Type | Description |\n| --------- | -------- | ---- | ----------- |\n| entry | Yes | String | Entry slug |\n| tab | Yes | String | Tab slug. It must be a contributor tab. |\n| fields | No| Object | Object containing key / value pairs. Where the key is the Field slug. e.g. \"fJkIjGmB\": \"Test value\" |"
      }
    },
    "/contributor/{slug}": {
      "get": {
        "summary": "Get contributor",
        "tags": [
          "Contributor"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get contributor",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "entry": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "tab": {
                      "type": "array",
                      "items": {}
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a contributor by its slug. The response consists of all contributor fields."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Contributor slug",
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update contributor",
        "tags": [
          "Contributor"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update contributor",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "entry": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "type": "string"
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "tab": {
                      "type": "array",
                      "items": {}
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update an existing contributor.\n\n| Parameter | Required | Type | Description |\n| --------- | -------- | ---- | ----------- |\n| fields | No| Object | Object containing key / value pairs. Where the key is the Field slug. e.g. \"fJkIjGmB\": \"Test value\" |"
      },
      "delete": {
        "summary": "Delete contributor",
        "tags": [
          "Contributor"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete contributor",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "description": "Delete an existing contributor."
      }
    },
    "/entry": {
      "get": {
        "summary": "List entries",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "title",
            "in": "query",
            "required": false,
            "description": "Full or partial name of the entry",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "chapter",
            "in": "query",
            "required": false,
            "description": "Chapter slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "- submitted\n- in_progress\n- resubmission_required\n- resubmitted",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "payment_status",
            "in": "query",
            "required": false,
            "description": "Status of the order. Possible values:\npaid\nawaiting_payment",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "price",
            "in": "query",
            "required": false,
            "description": "Price slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "review_status",
            "in": "query",
            "required": false,
            "description": "All available review statuses in the program",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "moderation",
            "in": "query",
            "required": false,
            "description": "- approved\n- undecided\n- rejected",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "- Season slug\n- \"all\" to show all seasons",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "required": false,
            "description": "All available tags in the program",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entrant",
            "in": "query",
            "required": false,
            "description": "Entrant slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "- only (show only deleted entries)\n- included (include deleted entries)\n- none (exclude deleted entries)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "archived",
            "in": "query",
            "required": false,
            "description": "- only (show only archived entries)\n- all (include archived entries)\n- none (exclude archived entries)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- category (slug)\n- chapter (slug)\n- applicant (slug)\n- local_id\n- parent_category (slug)\n- title\n- updated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "updated_at",
            "in": "query",
            "required": false,
            "description": "- [before]=YYYY-MM-DDTHH:MM:SSZ\n- [after]=YYYY-MM-DDTHH:MM:SSZ\n- [on]=YYYY-MM-DDTHH:MM:SSZ\n- [between]=[YYYY-MM-DDTHH:MM:SSZ,YYYY-MM-DDTHH:MM:SSZ]",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List entries",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "entrant": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "string"
                              },
                              "first_name": {
                                "type": "string"
                              },
                              "last_name": {
                                "type": "string"
                              },
                              "email": {
                                "type": "string",
                                "format": "email"
                              },
                              "global_id": {
                                "type": "string"
                              }
                            }
                          },
                          "auto_score": {
                            "type": "integer"
                          },
                          "category": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "chapter": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "comments": {
                            "type": "string"
                          },
                          "contributor_count": {
                            "type": "integer"
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "custom_deadline": {
                            "type": "string"
                          },
                          "division": {
                            "nullable": true
                          },
                          "eligibility_status": {
                            "type": "string"
                          },
                          "files_count": {
                            "type": "integer"
                          },
                          "form": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "grant_end_date": {
                            "nullable": true
                          },
                          "grant_status": {
                            "nullable": true
                          },
                          "local_id": {
                            "type": "integer"
                          },
                          "moderation_status": {
                            "type": "string"
                          },
                          "parent_category": {
                            "nullable": true
                          },
                          "payment_status": {
                            "type": "string"
                          },
                          "plagiarism_scan_status": {
                            "type": "string"
                          },
                          "review_status": {
                            "type": "string"
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string",
                                    "format": "utc-millisec"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "submitted": {
                            "nullable": true
                          },
                          "tags": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "user_comments": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of entries.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "brand": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Create entry",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Create entry",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "string"
                          },
                          "download": {
                            "type": "string"
                          },
                          "attachment_fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "label": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "value": {
                                  "type": "string"
                                },
                                "translated": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "chapter": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "comments": {
                      "type": "string"
                    },
                    "contributor_count": {
                      "type": "integer"
                    },
                    "contributors": {
                      "type": "array",
                      "items": {}
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "custom_deadline": {
                      "type": "string",
                      "format": "style"
                    },
                    "division": {
                      "nullable": true
                    },
                    "eligibility_status": {
                      "type": "string"
                    },
                    "entrant": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        }
                      }
                    },
                    "entry_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "files_count": {
                      "type": "integer"
                    },
                    "form": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "local_id": {
                      "type": "integer"
                    },
                    "moderation_status": {
                      "type": "string"
                    },
                    "parent_category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "payment_status": {
                      "type": "string"
                    },
                    "plagiarism_scan_status": {
                      "type": "string"
                    },
                    "resubmitted": {
                      "type": "string"
                    },
                    "review_status": {
                      "type": "string"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "submitted": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "tags": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Create a new entry.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| category | Yes | String | Category slug |\n| chapter | No | String | Chapter slug |\n| entrant | Yes | String | Entrant slug |\n| season | Yes | String | Season slug |\n| title | Yes | String | Entry title |\n| form | No | String | Form slug |\n| status | No | String | One of the following values:  <br>  <br>  <br><br>- submitted<br><br>- in_progress<br><br>- resubmission_required |\n| moderation_status | No | String | One of the following values:  <br>  <br>  <br><br>- approved<br><br>- undecided<br><br>- rejected |\n| entry_fields | No | Object | Object containing key / value pairs. Where the key is the Field slug.  <br>e.g. \"fJkIjGmB\": \"Test value\" |\n| custom_deadline | No | Date | Date with format yyyy-mm-dd hh:mm |"
      }
    },
    "/entry/{slug}": {
      "get": {
        "summary": "Get entry",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get entry",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "entrant": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        },
                        "email": {
                          "type": "string",
                          "format": "email"
                        },
                        "global_id": {
                          "type": "string"
                        }
                      }
                    },
                    "entry_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "file": {
                            "type": "object",
                            "properties": {
                              "token": {
                                "type": "string",
                                "format": "utc-millisec"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "filename": {
                                "type": "string"
                              },
                              "download": {
                                "type": "string",
                                "format": "uri"
                              }
                            }
                          },
                          "attachment_fields": {
                            "type": "array",
                            "items": {}
                          },
                          "tab": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              },
                              "created_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "updated_at": {
                                "type": "string",
                                "format": "date-time"
                              }
                            }
                          }
                        }
                      }
                    },
                    "auto_score": {
                      "type": "integer"
                    },
                    "category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "chapter": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "comments": {
                      "type": "string"
                    },
                    "contributor_count": {
                      "type": "integer"
                    },
                    "contributors": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "slug": {
                              "type": "string"
                            },
                            "link": {
                              "type": "string",
                              "format": "uri"
                            },
                            "label": {
                              "type": "object",
                              "properties": {
                                "en_GB": {
                                  "type": "string"
                                }
                              }
                            },
                            "value": {
                              "type": "string"
                            },
                            "translated": {
                              "type": "object",
                              "properties": {
                                "en_GB": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "custom_deadline": {
                      "type": "string"
                    },
                    "division": {
                      "nullable": true
                    },
                    "eligibility_status": {
                      "type": "string"
                    },
                    "files_count": {
                      "type": "integer"
                    },
                    "form": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "local_id": {
                      "type": "integer"
                    },
                    "moderation_status": {
                      "type": "string"
                    },
                    "parent_category": {
                      "nullable": true
                    },
                    "payment_status": {
                      "type": "string"
                    },
                    "plagiarism_scan_status": {
                      "type": "string"
                    },
                    "review_status": {
                      "type": "string"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "submitted": {
                      "nullable": true
                    },
                    "tags": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "user_comments": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns an entry by its slug or its title.\n\nThe response consists of all entry fields including files, attachments and contributors. Files include a download link."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Entry slug",
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update entry",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update entry",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "string"
                          },
                          "download": {
                            "type": "string"
                          },
                          "attachment_fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "label": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "value": {
                                  "type": "string"
                                },
                                "translated": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "chapter": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "comments": {
                      "type": "string"
                    },
                    "contributor_count": {
                      "type": "integer"
                    },
                    "contributors": {
                      "type": "array",
                      "items": {}
                    },
                    "custom_deadline": {
                      "type": "string",
                      "format": "style"
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "division": {
                      "nullable": true
                    },
                    "entrant": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        }
                      }
                    },
                    "entry_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "files_count": {
                      "type": "integer"
                    },
                    "form": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "local_id": {
                      "type": "integer"
                    },
                    "moderation_status": {
                      "type": "string"
                    },
                    "parent_category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "payment_status": {
                      "type": "string"
                    },
                    "plagiarism_scan_status": {
                      "type": "string"
                    },
                    "resubmitted": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "review_status": {
                      "type": "string"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "submitted": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "tags": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update an existing entry.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| category | No | String | Category slug |\n| chapter | No | String | Chapter slug |\n| entrant | No | String | Entrant slug |\n| title | No | String | Entry title |\n| status | No | String | One of the following values:<br><br>- submitted<br>    <br><br>- in_progress<br>    <br><br>- resubmission_required<br>    <br><br>- resubmitted |\n| moderation_status | No | String | One of the following values:<br><br>- approved<br>    <br><br>- undecided<br>    <br><br>- rejected |\n| entry_fields | No | Object | Object containing key / value pairs. Where the key is the Field slug.  <br>e.g. \"fJkIjGmB\": \"Test value\" |\n| custom_deadline | No | Date | Date with format yyyy-mm-dd hh:mm |"
      },
      "delete": {
        "summary": "Delete entry",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete entry",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "description": "Delete an existing entry."
      }
    },
    "/entry/{entry_slug}/upload/{field_slug}": {
      "post": {
        "summary": "Upload entry file",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Upload entry file",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "filename": {
                      "type": "string"
                    },
                    "token": {
                      "type": "string"
                    },
                    "link": {
                      "type": "string",
                      "format": "uri"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Upload a file to an entry file field."
      },
      "parameters": [
        {
          "name": "entry_slug",
          "in": "path",
          "required": true,
          "description": "Entry slug",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "field_slug",
          "in": "path",
          "required": true,
          "description": "Entry field slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/entry/{slug}/tag/{tags}": {
      "put": {
        "summary": "Tag entry",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Tag entry",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "string"
                          },
                          "download": {
                            "type": "string"
                          },
                          "attachment_fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "label": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "value": {
                                  "type": "string"
                                },
                                "translated": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "chapter": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "comments": {
                      "type": "string"
                    },
                    "contributor_count": {
                      "type": "integer"
                    },
                    "contributors": {
                      "type": "array",
                      "items": {}
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "division": {
                      "nullable": true
                    },
                    "entrant": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        }
                      }
                    },
                    "entry_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "files_count": {
                      "type": "integer"
                    },
                    "form": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "local_id": {
                      "type": "integer"
                    },
                    "moderation_status": {
                      "type": "string"
                    },
                    "parent_category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "payment_status": {
                      "type": "string"
                    },
                    "plagiarism_scan_status": {
                      "type": "string"
                    },
                    "resubmitted": {
                      "type": "string"
                    },
                    "review_status": {
                      "type": "string"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "submitted": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "tags": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Add tags to an existing entry."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Entry slug",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "tags",
          "in": "path",
          "required": true,
          "description": "Tags to be removed from the entry, separated by comma",
          "schema": {
            "type": "string"
          }
        }
      ],
      "delete": {
        "summary": "Untag entry",
        "tags": [
          "Entry"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Untag entry",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "attachments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "token": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "string"
                          },
                          "download": {
                            "type": "string"
                          },
                          "attachment_fields": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "label": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "value": {
                                  "type": "string"
                                },
                                "translated": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "chapter": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "comments": {
                      "type": "string"
                    },
                    "contributor_count": {
                      "type": "integer"
                    },
                    "contributors": {
                      "type": "array",
                      "items": {}
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "division": {
                      "nullable": true
                    },
                    "entrant": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "fist_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        }
                      }
                    },
                    "entry_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "files_count": {
                      "type": "integer"
                    },
                    "form": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "local_id": {
                      "type": "integer"
                    },
                    "moderation_status": {
                      "type": "string"
                    },
                    "parent_category": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "payment_status": {
                      "type": "string"
                    },
                    "plagiarism_scan_status": {
                      "type": "string"
                    },
                    "resubmitted": {
                      "type": "string"
                    },
                    "review_status": {
                      "type": "string"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "submitted": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "tags": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Remove tags from an existing entry."
      }
    },
    "/entry/{slug}/update-title": {
      "put": {
        "summary": "Update entry title",
        "tags": [
          "Entry (realtime)"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Update entry title"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/entry/{slug}/update-field/{field-slug}": {
      "put": {
        "summary": "Update entry field",
        "tags": [
          "Entry (realtime)"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Update entry field"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "field-slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/entry/{slug}/update-category": {
      "put": {
        "summary": "Update entry category",
        "tags": [
          "Entry (realtime)"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Update entry category"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/entry/{slug}/update-chapter": {
      "put": {
        "summary": "Update entry chapter",
        "tags": [
          "Entry (realtime)"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Update entry chapter"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/attachment/{token}/update-field/{field-slug}": {
      "put": {
        "summary": "Update entry attachment field",
        "tags": [
          "Entry (realtime)"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Update entry attachment field"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "token",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "field-slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/contributor/{slug}/update-field/{field-slug}": {
      "put": {
        "summary": "Update entry contributor field",
        "tags": [
          "Entry (realtime)"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Update entry contributor field"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "field-slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/field": {
      "get": {
        "summary": "List fields",
        "tags": [
          "Field"
        ],
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "resource",
            "in": "query",
            "required": false,
            "description": "- entries\n- users\n- attachments\n- contributors ",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "One of the following: \n- only (show only deleted fields)\n- included (include deleted fields)\n- none (exclude deleted fields)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tab",
            "in": "query",
            "required": false,
            "description": "Tab slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "- checkbox\n- checkboxlist\n- content\n- country\n- currency\n- date\n- datetime\n- drop-down-list\n- email\n- file\n- numeric\n- phone\n- radio\n- table\n- text\n- textarea\n- time\n- url",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "- title\n- resource\n- type\n- updated\n- created\n- categories\n- order\n- tab",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "protection",
            "in": "query",
            "required": false,
            "description": "- standard\n- elevated\n- maximum",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conditional",
            "in": "query",
            "required": false,
            "description": "conditional",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "List fields",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "applicant_read_access": {
                            "type": "string"
                          },
                          "applicant_write_access": {
                            "type": "string"
                          },
                          "auto_scoring": {
                            "type": "integer"
                          },
                          "categories": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "category_count": {
                            "type": "string"
                          },
                          "conditional_field": {
                            "nullable": true
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "file_types": {
                            "type": "array",
                            "items": {}
                          },
                          "form": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "help_text": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "hint_text": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "max_file_size": {
                            "nullable": true
                          },
                          "maximum_characters": {
                            "nullable": true
                          },
                          "maximum_words": {
                            "nullable": true
                          },
                          "minimum_characters": {
                            "nullable": true
                          },
                          "minimum_words": {
                            "nullable": true
                          },
                          "options": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "order": {
                            "type": "integer"
                          },
                          "protection": {
                            "type": "string"
                          },
                          "registration": {
                            "nullable": true
                          },
                          "required": {
                            "type": "boolean"
                          },
                          "resource": {
                            "type": "string"
                          },
                          "scores": {
                            "type": "object",
                            "properties": {
                              "Yes": {
                                "type": "integer"
                              },
                              "No": {
                                "type": "integer"
                              }
                            }
                          },
                          "searchable": {
                            "type": "boolean"
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string",
                                    "format": "utc-millisec"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "tab": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "title": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "type": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "visibility": {
                            "type": "array",
                            "items": {}
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of fields."
      }
    },
    "/file/{token}": {
      "get": {
        "summary": "Get file info",
        "tags": [
          "File"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get file info",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "download_link": {
                      "type": "string"
                    },
                    "duration": {
                      "nullable": true
                    },
                    "filename": {
                      "type": "string"
                    },
                    "image_height": {
                      "nullable": true
                    },
                    "image_width": {
                      "nullable": true
                    },
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "caption": {
                          "type": "string"
                        },
                        "copyright": {
                          "type": "string"
                        },
                        "created": {
                          "type": "string"
                        },
                        "city": {
                          "type": "string"
                        },
                        "country": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string"
                        },
                        "camera": {
                          "type": "string"
                        },
                        "exposure": {
                          "type": "string"
                        },
                        "iso": {
                          "type": "string"
                        },
                        "fstop": {
                          "type": "string"
                        },
                        "focal_length": {
                          "type": "string"
                        },
                        "size": {
                          "type": "string"
                        }
                      }
                    },
                    "mime": {
                      "type": "string"
                    },
                    "size": {
                      "type": "integer"
                    },
                    "transcoding": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "basename": {
                            "type": "string"
                          },
                          "download_link": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          },
                          "timestamp": {
                            "type": "integer"
                          },
                          "size": {
                            "type": "integer"
                          },
                          "etag": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns file information by its token."
      },
      "parameters": [
        {
          "name": "token",
          "in": "path",
          "required": true,
          "description": "File token",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/leaderboard": {
      "get": {
        "summary": "List leaderboard",
        "tags": [
          "Leaderboard"
        ],
        "parameters": [
          {
            "name": "score_set",
            "in": "query",
            "required": false,
            "description": "Score set slug (required)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entry",
            "in": "query",
            "required": false,
            "description": "Entry slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "chapter",
            "in": "query",
            "required": false,
            "description": "Chapter slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "required": false,
            "description": "All available tags in the program",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "archived",
            "in": "query",
            "required": false,
            "description": "- only\n- all\n- none",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- category (slug)\n- chapter (slug)\n- division\n- link \n- slug\n- status\n- submitted\n- auto_score\n- title\n- tags",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "List leaderboard"
          }
        }
      }
    },
    "/order": {
      "get": {
        "summary": "List orders",
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "- paid\n- awaiting_payment",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "test",
            "in": "query",
            "required": false,
            "description": "- only\n- hide",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "- only (show only deleted categories)\n- included (include deleted categories)\n- none (exclude deleted categories)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- date\n- email\n- first_name\n- last_name\n- local_id\n- number\n- payment_method\n- payment_status\n- season\n- total",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List orders",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "comments": {
                            "type": "string"
                          },
                          "company": {
                            "type": "string",
                            "format": "color"
                          },
                          "country": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "currency": {
                            "type": "string"
                          },
                          "discount": {
                            "type": "integer"
                          },
                          "discount_code": {
                            "type": "string"
                          },
                          "invoice_number": {
                            "type": "string"
                          },
                          "ip_address": {
                            "type": "string",
                            "format": "ip-address"
                          },
                          "items": {
                            "type": "string"
                          },
                          "items_array": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "amount": {
                                  "type": "string",
                                  "format": "utc-millisec"
                                },
                                "description": {
                                  "type": "string",
                                  "format": "style"
                                },
                                "discount": {
                                  "type": "string",
                                  "format": "utc-millisec"
                                },
                                "entry": {
                                  "type": "object",
                                  "properties": {
                                    "slug": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": "string",
                                      "format": "uri"
                                    },
                                    "title": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "item_type": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "price": {
                                  "type": "object",
                                  "properties": {
                                    "slug": {
                                      "type": "string"
                                    },
                                    "link": {
                                      "type": "string",
                                      "format": "uri"
                                    },
                                    "title": {
                                      "type": "object",
                                      "properties": {
                                        "en_GB": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  }
                                },
                                "quantity": {
                                  "type": "integer"
                                }
                              }
                            }
                          },
                          "member_number": {
                            "type": "string",
                            "format": "color"
                          },
                          "payment_method": {
                            "type": "string"
                          },
                          "payment_status": {
                            "type": "string"
                          },
                          "postcode": {
                            "type": "string",
                            "format": "utc-millisec"
                          },
                          "processing_fee": {
                            "type": "number"
                          },
                          "processing_fee_rate": {
                            "type": "number"
                          },
                          "region": {
                            "type": "string"
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "subtotal": {
                            "type": "number"
                          },
                          "tax": {
                            "type": "number"
                          },
                          "tax_rate": {
                            "type": "integer"
                          },
                          "tax_rate_details": {
                            "type": "object",
                            "properties": {
                              "country": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "string"
                              },
                              "rate": {
                                "type": "integer"
                              },
                              "region": {
                                "nullable": true
                              },
                              "slug": {
                                "type": "string"
                              },
                              "term": {
                                "type": "string"
                              }
                            }
                          },
                          "tax_term": {
                            "type": "string"
                          },
                          "total": {
                            "type": "number"
                          },
                          "transaction_date": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "transaction_provider": {
                            "type": "string"
                          },
                          "transaction_reference": {
                            "type": "string"
                          },
                          "transaction_status": {
                            "type": "string"
                          },
                          "user": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "string"
                              },
                              "first_name": {
                                "type": "string"
                              },
                              "last_name": {
                                "type": "string"
                              },
                              "email": {
                                "type": "string",
                                "format": "email"
                              }
                            }
                          },
                          "vat_number": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of orders."
      }
    },
    "/order/{slug}": {
      "get": {
        "summary": "Get order",
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get order",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string"
                    },
                    "city": {
                      "type": "string"
                    },
                    "comments": {
                      "type": "string"
                    },
                    "company": {
                      "type": "string",
                      "format": "color"
                    },
                    "country": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "discount": {
                      "type": "integer"
                    },
                    "discount_code": {
                      "type": "string"
                    },
                    "invoice_number": {
                      "type": "string"
                    },
                    "ip_address": {
                      "type": "string",
                      "format": "ip-address"
                    },
                    "items": {
                      "type": "string"
                    },
                    "items_array": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "amount": {
                            "type": "string",
                            "format": "utc-millisec"
                          },
                          "description": {
                            "type": "string",
                            "format": "style"
                          },
                          "discount": {
                            "type": "string",
                            "format": "utc-millisec"
                          },
                          "entry": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "title": {
                                "type": "string"
                              }
                            }
                          },
                          "item_type": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "price": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "title": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "quantity": {
                            "type": "integer"
                          }
                        }
                      }
                    },
                    "member_number": {
                      "type": "string",
                      "format": "color"
                    },
                    "payment_method": {
                      "type": "string"
                    },
                    "payment_status": {
                      "type": "string"
                    },
                    "postcode": {
                      "type": "string",
                      "format": "utc-millisec"
                    },
                    "processing_fee": {
                      "type": "number"
                    },
                    "processing_fee_rate": {
                      "type": "number"
                    },
                    "region": {
                      "type": "string"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "subtotal": {
                      "type": "number"
                    },
                    "tax": {
                      "type": "number"
                    },
                    "tax_rate": {
                      "type": "integer"
                    },
                    "tax_rate_details": {
                      "type": "object",
                      "properties": {
                        "country": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "rate": {
                          "type": "integer"
                        },
                        "region": {
                          "nullable": true
                        },
                        "slug": {
                          "type": "string"
                        },
                        "term": {
                          "type": "string"
                        }
                      }
                    },
                    "tax_term": {
                      "type": "string"
                    },
                    "total": {
                      "type": "number"
                    },
                    "transaction_date": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "transaction_provider": {
                      "type": "string"
                    },
                    "transaction_reference": {
                      "type": "string"
                    },
                    "transaction_status": {
                      "type": "string"
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        },
                        "email": {
                          "type": "string",
                          "format": "email"
                        }
                      }
                    },
                    "vat_number": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns an order by its slug."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Order slug",
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update order",
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update order",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string"
                    },
                    "city": {
                      "type": "string"
                    },
                    "comments": {
                      "type": "string"
                    },
                    "company": {
                      "type": "string",
                      "format": "color"
                    },
                    "country": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "discount": {
                      "type": "integer"
                    },
                    "discount_code": {
                      "type": "string"
                    },
                    "invoice_number": {
                      "type": "string"
                    },
                    "ip_address": {
                      "type": "string",
                      "format": "ip-address"
                    },
                    "items": {
                      "type": "string"
                    },
                    "member_number": {
                      "type": "string",
                      "format": "color"
                    },
                    "payment_method": {
                      "type": "string"
                    },
                    "payment_status": {
                      "type": "string"
                    },
                    "postcode": {
                      "type": "string",
                      "format": "utc-millisec"
                    },
                    "processing_fee": {
                      "type": "number"
                    },
                    "processing_fee_rate": {
                      "type": "number"
                    },
                    "region": {
                      "type": "string"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "subtotal": {
                      "type": "number"
                    },
                    "tax": {
                      "type": "number"
                    },
                    "tax_rate": {
                      "type": "integer"
                    },
                    "tax_term": {
                      "type": "string"
                    },
                    "total": {
                      "type": "number"
                    },
                    "transaction_date": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "transaction_provider": {
                      "type": "string"
                    },
                    "transaction_reference": {
                      "type": "string"
                    },
                    "transaction_status": {
                      "type": "string"
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "string"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "last_name": {
                          "type": "string"
                        },
                        "email": {
                          "type": "string",
                          "format": "email"
                        }
                      }
                    },
                    "vat_number": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update the billing information and the status of an existing order.\n\n| Parameter | Required | Type | Description |\n| --------- | -------- | ---- | ----------- |\n| company | No| String | Billing information |\n| address | No | String | Billing information |\n| city | No | String | Billing information |\n| state | No | String | Billing information |\n| postcode | No | String | Billing information |\n| country | No | Two-letter country code | Billing information (see https://support.awardforce.com/hc/en-us/articles/360000237856-Two-letter-country-codes) |\n| payment_status | No | String | Status of the order. Possible values: <ul> <li>paid</li> <li>awaiting_payment</li> |\n| note | No | String | Annotation on the order |",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/review-task": {
      "post": {
        "summary": "Create review task",
        "tags": [
          "Review task"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Create review task"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "get": {
        "summary": "List review task",
        "tags": [
          "Review task"
        ],
        "parameters": [
          {
            "name": "action_at",
            "in": "query",
            "required": false,
            "description": "- [before]=YYYY-MM-DDTHH:MM:SSZ\n- [after]=YYYY-MM-DDTHH:MM:SSZ\n- [on]=YYYY-MM-DDTHH:MM:SSZ\n- [between]=[YYYY-MM-DDTHH:MM:SSZ,YYYY-MM-DDTHH:MM:SSZ]",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "created_at",
            "in": "query",
            "required": false,
            "description": "- [before]=YYYY-MM-DDTHH:MM:SSZ\n- [after]=YYYY-MM-DDTHH:MM:SSZ\n- [on]=YYYY-MM-DDTHH:MM:SSZ\n- [between]=[YYYY-MM-DDTHH:MM:SSZ,YYYY-MM-DDTHH:MM:SSZ]",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "decision",
            "in": "query",
            "required": false,
            "description": "Decision name",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "- only (show only deleted review tasks)\n- included (include deleted review tasks)\n- none (exclude deleted review tasks)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "review_stage",
            "in": "query",
            "required": false,
            "description": "Review stage slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reviewer",
            "in": "query",
            "required": false,
            "description": "Reviewer name or email",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "updated_at",
            "in": "query",
            "required": false,
            "description": "- [before]=YYYY-MM-DDTHH:MM:SSZ\n- [after]=YYYY-MM-DDTHH:MM:SSZ\n- [on]=YYYY-MM-DDTHH:MM:SSZ\n- [between]=[YYYY-MM-DDTHH:MM:SSZ,YYYY-MM-DDTHH:MM:SSZ]",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "List review task"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "/review-task/{token}": {
      "get": {
        "summary": "Get review task",
        "tags": [
          "Review task"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "Get review task"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "token",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/round": {
      "get": {
        "summary": "List Rounds",
        "tags": [
          "Round"
        ],
        "parameters": [
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "- entry\n- judge\n- feedback",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List Rounds",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "chapters": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "name": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "end_date": {
                            "type": "string",
                            "format": "style"
                          },
                          "form": {
                            "type": "string"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string",
                                    "format": "utc-millisec"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "start_date": {
                            "type": "string",
                            "format": "style"
                          },
                          "type": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of rounds."
      }
    },
    "/round/{slug}": {
      "get": {
        "summary": "Get Round",
        "tags": [
          "Round"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get Round",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "chapters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "end_date": {
                      "type": "string",
                      "format": "style"
                    },
                    "form": {
                      "type": "string"
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "start_date": {
                      "type": "string",
                      "format": "style"
                    },
                    "type": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a round by its slug."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Round slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/score-set": {
      "get": {
        "summary": "List score sets",
        "tags": [
          "Score set"
        ],
        "parameters": [
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "form",
            "in": "query",
            "required": false,
            "description": "Form slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mode",
            "in": "query",
            "required": false,
            "description": " - qualifying\n - top_pick\n - vip_judging\n - voting\n - gallery",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List scoresets",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Length": {
                "schema": {
                  "type": "integer"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "X-DataDome": {
                "schema": {
                  "type": "string"
                }
              },
              "Accept-CH": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Ratelimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-Ratelimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-Ratelimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "Etag": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "form": {
                            "type": "string"
                          },
                          "mode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "order": {
                            "type": "integer"
                          },
                          "season": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string"
                              },
                              "link": {
                                "type": "string",
                                "format": "uri"
                              },
                              "name": {
                                "type": "object",
                                "properties": {
                                  "en_GB": {
                                    "type": "string",
                                    "format": "utc-millisec"
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of score sets."
      }
    },
    "/score-set/{slug}": {
      "get": {
        "summary": "Get score set",
        "tags": [
          "Score set"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get scoreset",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "X-DataDome": {
                "schema": {
                  "type": "string"
                }
              },
              "Accept-CH": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "form": {
                      "type": "string"
                    },
                    "mode": {
                      "type": "string"
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string"
                        }
                      }
                    },
                    "order": {
                      "type": "integer"
                    },
                    "season": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        },
                        "name": {
                          "type": "object",
                          "properties": {
                            "en_GB": {
                              "type": "string",
                              "format": "utc-millisec"
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a score set by its slug."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/season": {
      "get": {
        "summary": "List seasons",
        "tags": [
          "Season"
        ],
        "parameters": [
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "- only (show only deleted categories)\n- included (include deleted categories)\n- none (exclude deleted categories)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- created\n- name\n- status",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List seasons",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of seasons."
      }
    },
    "/season/{slug}": {
      "get": {
        "summary": "Get season",
        "tags": [
          "Season"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get season",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "created": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "name": {
                      "type": "object",
                      "properties": {
                        "en_GB": {
                          "type": "string",
                          "format": "utc-millisec"
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a season by its slug. The response consists of all season fields."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "Season slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/tax": {
      "get": {
        "summary": "List taxes",
        "tags": [
          "Tax"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List taxes",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "country": {
                            "type": "string"
                          },
                          "country_name": {
                            "type": "string"
                          },
                          "created": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "name": {
                            "type": "string"
                          },
                          "rate": {
                            "type": "integer"
                          },
                          "region": {
                            "nullable": true
                          },
                          "region_name": {
                            "nullable": true
                          },
                          "slug": {
                            "type": "string"
                          },
                          "term": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of taxes."
      }
    },
    "/user": {
      "get": {
        "summary": "List users",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "role",
            "in": "query",
            "required": false,
            "description": "Role slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "confirmation",
            "in": "query",
            "required": false,
            "description": "- confirmed\n- pending",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "season_joined",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "active_in_season",
            "in": "query",
            "required": false,
            "description": "Season slug",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entries",
            "in": "query",
            "required": false,
            "description": "- current_season\n- none_current_season\n- archived_season\n- none",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted",
            "in": "query",
            "required": false,
            "description": "- only (show only deleted users)\n- included (include deleted users)\n- none (exclude deleted users)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- confirmed_at\n- email\n- mobile\n- name\n- updated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "required": false,
            "description": "Language code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-language",
            "in": "header",
            "required": false,
            "description": "Defines the languages to include in the response.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List users",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "analytics_cookies": {
                            "type": "boolean"
                          },
                          "broadcast_emails": {
                            "type": "boolean"
                          },
                          "confirmation": {
                            "type": "string"
                          },
                          "confirmed_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "created_by": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string",
                            "format": "email"
                          },
                          "first_name": {
                            "type": "string"
                          },
                          "language": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "language": {
                                "type": "string"
                              }
                            }
                          },
                          "last_name": {
                            "type": "string"
                          },
                          "marketing_cookies": {
                            "type": "boolean"
                          },
                          "mobile": {
                            "type": "string",
                            "format": "utc-millisec"
                          },
                          "name": {
                            "type": "string"
                          },
                          "necessary_cookies": {
                            "type": "boolean"
                          },
                          "notification_emails": {
                            "type": "boolean"
                          },
                          "notification_sms": {
                            "type": "boolean"
                          },
                          "roles": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "slug": {
                                  "type": "string"
                                },
                                "link": {
                                  "type": "string",
                                  "format": "uri"
                                },
                                "name": {
                                  "type": "object",
                                  "properties": {
                                    "en_GB": {
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "slug": {
                            "type": "string"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of users."
      },
      "post": {
        "summary": "Create user",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Create user",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analytics_cookies": {
                      "type": "boolean"
                    },
                    "broadcast_emails": {
                      "type": "boolean"
                    },
                    "confirmed_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_by": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string",
                      "format": "email"
                    },
                    "first_name": {
                      "type": "string"
                    },
                    "language": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        }
                      }
                    },
                    "last_name": {
                      "type": "string"
                    },
                    "marketing_cookies": {
                      "type": "boolean"
                    },
                    "mobile": {
                      "type": "string",
                      "format": "utc-millisec"
                    },
                    "name": {
                      "type": "string"
                    },
                    "necessary_cookies": {
                      "type": "boolean"
                    },
                    "notification_emails": {
                      "type": "boolean"
                    },
                    "notification_sms": {
                      "type": "boolean"
                    },
                    "preferences": {
                      "type": "object",
                      "properties": {
                        "broadcast_emails": {
                          "type": "boolean"
                        },
                        "notification_emails": {
                          "type": "boolean"
                        },
                        "notification_sms": {
                          "type": "boolean"
                        }
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "social_sharing": {
                      "type": "boolean"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "user_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Create a new user.\n\n| Parameter | Required | Type | Description |\n| --------- | -------- | ---- | ----------- |\n| first_name | Yes | String | User's first name |\n| last_name | Yes | String | User's last name |\n| password | Yes | String | Password for accessing the account |\n| email | Yes (if mobile is not set) | String | User's email address |\n| mobile | Yes (if email is not set) | String | User's mobile number |\n| roles | No | Array | Array of Role slugs  |\n| preferences | No | Object | Object containing key / value pairs where keys can be any of the following: <ul> <li>broadcast_emails</li> <li>notification_emails</li> <li>notification_sms</li> </ul> Values are of type Boolean |\n| user_fields | No | Object | Object containing key / value pairs. Where the key is the Field slug. e.g. \"fJkIjGmB\": \"Test value\" |"
      }
    },
    "/user/{email}": {
      "get": {
        "summary": "Get user by email",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get user by email",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analytics_cookies": {
                      "type": "boolean"
                    },
                    "broadcast_emails": {
                      "type": "boolean"
                    },
                    "confirmed_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_by": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string",
                      "format": "email"
                    },
                    "first_name": {
                      "type": "string"
                    },
                    "language": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        }
                      }
                    },
                    "last_name": {
                      "type": "string"
                    },
                    "marketing_cookies": {
                      "type": "boolean"
                    },
                    "mobile": {
                      "type": "string",
                      "format": "utc-millisec"
                    },
                    "name": {
                      "type": "string"
                    },
                    "necessary_cookies": {
                      "type": "boolean"
                    },
                    "notification_emails": {
                      "type": "boolean"
                    },
                    "notification_sms": {
                      "type": "boolean"
                    },
                    "preferences": {
                      "type": "object",
                      "properties": {
                        "broadcast_emails": {
                          "type": "boolean"
                        },
                        "notification_emails": {
                          "type": "boolean"
                        },
                        "notification_sms": {
                          "type": "boolean"
                        }
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "social_sharing": {
                      "type": "boolean"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "user_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a user by its email. The response consists of all user fields including files. Files include a download link."
      },
      "parameters": [
        {
          "name": "email",
          "in": "path",
          "required": true,
          "description": "User email",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/user/{slug}": {
      "get": {
        "summary": "Get user by slug",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get user by slug",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analytics_cookies": {
                      "type": "boolean"
                    },
                    "broadcast_emails": {
                      "type": "boolean"
                    },
                    "confirmed_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_by": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string",
                      "format": "email"
                    },
                    "first_name": {
                      "type": "string"
                    },
                    "language": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        }
                      }
                    },
                    "last_name": {
                      "type": "string"
                    },
                    "marketing_cookies": {
                      "type": "boolean"
                    },
                    "mobile": {
                      "type": "string",
                      "format": "utc-millisec"
                    },
                    "name": {
                      "type": "string"
                    },
                    "necessary_cookies": {
                      "type": "boolean"
                    },
                    "notification_emails": {
                      "type": "boolean"
                    },
                    "notification_sms": {
                      "type": "boolean"
                    },
                    "preferences": {
                      "type": "object",
                      "properties": {
                        "broadcast_emails": {
                          "type": "boolean"
                        },
                        "notification_emails": {
                          "type": "boolean"
                        },
                        "notification_sms": {
                          "type": "boolean"
                        }
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "social_sharing": {
                      "type": "boolean"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "user_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a user by its slug. The response consists of all user fields including files. Files include a download link."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "User slug",
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update user",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update user",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "analytics_cookies": {
                      "type": "boolean"
                    },
                    "broadcast_emails": {
                      "type": "boolean"
                    },
                    "confirmed_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "created_by": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string",
                      "format": "email"
                    },
                    "first_name": {
                      "type": "string"
                    },
                    "language": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        }
                      }
                    },
                    "last_name": {
                      "type": "string"
                    },
                    "marketing_cookies": {
                      "type": "boolean"
                    },
                    "mobile": {
                      "type": "string",
                      "format": "utc-millisec"
                    },
                    "name": {
                      "type": "string"
                    },
                    "necessary_cookies": {
                      "type": "boolean"
                    },
                    "notification_emails": {
                      "type": "boolean"
                    },
                    "notification_sms": {
                      "type": "boolean"
                    },
                    "preferences": {
                      "type": "object",
                      "properties": {
                        "broadcast_emails": {
                          "type": "boolean"
                        },
                        "notification_emails": {
                          "type": "boolean"
                        },
                        "notification_sms": {
                          "type": "boolean"
                        }
                      }
                    },
                    "roles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "name": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "slug": {
                      "type": "string"
                    },
                    "social_sharing": {
                      "type": "boolean"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "user_fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string",
                            "format": "uri"
                          },
                          "label": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          },
                          "value": {
                            "type": "string"
                          },
                          "translated": {
                            "type": "object",
                            "properties": {
                              "en_GB": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update an existing user.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| first_name | No | String | User's first name |\n| last_name | No | String | User's last name |\n| password | No | String | Password for accessing the account |\n| email | No | String | User's email address |\n| mobile | No | String | User's mobile number |\n| roles | No | Array | Array of Role slugs |\n| preferences | No | Object | Object containing key / value pairs where keys can be any of the following:<br><br>- broadcast_emails<br><br>- notification_emails<br><br>- notification_sms<br><br>Values are of type Boolean |\n| user_fields | No | Object | Object containing key / value pairs. Where the key is the Field slug. e.g. \"fJkIjGmB\": \"Test value\" |"
      },
      "delete": {
        "summary": "Delete user",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete user",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "description": "Delete an existing user."
      }
    },
    "/user/{user_slug}/upload/{field_slug}": {
      "post": {
        "summary": "Upload user file",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Upload user file",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "filename": {
                      "type": "string"
                    },
                    "token": {
                      "type": "string"
                    },
                    "link": {
                      "type": "string",
                      "format": "uri"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Upload a file to a user file field.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "user_slug",
          "in": "path",
          "required": true,
          "description": "User slug",
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "field_slug",
          "in": "path",
          "required": true,
          "description": "User field slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/user/{slug}/auth-token": {
      "get": {
        "summary": "Get auth token",
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get auth token",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "auth_token": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns an auth token for a given user. The response consists of a token that allows the user to log into the app using SSO. To learn more about this please refer to [Creating your own SSO integration in Award Force](https://support.awardforce.com/hc/en-us/articles/360002282716-Creating-your-own-SSO-integration) or [Creating your own SSO integration in Good Grants](https://help.goodgrants.com/hc/en-gb/articles/360002287675-Creating-your-own-SSO-integration)."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "description": "User slug",
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "/webhook": {
      "get": {
        "summary": "List webooks",
        "tags": [
          "Webhook"
        ],
        "parameters": [
          {
            "name": "http_method",
            "in": "query",
            "required": false,
            "description": "- post\n- get",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscription_event",
            "in": "query",
            "required": false,
            "description": "- allocation_created\n- allocation_payment_created\n- allocation_payment_deleted\n- allocation_payment_status_changed\n- allocation_payment_updated\n- assignment_completed\n- assignment_created\n- collaborator_invited\n- document_created\n- document_deleted\n- document_updated\n- entry_created\n- entry_eligible\n- entry_ineligible\n- entry_moderated\n- entry_resubmitted\n- entry_submitted\n- entry_tagged\n- entry_updated\n- field_value_updated\n- membership_registered\n- payment_pending\n- payment_success\n- review_task_created\n- review_task_submitted\n- role_granted\n- user_updated",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "url",
            "in": "query",
            "required": false,
            "description": "URL of the webhook",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "required": false,
            "description": "Number between 1 and 100",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Number greater than 0",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Column name to order by. The following options are available:\n- events\n- http_method\n- notification_emails\n- signing_keys\n- title\n- updated\n- url",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dir",
            "in": "query",
            "required": false,
            "description": "- asc\n- desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List webhooks",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_page": {
                      "type": "integer"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "events": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "method": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "slug": {
                            "type": "string"
                          },
                          "signing_key": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "updated": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "first_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "from": {
                      "type": "integer"
                    },
                    "last_page": {
                      "type": "integer"
                    },
                    "last_page_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "next_page_url": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string",
                      "format": "uri"
                    },
                    "per_page": {
                      "type": "integer"
                    },
                    "prev_page_url": {
                      "type": "string"
                    },
                    "to": {
                      "type": "integer"
                    },
                    "total": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a list of webhooks."
      },
      "post": {
        "summary": "Create webhook",
        "tags": [
          "Webhook"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Create webhook",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "method": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "signing_key": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Create a new webhook.\n\n**Supported webhook triggers:**\n\n- allocation_created\n    \n- allocation_payment_created\n    \n- allocation_payment_deleted\n    \n- allocation_payment_status_changed\n    \n- allocation_payment_updated\n    \n- assignment_completed\n    \n- assignment_created\n    \n- collaborator_invited\n    \n- document_created\n    \n- document_deleted\n    \n- document_updated\n    \n- entry_created\n    \n- entry_eligible\n    \n- entry_ineligible\n    \n- entry_moderated\n    \n- entry_resubmitted\n    \n- entry_submitted\n    \n- entry_tagged\n    \n- entry_updated\n    \n- field_value_updated\n    \n- membership_registered (User created)\n    \n- payment_pending\n    \n- payment_success\n    \n- review_task_created\n    \n- review_task_submitted\n    \n- role_granted\n    \n- user_updated\n    \n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| method | Yes | String | HTTP supported methods (\"get\"/\"post\") |\n| name | Yes | String | Name of the webhook |\n| url | Yes | String | URL for the webhook |\n| signing_key | No | String | Requests will be signed using this key and you can use it to validate the webhook payload. |\n| events | Yes | Array | List of events will trigger the webhook. Example: \\['role_granted', 'allocation_created'\\] |"
      }
    },
    "/webhook/{slug}": {
      "get": {
        "summary": "Get webhook",
        "tags": [
          "Webhook"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Get webhook",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Encoding": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "method": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "signing_key": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Returns a webhook by its slug."
      },
      "parameters": [
        {
          "name": "slug",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "put": {
        "summary": "Update webhook",
        "tags": [
          "Webhook"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Update webhook",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "method": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "signing_key": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "updated": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Update events, name and method of an existing webhook.\n\n| Parameter | Required | Type | Description |\n| --- | --- | --- | --- |\n| method | No | String | HTTP supported methods (\"get\"/\"post\") |\n| name | No | String | Name of the webhook |\n| url | No | String | URL for the webhook |\n| signing_key | No | String | Requests will be signed using this key and you can use it to validate the webhook payload. |\n| events | No | Array | List of events will trigger the webhook. Example: \\['role_granted', 'allocation_created'\\] |"
      },
      "delete": {
        "summary": "Delete webhook",
        "tags": [
          "Webhook"
        ],
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "required": true,
            "description": "Defines the response type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Used for authentication and authorisation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Delete webhook",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string"
                }
              },
              "Set-Cookie": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Reset": {
                "schema": {
                  "type": "integer"
                }
              },
              "ETag": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "X-XSS-Protection": {
                "schema": {
                  "type": "integer"
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string"
                }
              },
              "Feature-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "description": "Delete an existing webhook."
      }
    }
  }
}