{ "models": [ { "name": "Tournament", "synchronizable": true, "copyable": true, "observable": true, "relationshipNames": [], "properties": [ { "name": "id", "type": "String", "defaultValue": "Store.randomId()" }, { "name": "event", "type": "String", "optional": true, "foreignKey": "Event" }, { "name": "name", "type": "String", "optional": true }, { "name": "startDate", "type": "Date" }, { "name": "endDate", "type": "Date", "optional": true }, { "name": "creationDate", "type": "Date", "private": true }, { "name": "isPrivate", "type": "Bool" }, { "name": "groupStageFormat", "type": "MatchFormat", "optional": true, "private": true }, { "name": "roundFormat", "type": "MatchFormat", "optional": true, "private": true }, { "name": "loserRoundFormat", "type": "MatchFormat", "optional": true, "private": true }, { "name": "groupStageSortMode", "type": "GroupStageOrderingMode", "defaultValue": "GroupStageOrderingMode.snake" }, { "name": "groupStageCount", "type": "Int", "defaultValue": "4" }, { "name": "rankSourceDate", "type": "Date", "optional": true }, { "name": "dayDuration", "type": "Int", "defaultValue": "1" }, { "name": "teamCount", "type": "Int", "defaultValue": "24" }, { "name": "teamSorting", "type": "TeamSortingType", "defaultValue": "TeamSortingType.inscriptionDate" }, { "name": "federalCategory", "type": "TournamentCategory", "defaultValue": "TournamentCategory.men" }, { "name": "federalLevelCategory", "type": "TournamentLevel", "defaultValue": "TournamentLevel.p100" }, { "name": "federalAgeCategory", "type": "FederalTournamentAge", "defaultValue": "FederalTournamentAge.senior" }, { "name": "closedRegistrationDate", "type": "Date", "optional": true }, { "name": "groupStageAdditionalQualified", "type": "Int", "defaultValue": "0" }, { "name": "courtCount", "type": "Int", "defaultValue": "2" }, { "name": "prioritizeClubMembers", "type": "Bool", "defaultValue": "false" }, { "name": "qualifiedPerGroupStage", "type": "Int", "defaultValue": "1" }, { "name": "teamsPerGroupStage", "type": "Int", "defaultValue": "4" }, { "name": "entryFee", "type": "Double", "optional": true }, { "name": "payment", "type": "TournamentPayment", "optional": true, "defaultValue": "nil", "encryption": "tournament_payment", "codingKey": "globalId" }, { "name": "additionalEstimationDuration", "type": "Int", "defaultValue": "0" }, { "name": "isDeleted", "type": "Bool", "defaultValue": "false" }, { "name": "isCanceled", "type": "Bool", "defaultValue": "false", "encryption": "tournament_iscanceled", "codingKey": "localId" }, { "name": "publishTeams", "type": "Bool", "defaultValue": "false" }, { "name": "publishSummons", "type": "Bool", "defaultValue": "false" }, { "name": "publishGroupStages", "type": "Bool", "defaultValue": "false" }, { "name": "publishBrackets", "type": "Bool", "defaultValue": "false" }, { "name": "shouldVerifyGroupStage", "type": "Bool", "defaultValue": "false" }, { "name": "shouldVerifyBracket", "type": "Bool", "defaultValue": "false" }, { "name": "hideTeamsWeight", "type": "Bool", "defaultValue": "false" }, { "name": "publishTournament", "type": "Bool", "defaultValue": "false" }, { "name": "hidePointsEarned", "type": "Bool", "defaultValue": "false" }, { "name": "publishRankings", "type": "Bool", "defaultValue": "false" }, { "name": "loserBracketMode", "type": "LoserBracketMode", "defaultValue": ".automatic" }, { "name": "initialSeedRound", "type": "Int", "defaultValue": "0" }, { "name": "initialSeedCount", "type": "Int", "defaultValue": "0" }, { "name": "enableOnlineRegistration", "type": "Bool", "defaultValue": "false" }, { "name": "registrationDateLimit", "type": "Date", "optional": true }, { "name": "openingRegistrationDate", "type": "Date", "optional": true }, { "name": "waitingListLimit", "type": "Int", "optional": true }, { "name": "accountIsRequired", "type": "Bool", "defaultValue": "true" }, { "name": "licenseIsRequired", "type": "Bool", "defaultValue": "true" }, { "name": "minimumPlayerPerTeam", "type": "Int", "defaultValue": "2" }, { "name": "maximumPlayerPerTeam", "type": "Int", "defaultValue": "2" }, { "name": "information", "type": "String", "optional": true }, { "name": "umpireCustomMail", "type": "String", "optional": true }, { "name": "umpireCustomContact", "type": "String", "optional": true }, { "name": "umpireCustomPhone", "type": "String", "optional": true }, { "name": "hideUmpireMail", "type": "Bool", "defaultValue": "false" }, { "name": "hideUmpirePhone", "type": "Bool", "defaultValue": "true" }, { "name": "disableRankingFederalRuling", "type": "Bool", "defaultValue": "false" }, { "name": "teamCountLimit", "type": "Bool", "defaultValue": "true" }, { "name": "enableOnlinePayment", "type": "Bool", "defaultValue": "false" }, { "name": "onlinePaymentIsMandatory", "type": "Bool", "defaultValue": "false" }, { "name": "enableOnlinePaymentRefund", "type": "Bool", "defaultValue": "false" }, { "name": "refundDateLimit", "type": "Date", "optional": true }, { "name": "stripeAccountId", "type": "String", "optional": true }, { "name": "enableTimeToConfirm", "type": "Bool", "defaultValue": "false" }, { "name": "isCorporateTournament", "type": "Bool", "defaultValue": "false" }, { "name": "isTemplate", "type": "Bool", "defaultValue": "false" }, { "name": "publishProg", "type": "Bool", "defaultValue": "false" }, { "name": "showTeamsInProg", "type": "Bool", "defaultValue": "false" }, { "name": "clubMemberFeeDeduction", "type": "Double", "optional": true }, { "name": "unregisterDeltaInHours", "type": "Int", "defaultValue": "24" }, { "name": "currencyCode", "type": "String", "optional": true } ] } ] }