{"openapi":"3.0.3","info":{"title":"Gamopanda API","version":"1.0.0","description":"Gamopanda REST API\n\n### Authentication\n\n| Flow | Required headers |\n|---|---|\n| **API key** | `x-api-key` + `x-api-secret` |\n| **End-user** | `x-enduser-access-token` + `x-account-id` |\n\nEach endpoint lists which flows are accepted under its **Security** section. When multiple flows are listed, any one of them is sufficient."},"servers":[{"url":"https://api.gamopanda.com/api/v1.0","description":"Gamopanda API v1.0"}],"tags":[{"name":"Member","description":"Operations on Members"},{"name":"Streak","description":"Operations on Streaks"},{"name":"Challenge","description":"Operations on Challenges"},{"name":"Milestone","description":"Operations on Milestones"},{"name":"Streak Progress","description":"Operations on Streak Progresses"},{"name":"Streak Log","description":"Operations on Streak Logs"},{"name":"Challenge Log","description":"Operations on Challenge Logs"},{"name":"Challenge Progress","description":"Operations on Challenge Progresses"},{"name":"Upload","description":"Operations on Uploads"},{"name":"Theme","description":"Operations on Themes"},{"name":"Template","description":"Operations on Templates"},{"name":"Floating Widget","description":"Operations on Floating Widgets"},{"name":"Reward Log","description":"Operations on Reward Logs"}],"paths":{"/schema/account_user/record":{"get":{"tags":["Member"],"summary":"List Members","operationId":"listMember","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paginated list of Members","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Member"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Member"],"summary":"Create a Member","operationId":"createMember","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberCreateInput"}}}},"responses":{"200":{"description":"Member created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Member"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/account_user/record/{id}":{"get":{"tags":["Member"],"summary":"Get a Member by ID","operationId":"getMember","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}}],"responses":{"200":{"description":"Member retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Member"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Member"],"summary":"Update a Member","operationId":"updateMember","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberUpdateInput"}}}},"responses":{"200":{"description":"Member updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Member"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Member"],"summary":"Delete a Member","operationId":"deleteMember","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Member deleted"},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/streak/record":{"get":{"tags":["Streak"],"summary":"List Streaks","operationId":"listStreak","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Paginated list of Streaks","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Streak"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Streak"],"summary":"Create a Streak","operationId":"createStreak","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreakCreateInput"}}}},"responses":{"200":{"description":"Streak created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Streak"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/streak/record/{id}":{"get":{"tags":["Streak"],"summary":"Get a Streak by ID","operationId":"getStreak","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Streak retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Streak"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Streak"],"summary":"Update a Streak","operationId":"updateStreak","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreakUpdateInput"}}}},"responses":{"200":{"description":"Streak updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Streak"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Streak"],"summary":"Delete a Streak","operationId":"deleteStreak","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Streak deleted"},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/challenge/record":{"get":{"tags":["Challenge"],"summary":"List Challenges","operationId":"listChallenge","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Paginated list of Challenges","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Challenge"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Challenge"],"summary":"Create a Challenge","operationId":"createChallenge","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeCreateInput"}}}},"responses":{"200":{"description":"Challenge created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Challenge"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/challenge/record/{id}":{"get":{"tags":["Challenge"],"summary":"Get a Challenge by ID","operationId":"getChallenge","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Challenge retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Challenge"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Challenge"],"summary":"Update a Challenge","operationId":"updateChallenge","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeUpdateInput"}}}},"responses":{"200":{"description":"Challenge updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Challenge"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Challenge"],"summary":"Delete a Challenge","operationId":"deleteChallenge","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Challenge deleted"},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/milestone/record":{"get":{"tags":["Milestone"],"summary":"List Milestones","operationId":"listMilestone","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Paginated list of Milestones","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Milestone"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Milestone"],"summary":"Create a Milestone","operationId":"createMilestone","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneCreateInput"}}}},"responses":{"200":{"description":"Milestone created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Milestone"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/milestone/record/{id}":{"get":{"tags":["Milestone"],"summary":"Get a Milestone by ID","operationId":"getMilestone","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Milestone retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Milestone"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Milestone"],"summary":"Update a Milestone","operationId":"updateMilestone","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MilestoneUpdateInput"}}}},"responses":{"200":{"description":"Milestone updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Milestone"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Milestone"],"summary":"Delete a Milestone","operationId":"deleteMilestone","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Milestone deleted"},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/streak_progress/record":{"get":{"tags":["Streak Progress"],"summary":"List Streak Progresses","operationId":"listStreakProgress","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paginated list of Streak Progresses","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/StreakProgress"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/streak_progress/record/{id}":{"get":{"tags":["Streak Progress"],"summary":"Get a Streak Progress by ID","operationId":"getStreakProgress","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}}],"responses":{"200":{"description":"Streak Progress retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StreakProgress"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/streak_log/record":{"get":{"tags":["Streak Log"],"summary":"List Streak Logs","operationId":"listStreakLog","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paginated list of Streak Logs","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/StreakLog"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Streak Log"],"summary":"Create a Streak Log","operationId":"createStreakLog","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreakLogCreateInput"}}}},"responses":{"200":{"description":"Streak Log created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StreakLog"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/streak_log/record/{id}":{"get":{"tags":["Streak Log"],"summary":"Get a Streak Log by ID","operationId":"getStreakLog","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}}],"responses":{"200":{"description":"Streak Log retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StreakLog"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/challenge_log/record":{"get":{"tags":["Challenge Log"],"summary":"List Challenge Logs","operationId":"listChallengeLog","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paginated list of Challenge Logs","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeLog"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Challenge Log"],"summary":"Create a Challenge Log","operationId":"createChallengeLog","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeLogCreateInput"}}}},"responses":{"200":{"description":"Challenge Log created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChallengeLog"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/challenge_log/record/{id}":{"get":{"tags":["Challenge Log"],"summary":"Get a Challenge Log by ID","operationId":"getChallengeLog","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}}],"responses":{"200":{"description":"Challenge Log retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChallengeLog"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/challenge_progress/record":{"get":{"tags":["Challenge Progress"],"summary":"List Challenge Progresses","operationId":"listChallengeProgress","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paginated list of Challenge Progresses","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeProgress"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/challenge_progress/record/{id}":{"get":{"tags":["Challenge Progress"],"summary":"Get a Challenge Progress by ID","operationId":"getChallengeProgress","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}}],"responses":{"200":{"description":"Challenge Progress retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ChallengeProgress"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/upload/record":{"post":{"tags":["Upload"],"summary":"Create a Upload","operationId":"createUpload","security":[{"ApiKey":[],"ApiSecret":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadCreateInput"}}}},"responses":{"200":{"description":"Upload created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Upload"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/theme/record":{"get":{"tags":["Theme"],"summary":"List Themes","operationId":"listTheme","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Paginated list of Themes","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Theme"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Theme"],"summary":"Create a Theme","operationId":"createTheme","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeCreateInput"}}}},"responses":{"200":{"description":"Theme created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Theme"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/theme/record/{id}":{"get":{"tags":["Theme"],"summary":"Get a Theme by ID","operationId":"getTheme","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Theme retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Theme"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Theme"],"summary":"Update a Theme","operationId":"updateTheme","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeUpdateInput"}}}},"responses":{"200":{"description":"Theme updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Theme"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Theme"],"summary":"Delete a Theme","operationId":"deleteTheme","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Theme deleted"},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/template/record":{"get":{"tags":["Template"],"summary":"List Templates","operationId":"listTemplate","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Paginated list of Templates","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Template"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Template"],"summary":"Create a Template","operationId":"createTemplate","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCreateInput"}}}},"responses":{"200":{"description":"Template created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Template"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/template/record/{id}":{"get":{"tags":["Template"],"summary":"Get a Template by ID","operationId":"getTemplate","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Template retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Template"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Template"],"summary":"Update a Template","operationId":"updateTemplate","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateUpdateInput"}}}},"responses":{"200":{"description":"Template updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Template"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Template"],"summary":"Delete a Template","operationId":"deleteTemplate","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Template deleted"},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/floating_widget/record":{"get":{"tags":["Floating Widget"],"summary":"List Floating Widgets","operationId":"listFloatingWidget","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Paginated list of Floating Widgets","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FloatingWidget"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Floating Widget"],"summary":"Create a Floating Widget","operationId":"createFloatingWidget","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloatingWidgetCreateInput"}}}},"responses":{"200":{"description":"Floating Widget created","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FloatingWidget"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/floating_widget/record/{id}":{"get":{"tags":["Floating Widget"],"summary":"Get a Floating Widget by ID","operationId":"getFloatingWidget","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"responses":{"200":{"description":"Floating Widget retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FloatingWidget"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Floating Widget"],"summary":"Update a Floating Widget","operationId":"updateFloatingWidget","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"languageCode","in":"query","description":"BCP-47 language code for localised fields (e.g. `en`, `fr`)","schema":{"type":"string","enum":["en","es","fr","de","zh-CN","ja","pt","it","ko"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloatingWidgetUpdateInput"}}}},"responses":{"200":{"description":"Floating Widget updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FloatingWidget"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Floating Widget"],"summary":"Delete a Floating Widget","operationId":"deleteFloatingWidget","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Floating Widget deleted"},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/reward_log/record":{"get":{"tags":["Reward Log"],"summary":"List Reward Logs","operationId":"listRewardLog","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"fields","in":"query","description":"JSON array of field slugs to return (e.g. `[\"id\",\"name\",\"milestones.id\"]`)","schema":{"type":"string"}},{"name":"filters","in":"query","description":"JSON-encoded `ComplexCondition` object (see `#/components/schemas/ComplexCondition`)","schema":{"$ref":"#/components/schemas/ComplexCondition"}},{"name":"sortBy","in":"query","description":"JSON array of sort parameters (e.g. `[{\"fieldSlug\":\"createdAt\",\"order\":\"DESC\"}]`)","schema":{"type":"string"}},{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","default":100,"minimum":1,"maximum":1000}},{"name":"fetchTotalCount","in":"query","description":"Set to true to include the total record count in the paging envelope. It works only when offset is zero","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paginated list of Reward Logs","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RewardLog"}},"paging":{"$ref":"#/components/schemas/PagingEnvelope"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/schema/reward_log/record/{id}":{"get":{"tags":["Reward Log"],"summary":"Get a Reward Log by ID","operationId":"getRewardLog","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}},{"name":"fields","in":"query","description":"JSON array of field slugs to return","schema":{"type":"string"}}],"responses":{"200":{"description":"Reward Log retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RewardLog"}}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"patch":{"tags":["Reward Log"],"summary":"Update a Reward Log","operationId":"updateRewardLog","security":[{"ApiKey":[],"ApiSecret":[]},{"EndUserAccessToken":[],"AccountId":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"UUID of the record","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RewardLogUpdateInput"}}}},"responses":{"200":{"description":"Reward Log updated","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RewardLog"}}}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"securitySchemes":{"ApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key (use together with ApiSecret)"},"ApiSecret":{"type":"apiKey","in":"header","name":"x-api-secret","description":"API secret (use together with ApiKey)"},"EndUserAccessToken":{"type":"apiKey","in":"header","name":"x-enduser-access-token","description":"End-user JWT (use together with AccountId)"},"AccountId":{"type":"apiKey","in":"header","name":"x-account-id","description":"Account UUID (use together with EndUserAccessToken)"}},"schemas":{"Condition":{"type":"object","properties":{"fieldSlug":{"type":"string"},"operator":{"type":"string","enum":["equals","not_equals","contains","icontains","not_contains","not_icontains","is_null","is_not_null","greater_than","greater_than_or_equals","less_than","less_than_or_equals","in","not_in","is_true","is_false","is_after_relative","is_before_relative","is_after_or_equals_relative","is_before_or_equals_relative","is_after_absolute","is_before_absolute","is_after_or_equals_absolute","is_before_or_equals_absolute","contained_by","contains_all","contains_any","contains_none","is_empty","is_not_empty","is_blank","is_not_blank","exists","is_undefined","is_not_undefined"]},"fieldValue":{}},"required":["fieldSlug","operator"],"description":"A single filter condition. Only **indexed fields** (marked \"Filterable\" in their description) may be used as `fieldSlug`. `fieldValue` is required unless the operator is one of: is_null, is_not_null, is_true, is_false, is_empty, is_not_empty, is_blank, is_not_blank, exists, is_undefined, is_not_undefined."},"ConditionGroup":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}}},"required":["operator","conditions"]},"ComplexCondition":{"type":"object","properties":{"operator":{"type":"string","enum":["and","or"]},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/ConditionGroup"}}},"required":["operator","conditions"],"description":"Top-level filter object. Multiple ComplexConditions in an array are combined with OR.","example":{"operator":"and","conditions":[{"operator":"and","conditions":[{"fieldSlug":"status","operator":"equals","fieldValue":"live"},{"fieldSlug":"createdAt","operator":"is_after_absolute","fieldValue":"2024-01-01T00:00:00.000Z"}]}]}},"PagingEnvelope":{"type":"object","properties":{"nextOffset":{"type":"integer","description":"Offset to use to fetch the next page"},"previousOffset":{"type":"integer","description":"Offset of the previous page"},"total":{"type":"integer","description":"Total number of matching records (only present when fetchTotalCount=true)"}},"required":["nextOffset","previousOffset"]},"ErrorResponse":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable error code"},"message":{"type":"string","description":"Human-readable error message"}},"required":["code","message"]}},"required":["error"]},"RecordOwner":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string","format":"email"},"externalId":{"type":"string"}}},"Member":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"externalId":{"title":"External ID","description":"The external identifier for the member. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"firstName":{"title":"First Name","description":"The first name of the member","type":"string","maxLength":256},"lastName":{"title":"Last Name","description":"The last name of the member","type":"string","maxLength":256},"email":{"title":"Email","description":"The email address of the member","type":"string","format":"email","maxLength":320},"phoneNumber":{"title":"Phone Number","description":"The phone number of the member in E.164 format (+<country code><number>) E.g., +14155552671","type":"string","pattern":"^\\+?[1-9]\\d{1,14}$","maxLength":15}}},"MemberCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"externalId":{"title":"External ID","description":"The external identifier for the member. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"firstName":{"title":"First Name","description":"The first name of the member","type":"string","maxLength":256},"lastName":{"title":"Last Name","description":"The last name of the member","type":"string","maxLength":256},"email":{"title":"Email","description":"The email address of the member","type":"string","format":"email","maxLength":320},"phoneNumber":{"title":"Phone Number","description":"The phone number of the member in E.164 format (+<country code><number>) E.g., +14155552671","type":"string","pattern":"^\\+?[1-9]\\d{1,14}$","maxLength":15}},"required":["status","externalId"]},"MemberUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"externalId":{"title":"External ID","description":"The external identifier for the member. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"firstName":{"title":"First Name","description":"The first name of the member","type":"string","maxLength":256},"lastName":{"title":"Last Name","description":"The last name of the member","type":"string","maxLength":256},"email":{"title":"Email","description":"The email address of the member","type":"string","format":"email","maxLength":320},"phoneNumber":{"title":"Phone Number","description":"The phone number of the member in E.164 format (+<country code><number>) E.g., +14155552671","type":"string","pattern":"^\\+?[1-9]\\d{1,14}$","maxLength":15}}},"Streak":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the streak","type":"string","maxLength":1024},"completionTargetValue":{"title":"Streak Completion Target Value","description":"The target value that needs to be achieved to complete the streak. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the completion target value would be 7.","type":"integer"},"milestones":{"title":"Milestones","description":"The milestones associated with the streak","$ref":"#/components/schemas/Milestone"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation method would be Sum. If the user needs to visit the store twice every day for 7 days, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation period would be Daily. If the user needs to spend $500 every week for 4 weeks to complete the streak, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"aggregationTargetValue":{"title":"Aggregation Target Value","description":"The target value for aggregation to complete the period. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation target value would be 100. If the user needs to visit the store twice every day for 7 days, the aggregation target value would be 2.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/streakIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the streak is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the streak is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudBrokenLabel":{"title":"EUD Broken Label","description":"The label to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Broken","type":"string","maxLength":32},"eudNonMilestoneNextToBeAchievedMessage":{"title":"EUD Non-Milestone Next To Be Achieved Message","description":"The message to display for the next non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the {{periodText}} {{nextProgressValue}} streak!","type":"string","maxLength":256},"eudNonMilestoneAchievedMessage":{"title":"EUD Non-Milestone Achieved Message","description":"The message to display for already achieved non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudCompletedStreakMessage":{"title":"EUD Completed Streak Message","description":"The message to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this streak! Come back next {{periodText}} to shop more and start your next streak!","type":"string","maxLength":256},"eudBrokenStreakMessage":{"title":"EUD Broken Streak Message","description":"The message to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your streak has been broken. Don't worry, you can start a new streak today! Shop more and reach your next milestone!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more for {{nextRemainingPeriod}} {{periodText}}s to complete the next milestone!","type":"string","maxLength":256},"eudMilestoneAchievedMessage":{"title":"EUD Milestone Achieved Message","description":"The message to display when a milestone is achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}}},"StreakCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the streak","type":"string","maxLength":1024},"completionTargetValue":{"title":"Streak Completion Target Value","description":"The target value that needs to be achieved to complete the streak. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the completion target value would be 7.","type":"integer"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation method would be Sum. If the user needs to visit the store twice every day for 7 days, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation period would be Daily. If the user needs to spend $500 every week for 4 weeks to complete the streak, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"aggregationTargetValue":{"title":"Aggregation Target Value","description":"The target value for aggregation to complete the period. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation target value would be 100. If the user needs to visit the store twice every day for 7 days, the aggregation target value would be 2.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/streakIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the streak is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the streak is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudBrokenLabel":{"title":"EUD Broken Label","description":"The label to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Broken","type":"string","maxLength":32},"eudNonMilestoneNextToBeAchievedMessage":{"title":"EUD Non-Milestone Next To Be Achieved Message","description":"The message to display for the next non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the {{periodText}} {{nextProgressValue}} streak!","type":"string","maxLength":256},"eudNonMilestoneAchievedMessage":{"title":"EUD Non-Milestone Achieved Message","description":"The message to display for already achieved non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudCompletedStreakMessage":{"title":"EUD Completed Streak Message","description":"The message to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this streak! Come back next {{periodText}} to shop more and start your next streak!","type":"string","maxLength":256},"eudBrokenStreakMessage":{"title":"EUD Broken Streak Message","description":"The message to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your streak has been broken. Don't worry, you can start a new streak today! Shop more and reach your next milestone!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more for {{nextRemainingPeriod}} {{periodText}}s to complete the next milestone!","type":"string","maxLength":256},"eudMilestoneAchievedMessage":{"title":"EUD Milestone Achieved Message","description":"The message to display when a milestone is achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}},"required":["status","name","description","completionTargetValue","aggregationMethod","aggregationPeriod","aggregationTargetValue"]},"StreakUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the streak","type":"string","maxLength":1024},"completionTargetValue":{"title":"Streak Completion Target Value","description":"The target value that needs to be achieved to complete the streak. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the completion target value would be 7.","type":"integer"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation method would be Sum. If the user needs to visit the store twice every day for 7 days, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation period would be Daily. If the user needs to spend $500 every week for 4 weeks to complete the streak, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"aggregationTargetValue":{"title":"Aggregation Target Value","description":"The target value for aggregation to complete the period. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation target value would be 100. If the user needs to visit the store twice every day for 7 days, the aggregation target value would be 2.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/streakIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the streak is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the streak is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudBrokenLabel":{"title":"EUD Broken Label","description":"The label to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Broken","type":"string","maxLength":32},"eudNonMilestoneNextToBeAchievedMessage":{"title":"EUD Non-Milestone Next To Be Achieved Message","description":"The message to display for the next non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the {{periodText}} {{nextProgressValue}} streak!","type":"string","maxLength":256},"eudNonMilestoneAchievedMessage":{"title":"EUD Non-Milestone Achieved Message","description":"The message to display for already achieved non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudCompletedStreakMessage":{"title":"EUD Completed Streak Message","description":"The message to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this streak! Come back next {{periodText}} to shop more and start your next streak!","type":"string","maxLength":256},"eudBrokenStreakMessage":{"title":"EUD Broken Streak Message","description":"The message to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your streak has been broken. Don't worry, you can start a new streak today! Shop more and reach your next milestone!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more for {{nextRemainingPeriod}} {{periodText}}s to complete the next milestone!","type":"string","maxLength":256},"eudMilestoneAchievedMessage":{"title":"EUD Milestone Achieved Message","description":"The message to display when a milestone is achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}}},"Challenge":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the challenge. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the challenge","type":"string","maxLength":1024},"completionTargetValue":{"title":"Completion Target Value","description":"The target value to complete the challenge. For example, if the challenge is to spend $100 in a day, the completion target value would be 100. If the challenge is to visit the store 3 times in a week, the completion target value would be 3.","type":"number"},"milestones":{"title":"Milestones","description":"The milestones associated with the challenge","$ref":"#/components/schemas/Milestone"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation method would be Sum. If the user needs to visit the store twice in a week to complete the challenge, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation period would be Daily. If the user needs to spend $500 in a week to complete the challenge, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the challenge for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/challengeIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the challenge is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the challenge is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudFailedLabel":{"title":"EUD Failed Label","description":"The label to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Failed","type":"string","maxLength":32},"eudCompletedChallengeMessage":{"title":"EUD Completed Challenge Message","description":"The message to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this challenge! Shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudFailedChallengeMessage":{"title":"EUD Failed Challenge Message","description":"The message to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your challenge has failed. Don't worry, shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}}},"ChallengeCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the challenge. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the challenge","type":"string","maxLength":1024},"completionTargetValue":{"title":"Completion Target Value","description":"The target value to complete the challenge. For example, if the challenge is to spend $100 in a day, the completion target value would be 100. If the challenge is to visit the store 3 times in a week, the completion target value would be 3.","type":"number"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation method would be Sum. If the user needs to visit the store twice in a week to complete the challenge, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation period would be Daily. If the user needs to spend $500 in a week to complete the challenge, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the challenge for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/challengeIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the challenge is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the challenge is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudFailedLabel":{"title":"EUD Failed Label","description":"The label to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Failed","type":"string","maxLength":32},"eudCompletedChallengeMessage":{"title":"EUD Completed Challenge Message","description":"The message to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this challenge! Shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudFailedChallengeMessage":{"title":"EUD Failed Challenge Message","description":"The message to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your challenge has failed. Don't worry, shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}},"required":["status","name","description","completionTargetValue","aggregationMethod","aggregationPeriod"]},"ChallengeUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the challenge. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the challenge","type":"string","maxLength":1024},"completionTargetValue":{"title":"Completion Target Value","description":"The target value to complete the challenge. For example, if the challenge is to spend $100 in a day, the completion target value would be 100. If the challenge is to visit the store 3 times in a week, the completion target value would be 3.","type":"number"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation method would be Sum. If the user needs to visit the store twice in a week to complete the challenge, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation period would be Daily. If the user needs to spend $500 in a week to complete the challenge, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the challenge for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/challengeIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the challenge is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the challenge is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudFailedLabel":{"title":"EUD Failed Label","description":"The label to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Failed","type":"string","maxLength":32},"eudCompletedChallengeMessage":{"title":"EUD Completed Challenge Message","description":"The message to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this challenge! Shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudFailedChallengeMessage":{"title":"EUD Failed Challenge Message","description":"The message to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your challenge has failed. Don't worry, shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}}},"Milestone":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the linked schema record associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the milestone","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the milestone","type":"string","maxLength":1024},"milestoneTargetValue":{"title":"Milestone Target Value","description":"The target value at which the milestone is achieved. For example, if you are running a streak where the user needs to spend $100 every day for 7 days, you can set a milestone at 3rd day to reward users when they spend $100 for 3 consecutive days. In this case, the milestone target value would be 3. If you are running a challenge where the user needs to visit the store 5 times in a week, you can set a milestone at 4th visit to reward users when they visit the store for the 4th time. In this case, the milestone target value would be 4.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak milestone for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/milestoneAchievedIcon.svg","type":"string","format":"uri","maxLength":2048},"eudMilestoneRewardInstructionMessage":{"title":"EUD Milestone Reward Instruction Message","description":"The instruction message to display for the milestone for end-user display on how to use the milestone offer once the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Use the offer code at checkout to redeem your reward! Valid till {{rewardValidTill}}.","type":"string","maxLength":1024},"eudMilestoneRewardTitle":{"title":"EUD Milestone Reward Title","description":"The title of the milestone reward for end-user display when the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48}}},"MilestoneCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the linked schema record associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the milestone","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the milestone","type":"string","maxLength":1024},"milestoneTargetValue":{"title":"Milestone Target Value","description":"The target value at which the milestone is achieved. For example, if you are running a streak where the user needs to spend $100 every day for 7 days, you can set a milestone at 3rd day to reward users when they spend $100 for 3 consecutive days. In this case, the milestone target value would be 3. If you are running a challenge where the user needs to visit the store 5 times in a week, you can set a milestone at 4th visit to reward users when they visit the store for the 4th time. In this case, the milestone target value would be 4.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak milestone for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/milestoneAchievedIcon.svg","type":"string","format":"uri","maxLength":2048},"eudMilestoneRewardInstructionMessage":{"title":"EUD Milestone Reward Instruction Message","description":"The instruction message to display for the milestone for end-user display on how to use the milestone offer once the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Use the offer code at checkout to redeem your reward! Valid till {{rewardValidTill}}.","type":"string","maxLength":1024},"eudMilestoneRewardTitle":{"title":"EUD Milestone Reward Title","description":"The title of the milestone reward for end-user display when the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48}},"required":["status","linkedSchemaSlug","linkedSchemaRecordId","name","description","milestoneTargetValue"]},"MilestoneUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the linked schema record associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the milestone","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the milestone","type":"string","maxLength":1024},"milestoneTargetValue":{"title":"Milestone Target Value","description":"The target value at which the milestone is achieved. For example, if you are running a streak where the user needs to spend $100 every day for 7 days, you can set a milestone at 3rd day to reward users when they spend $100 for 3 consecutive days. In this case, the milestone target value would be 3. If you are running a challenge where the user needs to visit the store 5 times in a week, you can set a milestone at 4th visit to reward users when they visit the store for the 4th time. In this case, the milestone target value would be 4.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak milestone for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/milestoneAchievedIcon.svg","type":"string","format":"uri","maxLength":2048},"eudMilestoneRewardInstructionMessage":{"title":"EUD Milestone Reward Instruction Message","description":"The instruction message to display for the milestone for end-user display on how to use the milestone offer once the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Use the offer code at checkout to redeem your reward! Valid till {{rewardValidTill}}.","type":"string","maxLength":1024},"eudMilestoneRewardTitle":{"title":"EUD Milestone Reward Title","description":"The title of the milestone reward for end-user display when the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48}}},"StreakProgress":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"streakId":{"title":"Streak ID","description":"The streak ID associated with the progress. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"uniqueIdentifier":{"title":"Composite Key: Streak ID, Owned By","description":"A composite key to ensure uniqueness of streak progress. This is a combination of streakId and ownedById.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"currentProgressValue":{"title":"Progress Value","description":"The current progress value for the streak","default":"0","type":"number"},"streakProgressStatus":{"title":"Streak Progress Status","description":"The status of the streak progress (e.g., completed, in_progress, broken)","default":"in_progress","type":"string","enum":["completed","in_progress","broken"]},"streakStartedAt":{"title":"Streak Started At","description":"The datetime when the streak was started","default":"now","type":"string","format":"date-time"},"streakCompletedAt":{"title":"Streak Completed At","description":"The datetime when the streak was completed","type":"string","format":"date-time"},"streakBrokenAt":{"title":"Streak Broken At","description":"The datetime when the streak was broken","type":"string","format":"date-time"},"lastTaskContributionAt":{"title":"Last Task Contribution At","description":"The datetime when the last task was contributed","type":"string","format":"date-time"},"lastTaskCompletedAt":{"title":"Last Task Completed At","description":"The datetime when the last task was completed","type":"string","format":"date-time"},"taskProgress":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the associated linked schema","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the associated linked schema record","type":"string","format":"uuid"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A composite key to ensure uniqueness for the task progress. This is a combination of linkedSchemaSlug, linkedSchemaRecordId, ownedById and progressPeriodKey to ensure uniqueness.","type":"string","maxLength":256},"currentProgressValue":{"title":"Progress Value","description":"The current progress value for the task","type":"number"},"progressPeriodKey":{"title":"Progress Period Key","description":"The period key representing the time period for the progress. E.g., for daily tasks, this could be the date string(YYYY-MM-DD). For weekly tasks, this could be the year and week number(YYYY-WW). For monthly tasks, this could be the year and month (YYYY-MM).","type":"string","maxLength":16},"taskProgressStatus":{"title":"Task Progress Status","description":"The status of the task progress (e.g., completed, in_progress)","default":"in_progress","type":"string","enum":["completed","in_progress"]},"progressCompletedAt":{"title":"Progress Completed At","description":"The datetime when the progress was completed","type":"string","format":"date-time"},"progressStartedAt":{"title":"Progress Started At","description":"The datetime when the progress was started","type":"string","format":"date-time"}}}}},"StreakLog":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"streakId":{"title":"Streak ID","description":"The ID of the associated streak. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"activityId":{"title":"Activity ID","description":"The ID of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"activityAt":{"title":"Activity DateTime","description":"The datetime of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"activityValue":{"title":"Activity Value","description":"The value associated with the activity","type":"number"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A unique identifier for the streak log entry to prevent duplicates. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"streak":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the streak","type":"string","maxLength":1024},"completionTargetValue":{"title":"Streak Completion Target Value","description":"The target value that needs to be achieved to complete the streak. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the completion target value would be 7.","type":"integer"},"milestones":{"title":"Milestones","description":"The milestones associated with the streak","$ref":"#/components/schemas/Milestone"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation method would be Sum. If the user needs to visit the store twice every day for 7 days, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation period would be Daily. If the user needs to spend $500 every week for 4 weeks to complete the streak, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"aggregationTargetValue":{"title":"Aggregation Target Value","description":"The target value for aggregation to complete the period. For example, if the user needs to spend $100 every day for 7 days to complete the streak, the aggregation target value would be 100. If the user needs to visit the store twice every day for 7 days, the aggregation target value would be 2.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description of the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/streakIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the streak is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the streak is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudBrokenLabel":{"title":"EUD Broken Label","description":"The label to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Broken","type":"string","maxLength":32},"eudNonMilestoneNextToBeAchievedMessage":{"title":"EUD Non-Milestone Next To Be Achieved Message","description":"The message to display for the next non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the {{periodText}} {{nextProgressValue}} streak!","type":"string","maxLength":256},"eudNonMilestoneAchievedMessage":{"title":"EUD Non-Milestone Achieved Message","description":"The message to display for already achieved non-milestone progress in the streak for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudCompletedStreakMessage":{"title":"EUD Completed Streak Message","description":"The message to display when the streak is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this streak! Come back next {{periodText}} to shop more and start your next streak!","type":"string","maxLength":256},"eudBrokenStreakMessage":{"title":"EUD Broken Streak Message","description":"The message to display when the streak is broken for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your streak has been broken. Don't worry, you can start a new streak today! Shop more and reach your next milestone!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more for {{nextRemainingPeriod}} {{periodText}}s to complete the next milestone!","type":"string","maxLength":256},"eudMilestoneAchievedMessage":{"title":"EUD Milestone Achieved Message","description":"The message to display when a milestone is achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"You have completed {{periodText}} {{currentProgressValue}} streak! Come back next {{periodText}} to shop more to maintain your streak and reach the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}}},"streakProgress":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"streakId":{"title":"Streak ID","description":"The streak ID associated with the progress. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"uniqueIdentifier":{"title":"Composite Key: Streak ID, Owned By","description":"A composite key to ensure uniqueness of streak progress. This is a combination of streakId and ownedById.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"currentProgressValue":{"title":"Progress Value","description":"The current progress value for the streak","default":"0","type":"number"},"streakProgressStatus":{"title":"Streak Progress Status","description":"The status of the streak progress (e.g., completed, in_progress, broken)","default":"in_progress","type":"string","enum":["completed","in_progress","broken"]},"streakStartedAt":{"title":"Streak Started At","description":"The datetime when the streak was started","default":"now","type":"string","format":"date-time"},"streakCompletedAt":{"title":"Streak Completed At","description":"The datetime when the streak was completed","type":"string","format":"date-time"},"streakBrokenAt":{"title":"Streak Broken At","description":"The datetime when the streak was broken","type":"string","format":"date-time"},"lastTaskContributionAt":{"title":"Last Task Contribution At","description":"The datetime when the last task was contributed","type":"string","format":"date-time"},"lastTaskCompletedAt":{"title":"Last Task Completed At","description":"The datetime when the last task was completed","type":"string","format":"date-time"}}},"taskProgress":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the associated linked schema","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the associated linked schema record","type":"string","format":"uuid"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A composite key to ensure uniqueness for the task progress. This is a combination of linkedSchemaSlug, linkedSchemaRecordId, ownedById and progressPeriodKey to ensure uniqueness.","type":"string","maxLength":256},"currentProgressValue":{"title":"Progress Value","description":"The current progress value for the task","type":"number"},"progressPeriodKey":{"title":"Progress Period Key","description":"The period key representing the time period for the progress. E.g., for daily tasks, this could be the date string(YYYY-MM-DD). For weekly tasks, this could be the year and week number(YYYY-WW). For monthly tasks, this could be the year and month (YYYY-MM).","type":"string","maxLength":16},"taskProgressStatus":{"title":"Task Progress Status","description":"The status of the task progress (e.g., completed, in_progress)","default":"in_progress","type":"string","enum":["completed","in_progress"]},"progressCompletedAt":{"title":"Progress Completed At","description":"The datetime when the progress was completed","type":"string","format":"date-time"},"progressStartedAt":{"title":"Progress Started At","description":"The datetime when the progress was started","type":"string","format":"date-time"}}},"achievedMilestone":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the linked schema record associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the milestone","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the milestone","type":"string","maxLength":1024},"milestoneTargetValue":{"title":"Milestone Target Value","description":"The target value at which the milestone is achieved. For example, if you are running a streak where the user needs to spend $100 every day for 7 days, you can set a milestone at 3rd day to reward users when they spend $100 for 3 consecutive days. In this case, the milestone target value would be 3. If you are running a challenge where the user needs to visit the store 5 times in a week, you can set a milestone at 4th visit to reward users when they visit the store for the 4th time. In this case, the milestone target value would be 4.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak milestone for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/milestoneAchievedIcon.svg","type":"string","format":"uri","maxLength":2048},"eudMilestoneRewardInstructionMessage":{"title":"EUD Milestone Reward Instruction Message","description":"The instruction message to display for the milestone for end-user display on how to use the milestone offer once the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Use the offer code at checkout to redeem your reward! Valid till {{rewardValidTill}}.","type":"string","maxLength":1024},"eudMilestoneRewardTitle":{"title":"EUD Milestone Reward Title","description":"The title of the milestone reward for end-user display when the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48}}},"nextMilestone":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the linked schema record associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the milestone","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the milestone","type":"string","maxLength":1024},"milestoneTargetValue":{"title":"Milestone Target Value","description":"The target value at which the milestone is achieved. For example, if you are running a streak where the user needs to spend $100 every day for 7 days, you can set a milestone at 3rd day to reward users when they spend $100 for 3 consecutive days. In this case, the milestone target value would be 3. If you are running a challenge where the user needs to visit the store 5 times in a week, you can set a milestone at 4th visit to reward users when they visit the store for the 4th time. In this case, the milestone target value would be 4.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak milestone for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/milestoneAchievedIcon.svg","type":"string","format":"uri","maxLength":2048},"eudMilestoneRewardInstructionMessage":{"title":"EUD Milestone Reward Instruction Message","description":"The instruction message to display for the milestone for end-user display on how to use the milestone offer once the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Use the offer code at checkout to redeem your reward! Valid till {{rewardValidTill}}.","type":"string","maxLength":1024},"eudMilestoneRewardTitle":{"title":"EUD Milestone Reward Title","description":"The title of the milestone reward for end-user display when the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48}}},"achievedMilestoneRewardLog":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the challenge milestone reward log. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the associated record in the linked schema. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"milestoneId":{"title":"Milestone ID","description":"The ID of the associated milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"milestone":{"title":"Milestone","description":"The milestone associated with the streak","$ref":"#/components/schemas/Milestone"},"couponCode":{"title":"Coupon Code","description":"The coupon code for the reward. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":64},"rewardIssuedAt":{"title":"Reward Issued At","description":"The datetime when the reward was issued. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardRedeemedAt":{"title":"Reward Redeemed At","description":"The datetime when the reward was redeemed. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardExpiryAt":{"title":"Reward Expiry At","description":"The datetime when the reward expires. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A composite key to ensure uniqueness for the milestone reward logs. This is a combination of linkedSchemaSlug, linkedSchemaRecordId, ownedById and periodKey to ensure uniqueness.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"periodKey":{"title":"Period Key","description":"The period key representing the time period for the progress. E.g., for daily tasks, this could be the date string(YYYY-MM-DD). For weekly tasks, this could be the year and week number(YYYY-WW). For monthly tasks, this could be the year and month (YYYY-MM).","type":"string","maxLength":16}}}}},"StreakLogCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"streakId":{"title":"Streak ID","description":"The ID of the associated streak. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"activityId":{"title":"Activity ID","description":"The ID of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"activityAt":{"title":"Activity DateTime","description":"The datetime of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"activityValue":{"title":"Activity Value","description":"The value associated with the activity","type":"number"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A unique identifier for the streak log entry to prevent duplicates. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256}},"required":["status","streakId","activityId","activityAt","uniqueIdentifier"]},"ChallengeLog":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"challengeId":{"title":"Challenge ID","description":"The ID of the associated challenge. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"activityId":{"title":"Activity ID","description":"The ID of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"activityAt":{"title":"Activity DateTime","description":"The datetime of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"activityValue":{"title":"Activity Value","description":"The value associated with the activity","type":"number"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A unique identifier for the challenge log entry to prevent duplicates. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"challenge":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the challenge. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the challenge","type":"string","maxLength":1024},"completionTargetValue":{"title":"Completion Target Value","description":"The target value to complete the challenge. For example, if the challenge is to spend $100 in a day, the completion target value would be 100. If the challenge is to visit the store 3 times in a week, the completion target value would be 3.","type":"number"},"milestones":{"title":"Milestones","description":"The milestones associated with the challenge","$ref":"#/components/schemas/Milestone"},"aggregationMethod":{"title":"Aggregation Method","description":"The method used for aggregating progress. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation method would be Sum. If the user needs to visit the store twice in a week to complete the challenge, the aggregation method would be Count.","default":"sum","type":"string","enum":["sum","count"]},"aggregationPeriod":{"title":"Aggregation Period","description":"The period over which progress is aggregated. For example, if the user needs to spend $100 in a day to complete the challenge, the aggregation period would be Daily. If the user needs to spend $500 in a week to complete the challenge, the aggregation period would be Weekly.","default":"daily","type":"string","enum":["daily","weekly","monthly"]},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the challenge for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/challengeIcon.svg","type":"string","format":"uri","maxLength":2048},"eudInProgressLabel":{"title":"EUD In-Progress Label","description":"The label to display when the challenge is in progress for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"In Progress","type":"string","maxLength":32},"eudCompletedLabel":{"title":"EUD Completed Label","description":"The label to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Completed","type":"string","maxLength":32},"eudNotStartedLabel":{"title":"EUD Not Started Label","description":"The label to display when the challenge is not started for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Not Started","type":"string","maxLength":32},"eudFailedLabel":{"title":"EUD Failed Label","description":"The label to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Failed","type":"string","maxLength":32},"eudCompletedChallengeMessage":{"title":"EUD Completed Challenge Message","description":"The message to display when the challenge is completed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Congratulations! You have completed this challenge! Shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudFailedChallengeMessage":{"title":"EUD Failed Challenge Message","description":"The message to display when the challenge is failed for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your challenge has failed. Don't worry, shop more next {{periodText}} to start a new challenge!","type":"string","maxLength":256},"eudMilestoneNextToBeAchievedMessage":{"title":"EUD Milestone Next To Be Achieved Message","description":"The message to display when the next milestone is to be achieved for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Shop for ${{nextRemainingValue}} or more to complete the next milestone!","type":"string","maxLength":256},"eudViewDetailsButtonText":{"title":"EUD View Details Button Text","description":"The text to display for the view details button for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View Details","type":"string","maxLength":32}}},"challengeProgress":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"challengeId":{"title":"Challenge ID","description":"The challenge ID associated with the progress. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"uniqueIdentifier":{"title":"Composite Key: Challenge ID, Owned By","description":"A composite key to ensure uniqueness of challenge progress. This is a combination of challengeId and ownedById.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"currentProgressValue":{"title":"Progress Value","description":"The current progress value for the challenge","type":"number"},"challengeProgressStatus":{"title":"Challenge Progress Status","description":"The status of the challenge progress (e.g., completed, in_progress, failed)","default":"in_progress","type":"string","enum":["completed","in_progress","failed"]},"challengeStartedAt":{"title":"Challenge Started At","description":"The datetime when the challenge was started","default":"now","type":"string","format":"date-time"},"challengeCompletedAt":{"title":"Challenge Completed At","description":"The datetime when the challenge was completed","type":"string","format":"date-time"},"challengeFailedAt":{"title":"Challenge Failed At","description":"The datetime when the challenge failed","type":"string","format":"date-time"}}},"achievedMilestone":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the linked schema record associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the milestone","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the milestone","type":"string","maxLength":1024},"milestoneTargetValue":{"title":"Milestone Target Value","description":"The target value at which the milestone is achieved. For example, if you are running a streak where the user needs to spend $100 every day for 7 days, you can set a milestone at 3rd day to reward users when they spend $100 for 3 consecutive days. In this case, the milestone target value would be 3. If you are running a challenge where the user needs to visit the store 5 times in a week, you can set a milestone at 4th visit to reward users when they visit the store for the 4th time. In this case, the milestone target value would be 4.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak milestone for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/milestoneAchievedIcon.svg","type":"string","format":"uri","maxLength":2048},"eudMilestoneRewardInstructionMessage":{"title":"EUD Milestone Reward Instruction Message","description":"The instruction message to display for the milestone for end-user display on how to use the milestone offer once the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Use the offer code at checkout to redeem your reward! Valid till {{rewardValidTill}}.","type":"string","maxLength":1024},"eudMilestoneRewardTitle":{"title":"EUD Milestone Reward Title","description":"The title of the milestone reward for end-user display when the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48}}},"nextMilestone":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the linked schema record associated with the milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the milestone","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the milestone","type":"string","maxLength":1024},"milestoneTargetValue":{"title":"Milestone Target Value","description":"The target value at which the milestone is achieved. For example, if you are running a streak where the user needs to spend $100 every day for 7 days, you can set a milestone at 3rd day to reward users when they spend $100 for 3 consecutive days. In this case, the milestone target value would be 3. If you are running a challenge where the user needs to visit the store 5 times in a week, you can set a milestone at 4th visit to reward users when they visit the store for the 4th time. In this case, the milestone target value would be 4.","type":"number"},"eudTitle":{"title":"EUD Title","description":"The title for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudDescription":{"title":"EUD Description","description":"The description for end-user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":1024},"eudIcon":{"title":"EUD Icon","description":"The icon of the streak milestone for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/milestoneAchievedIcon.svg","type":"string","format":"uri","maxLength":2048},"eudMilestoneRewardInstructionMessage":{"title":"EUD Milestone Reward Instruction Message","description":"The instruction message to display for the milestone for end-user display on how to use the milestone offer once the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Use the offer code at checkout to redeem your reward! Valid till {{rewardValidTill}}.","type":"string","maxLength":1024},"eudMilestoneRewardTitle":{"title":"EUD Milestone Reward Title","description":"The title of the milestone reward for end-user display when the milestone is achieved. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48}}},"achievedMilestoneRewardLog":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the challenge milestone reward log. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the associated record in the linked schema. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"milestoneId":{"title":"Milestone ID","description":"The ID of the associated milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"milestone":{"title":"Milestone","description":"The milestone associated with the streak","$ref":"#/components/schemas/Milestone"},"couponCode":{"title":"Coupon Code","description":"The coupon code for the reward. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":64},"rewardIssuedAt":{"title":"Reward Issued At","description":"The datetime when the reward was issued. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardRedeemedAt":{"title":"Reward Redeemed At","description":"The datetime when the reward was redeemed. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardExpiryAt":{"title":"Reward Expiry At","description":"The datetime when the reward expires. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A composite key to ensure uniqueness for the milestone reward logs. This is a combination of linkedSchemaSlug, linkedSchemaRecordId, ownedById and periodKey to ensure uniqueness.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"periodKey":{"title":"Period Key","description":"The period key representing the time period for the progress. E.g., for daily tasks, this could be the date string(YYYY-MM-DD). For weekly tasks, this could be the year and week number(YYYY-WW). For monthly tasks, this could be the year and month (YYYY-MM).","type":"string","maxLength":16}}}}},"ChallengeLogCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"challengeId":{"title":"Challenge ID","description":"The ID of the associated challenge. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"activityId":{"title":"Activity ID","description":"The ID of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"activityAt":{"title":"Activity DateTime","description":"The datetime of the activity. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"activityValue":{"title":"Activity Value","description":"The value associated with the activity","type":"number"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A unique identifier for the challenge log entry to prevent duplicates. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256}},"required":["status","challengeId","activityId","activityAt","uniqueIdentifier"]},"ChallengeProgress":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"challengeId":{"title":"Challenge ID","description":"The challenge ID associated with the progress. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"uniqueIdentifier":{"title":"Composite Key: Challenge ID, Owned By","description":"A composite key to ensure uniqueness of challenge progress. This is a combination of challengeId and ownedById.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"currentProgressValue":{"title":"Progress Value","description":"The current progress value for the challenge","type":"number"},"challengeProgressStatus":{"title":"Challenge Progress Status","description":"The status of the challenge progress (e.g., completed, in_progress, failed)","default":"in_progress","type":"string","enum":["completed","in_progress","failed"]},"challengeStartedAt":{"title":"Challenge Started At","description":"The datetime when the challenge was started","default":"now","type":"string","format":"date-time"},"challengeCompletedAt":{"title":"Challenge Completed At","description":"The datetime when the challenge was completed","type":"string","format":"date-time"},"challengeFailedAt":{"title":"Challenge Failed At","description":"The datetime when the challenge failed","type":"string","format":"date-time"},"taskProgress":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the associated linked schema","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the associated linked schema record","type":"string","format":"uuid"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A composite key to ensure uniqueness for the task progress. This is a combination of linkedSchemaSlug, linkedSchemaRecordId, ownedById and progressPeriodKey to ensure uniqueness.","type":"string","maxLength":256},"currentProgressValue":{"title":"Progress Value","description":"The current progress value for the task","type":"number"},"progressPeriodKey":{"title":"Progress Period Key","description":"The period key representing the time period for the progress. E.g., for daily tasks, this could be the date string(YYYY-MM-DD). For weekly tasks, this could be the year and week number(YYYY-WW). For monthly tasks, this could be the year and month (YYYY-MM).","type":"string","maxLength":16},"taskProgressStatus":{"title":"Task Progress Status","description":"The status of the task progress (e.g., completed, in_progress)","default":"in_progress","type":"string","enum":["completed","in_progress"]},"progressCompletedAt":{"title":"Progress Completed At","description":"The datetime when the progress was completed","type":"string","format":"date-time"},"progressStartedAt":{"title":"Progress Started At","description":"The datetime when the progress was started","type":"string","format":"date-time"}}}}},"Upload":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"url":{"title":"URL","description":"The URL of the upload","type":"string","maxLength":1024},"mimeType":{"title":"File MIME Type","description":"The MIME type of the uploaded file","type":"string","maxLength":255},"size":{"title":"File Size","description":"The size of the uploaded file in bytes","type":"integer"},"schemaSlug":{"title":"Schema Slug","description":"The slug of the schema the upload is associated with","type":"string","maxLength":64},"fieldSlug":{"title":"Field Slug","description":"The slug of the field the upload is associated with","type":"string","maxLength":64}}},"UploadCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"file":{"title":"File","description":"The uploaded file","type":"string","format":"binary"},"schemaSlug":{"title":"Schema Slug","description":"The slug of the schema the upload is associated with","type":"string","maxLength":64},"fieldSlug":{"title":"Field Slug","description":"The slug of the field the upload is associated with","type":"string","maxLength":64}},"required":["status","file","schemaSlug","fieldSlug"]},"Theme":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the theme","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the theme","type":"string","maxLength":1024},"primaryColor":{"title":"Primary Color","default":"rgba(124, 58, 237, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"primaryContrastTextColor":{"title":"Primary Contrast Text Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryColor":{"title":"Secondary Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryContrastTextColor":{"title":"Secondary Contrast Text Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"primaryTextColor":{"title":"Primary Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryTextColor":{"title":"Secondary Text Color","default":"rgba(100, 116, 139, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"backgroundColor":{"title":"Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"surfaceColor":{"title":"Surface Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"errorColor":{"title":"Error Color","default":"rgba(239, 68, 68, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"successColor":{"title":"Success Color","default":"rgba(34, 133, 120, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"warningColor":{"title":"Warning Color","default":"rgba(232, 161, 5, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"infoColor":{"title":"Info Color","default":"rgba(58, 112, 226, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"defaultColor":{"title":"Default Color","default":"rgba(115, 118, 116, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"fontFamily":{"title":"Font Family","description":"The name of the Google Font to be used in the application. For example, \"Roboto\", \"Open Sans\", etc.","default":"Plus Jakarta Sans","type":"string","maxLength":32},"componentButtonBorderRadius":{"title":"Button Border Radius (px)","default":"24","type":"integer"},"componentCardBackgroundColor":{"title":"Card Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBorderColor":{"title":"Card Border Color","default":"rgba(226, 232, 240, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBorderWidth":{"title":"Card Border Width (px)","default":"1","type":"integer"},"componentCardBorderRadius":{"title":"Card Border Radius (px)","default":"16","type":"integer"},"componentCardBoxShadow":{"title":"Card Box Shadow","type":"string","maxLength":255},"componentCardTitleTextColor":{"title":"Card Title Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardTitleFontSize":{"title":"Card Title Font Size (px)","default":"18","type":"integer"},"componentCardSubtitleTextColor":{"title":"Card Subtitle Text Color","default":"rgba(100, 116, 139, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardSubtitleFontSize":{"title":"Card Subtitle Font Size (px)","default":"14","type":"integer"},"componentCardBodyTextColor":{"title":"Card Body Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBodyFontSize":{"title":"Card Body Font Size (px)","default":"14","type":"integer"}}},"ThemeCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the theme","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the theme","type":"string","maxLength":1024},"primaryColor":{"title":"Primary Color","default":"rgba(124, 58, 237, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"primaryContrastTextColor":{"title":"Primary Contrast Text Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryColor":{"title":"Secondary Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryContrastTextColor":{"title":"Secondary Contrast Text Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"primaryTextColor":{"title":"Primary Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryTextColor":{"title":"Secondary Text Color","default":"rgba(100, 116, 139, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"backgroundColor":{"title":"Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"surfaceColor":{"title":"Surface Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"errorColor":{"title":"Error Color","default":"rgba(239, 68, 68, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"successColor":{"title":"Success Color","default":"rgba(34, 133, 120, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"warningColor":{"title":"Warning Color","default":"rgba(232, 161, 5, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"infoColor":{"title":"Info Color","default":"rgba(58, 112, 226, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"defaultColor":{"title":"Default Color","default":"rgba(115, 118, 116, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"fontFamily":{"title":"Font Family","description":"The name of the Google Font to be used in the application. For example, \"Roboto\", \"Open Sans\", etc.","default":"Plus Jakarta Sans","type":"string","maxLength":32},"componentButtonBorderRadius":{"title":"Button Border Radius (px)","default":"24","type":"integer"},"componentCardBackgroundColor":{"title":"Card Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBorderColor":{"title":"Card Border Color","default":"rgba(226, 232, 240, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBorderWidth":{"title":"Card Border Width (px)","default":"1","type":"integer"},"componentCardBorderRadius":{"title":"Card Border Radius (px)","default":"16","type":"integer"},"componentCardBoxShadow":{"title":"Card Box Shadow","type":"string","maxLength":255},"componentCardTitleTextColor":{"title":"Card Title Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardTitleFontSize":{"title":"Card Title Font Size (px)","default":"18","type":"integer"},"componentCardSubtitleTextColor":{"title":"Card Subtitle Text Color","default":"rgba(100, 116, 139, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardSubtitleFontSize":{"title":"Card Subtitle Font Size (px)","default":"14","type":"integer"},"componentCardBodyTextColor":{"title":"Card Body Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBodyFontSize":{"title":"Card Body Font Size (px)","default":"14","type":"integer"}},"required":["status","name","description","primaryColor","primaryContrastTextColor","secondaryColor","secondaryContrastTextColor","primaryTextColor","secondaryTextColor","backgroundColor","surfaceColor","errorColor","successColor","warningColor","infoColor","defaultColor","fontFamily","componentButtonBorderRadius","componentCardBackgroundColor","componentCardBorderColor","componentCardBorderWidth","componentCardBorderRadius","componentCardTitleTextColor","componentCardTitleFontSize","componentCardSubtitleTextColor","componentCardSubtitleFontSize","componentCardBodyTextColor","componentCardBodyFontSize"]},"ThemeUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the theme","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the theme","type":"string","maxLength":1024},"primaryColor":{"title":"Primary Color","default":"rgba(124, 58, 237, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"primaryContrastTextColor":{"title":"Primary Contrast Text Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryColor":{"title":"Secondary Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryContrastTextColor":{"title":"Secondary Contrast Text Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"primaryTextColor":{"title":"Primary Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"secondaryTextColor":{"title":"Secondary Text Color","default":"rgba(100, 116, 139, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"backgroundColor":{"title":"Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"surfaceColor":{"title":"Surface Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"errorColor":{"title":"Error Color","default":"rgba(239, 68, 68, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"successColor":{"title":"Success Color","default":"rgba(34, 133, 120, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"warningColor":{"title":"Warning Color","default":"rgba(232, 161, 5, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"infoColor":{"title":"Info Color","default":"rgba(58, 112, 226, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"defaultColor":{"title":"Default Color","default":"rgba(115, 118, 116, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"fontFamily":{"title":"Font Family","description":"The name of the Google Font to be used in the application. For example, \"Roboto\", \"Open Sans\", etc.","default":"Plus Jakarta Sans","type":"string","maxLength":32},"componentButtonBorderRadius":{"title":"Button Border Radius (px)","default":"24","type":"integer"},"componentCardBackgroundColor":{"title":"Card Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBorderColor":{"title":"Card Border Color","default":"rgba(226, 232, 240, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBorderWidth":{"title":"Card Border Width (px)","default":"1","type":"integer"},"componentCardBorderRadius":{"title":"Card Border Radius (px)","default":"16","type":"integer"},"componentCardBoxShadow":{"title":"Card Box Shadow","type":"string","maxLength":255},"componentCardTitleTextColor":{"title":"Card Title Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardTitleFontSize":{"title":"Card Title Font Size (px)","default":"18","type":"integer"},"componentCardSubtitleTextColor":{"title":"Card Subtitle Text Color","default":"rgba(100, 116, 139, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardSubtitleFontSize":{"title":"Card Subtitle Font Size (px)","default":"14","type":"integer"},"componentCardBodyTextColor":{"title":"Card Body Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"componentCardBodyFontSize":{"title":"Card Body Font Size (px)","default":"14","type":"integer"}}},"Template":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the streak","type":"string","maxLength":1024},"loggedInTitle":{"title":"Logged In Title","description":"The title to display to logged in users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":128},"loggedInSubTitle":{"title":"Logged In Subtitle","description":"The subtitle to display to logged in users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":256},"loggedOutTitle":{"title":"Logged Out Title","description":"The title to display to logged out users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":128},"loggedOutSubTitle":{"title":"Logged Out Subtitle","description":"The subtitle to display to logged out users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":256},"joinNowButtonText":{"title":"Join Now Button Text","description":"The button text to display to users for joining now. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Join Now","type":"string","maxLength":32},"signupUrl":{"title":"Signup URL","description":"The URL to redirect users to for signing up. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","format":"uri","maxLength":2048},"alreadyHaveAccountText":{"title":"Already Have Account Text","description":"The text to display to users who already have an account. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Already have an account?","type":"string","maxLength":128},"loginButtonText":{"title":"Login Button Text","description":"The button text to display to users for logging in. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Login","type":"string","maxLength":32},"loginUrl":{"title":"Login URL","description":"The URL to redirect users to for logging in. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","format":"uri","maxLength":2048},"streakSectionTitle":{"title":"Streak Section Title","description":"The title to display for the streak section in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Streaks","type":"string","maxLength":32},"noStreaksTextMessage":{"title":"No Streaks Text Message","description":"The text message to display when there are no streaks. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"There are no streaks available at the moment. Please check back later!","type":"string","maxLength":256},"challengeSectionTitle":{"title":"Challenge Section Title","description":"The title to display for the challenge section in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Challenges","type":"string","maxLength":32},"noChallengesTextMessage":{"title":"No Challenges Text Message","description":"The text message to display when there are no challenges. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"There are no challenges available at the moment. Please check back later!","type":"string","maxLength":256},"genericErrorMessage":{"title":"Generic Error Message","description":"The generic error message to display in end user display when an error occurs. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Something went wrong. Please try again later!","type":"string","maxLength":256},"rewardRedeemedLabel":{"title":"Reward Redeemed Label","description":"The label to display for redeemed rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Redeemed","type":"string","maxLength":32},"rewardExpiredLabel":{"title":"Reward Expired Label","description":"The label to display for expired rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Expired","type":"string","maxLength":32},"rewardIcon":{"title":"Reward Icon","description":"The icon of the reward for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/rewardIcon.svg","type":"string","format":"uri","maxLength":2048},"rewardsPageTitle":{"title":"Rewards Page Title","description":"The title to display for your rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your Rewards","type":"string","maxLength":32},"rewardsViewAllButtonText":{"title":"View All Button Text","description":"The button text to display for view all rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View All","type":"string","maxLength":32},"noRewardsTextMessage":{"title":"No Rewards Text Message","description":"The text message to display when there are no rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"No rewards are available. Please participate in streaks and challenges to earn rewards!","type":"string","maxLength":256},"copiedText":{"title":"Copied Text","description":"The text to display when the reward code is copied in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Copied!","type":"string","maxLength":32}}},"TemplateCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the streak","type":"string","maxLength":1024},"loggedInTitle":{"title":"Logged In Title","description":"The title to display to logged in users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":128},"loggedInSubTitle":{"title":"Logged In Subtitle","description":"The subtitle to display to logged in users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":256},"loggedOutTitle":{"title":"Logged Out Title","description":"The title to display to logged out users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":128},"loggedOutSubTitle":{"title":"Logged Out Subtitle","description":"The subtitle to display to logged out users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":256},"joinNowButtonText":{"title":"Join Now Button Text","description":"The button text to display to users for joining now. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Join Now","type":"string","maxLength":32},"signupUrl":{"title":"Signup URL","description":"The URL to redirect users to for signing up. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","format":"uri","maxLength":2048},"alreadyHaveAccountText":{"title":"Already Have Account Text","description":"The text to display to users who already have an account. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Already have an account?","type":"string","maxLength":128},"loginButtonText":{"title":"Login Button Text","description":"The button text to display to users for logging in. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Login","type":"string","maxLength":32},"loginUrl":{"title":"Login URL","description":"The URL to redirect users to for logging in. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","format":"uri","maxLength":2048},"streakSectionTitle":{"title":"Streak Section Title","description":"The title to display for the streak section in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Streaks","type":"string","maxLength":32},"noStreaksTextMessage":{"title":"No Streaks Text Message","description":"The text message to display when there are no streaks. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"There are no streaks available at the moment. Please check back later!","type":"string","maxLength":256},"challengeSectionTitle":{"title":"Challenge Section Title","description":"The title to display for the challenge section in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Challenges","type":"string","maxLength":32},"noChallengesTextMessage":{"title":"No Challenges Text Message","description":"The text message to display when there are no challenges. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"There are no challenges available at the moment. Please check back later!","type":"string","maxLength":256},"genericErrorMessage":{"title":"Generic Error Message","description":"The generic error message to display in end user display when an error occurs. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Something went wrong. Please try again later!","type":"string","maxLength":256},"rewardRedeemedLabel":{"title":"Reward Redeemed Label","description":"The label to display for redeemed rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Redeemed","type":"string","maxLength":32},"rewardExpiredLabel":{"title":"Reward Expired Label","description":"The label to display for expired rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Expired","type":"string","maxLength":32},"rewardIcon":{"title":"Reward Icon","description":"The icon of the reward for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/rewardIcon.svg","type":"string","format":"uri","maxLength":2048},"rewardsPageTitle":{"title":"Rewards Page Title","description":"The title to display for your rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your Rewards","type":"string","maxLength":32},"rewardsViewAllButtonText":{"title":"View All Button Text","description":"The button text to display for view all rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View All","type":"string","maxLength":32},"noRewardsTextMessage":{"title":"No Rewards Text Message","description":"The text message to display when there are no rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"No rewards are available. Please participate in streaks and challenges to earn rewards!","type":"string","maxLength":256},"copiedText":{"title":"Copied Text","description":"The text to display when the reward code is copied in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Copied!","type":"string","maxLength":32}},"required":["status","name","description"]},"TemplateUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the streak","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the streak","type":"string","maxLength":1024},"loggedInTitle":{"title":"Logged In Title","description":"The title to display to logged in users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":128},"loggedInSubTitle":{"title":"Logged In Subtitle","description":"The subtitle to display to logged in users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":256},"loggedOutTitle":{"title":"Logged Out Title","description":"The title to display to logged out users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":128},"loggedOutSubTitle":{"title":"Logged Out Subtitle","description":"The subtitle to display to logged out users. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":256},"joinNowButtonText":{"title":"Join Now Button Text","description":"The button text to display to users for joining now. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Join Now","type":"string","maxLength":32},"signupUrl":{"title":"Signup URL","description":"The URL to redirect users to for signing up. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","format":"uri","maxLength":2048},"alreadyHaveAccountText":{"title":"Already Have Account Text","description":"The text to display to users who already have an account. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Already have an account?","type":"string","maxLength":128},"loginButtonText":{"title":"Login Button Text","description":"The button text to display to users for logging in. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Login","type":"string","maxLength":32},"loginUrl":{"title":"Login URL","description":"The URL to redirect users to for logging in. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","format":"uri","maxLength":2048},"streakSectionTitle":{"title":"Streak Section Title","description":"The title to display for the streak section in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Streaks","type":"string","maxLength":32},"noStreaksTextMessage":{"title":"No Streaks Text Message","description":"The text message to display when there are no streaks. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"There are no streaks available at the moment. Please check back later!","type":"string","maxLength":256},"challengeSectionTitle":{"title":"Challenge Section Title","description":"The title to display for the challenge section in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Challenges","type":"string","maxLength":32},"noChallengesTextMessage":{"title":"No Challenges Text Message","description":"The text message to display when there are no challenges. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"There are no challenges available at the moment. Please check back later!","type":"string","maxLength":256},"genericErrorMessage":{"title":"Generic Error Message","description":"The generic error message to display in end user display when an error occurs. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Something went wrong. Please try again later!","type":"string","maxLength":256},"rewardRedeemedLabel":{"title":"Reward Redeemed Label","description":"The label to display for redeemed rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Redeemed","type":"string","maxLength":32},"rewardExpiredLabel":{"title":"Reward Expired Label","description":"The label to display for expired rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Expired","type":"string","maxLength":32},"rewardIcon":{"title":"Reward Icon","description":"The icon of the reward for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","default":"https://static.gamopanda.com/commons/rewardIcon.svg","type":"string","format":"uri","maxLength":2048},"rewardsPageTitle":{"title":"Rewards Page Title","description":"The title to display for your rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Your Rewards","type":"string","maxLength":32},"rewardsViewAllButtonText":{"title":"View All Button Text","description":"The button text to display for view all rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"View All","type":"string","maxLength":32},"noRewardsTextMessage":{"title":"No Rewards Text Message","description":"The text message to display when there are no rewards in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"No rewards are available. Please participate in streaks and challenges to earn rewards!","type":"string","maxLength":256},"copiedText":{"title":"Copied Text","description":"The text to display when the reward code is copied in end user display. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","default":"Copied!","type":"string","maxLength":32}}},"FloatingWidget":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"name":{"title":"Name","description":"The name of the floating widget","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the floating widget","type":"string","maxLength":1024},"eudTitle":{"title":"Eud Title","description":"The title displayed to end-users for the floating widget. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudIcon":{"title":"Eud Icon","description":"The icon of the floating widget for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","type":"string","format":"uri","maxLength":2048},"alignment":{"title":"Alignment","description":"The alignment of the floating widget on the screen","default":"bottom_right","type":"string","enum":["bottom_right","bottom_left"]},"alignmentPositionX":{"title":"Alignment Position X","description":"The horizontal position of the floating widget based on the selected alignment. For example, if alignment is right, the position can be 20px from the right","default":"20","type":"integer"},"alignmentPositionY":{"title":"Alignment Position Y","description":"The vertical position of the floating widget. For example, it can be 30px from the bottom","default":"20","type":"integer"},"backgroundColor":{"title":"Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"borderColor":{"title":"Border Color","default":"rgba(226, 232, 240, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"borderWidth":{"title":"Border Width (px)","default":"1","type":"integer"},"borderRadius":{"title":"Border Radius (px)","default":"8","type":"integer"},"boxShadow":{"title":"Box Shadow","default":"0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12)","type":"string","maxLength":256},"textColor":{"title":"Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"fontSize":{"title":"Font Size (px)","default":"18","type":"integer"}}},"FloatingWidgetCreateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the floating widget","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the floating widget","type":"string","maxLength":1024},"eudTitle":{"title":"Eud Title","description":"The title displayed to end-users for the floating widget. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudIcon":{"title":"Eud Icon","description":"The icon of the floating widget for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","type":"string","format":"uri","maxLength":2048},"alignment":{"title":"Alignment","description":"The alignment of the floating widget on the screen","default":"bottom_right","type":"string","enum":["bottom_right","bottom_left"]},"alignmentPositionX":{"title":"Alignment Position X","description":"The horizontal position of the floating widget based on the selected alignment. For example, if alignment is right, the position can be 20px from the right","default":"20","type":"integer"},"alignmentPositionY":{"title":"Alignment Position Y","description":"The vertical position of the floating widget. For example, it can be 30px from the bottom","default":"20","type":"integer"},"backgroundColor":{"title":"Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"borderColor":{"title":"Border Color","default":"rgba(226, 232, 240, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"borderWidth":{"title":"Border Width (px)","default":"1","type":"integer"},"borderRadius":{"title":"Border Radius (px)","default":"8","type":"integer"},"boxShadow":{"title":"Box Shadow","default":"0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12)","type":"string","maxLength":256},"textColor":{"title":"Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"fontSize":{"title":"Font Size (px)","default":"18","type":"integer"}},"required":["status","name","description"]},"FloatingWidgetUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"draft","type":"string","enum":["draft","live","paused"]},"name":{"title":"Name","description":"The name of the floating widget","type":"string","maxLength":256},"description":{"title":"Description","description":"A brief description of the floating widget","type":"string","maxLength":1024},"eudTitle":{"title":"Eud Title","description":"The title displayed to end-users for the floating widget. This is a language-specific field. The value of the `languageCode` query parameter determines which language version is read or written.","type":"string","maxLength":48},"eudIcon":{"title":"Eud Icon","description":"The icon of the floating widget for end-user display. Allowed file types: PNG, JPEG, JPG, GIF, SVG. Max size: 100 KB.","type":"string","format":"uri","maxLength":2048},"alignment":{"title":"Alignment","description":"The alignment of the floating widget on the screen","default":"bottom_right","type":"string","enum":["bottom_right","bottom_left"]},"alignmentPositionX":{"title":"Alignment Position X","description":"The horizontal position of the floating widget based on the selected alignment. For example, if alignment is right, the position can be 20px from the right","default":"20","type":"integer"},"alignmentPositionY":{"title":"Alignment Position Y","description":"The vertical position of the floating widget. For example, it can be 30px from the bottom","default":"20","type":"integer"},"backgroundColor":{"title":"Background Color","default":"rgba(255, 255, 255, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"borderColor":{"title":"Border Color","default":"rgba(226, 232, 240, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"borderWidth":{"title":"Border Width (px)","default":"1","type":"integer"},"borderRadius":{"title":"Border Radius (px)","default":"8","type":"integer"},"boxShadow":{"title":"Box Shadow","default":"0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12)","type":"string","maxLength":256},"textColor":{"title":"Text Color","default":"rgba(26, 28, 30, 1)","type":"string","maxLength":32,"pattern":"^rgba\\(\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(0|1|0?\\.\\d+)\\s*\\)$"},"fontSize":{"title":"Font Size (px)","default":"18","type":"integer"}}},"RewardLog":{"type":"object","properties":{"id":{"title":"ID","description":"The unique identifier for the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"createdAt":{"title":"Created At","description":"The date and time when the record was created. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"updatedAt":{"title":"Updated At","description":"The date and time when the record was last updated. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"createdById":{"title":"Created By ID","description":"The identifier of the user who created the record","type":"string","format":"uuid"},"updatedById":{"title":"Updated By ID","description":"The identifier of the user who last updated the record","type":"string","format":"uuid"},"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"ownedBy":{"title":"Record Owner","description":"The user who owns the record","$ref":"#/components/schemas/RecordOwner"},"organizationId":{"title":"Organization ID","description":"The identifier of the organization associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"accountId":{"title":"Account ID","description":"The identifier of the account associated with the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the challenge milestone reward log. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"linkedSchemaRecordId":{"title":"Linked Schema Record ID","description":"The ID of the associated record in the linked schema. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"milestoneId":{"title":"Milestone ID","description":"The ID of the associated milestone. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"milestone":{"title":"Milestone","description":"The milestone associated with the streak","$ref":"#/components/schemas/Milestone"},"couponCode":{"title":"Coupon Code","description":"The coupon code for the reward. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":64},"rewardIssuedAt":{"title":"Reward Issued At","description":"The datetime when the reward was issued. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardRedeemedAt":{"title":"Reward Redeemed At","description":"The datetime when the reward was redeemed. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardExpiryAt":{"title":"Reward Expiry At","description":"The datetime when the reward expires. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A composite key to ensure uniqueness for the milestone reward logs. This is a combination of linkedSchemaSlug, linkedSchemaRecordId, ownedById and periodKey to ensure uniqueness.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256},"periodKey":{"title":"Period Key","description":"The period key representing the time period for the progress. E.g., for daily tasks, this could be the date string(YYYY-MM-DD). For weekly tasks, this could be the year and week number(YYYY-WW). For monthly tasks, this could be the year and month (YYYY-MM).","type":"string","maxLength":16}}},"RewardLogUpdateInput":{"type":"object","properties":{"isArchived":{"title":"Is Archived","description":"Indicates whether the record is archived. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"boolean"},"status":{"title":"Status","description":"The status of the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","default":"live","type":"string","enum":["draft","live","paused"]},"ownedById":{"title":"Owner ID","description":"The identifier of the user who owns the record. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"uuid"},"linkedSchemaSlug":{"title":"Linked Schema Slug","description":"The slug of the linked schema associated with the challenge milestone reward log. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":32},"couponCode":{"title":"Coupon Code","description":"The coupon code for the reward. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":64},"rewardIssuedAt":{"title":"Reward Issued At","description":"The datetime when the reward was issued. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardRedeemedAt":{"title":"Reward Redeemed At","description":"The datetime when the reward was redeemed. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"rewardExpiryAt":{"title":"Reward Expiry At","description":"The datetime when the reward expires. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","format":"date-time"},"uniqueIdentifier":{"title":"Unique Identifier","description":"A composite key to ensure uniqueness for the milestone reward logs. This is a combination of linkedSchemaSlug, linkedSchemaRecordId, ownedById and periodKey to ensure uniqueness.. Filterable - this field can be used as `fieldSlug` in a `Condition`.","type":"string","maxLength":256}}}}}}