{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"PlayFit redesign input contracts","description":"Generated from runtime Zod schemas. Cross-field refinements and date parsing remain enforced by the server. This catalogue covers input shapes; route bindings and response contracts are documented separately.","$defs":{"account.emailChangeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","maxLength":254}}},"account.emailPreferencesSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"transactional":{"type":"boolean"},"product":{"type":"boolean"},"activity":{"type":"boolean"},"marketing":{"type":"boolean"}}},"account.emailTemplatesSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"templates":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":100},"variant":{"type":"string","enum":["security","shop","activity","marketing","operational"]},"subject":{"type":"string","minLength":1,"maxLength":180},"preheader":{"type":"string","maxLength":180},"body":{"type":"string","minLength":1,"maxLength":4000},"ctaLabel":{"type":"string","maxLength":80},"ctaPath":{"type":"string","maxLength":500},"blocks":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["HEADING","PARAGRAPH","HIGHLIGHT","DIVIDER"]},"text":{"type":"string","maxLength":2000}},"required":["id","type","text"]}}},"required":["id","name","variant","subject","preheader","body","ctaLabel","ctaPath","blocks"]}}},"required":["templates"]},"account.emailTestSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"recipient":{"type":"string","maxLength":254},"variant":{"default":"marketing","type":"string","enum":["security","shop","activity","marketing","operational"]},"templateId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["recipient"]},"account.emailUnsubscribeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"account.emailVerificationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","minLength":20,"maxLength":200}},"required":["token"]},"account.nicknameChangeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"nickname":{"type":"string","minLength":1,"maxLength":11,"pattern":"^[^\\s#\\p{Cc}\\p{Cf}]+$"}},"required":["nickname"]},"account.phoneLinkSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"phone":{"type":"string","minLength":10,"maxLength":40}},"required":["phone"]},"account.privacyConsentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"policyVersion":{"type":"string","minLength":1,"maxLength":40},"analyticsConsent":{"type":"boolean"},"locationConsent":{"type":"boolean"}},"required":["policyVersion"]},"achievements.achievementCreateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[\\p{L}\\p{N}-]+$"},"title":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":1000},"icon":{"type":"string","minLength":1,"maxLength":100},"iconColor":{"default":"#c60814","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"visual":{"type":"object","properties":{"cardStyle":{"type":"string","enum":["standard","soft","outline","dark"]},"iconShape":{"type":"string","enum":["octagon","circle","rounded","hexagon"]},"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"required":["cardStyle","iconShape"]},"pointsReward":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"criteria":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["slug","title","description","icon","criteria"]},"achievements.achievementPatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":1000},"icon":{"type":"string","minLength":1,"maxLength":100},"iconColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"visual":{"type":"object","properties":{"cardStyle":{"type":"string","enum":["standard","soft","outline","dark"]},"iconShape":{"type":"string","enum":["octagon","circle","rounded","hexagon"]},"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"}},"required":["cardStyle","iconShape"]},"pointsReward":{"type":"integer","minimum":0,"maximum":1000000},"criteria":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"expectedRuleRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"activity.activityBatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":1},"events":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["SCREEN_VIEW","CLICK","ERROR"]},"screen":{"type":"string","maxLength":200,"pattern":"^\\/[a-zA-Z0-9_/:.-]*$"},"target":{"type":"string","pattern":"^[a-z0-9._:/-]{1,160}$"},"errorCode":{"type":"string","pattern":"^[A-Z0-9_:-]{1,80}$"},"device":{"type":"string","enum":["MOBILE","DESKTOP","TABLET","UNKNOWN"]},"environment":{"type":"string","enum":["production","stage","development","unknown"]},"appVersion":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{1,80}$"},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","sessionId","kind","screen","occurredAt"]}}},"required":["userId","events"]},"activity.activityEventSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["SCREEN_VIEW","CLICK","ERROR"]},"screen":{"type":"string","maxLength":200,"pattern":"^\\/[a-zA-Z0-9_/:.-]*$"},"target":{"type":"string","pattern":"^[a-z0-9._:/-]{1,160}$"},"errorCode":{"type":"string","pattern":"^[A-Z0-9_:-]{1,80}$"},"device":{"type":"string","enum":["MOBILE","DESKTOP","TABLET","UNKNOWN"]},"environment":{"type":"string","enum":["production","stage","development","unknown"]},"appVersion":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{1,80}$"},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","sessionId","kind","screen","occurredAt"]},"admin-commerce.bannerInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"subtitle":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"ctaLabel":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"ctaUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"placement":{"type":"string","minLength":2,"maxLength":80},"targetSegment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"sortOrder":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"endsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"active":{"default":true,"type":"boolean"}},"required":["title","placement"]},"admin-commerce.bannerInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"subtitle":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"ctaLabel":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"ctaUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"placement":{"type":"string","minLength":2,"maxLength":80},"targetSegment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"sortOrder":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"endsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"active":{"default":true,"type":"boolean"}},"required":["title","placement"]},"admin-commerce.bannerPatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"subtitle":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"ctaLabel":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"ctaUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"placement":{"type":"string","minLength":2,"maxLength":80},"targetSegment":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"endsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"active":{"type":"boolean"}}},"admin-commerce.boxInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":2,"maxLength":160},"description":{"type":"string","minLength":2,"maxLength":20000},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"price":{"type":"integer","minimum":0,"maximum":9007199254740991},"availableFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"availableUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"openingLimitPerUser":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"cooldownSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"pityThreshold":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","ACTIVE","SOLD_OUT","EXPIRED","ARCHIVED"]},"placement":{"anyOf":[{"type":"string","enum":["PROMO","WEEKLY"]},{"type":"null"}]},"placementTitle":{"type":"string","maxLength":160},"placementText":{"type":"string","maxLength":300},"rewardsPerOpening":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]},"secretChallengeWeight":{"default":1,"type":"integer","minimum":1,"maximum":10000},"prizes":{"minItems":1,"type":"array","items":{"type":"object","properties":{"productId":{"type":"string","minLength":1},"weight":{"default":1,"type":"integer","minimum":1,"maximum":10000},"rarity":{"default":"COMMON","type":"string","minLength":2,"maxLength":40},"stock":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"globalLimit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"userLimit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"guaranteed":{"default":false,"type":"boolean"}},"required":["productId"]}}},"required":["slug","name","description","price","prizes"]},"admin-commerce.categoryInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"parentId":{"type":["string","null"]},"description":{"type":"string"},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"icon":{"type":"string"},"sortOrder":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"visible":{"default":true,"type":"boolean"},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","PUBLISHED","ARCHIVED","PENDING_DELETE"]},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","slug"]},"admin-commerce.categoryPatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":120},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"parentId":{"type":["string","null"]},"description":{"type":"string"},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"icon":{"type":"string"},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"visible":{"type":"boolean"},"status":{"type":"string","enum":["DRAFT","PUBLISHED","ARCHIVED","PENDING_DELETE"]},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"admin-commerce.collectionInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":2,"maxLength":160},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"mode":{"default":"MANUAL","type":"string","enum":["MANUAL","RULE_BASED"]},"rules":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"visible":{"default":true,"type":"boolean"},"sortOrder":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"endsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"productIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1}}},"required":["slug","name"]},"admin-commerce.collectionInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":2,"maxLength":160},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"mode":{"default":"MANUAL","type":"string","enum":["MANUAL","RULE_BASED"]},"rules":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"visible":{"default":true,"type":"boolean"},"sortOrder":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"endsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"productIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1}}},"required":["slug","name"]},"admin-commerce.collectionPatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":2,"maxLength":160},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"mode":{"type":"string","enum":["MANUAL","RULE_BASED"]},"rules":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"visible":{"type":"boolean"},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"startsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"endsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"productIds":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}}}},"admin-commerce.commerceMediaPurposeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["shop-product","profile-frame","shop-collection","shop-banner","shop-category","mystery-box"]},"admin-commerce.entitlementStatusSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["PENDING","ACTIVE","USED","EXPIRED","REVOKED","REFUNDED"]},"admin-commerce.inventoryAdjustmentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"quantity":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reason":{"type":"string","minLength":3,"maxLength":500}},"required":["quantity","reason"]},"admin-commerce.mysteryBoxPlacementSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"placement":{"anyOf":[{"type":"string","enum":["PROMO","WEEKLY"]},{"type":"null"}]},"placementTitle":{"type":"string","maxLength":160},"placementText":{"type":"string","maxLength":300}},"required":["placement"]},"admin-commerce.orderFulfillmentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","minLength":3,"maxLength":500}},"required":["reason"]},"admin-commerce.orderReadySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reason":{"type":"string","minLength":3,"maxLength":500}},"required":["reason"]},"admin-commerce.orderRefundSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"reason":{"type":"string","minLength":3,"maxLength":500},"internalComment":{"type":"string","maxLength":1000}},"required":["reason"]},"admin-commerce.orderStatusSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["PENDING","PAID","PROCESSING","READY_FOR_PICKUP","FULFILLED","CANCELLED","REFUNDED","PARTIALLY_REFUNDED","FAILED"]},"admin-commerce.prizeInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"productId":{"type":"string","minLength":1},"weight":{"default":1,"type":"integer","minimum":1,"maximum":10000},"rarity":{"default":"COMMON","type":"string","minLength":2,"maxLength":40},"stock":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"globalLimit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"userLimit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"guaranteed":{"default":false,"type":"boolean"}},"required":["productId"]},"admin-commerce.productInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"categoryId":{"type":"string","minLength":1},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":2,"maxLength":160},"shortDescription":{"type":"string","minLength":2,"maxLength":300},"description":{"type":"string","minLength":2,"maxLength":20000},"images":{"default":[],"maxItems":12,"type":"array","items":{"type":"string","maxLength":2000}},"gallery":{"type":"array","items":{"type":"string","maxLength":2000}},"type":{"type":"string","enum":["DIGITAL_ITEM","PHYSICAL_PRODUCT","MERCH","PASS","SERVICE","RENTAL","GUEST_VISIT","LESSON","COURSE","ROUTE","SECRET_ROUTE","EVENT","TRIP","MYSTERY_BOX","SPECIAL_REWARD"]},"tags":{"type":"array","items":{"type":"string"}},"price":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"TENGUS","type":"string"},"oldPrice":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountPercent":{"type":"integer","minimum":0,"maximum":100},"globalLimit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"stockTracked":{"default":false,"type":"boolean"},"availableFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"availableUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"minLevel":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"requiredLeagueId":{"type":"string"},"requiredAchievements":{"type":"array","items":{"type":"string"}},"purchaseLimitPerUser":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fulfillmentType":{"type":"string","enum":["AUTO","PICKUP","RECEPTION","QR_RECEPTION","VOUCHER","MANUAL"]},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","ACTIVE","SOLD_OUT","EXPIRED","ARCHIVED"]},"cta":{"type":"string","maxLength":80},"sortOrder":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["categoryId","slug","name","shortDescription","description","type","price","fulfillmentType"]},"admin-commerce.productInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"categoryId":{"type":"string","minLength":1},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":2,"maxLength":160},"shortDescription":{"type":"string","minLength":2,"maxLength":300},"description":{"type":"string","minLength":2,"maxLength":20000},"images":{"default":[],"maxItems":12,"type":"array","items":{"type":"string","maxLength":2000}},"gallery":{"type":"array","items":{"type":"string","maxLength":2000}},"type":{"type":"string","enum":["DIGITAL_ITEM","PHYSICAL_PRODUCT","MERCH","PASS","SERVICE","RENTAL","GUEST_VISIT","LESSON","COURSE","ROUTE","SECRET_ROUTE","EVENT","TRIP","MYSTERY_BOX","SPECIAL_REWARD"]},"tags":{"type":"array","items":{"type":"string"}},"price":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"default":"TENGUS","type":"string"},"oldPrice":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountPercent":{"type":"integer","minimum":0,"maximum":100},"globalLimit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"stockTracked":{"default":false,"type":"boolean"},"availableFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"availableUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"minLevel":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"requiredLeagueId":{"type":"string"},"requiredAchievements":{"type":"array","items":{"type":"string"}},"purchaseLimitPerUser":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fulfillmentType":{"type":"string","enum":["AUTO","PICKUP","RECEPTION","QR_RECEPTION","VOUCHER","MANUAL"]},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","ACTIVE","SOLD_OUT","EXPIRED","ARCHIVED"]},"cta":{"type":"string","maxLength":80},"sortOrder":{"default":0,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["categoryId","slug","name","shortDescription","description","type","price","fulfillmentType"]},"admin-commerce.productPatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"categoryId":{"type":"string","minLength":1},"slug":{"type":"string","pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"name":{"type":"string","minLength":2,"maxLength":160},"shortDescription":{"type":"string","minLength":2,"maxLength":300},"description":{"type":"string","minLength":2,"maxLength":20000},"images":{"maxItems":12,"type":"array","items":{"type":"string","maxLength":2000}},"gallery":{"type":"array","items":{"type":"string","maxLength":2000}},"type":{"type":"string","enum":["DIGITAL_ITEM","PHYSICAL_PRODUCT","MERCH","PASS","SERVICE","RENTAL","GUEST_VISIT","LESSON","COURSE","ROUTE","SECRET_ROUTE","EVENT","TRIP","MYSTERY_BOX","SPECIAL_REWARD"]},"tags":{"type":"array","items":{"type":"string"}},"price":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string"},"oldPrice":{"type":"integer","minimum":0,"maximum":9007199254740991},"discountPercent":{"type":"integer","minimum":0,"maximum":100},"globalLimit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"stockTracked":{"type":"boolean"},"availableFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"availableUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"minLevel":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"requiredLeagueId":{"type":"string"},"requiredAchievements":{"type":"array","items":{"type":"string"}},"purchaseLimitPerUser":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"fulfillmentType":{"type":"string","enum":["AUTO","PICKUP","RECEPTION","QR_RECEPTION","VOUCHER","MANUAL"]},"status":{"type":"string","enum":["DRAFT","SCHEDULED","ACTIVE","SOLD_OUT","EXPIRED","ARCHIVED"]},"cta":{"type":"string","maxLength":80},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"admin-commerce.promoCodeInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","minLength":3,"maxLength":40},"type":{"type":"string","enum":["PERCENT","FIXED"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"validFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"validUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"maxUses":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxUsesPerUser":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"applicableProducts":{"default":[],"type":"array","items":{"type":"string"}},"applicableCategories":{"default":[],"type":"array","items":{"type":"string"}},"userSegments":{"default":[],"type":"array","items":{"type":"string"}},"active":{"default":true,"type":"boolean"}},"required":["code","type","value","validFrom","validUntil"]},"admin-commerce.promoCodeInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","minLength":3,"maxLength":40},"type":{"type":"string","enum":["PERCENT","FIXED"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"validFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"validUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"maxUses":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxUsesPerUser":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"applicableProducts":{"default":[],"type":"array","items":{"type":"string"}},"applicableCategories":{"default":[],"type":"array","items":{"type":"string"}},"userSegments":{"default":[],"type":"array","items":{"type":"string"}},"active":{"default":true,"type":"boolean"}},"required":["code","type","value","validFrom","validUntil"]},"admin-commerce.promoCodePatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","minLength":3,"maxLength":40},"type":{"type":"string","enum":["PERCENT","FIXED"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"validFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"validUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"maxUses":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxUsesPerUser":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"applicableProducts":{"type":"array","items":{"type":"string"}},"applicableCategories":{"type":"array","items":{"type":"string"}},"userSegments":{"type":"array","items":{"type":"string"}},"active":{"type":"boolean"}}},"admin-commerce.promotionInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":160},"type":{"type":"string","enum":["PERCENT","FIXED"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"conditions":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"validFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"validUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"usageLimit":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"active":{"default":true,"type":"boolean"},"productIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1}}},"required":["name","type","value","validFrom","validUntil"]},"admin-commerce.promotionInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":160},"type":{"type":"string","enum":["PERCENT","FIXED"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"conditions":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"validFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"validUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"usageLimit":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"active":{"default":true,"type":"boolean"},"productIds":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1}}},"required":["name","type","value","validFrom","validUntil"]},"admin-commerce.promotionPatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":160},"type":{"type":"string","enum":["PERCENT","FIXED"]},"value":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"conditions":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"validFrom":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"validUntil":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"usageLimit":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"active":{"type":"boolean"},"productIds":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1}}}},"admin-commerce.storefrontPlacementKindSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["PROMO","WEEKLY"]},"admin-commerce.storefrontPlacementSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"entityType":{"type":"string","enum":["PRODUCT","MYSTERY_BOX"]},"entityId":{"type":"string","minLength":1}},"required":["entityType","entityId"]},"admin-commerce.walletAdjustmentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"amount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reason":{"type":"string","minLength":3,"maxLength":500},"internalComment":{"type":"string","maxLength":1000}},"required":["amount","reason"]},"admin-commerce.walletTransactionTypeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["EARN","PURCHASE","REFUND","REWARD","ADMIN_ADJUSTMENT","ACHIEVEMENT_REWARD","MISSION_REWARD","PROMO","COMPENSATION","REVERSAL","EXPIRATION"]},"admin.algorithmSettingsPatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pointsMultipliers":{"type":"object","properties":{"attempts":{"type":"array","items":{"type":"number"}},"speedMin":{"type":"number"},"speedMax":{"type":"number"},"routeColorPoints":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":100000}}},"additionalProperties":{}},"powerWeights":{"type":"object","properties":{"model":{"type":"string","const":"COLOR_ZONE_V2"},"floors":{"type":"object","propertyNames":{"type":"string","enum":["orange","white","yellow","green","blue","red","black"]},"additionalProperties":{"type":"number","minimum":1,"maximum":9,"multipleOf":0.01},"required":["orange","white","yellow","green","blue","red","black"]},"width":{"type":"number","minimum":0.1,"maximum":2,"multipleOf":0.01},"climbFactor":{"type":"number","minimum":0.01,"maximum":1,"multipleOf":0.01},"easierFactor":{"type":"number","minimum":0.01,"maximum":1,"multipleOf":0.01},"jumpFraction":{"type":"number","minimum":0.01,"maximum":0.99,"multipleOf":0.01},"decayRate":{"type":"number","minimum":0,"maximum":1,"multipleOf":0.01},"decayHour":{"type":"integer","minimum":0,"maximum":23},"decayTimezone":{"type":"string","enum":["Europe/Moscow","Asia/Yekaterinburg","Asia/Novosibirsk","Asia/Krasnoyarsk","Asia/Irkutsk","Asia/Vladivostok"]}},"required":["model","floors","width","climbFactor","easierFactor","jumpFraction","decayRate","decayHour","decayTimezone"],"additionalProperties":false},"recencyDays":{"type":"integer","minimum":1,"maximum":365},"recommendationWeights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"popularityWeights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"minimumAttemptDurationMs":{"type":"integer","minimum":0,"maximum":600000},"seasonDurationDays":{"type":"integer","minimum":1,"maximum":90},"streakSettings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"followerRankSettings":{"type":"object","properties":{"followersPerLevel":{"type":"integer","minimum":1,"maximum":1000},"baseRewardPoints":{"type":"integer","minimum":0,"maximum":100000},"rewardStepPoints":{"type":"integer","minimum":0,"maximum":100000},"maxLevel":{"type":"integer","minimum":1,"maximum":100}},"required":["followersPerLevel","baseRewardPoints","rewardStepPoints","maxLevel"]}}},"admin.ruleSimulationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subjectType":{"type":"string","enum":["CHALLENGE","ACHIEVEMENT"]},"definition":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"values":{"type":"object","properties":{"routesCompleted":{"type":"integer","minimum":0,"maximum":10000},"uniqueRoutes":{"type":"integer","minimum":0,"maximum":10000},"failedAttempts":{"type":"integer","minimum":0,"maximum":10000},"points":{"type":"integer","minimum":-1000000,"maximum":1000000},"activeDays":{"type":"integer","minimum":0,"maximum":3650},"completedChallenges":{"type":"integer","minimum":0,"maximum":10000},"earnedAchievements":{"type":"integer","minimum":0,"maximum":10000},"streakWeeks":{"type":"integer","minimum":0,"maximum":10000},"userLevel":{"type":"integer","minimum":1,"maximum":10000},"userPower":{"type":"number","minimum":0,"maximum":100},"followingCount":{"type":"integer","minimum":0,"maximum":1000000},"followerCount":{"type":"integer","minimum":0,"maximum":1000000},"leagueRank":{"type":"integer","minimum":1,"maximum":100000},"firstAscents":{"type":"integer","minimum":0,"maximum":10000},"availableRoutes":{"type":"integer","minimum":0,"maximum":10000},"routeColor":{"type":"string","enum":["#ff8a00","#f4f4f2","#ffca28","#39d353","#3aa7e8","#ef4444","#111111"]},"gymId":{"type":"string","maxLength":200},"gymName":{"type":"string","maxLength":200},"zoneId":{"type":"string","maxLength":200},"eventDate":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}}},"periodStartsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"periodEndsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"timezone":{"default":"Europe/Moscow","type":"string","minLength":1,"maxLength":100}},"required":["subjectType","definition","values"]},"admin.ruleTemplateCreateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":1000},"subjectType":{"anyOf":[{"type":"string","enum":["CHALLENGE","ACHIEVEMENT"]},{"type":"null"}]},"networkId":{"type":["string","null"]},"gymId":{"type":["string","null"]},"definition":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["name","description","definition"]},"admin.ruleTemplatePatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","maxLength":1000},"definition":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["expectedRevision"]},"admin.ruleValidationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"subjectType":{"type":"string","enum":["CHALLENGE","ACHIEVEMENT"]},"definition":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["subjectType","definition"]},"analytics-dashboard.analyticsFiltersSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"days":{"default":7,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"device":{"default":"ALL","type":"string","enum":["ALL","MOBILE","DESKTOP","TABLET","UNKNOWN"]},"segment":{"default":"ALL","type":"string","enum":["ALL","NEW","CRM_LINKED"]}}},"analytics-dashboard.analyticsReviewSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"userId":{"type":"string","minLength":1},"from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"count":{"type":"integer","minimum":4,"maximum":10000},"status":{"type":"string","enum":["PENDING","CONFIRMED","DISMISSED"]},"comment":{"default":"","type":"string","maxLength":1000}},"required":["userId","from","to","count","status"]},"ascents.AscentBatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"submissionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"zoneId":{"type":"string","minLength":1},"selections":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"routeId":{"type":"string","minLength":1},"result":{"type":"string","enum":["FLASH","TOP"]}},"required":["routeId","result"],"additionalProperties":false}}},"required":["submissionId","zoneId","selections"],"additionalProperties":false},"attempts.attemptCompletionSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"result":{"type":"string","enum":["SUCCESS","FAILED"]}},"required":["result"]},"attempts.attemptStartSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"routeId":{"type":"string","minLength":1},"manualResult":{"type":"string","enum":["FLASH","TOP"]}},"required":["routeId"]},"attempts.attemptStatusSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["CREATED","RUNNING","SUCCESS","FAILED","CANCELLED","SUSPICIOUS"]},"auth.credentialsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":40},"currentPassword":{"type":"string","maxLength":128},"newPassword":{"type":"string","minLength":8,"maxLength":128}},"required":["username","newPassword"]},"auth.developmentLoginSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":80}},"required":["username"]},"auth.forgotPasswordSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","minLength":1,"maxLength":254}},"required":["email"]},"auth.loginSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","minLength":1,"maxLength":254},"identifier":{"type":"string","minLength":1,"maxLength":254},"username":{"type":"string","minLength":1,"maxLength":254},"password":{"type":"string","minLength":1,"maxLength":128}},"required":["password"]},"auth.referralVisitSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,80}$"},"visitorId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["code","visitorId"],"additionalProperties":false},"auth.registrationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":40},"email":{"type":"string","maxLength":254},"password":{"type":"string","minLength":8,"maxLength":128},"displayName":{"type":"string","minLength":1,"maxLength":11,"pattern":"^[^\\s#\\p{Cc}\\p{Cf}]+$"},"privacyConsentAccepted":{"type":"boolean","const":true},"privacyPolicyVersion":{"type":"string","minLength":1,"maxLength":100},"analyticsConsent":{"default":false,"type":"boolean"},"locationConsent":{"default":false,"type":"boolean"},"marketingConsent":{"default":false,"type":"boolean"},"gymId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"phone":{"type":"string","minLength":10,"maxLength":40},"referralCode":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,80}$"}},"required":["email","password","displayName","privacyConsentAccepted"]},"auth.resetPasswordSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"resetToken":{"type":"string","minLength":47,"maxLength":100},"password":{"type":"string","minLength":8,"maxLength":128},"passwordConfirmation":{"type":"string","minLength":8,"maxLength":128}},"required":["resetToken","password","passwordConfirmation"]},"auth.telegramLoginSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"initData":{"type":"string","minLength":1,"maxLength":16000},"referralCode":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,80}$"}},"required":["initData"]},"auth.verifyPasswordResetSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","minLength":1,"maxLength":254},"code":{"type":"string","minLength":1,"maxLength":32}},"required":["email","code"]},"challenges.challengeCreateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"networkId":{"type":["string","null"]},"gymId":{"type":["string","null"]},"title":{"type":"string","minLength":1,"maxLength":180},"description":{"type":"string","maxLength":5000},"startsAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"endsAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"trophyId":{"type":["string","null"]},"pointsReward":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"minLevel":{"default":1,"type":"integer","minimum":1,"maximum":99},"minPower":{"anyOf":[{"type":"number","minimum":0,"maximum":1000},{"type":"null"}]},"maxPower":{"anyOf":[{"type":"number","minimum":0,"maximum":1000},{"type":"null"}]},"rewardIcon":{"default":"trophy","type":"string","minLength":1,"maxLength":100},"rewardColor":{"default":"#c60814","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"scope":{"type":"string","enum":["NETWORK","GYM"]},"rules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["title","description","startsAt","endsAt","scope","rules"]},"challenges.challengeScope":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["NETWORK","GYM"]},"challenges.challengeUpdateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"networkId":{"type":["string","null"]},"gymId":{"type":["string","null"]},"title":{"type":"string","minLength":1,"maxLength":180},"description":{"type":"string","maxLength":5000},"startsAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"endsAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"trophyId":{"type":["string","null"]},"pointsReward":{"type":"integer","minimum":0,"maximum":9007199254740991},"minLevel":{"type":"integer","minimum":1,"maximum":99},"minPower":{"anyOf":[{"type":"number","minimum":0,"maximum":1000},{"type":"null"}]},"maxPower":{"anyOf":[{"type":"number","minimum":0,"maximum":1000},{"type":"null"}]},"rewardIcon":{"type":"string","minLength":1,"maxLength":100},"rewardColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"scope":{"type":"string","enum":["NETWORK","GYM"]},"status":{"type":"string","enum":["DRAFT","SCHEDULED","ACTIVE","FINISHED","CANCELLED"]},"rules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"challenges.powerBoundary":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"number","minimum":0,"maximum":1000},{"type":"null"}]},"challenges.rewardColor":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"challenges.rules":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"climbing.climbingRatingSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"routeId":{"type":"string","minLength":1},"value":{"anyOf":[{"type":"number","const":1},{"type":"number","const":3},{"type":"number","const":5}]}},"required":["routeId","value"],"additionalProperties":false},"commerce-dashboard.commerceCustomPeriodSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["from","to"]},"commerce-dashboard.commerceInstantSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"commerce-dashboard.commercePeriodPresetSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["7d","30d","90d","custom"]},"connections.connectionCursorSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"version":{"type":"number","const":1},"viewer":{"type":"string","minLength":1,"maxLength":100},"kind":{"type":"string","enum":["followers","following"]},"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"id":{"type":"string","minLength":1,"maxLength":100}},"required":["version","viewer","kind","at","id"],"additionalProperties":false},"content.MapPresentationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"vectors":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","pattern":"^\\/redesign\\/figma\\/[a-zA-Z0-9_/-]+\\.svg$"},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"width":{"type":"number","minimum":0,"maximum":1},"height":{"type":"number","minimum":0,"maximum":1},"flipY":{"type":"boolean"}},"required":["asset","x","y","width","height"]}},"blocks":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"width":{"type":"number","minimum":0,"maximum":1},"height":{"type":"number","minimum":0,"maximum":1},"color":{"type":"string","pattern":"^#[a-fA-F0-9]{6}$"},"radius":{"type":"number","minimum":0}},"required":["x","y","width","height","color","radius"]}},"labels":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"text":{"type":"string","maxLength":100},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1},"width":{"type":"number","minimum":0,"maximum":1}},"required":["text","x","y"]}},"pins":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"zoneId":{"type":"string"},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["zoneId","x","y"]}}},"required":["width","height","vectors","blocks","labels","pins"]},"content.TaskCopySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"advice":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"hint":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"kind":{"type":"string","enum":["DAILY","TRIAL"]}}},"content.asset":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","pattern":"^\\/redesign\\/figma\\/[a-zA-Z0-9_/-]+\\.svg$"},"content.normalized":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"number","minimum":0,"maximum":1},"customer-commerce.customerOrderStatusSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["PENDING","PAID","PROCESSING","READY_FOR_PICKUP","FULFILLED","CANCELLED","REFUNDED","PARTIALLY_REFUNDED","FAILED"]},"customer-commerce.lessonProgressSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"progressSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"default":true,"type":"boolean"}}},"date.jsonDateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"discovery.discoveryCursorSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"day":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"after":{"type":"string","minLength":1,"maxLength":125}},"required":["day","after"]},"fitbase.fitbaseIntegrationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"clubId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"domain":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"},"enabled":{"type":"boolean"},"windowHours":{"default":4,"type":"integer","minimum":1,"maximum":24}},"required":["clubId","enabled"]},"fitbase.fitbaseLinkSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1},"clientId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["gymId","clientId"]},"fitbase.fitbaseSearchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1},"q":{"type":"string","minLength":3,"maxLength":100}},"required":["gymId","q"]},"fitbase.fitbaseVerificationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1},"clubId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"domain":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"}},"required":["gymId","clubId"]},"health.crmHealthRequestSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1,"maxLength":128}},"required":["gymId"],"additionalProperties":false},"internal.emailDeliveryEventsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"events":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"queueId":{"type":"string","minLength":6,"maxLength":100},"status":{"type":"string","enum":["DELIVERED","DEFERRED","BOUNCED","REJECTED"]},"error":{"type":"string","maxLength":2000}},"required":["queueId","status"]}}},"required":["events"]},"internal.emailQueueSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"default":10,"type":"integer","minimum":1,"maximum":50}}},"leagues.leagueCreateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"rank":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["name","rank"]},"leagues.leagueMeetingResponseSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"choice":{"type":"string","enum":["GOING","NOT_GOING"]},"meetingId":{"type":"string","minLength":1}},"required":["choice"]},"leagues.leagueMemberPeriodSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["7","30","90","all"]},"leagues.leaguePatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"rank":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"leagues.leagueReorderSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1}}},"required":["ids"]},"leagues.meetingInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"leagueId":{"type":"string","minLength":1},"seasonId":{"type":"string","minLength":1},"networkId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":160},"startsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"location":{"type":"string","minLength":1,"maxLength":240}},"required":["leagueId","seasonId","title","startsAt","location"]},"leagues.meetingPatch":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"leagueId":{"type":"string","minLength":1},"seasonId":{"type":"string","minLength":1},"networkId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"title":{"type":"string","minLength":1,"maxLength":160},"startsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"location":{"type":"string","minLength":1,"maxLength":240}}},"learning.courseInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":2,"maxLength":180},"author":{"type":"string","minLength":2,"maxLength":180},"expert":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"description":{"type":"string","minLength":2,"maxLength":30000},"coverUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"trailerUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"audience":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"outcomes":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"equipment":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"difficulty":{"type":"string","minLength":1,"maxLength":80},"durationMinutes":{"type":"integer","minimum":0,"maximum":100000},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","PUBLISHED","ARCHIVED"]},"scheduledAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["FREE","PAID","NONE"]},"price":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"oldPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"availableUntil":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"purchaseLimitPerUser":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode"]}},"required":["slug","title","author","description","difficulty","durationMinutes","offer"]},"learning.courseInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":2,"maxLength":180},"author":{"type":"string","minLength":2,"maxLength":180},"expert":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"description":{"type":"string","minLength":2,"maxLength":30000},"coverUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"trailerUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"audience":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"outcomes":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"equipment":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"difficulty":{"type":"string","minLength":1,"maxLength":80},"durationMinutes":{"type":"integer","minimum":0,"maximum":100000},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","PUBLISHED","ARCHIVED"]},"scheduledAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["FREE","PAID","NONE"]},"price":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"oldPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"availableUntil":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"purchaseLimitPerUser":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode"]}},"required":["slug","title","author","description","difficulty","durationMinutes","offer"]},"learning.coursePatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":2,"maxLength":180},"author":{"type":"string","minLength":2,"maxLength":180},"expert":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"description":{"type":"string","minLength":2,"maxLength":30000},"coverUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"trailerUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"audience":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"outcomes":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"equipment":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"difficulty":{"type":"string","minLength":1,"maxLength":80},"durationMinutes":{"type":"integer","minimum":0,"maximum":100000},"status":{"type":"string","enum":["DRAFT","SCHEDULED","PUBLISHED","ARCHIVED"]},"scheduledAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["FREE","PAID","NONE"]},"price":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"oldPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"availableUntil":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"purchaseLimitPerUser":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode"]}}},"learning.learningFilterSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"all","type":"string","enum":["all","lessons","courses","owned","in-progress","completed"]},"learning.learningMediaPurposeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["learning-cover","learning-video","learning-trailer"]},"learning.learningProgressSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"progressSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"learning.lessonInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":2,"maxLength":180},"shortDescription":{"type":"string","minLength":2,"maxLength":500},"body":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"contentType":{"type":"string","enum":["VIDEO","TEXT","MIXED"]},"videoUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"attachments":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":180},"url":{"type":"string","maxLength":2000},"size":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","url"]}},"author":{"type":"string","minLength":2,"maxLength":180},"expert":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"goal":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"drills":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"cues":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"durationSeconds":{"type":"integer","minimum":0,"maximum":86400},"difficulty":{"type":"string","minLength":1,"maxLength":80},"tags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"equipment":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"preview":{"default":false,"type":"boolean"},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","PUBLISHED","ARCHIVED"]},"scheduledAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"completionRules":{"default":{"minimumPercent":90,"requireManualCompletion":false},"type":"object","properties":{"minimumPercent":{"default":90,"type":"integer","minimum":0,"maximum":100},"requireManualCompletion":{"default":false,"type":"boolean"}}},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["FREE","PAID","NONE"]},"price":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"oldPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"availableUntil":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"purchaseLimitPerUser":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode"]}},"required":["slug","title","shortDescription","contentType","author","durationSeconds","difficulty","offer"]},"learning.lessonInputShape":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":2,"maxLength":180},"shortDescription":{"type":"string","minLength":2,"maxLength":500},"body":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"contentType":{"type":"string","enum":["VIDEO","TEXT","MIXED"]},"videoUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"attachments":{"default":[],"maxItems":30,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":180},"url":{"type":"string","maxLength":2000},"size":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","url"]}},"author":{"type":"string","minLength":2,"maxLength":180},"expert":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"goal":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"drills":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"cues":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"durationSeconds":{"type":"integer","minimum":0,"maximum":86400},"difficulty":{"type":"string","minLength":1,"maxLength":80},"tags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"equipment":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"preview":{"default":false,"type":"boolean"},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","PUBLISHED","ARCHIVED"]},"scheduledAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"completionRules":{"default":{"minimumPercent":90,"requireManualCompletion":false},"type":"object","properties":{"minimumPercent":{"default":90,"type":"integer","minimum":0,"maximum":100},"requireManualCompletion":{"default":false,"type":"boolean"}}},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["FREE","PAID","NONE"]},"price":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"oldPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"availableUntil":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"purchaseLimitPerUser":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode"]}},"required":["slug","title","shortDescription","contentType","author","durationSeconds","difficulty","offer"]},"learning.lessonPatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"title":{"type":"string","minLength":2,"maxLength":180},"shortDescription":{"type":"string","minLength":2,"maxLength":500},"body":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}]},"coverUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"contentType":{"type":"string","enum":["VIDEO","TEXT","MIXED"]},"videoUrl":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"attachments":{"maxItems":30,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":180},"url":{"type":"string","maxLength":2000},"size":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["name","url"]}},"author":{"type":"string","minLength":2,"maxLength":180},"expert":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"goal":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"drills":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"cues":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"durationSeconds":{"type":"integer","minimum":0,"maximum":86400},"difficulty":{"type":"string","minLength":1,"maxLength":80},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"equipment":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"preview":{"type":"boolean"},"status":{"type":"string","enum":["DRAFT","SCHEDULED","PUBLISHED","ARCHIVED"]},"scheduledAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"completionRules":{"type":"object","properties":{"minimumPercent":{"default":90,"type":"integer","minimum":0,"maximum":100},"requireManualCompletion":{"default":false,"type":"boolean"}}},"offer":{"type":"object","properties":{"mode":{"type":"string","enum":["FREE","PAID","NONE"]},"price":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"oldPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"availableUntil":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"purchaseLimitPerUser":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode"]}}},"learning.offerInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mode":{"type":"string","enum":["FREE","PAID","NONE"]},"price":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"oldPrice":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"availableFrom":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"availableUntil":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"purchaseLimitPerUser":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["mode"]},"learning.programInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"acknowledgePublishedChange":{"default":false,"type":"boolean"},"modules":{"minItems":1,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":180},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"lessons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"lessonId":{"type":"string","minLength":1},"required":{"default":true,"type":"boolean"},"settings":{"type":"object","properties":{"label":{"type":"string","maxLength":180}}}},"required":["lessonId"]}}},"required":["title","lessons"]}}},"required":["modules"]},"learning.publicationStatus":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["DRAFT","SCHEDULED","PUBLISHED","ARCHIVED"]},"learning.safeUrl":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","maxLength":2000},"learning.slug":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","minLength":2,"maxLength":120,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"learning.stringList":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":[],"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":300}},"location-provider.locationProviderResponseSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"suggestions":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"unrestricted_value":{"type":"string"},"data":{"type":"object","properties":{"region":{"type":["string","null"]},"region_with_type":{"type":["string","null"]},"region_type_full":{"type":["string","null"]},"city":{"type":["string","null"]},"city_with_type":{"type":["string","null"]},"city_fias_id":{"type":["string","null"]},"settlement":{"type":["string","null"]},"settlement_with_type":{"type":["string","null"]},"settlement_fias_id":{"type":["string","null"]},"street_with_type":{"type":["string","null"]},"house_type":{"type":["string","null"]},"house":{"type":["string","null"]},"block_type":{"type":["string","null"]},"block":{"type":["string","null"]},"fias_id":{"type":["string","null"]},"geo_lat":{"type":["string","null"]},"geo_lon":{"type":["string","null"]}},"additionalProperties":{}}},"required":["value","data"]}}},"required":["suggestions"]},"location-provider.suggestionDataSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"region":{"type":["string","null"]},"region_with_type":{"type":["string","null"]},"region_type_full":{"type":["string","null"]},"city":{"type":["string","null"]},"city_with_type":{"type":["string","null"]},"city_fias_id":{"type":["string","null"]},"settlement":{"type":["string","null"]},"settlement_with_type":{"type":["string","null"]},"settlement_fias_id":{"type":["string","null"]},"street_with_type":{"type":["string","null"]},"house_type":{"type":["string","null"]},"house":{"type":["string","null"]},"block_type":{"type":["string","null"]},"block":{"type":["string","null"]},"fias_id":{"type":["string","null"]},"geo_lat":{"type":["string","null"]},"geo_lon":{"type":["string","null"]}},"additionalProperties":{}},"location-signals.locationSignalSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sessionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180},"accuracyMeters":{"type":"number","exclusiveMinimum":0,"maximum":100000},"permissionState":{"type":"string","enum":["granted"]},"occurredAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["sessionId","latitude","longitude","accuracyMeters","permissionState","occurredAt"]},"map-settings.MapSettingsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"recommendationMode":{"type":"string","enum":["CALM","MODERATE","AGGRESSIVE"]},"incompleteOnly":{"type":"boolean"},"mapId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["recommendationMode","incompleteOnly","mapId"],"additionalProperties":false},"maps.coordinateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"number"},"maps.gymCreateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"networkId":{"type":["string","null"]},"name":{"type":"string","minLength":1,"maxLength":180},"description":{"default":"","type":"string","maxLength":4000},"timezone":{"default":"Europe/Moscow","type":"string","minLength":1,"maxLength":80},"status":{"default":"ACTIVE","type":"string","maxLength":40},"locality":{"type":"string","minLength":1,"maxLength":180},"region":{"default":"","type":"string","maxLength":180},"localityFiasId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"address":{"type":"string","minLength":1,"maxLength":500},"addressFiasId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"latitude":{"anyOf":[{"type":"number","minimum":-90,"maximum":90},{"type":"null"}]},"longitude":{"anyOf":[{"type":"number","minimum":-180,"maximum":180},{"type":"null"}]}},"required":["name","locality","address"]},"maps.gymLocationSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"locality":{"type":"string","minLength":1,"maxLength":180},"region":{"default":"","type":"string","maxLength":180},"localityFiasId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"address":{"type":"string","minLength":1,"maxLength":500},"addressFiasId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"latitude":{"anyOf":[{"type":"number","minimum":-90,"maximum":90},{"type":"null"}]},"longitude":{"anyOf":[{"type":"number","minimum":-180,"maximum":180},{"type":"null"}]}},"required":["locality","address"]},"maps.gymPatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":180},"description":{"type":"string","maxLength":4000},"timezone":{"type":"string","minLength":1,"maxLength":80},"status":{"type":"string","maxLength":40},"locality":{"type":"string","minLength":1,"maxLength":180},"region":{"type":"string","maxLength":180},"localityFiasId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"address":{"type":"string","minLength":1,"maxLength":500},"addressFiasId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"latitude":{"anyOf":[{"type":"number","minimum":-90,"maximum":90},{"type":"null"}]},"longitude":{"anyOf":[{"type":"number","minimum":-180,"maximum":180},{"type":"null"}]}}},"maps.hallCreateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1}},"required":["gymId"]},"maps.hallPatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":180},"description":{"type":"string","maxLength":4000},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"status":{"type":"string","enum":["ACTIVE","ARCHIVED"]}}},"maps.locationSuggestionQuerySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"type":{"type":"string","enum":["locality","address"]},"query":{"type":"string","minLength":2,"maxLength":200},"localityFiasId":{"type":"string","maxLength":64}},"required":["type","query"]},"maps.mapZoneFieldsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"number":{"type":"integer","minimum":1,"maximum":999},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"xNormalized":{"type":"number","minimum":0,"maximum":1},"yNormalized":{"type":"number","minimum":0,"maximum":1},"widthNormalized":{"type":"number","exclusiveMinimum":0,"maximum":1},"heightNormalized":{"type":"number","exclusiveMinimum":0,"maximum":1},"polygon":{"anyOf":[{"minItems":3,"maxItems":256,"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["x","y"]}},{"type":"null"}]},"routeLimit":{"type":"integer","minimum":1,"maximum":15}},"required":["label","number","color","xNormalized","yNormalized","widthNormalized","heightNormalized","routeLimit"]},"maps.mapZonePatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"number":{"type":"integer","minimum":1,"maximum":999},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"xNormalized":{"type":"number","minimum":0,"maximum":1},"yNormalized":{"type":"number","minimum":0,"maximum":1},"widthNormalized":{"type":"number","exclusiveMinimum":0,"maximum":1},"heightNormalized":{"type":"number","exclusiveMinimum":0,"maximum":1},"polygon":{"anyOf":[{"minItems":3,"maxItems":256,"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["x","y"]}},{"type":"null"}]},"routeLimit":{"type":"integer","minimum":1,"maximum":15}}},"maps.mapZoneWriteSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"number":{"type":"integer","minimum":1,"maximum":999},"color":{"default":"#c60814","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"xNormalized":{"type":"number","minimum":0,"maximum":1},"yNormalized":{"type":"number","minimum":0,"maximum":1},"widthNormalized":{"default":0.25,"type":"number","exclusiveMinimum":0,"maximum":1},"heightNormalized":{"default":0.25,"type":"number","exclusiveMinimum":0,"maximum":1},"polygon":{"anyOf":[{"minItems":3,"maxItems":256,"type":"array","items":{"type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["x","y"]}},{"type":"null"}]},"routeLimit":{"default":15,"type":"integer","minimum":1,"maximum":15}},"required":["label","xNormalized","yNormalized"]},"media.mediaAccessInputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string","maxLength":2000}},"required":["url"]},"media.mediaAccessResponseSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["url","expiresAt"],"additionalProperties":false},"media.mediaTicketSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"version":{"type":"number","const":1},"userId":{"type":"string","minLength":1,"maxLength":128},"sessionVersion":{"type":"integer","minimum":0,"maximum":9007199254740991},"path":{"type":"string","minLength":1,"maxLength":2000},"expiresAt":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["version","userId","sessionVersion","path","expiresAt"],"additionalProperties":false},"mystery-boxes.mysteryBoxOpenSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"expectedPrice":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"notifications.notificationAcknowledgementSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"error":{"type":"string","maxLength":2000}},"required":["id"]},"notifications.notificationAudienceSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["ALL","GYM","NETWORK","USER"]},"notifications.notificationBroadcastSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"audience":{"type":"string","enum":["ALL","GYM","NETWORK","USER"]},"userId":{"type":["string","null"]},"gymId":{"type":["string","null"]},"networkId":{"type":["string","null"]},"type":{"type":"string","minLength":1,"maxLength":80},"title":{"type":"string","minLength":1,"maxLength":180},"subject":{"type":"string","minLength":1,"maxLength":180},"templateKey":{"default":"broadcast.news","type":"string","enum":["broadcast.news","broadcast.challenge","broadcast.event","broadcast.service"]},"emailDesignId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"ctaLabel":{"type":"string","maxLength":80},"ctaPath":{"type":"string","maxLength":500},"preheader":{"type":"string","maxLength":180},"body":{"type":"string","minLength":1,"maxLength":4000},"channels":{"default":["TELEGRAM"],"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["TELEGRAM","WEB_PUSH","EMAIL"]}},"scheduledAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["type","title","body"]},"notifications.notificationClaimSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"default":10,"type":"integer","minimum":1,"maximum":50}}},"notifications.notificationRulesSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"rules":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"type":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":100},"enabled":{"type":"boolean"},"title":{"type":"string","minLength":1,"maxLength":180},"body":{"type":"string","minLength":1,"maxLength":4000},"buttonText":{"type":"string","maxLength":80},"buttonUrl":{"type":"string","maxLength":500},"conditionMode":{"type":"string","enum":["ALL","ANY"]},"conditions":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["routeColor","attemptNumber","pointsAwarded","completedRoutes","durationSeconds","routeId","gymId","challengeId","challengeTitle","followerName","level","levelTitle","streakWeeks","divisionName"]},"operator":{"type":"string","enum":["EQ","NEQ","GT","GTE","LT","LTE","CONTAINS"]},"value":{"type":"string","minLength":1,"maxLength":120}},"required":["field","operator","value"]}},"channels":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["IN_APP","EMAIL"]}}},"required":["id","type","label","enabled","title","body","buttonText","buttonUrl","conditionMode","conditions","channels"]}}},"required":["rules"]},"notifications.notificationTypeFilterSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"notifications.pushQueueSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"default":25,"type":"integer","minimum":1,"maximum":50}}},"notifications.pushSubscriptionSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"endpoint":{"type":"string","maxLength":2048},"keys":{"type":"object","properties":{"p256dh":{"type":"string","minLength":80,"maxLength":100,"pattern":"^[A-Za-z0-9_-]+={0,2}$"},"auth":{"type":"string","minLength":20,"maxLength":30,"pattern":"^[A-Za-z0-9_-]+={0,2}$"}},"required":["p256dh","auth"]}},"required":["endpoint","keys"]},"notifications.pushSubscriptionStatusSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"endpoint":{"type":"string","minLength":1,"maxLength":2048}},"required":["endpoint"]},"notifications.pushUnsubscribeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"endpoint":{"type":"string","maxLength":2048}},"required":["endpoint"]},"personal-quests.PersonalQuestSettingsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pointsReward":{"type":"integer","minimum":0,"maximum":100000}},"required":["pointsReward"],"additionalProperties":false},"profile.profileActivityPeriodSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":5,"type":"integer","minimum":1,"maximum":60},"profile.profileActivitySourceSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"all","type":"string","enum":["all","following","league"]},"profile.profileActivityTypeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"all","type":"string","enum":["all","climb","achievement","follow"]},"profile.profileAppearanceIdsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","minItems":1,"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,100}$"}},"profile.profileEventTypeSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"all","type":"string","enum":["all","POWER","ACHIEVEMENT","SECRET","FOLLOW","RANK"]},"profile.profileStatisticsPeriodSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"integer","minimum":7,"maximum":365},"profile.referralClaimSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pair":{"type":"integer","exclusiveMinimum":0,"maximum":1000000}},"required":["pair"],"additionalProperties":false},"rewards.rewardClaimSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"type":{"type":"string","enum":["CHALLENGE","SECRET_CHALLENGE","ACHIEVEMENT","PERSONAL_QUEST"]},"id":{"type":"string","minLength":1,"maxLength":191}},"required":["type","id"]},"rewards.rewardType":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["CHALLENGE","SECRET_CHALLENGE","ACHIEVEMENT","PERSONAL_QUEST"]},"routes.routeBulkSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"string"}},"action":{"type":"string","enum":["PUBLISHED","ARCHIVED"]}},"required":["ids","action"]},"routes.routeFieldsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1},"zoneId":{"type":"string","minLength":1},"gradeId":{"type":"string","minLength":1},"color":{"type":"string","minLength":1,"maxLength":40},"installedAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"removalDate":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"photoPath":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"minAge":{"anyOf":[{"type":"integer","minimum":5,"maximum":110},{"type":"null"}]},"recommendedMinHeight":{"anyOf":[{"type":"integer","minimum":80,"maximum":250},{"type":"null"}]},"recommendedMaxHeight":{"anyOf":[{"type":"integer","minimum":80,"maximum":250},{"type":"null"}]},"referenceTimeMs":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"xNormalized":{"type":"number","minimum":0,"maximum":1},"yNormalized":{"type":"number","minimum":0,"maximum":1}},"required":["gymId","zoneId","gradeId","color","xNormalized","yNormalized"]},"routes.routePatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1},"zoneId":{"type":"string","minLength":1},"gradeId":{"type":"string","minLength":1},"color":{"type":"string","minLength":1,"maxLength":40},"installedAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"removalDate":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"photoPath":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"minAge":{"anyOf":[{"type":"integer","minimum":5,"maximum":110},{"type":"null"}]},"recommendedMinHeight":{"anyOf":[{"type":"integer","minimum":80,"maximum":250},{"type":"null"}]},"recommendedMaxHeight":{"anyOf":[{"type":"integer","minimum":80,"maximum":250},{"type":"null"}]},"referenceTimeMs":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"xNormalized":{"type":"number","minimum":0,"maximum":1},"yNormalized":{"type":"number","minimum":0,"maximum":1}}},"routes.routeRatingSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"value":{"type":"integer","minimum":1,"maximum":5}},"required":["value"]},"routes.routeStatusSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"string","enum":["DRAFT","PUBLISHED","ARCHIVED","PENDING_DELETE"]},"routes.routeWriteSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gymId":{"type":"string","minLength":1},"zoneId":{"type":"string","minLength":1},"gradeId":{"type":"string","minLength":1},"color":{"type":"string","minLength":1,"maxLength":40},"installedAt":{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},"removalDate":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"photoPath":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"minAge":{"anyOf":[{"type":"integer","minimum":5,"maximum":110},{"type":"null"}]},"recommendedMinHeight":{"anyOf":[{"type":"integer","minimum":80,"maximum":250},{"type":"null"}]},"recommendedMaxHeight":{"anyOf":[{"type":"integer","minimum":80,"maximum":250},{"type":"null"}]},"referenceTimeMs":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"xNormalized":{"type":"number","minimum":0,"maximum":1},"yNormalized":{"type":"number","minimum":0,"maximum":1},"quick":{"default":false,"type":"boolean"}},"required":["gymId","zoneId","color","xNormalized","yNormalized"]},"rules.ruleDraftSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"definition":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["definition"]},"rules.rulePublishSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}}},"rules.ruleQueueSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"default":100,"type":"integer","minimum":1,"maximum":500}}},"secret-challenges.rule":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"secret-challenges.secretChallengeInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"description":{"type":"string","minLength":2,"maxLength":4000},"startsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"endsAt":{"anyOf":[{"description":"A valid date string (ISO 8601 recommended) or Unix time in milliseconds.","anyOf":[{"type":"string","minLength":1},{"type":"number"}]},{"type":"null"}]},"pointsReward":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"minPower":{"anyOf":[{"type":"number","minimum":0,"maximum":1000},{"type":"null"}]},"maxPower":{"anyOf":[{"type":"number","minimum":0,"maximum":1000},{"type":"null"}]},"rewardIcon":{"default":"trophy","type":"string","minLength":1,"maxLength":80},"rewardColor":{"default":"#c60814","type":"string","pattern":"^#[0-9a-f]{6}$"},"triggerRules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"completionRules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"status":{"default":"DRAFT","type":"string","enum":["DRAFT","SCHEDULED","ACTIVE","ARCHIVED"]},"scope":{"type":"string","enum":["NETWORK","GYM"]},"networkId":{"type":["string","null"]},"gymId":{"type":["string","null"]}},"required":["title","description","triggerRules","completionRules","scope"]},"shop.purchaseIntentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"productId":{"type":"string","minLength":1},"variantId":{"type":"string"},"quantity":{"default":1,"type":"integer","minimum":1,"maximum":20},"promoCode":{"type":"string","minLength":3,"maxLength":40}},"required":["productId"]},"users.networkCreateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":180},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["name"]},"users.networkPatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":180},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"gymIds":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1}}}},"users.selfProfilePatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"displayName":{"type":"string","minLength":1,"maxLength":11,"pattern":"^[^\\s#\\p{Cc}\\p{Cf}]+$"},"age":{"anyOf":[{"type":"integer","minimum":5,"maximum":110},{"type":"null"}]},"heightCm":{"anyOf":[{"type":"integer","minimum":80,"maximum":250},{"type":"null"}]},"weightKg":{"anyOf":[{"type":"number","minimum":20,"maximum":300},{"type":"null"}]},"gymId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"bio":{"type":"string","maxLength":500},"telegramUsername":{"type":"string","maxLength":80},"profileAppearance":{"type":"object","properties":{"avatarColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"avatarFrame":{"type":"string","pattern":"^[a-z0-9-]{1,40}$"}}}}},"users.userRolePatchSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"role":{"type":"string","enum":["OWNER","NETWORK_ADMIN","GYM_ADMIN","ROUTE_SETTER","USER"]},"networkId":{"type":["string","null"]},"gymId":{"type":["string","null"]},"canPublishRoutes":{"type":"boolean"},"excludeFromAnalytics":{"type":"boolean"}},"required":["role"]},"users.userSettingsPatchInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"notificationsEnabled":{"type":"boolean"},"routeUpdates":{"type":"boolean"},"challengeReminders":{"type":"boolean"},"followerAlerts":{"type":"boolean"},"progressionUpdates":{"type":"boolean"},"leagueUpdates":{"type":"boolean"},"streakReminders":{"type":"boolean"},"reducedMotion":{"type":"boolean"},"analyticsConsent":{"type":"boolean"},"locationConsent":{"type":"boolean"},"mapTutorialCompleted":{"type":"boolean"},"pushPromptDismissed":{"type":"boolean"}}},"users.userSettingsUpdateSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"notificationsEnabled":{"type":"boolean"},"routeUpdates":{"type":"boolean"},"challengeReminders":{"type":"boolean"},"followerAlerts":{"type":"boolean"},"progressionUpdates":{"type":"boolean"},"leagueUpdates":{"type":"boolean"},"streakReminders":{"type":"boolean"},"reducedMotion":{"type":"boolean"},"analyticsConsent":{"type":"boolean"},"locationConsent":{"type":"boolean"},"mapTutorialCompleted":{"type":"boolean"},"pushPromptDismissed":{"type":"boolean"},"privacyPolicyVersion":{"type":"string","minLength":1,"maxLength":40}}}}}