{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-event-model-setings-request-schema.json",
  "title": "EventModelSetingsRequest",
  "description": "Every setting the organizer's own HTML form can edit.\n\nThis used to expose 10 of the model's 41 fields, and DRF drops unknown keys\nin silence: a PATCH carrying the event regulations, the team caps, the\nauto-timeline toggles, the contingency plan or any of the 25 social links\nanswered 200 OK and discarded all of them. The queryset on\nEventModelSetingsViewSet is already scoped to the caller's own events, so\nexposing the full set leaks nothing; the fields the PUBLIC page shows are\nserved separately and anonymously by EventPublicRulesAPIView.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clusterhack-dev-openapi.yml#/components/schemas/EventModelSetingsRequest",
  "type": "object",
  "properties": {
    "txt_provision_of_conducting": {
      "type": "string",
      "title": "The text of the regulation on holding the event"
    },
    "txt_personal_information": {
      "type": "string",
      "title": "Text, personal data processing"
    },
    "min_participant_age": {
      "type": [
        "integer",
        "null"
      ],
      "maximum": 32767,
      "minimum": -32768,
      "title": "Minimum age of participant"
    },
    "limiting_the_mumber_of_teams": {
      "type": [
        "integer",
        "null"
      ],
      "maximum": 32767,
      "minimum": -32768,
      "title": "Team limit"
    },
    "number_of_teams_nominations": {
      "type": [
        "integer",
        "null"
      ],
      "maximum": 32767,
      "minimum": -32768,
      "title": "How many teams can be in one nomination"
    },
    "min_people_in_team": {
      "type": [
        "integer",
        "null"
      ],
      "maximum": 32767,
      "minimum": -32768,
      "title": "Minimum number of people in a team"
    },
    "max_people_in_team": {
      "type": [
        "integer",
        "null"
      ],
      "maximum": 32767,
      "minimum": -32768,
      "title": "Maximum number of people in a team"
    },
    "asking_age": {
      "type": "boolean",
      "title": "Ask age?"
    },
    "url_google_form": {
      "title": "Google forms link",
      "description": "To conduct a survey at registration",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "hide_event_from_list": {
      "type": "boolean",
      "title": "Hide this event from the general list"
    },
    "auto_switch_timeline": {
      "type": "boolean",
      "title": "Automatically switch checkpoint in timeline"
    },
    "auto_notify_timeline_tg": {
      "type": "boolean",
      "title": "Automatically notify about switching the timeline to the telegram channel"
    },
    "contingency_plan": {
      "type": "string"
    },
    "ton_place_link": {
      "title": "Link to your Ton.Place",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "facebook_link": {
      "title": "Facebook social network link",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "youtube_link": {
      "title": "YouTube chanel link",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "instagram_link": {
      "title": "Link to Instagram profile",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "wechat_link": {
      "title": "Link to your Wechat",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "tiktok_link": {
      "title": "Link to your TikTok",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "qq_link": {
      "title": "Link to your QQ",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "sina_weibo_link": {
      "title": "Link to your Sina Weibo",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "douyin_link": {
      "title": "Link to your Douyin",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "kuaishou_link": {
      "title": "Link to your Kwai",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "twitter_link": {
      "title": "Link to your Twitter",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "pinterest_link": {
      "title": "Link to your Pinterest",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "reddit_link": {
      "title": "Link to your Reddit",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "quora_link": {
      "title": "Link to your Quora",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "snapchat_link": {
      "title": "Link to your Snapchat",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "vk_link": {
      "title": "Link to your VK",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "ok_link": {
      "title": "Link to your Odnoklassniki",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "livejournal_link": {
      "title": "Link to your LiveJournal",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "boosty_link": {
      "title": "Link to your Boosty",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "patreon_link": {
      "title": "Link to your Patreon",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "twitch_link": {
      "title": "Link to your Twitch",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "discord_link": {
      "title": "Link to Discord server",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "slack_link": {
      "title": "Link to Slack",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "zoom_link": {
      "title": "Link to Zoom",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "linkedin_link": {
      "title": "Link to Linkedin",
      "oneOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 200
        },
        {
          "type": "string",
          "maxLength": 0
        }
      ]
    },
    "id_event_model": {
      "type": "integer"
    },
    "ethics_approval": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "id_event_model"
  ]
}