{"swagger": "2.0", "info": {"title": "deeptrue API", "description": "HTTP API authenticated with MCP API keys (dt_…). REST routes require api:* scopes (api:read, api:projects, api:surveys, api:fielding, api:reports, api:write; api:pii is explicit). MCP tools use mcp:* scopes. Dashboard keys default to both families. Create keys under Settings → MCP API keys.", "version": "v1"}, "host": "api.deeptrue.ch", "schemes": ["https"], "basePath": "/", "consumes": ["application/json"], "produces": ["application/json"], "securityDefinitions": {"Basic": {"type": "basic"}}, "security": [{"Basic": []}], "paths": {"/v1/auth/mcp/keys/": {"get": {"operationId": "v1_auth_mcp_keys_list", "description": "", "parameters": [], "responses": {"200": {"description": ""}}, "tags": ["v1"]}, "post": {"operationId": "v1_auth_mcp_keys_create", "description": "", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["v1"]}, "parameters": []}, "/v1/auth/mcp/keys/{uuid}/revoke/": {"post": {"operationId": "v1_auth_mcp_keys_revoke_create", "description": "", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["v1"]}, "parameters": [{"name": "uuid", "in": "path", "required": true, "type": "string"}]}, "/v1/auth/mcp/session/": {"post": {"operationId": "v1_auth_mcp_session_create", "description": "", "parameters": [], "responses": {"201": {"description": ""}}, "tags": ["v1"]}, "parameters": []}, "/v1/org/{organization_name}/projects/": {"get": {"operationId": "v1_org_projects_list", "description": "", "parameters": [{"name": "ordering", "in": "query", "description": "Which field to use when ordering the results.", "required": false, "type": "string"}, {"name": "status", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "uuid", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "is_deleted", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "survey_template_uuid", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "name", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "product_slug", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "created_at_after", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "created_at_before", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "updated_at_after", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "updated_at_before", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "mine", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "search", "in": "query", "description": "A search term.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/ProjectList"}}}}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "post": {"operationId": "v1_org_projects_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/reports/": {"get": {"operationId": "v1_org_projects_reports_list", "description": "", "parameters": [{"name": "project_uuid", "in": "query", "description": "", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/ReportFile"}}}}}}, "tags": ["v1"]}, "post": {"operationId": "v1_org_projects_reports_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ReportFile"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/ReportFile"}}}, "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/reports/{id}/": {"get": {"operationId": "v1_org_projects_reports_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReportFile"}}}, "tags": ["v1"]}, "put": {"operationId": "v1_org_projects_reports_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ReportFile"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReportFile"}}}, "tags": ["v1"]}, "patch": {"operationId": "v1_org_projects_reports_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/ReportFile"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ReportFile"}}}, "tags": ["v1"]}, "delete": {"operationId": "v1_org_projects_reports_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "description": "A unique integer value identifying this report file.", "required": true, "type": "integer"}]}, "/v1/org/{organization_name}/projects/{id}/": {"get": {"operationId": "v1_org_projects_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/ProjectDetail"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "put": {"operationId": "v1_org_projects_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "patch": {"operationId": "v1_org_projects_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "delete": {"operationId": "v1_org_projects_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/{id}/accept/": {"put": {"operationId": "v1_org_projects_accept_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "patch": {"operationId": "v1_org_projects_accept_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/{id}/archive/": {"put": {"operationId": "v1_org_projects_archive_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "patch": {"operationId": "v1_org_projects_archive_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/{id}/briefing-answers-json/": {"get": {"operationId": "v1_org_projects_briefing_answers_json", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/{id}/collect/": {"post": {"operationId": "v1_org_projects_collect", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/{id}/finish/": {"post": {"operationId": "v1_org_projects_finish", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/{id}/report/": {"post": {"operationId": "v1_org_projects_report", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"201": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/org/{organization_name}/projects/{id}/restore/": {"put": {"operationId": "v1_org_projects_restore_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "patch": {"operationId": "v1_org_projects_restore_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Project"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Project"}}}, "consumes": ["text/html", "application/json"], "tags": ["v1"]}, "parameters": [{"name": "organization_name", "in": "path", "required": true, "type": "string"}, {"name": "id", "in": "path", "required": true, "type": "string"}]}, "/v1/organizations/": {"get": {"operationId": "v1_organizations_list", "description": "", "parameters": [{"name": "search", "in": "query", "description": "A search term.", "required": false, "type": "string"}, {"name": "limit", "in": "query", "description": "Number of results to return per page.", "required": false, "type": "integer"}, {"name": "offset", "in": "query", "description": "The initial index from which to return the results.", "required": false, "type": "integer"}], "responses": {"200": {"description": "", "schema": {"required": ["count", "results"], "type": "object", "properties": {"count": {"type": "integer"}, "next": {"type": "string", "format": "uri", "x-nullable": true}, "previous": {"type": "string", "format": "uri", "x-nullable": true}, "results": {"type": "array", "items": {"$ref": "#/definitions/OrganizationAdmin"}}}}}}, "tags": ["v1"]}, "parameters": []}, "/v1/organizations/{id}/": {"get": {"operationId": "v1_organizations_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Organization"}}}, "tags": ["v1"]}, "put": {"operationId": "v1_organizations_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Organization"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Organization"}}}, "tags": ["v1"]}, "patch": {"operationId": "v1_organizations_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"$ref": "#/definitions/Organization"}}], "responses": {"200": {"description": "", "schema": {"$ref": "#/definitions/Organization"}}}, "tags": ["v1"]}, "delete": {"operationId": "v1_organizations_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["v1"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}}, "definitions": {"AdminGuestSessionList": {"type": "object", "properties": {"uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "ask_preview": {"title": "Ask preview", "type": "string", "readOnly": true}, "status": {"title": "Status", "type": "string", "enum": ["active", "ready", "claimed", "expired"], "readOnly": true}, "is_anonymous": {"title": "Is anonymous", "type": "boolean", "readOnly": true}, "claimed_by_email": {"title": "Claimed by email", "type": "string", "readOnly": true, "x-nullable": true}, "claimed_organization_codename": {"title": "Claimed organization codename", "type": "string", "readOnly": true, "x-nullable": true}, "claimed_organization_name": {"title": "Claimed organization name", "type": "string", "readOnly": true, "x-nullable": true}, "claimed_project_id": {"title": "Claimed project id", "type": "integer", "readOnly": true, "x-nullable": true}, "product_slug": {"title": "Product slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "readOnly": true, "minLength": 1, "x-nullable": true}, "message_count": {"title": "Message count", "type": "integer", "readOnly": true}, "asset_count": {"title": "Asset count", "type": "integer", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "expires_at": {"title": "Expires at", "type": "string", "format": "date-time", "readOnly": true}, "ready_at": {"title": "Ready at", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "claimed_at": {"title": "Claimed at", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}}}, "AdminGuestSessionDetail": {"type": "object", "properties": {"uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "ask_preview": {"title": "Ask preview", "type": "string", "readOnly": true}, "status": {"title": "Status", "type": "string", "enum": ["active", "ready", "claimed", "expired"], "readOnly": true}, "is_anonymous": {"title": "Is anonymous", "type": "boolean", "readOnly": true}, "claimed_by_email": {"title": "Claimed by email", "type": "string", "readOnly": true, "x-nullable": true}, "claimed_organization_codename": {"title": "Claimed organization codename", "type": "string", "readOnly": true, "x-nullable": true}, "claimed_organization_name": {"title": "Claimed organization name", "type": "string", "readOnly": true, "x-nullable": true}, "claimed_project_id": {"title": "Claimed project id", "type": "integer", "readOnly": true, "x-nullable": true}, "product_slug": {"title": "Product slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "readOnly": true, "minLength": 1, "x-nullable": true}, "message_count": {"title": "Message count", "type": "integer", "readOnly": true}, "asset_count": {"title": "Asset count", "type": "integer", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "expires_at": {"title": "Expires at", "type": "string", "format": "date-time", "readOnly": true}, "ready_at": {"title": "Ready at", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "claimed_at": {"title": "Claimed at", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "ask": {"title": "Ask", "type": "string", "readOnly": true, "minLength": 1}, "seed_message": {"title": "Seed message", "type": "string", "readOnly": true, "minLength": 1}, "transcript": {"title": "Transcript", "type": "object", "readOnly": true}, "briefing_answers": {"title": "Briefing answers", "type": "object", "readOnly": true}, "asset_uuids": {"title": "Asset uuids", "type": "object", "readOnly": true}, "prep": {"title": "Prep", "type": "object", "readOnly": true}, "ready": {"title": "Ready", "type": "boolean", "readOnly": true}, "missing_fields": {"type": "array", "items": {"type": "string"}, "readOnly": true}, "next_question": {"title": "Next question", "type": "string", "readOnly": true}, "claimed_by": {"title": "Claimed by", "type": "object", "readOnly": true, "x-nullable": true}, "claimed_organization": {"title": "Claimed organization", "type": "object", "readOnly": true, "x-nullable": true}, "token": {"title": "Token", "type": "string", "readOnly": true, "minLength": 1}}}, "Asset": {"type": "object", "properties": {"uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "x-nullable": true}, "asset": {"title": "Asset", "type": "string", "readOnly": true, "format": "uri"}, "organization_uuid": {"title": "Organization uuid", "type": "string", "format": "uuid", "x-nullable": true}, "user_uuid": {"title": "User uuid", "type": "string", "format": "uuid", "x-nullable": true}, "project_uuid": {"title": "Project uuid", "type": "string", "format": "uuid", "x-nullable": true}, "context_name": {"title": "Context name", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 255, "x-nullable": true}, "language": {"title": "Language", "type": "string", "enum": ["am", "ar", "az", "bg", "bn", "bs", "cs", "da", "de", "el", "en", "es", "et", "fa", "fi", "fr", "ga", "he", "hi", "hr", "hu", "id", "is", "it", "ja", "kk", "km", "kn", "ko", "ku", "lb", "lo", "lt", "lv", "mk", "mr", "ms", "mt", "my", "nl", "no", "ny", "pl", "pt", "ro", "ru", "rw", "si", "sk", "sl", "sq", "sr", "sv", "sw", "ta", "th", "tr", "uk", "ur", "vi", "zh"]}, "links": {"title": "Links", "type": "object", "readOnly": true}, "is_global": {"title": "Is global", "type": "boolean"}, "thumbnail_url": {"title": "Thumbnail url", "type": "string", "format": "uri", "readOnly": true, "minLength": 1}, "file_type": {"title": "File type", "type": "string", "readOnly": true}, "file_extension": {"title": "File extension", "type": "string", "readOnly": true}}}, "WizardCategory": {"required": ["slug", "category", "en_category"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 255, "minLength": 1}, "category": {"title": "Category", "type": "string", "minLength": 1}, "en_category": {"title": "En category", "type": "string", "maxLength": 256, "minLength": 1}, "it_category": {"title": "It category", "type": "string", "maxLength": 256, "x-nullable": true}, "de_category": {"title": "De category", "type": "string", "maxLength": 256, "x-nullable": true}, "fr_category": {"title": "Fr category", "type": "string", "maxLength": 256, "x-nullable": true}, "parent": {"title": "Parent", "type": "integer", "x-nullable": true}, "code": {"title": "Code", "type": "string", "maxLength": 256, "minLength": 1}, "pos_no": {"title": "Pos no", "type": "integer", "maximum": 2147483647, "minimum": 0}, "pos_type": {"title": "Pos type", "type": "integer", "maximum": 32767, "minimum": 0}, "level": {"title": "Level", "type": "integer", "maximum": 32767, "minimum": 0}, "coicop": {"title": "Coicop", "type": "string", "maxLength": 256, "minLength": 1}}}, "CurrencyRate": {"required": ["convert_to", "currency_rate"], "type": "object", "properties": {"convert_to": {"title": "Convert to", "type": "string", "enum": ["CHF", "USD", "AUD", "GBP", "CAD"]}, "currency_rate": {"title": "Currency rate", "type": "string"}}}, "HeroText": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 150, "minLength": 1}, "text": {"title": "Text", "type": "object"}, "workbench": {"title": "Workbench", "type": "integer", "x-nullable": true}, "product": {"title": "Product", "type": "integer", "x-nullable": true}, "is_on_landing": {"title": "Is on landing", "type": "boolean"}}}, "BusinessSector": {"required": ["code", "en_sector", "rev4"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "code": {"title": "Code", "type": "string", "maxLength": 255, "minLength": 1}, "level": {"title": "Level", "type": "integer", "default": 0, "maximum": 32767, "minimum": 0}, "fr_sector": {"title": "Fr sector", "type": "string", "maxLength": 512, "x-nullable": true}, "en_sector": {"title": "En sector", "type": "string", "maxLength": 512, "minLength": 1}, "it_sector": {"title": "It sector", "type": "string", "maxLength": 512, "x-nullable": true}, "de_sector": {"title": "De sector", "type": "string", "maxLength": 512, "x-nullable": true}, "rev4": {"title": "Rev4", "type": "string", "maxLength": 255, "minLength": 1}, "parent": {"title": "Parent", "type": "integer", "x-nullable": true}}}, "SurveyCategory": {"required": ["slug", "cint_id", "name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "minLength": 1}, "cint_id": {"title": "Cint id", "type": "integer", "maximum": 2147483647, "minimum": 0}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "parent": {"title": "Parent", "type": "integer", "x-nullable": true}}}, "Taxonomy": {"required": ["slug", "en_category"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 255, "minLength": 1}, "en_category": {"title": "En category", "type": "string", "maxLength": 256, "minLength": 1}, "it_category": {"title": "It category", "type": "string", "maxLength": 256, "x-nullable": true}, "de_category": {"title": "De category", "type": "string", "maxLength": 256, "x-nullable": true}, "fr_category": {"title": "Fr category", "type": "string", "maxLength": 256, "x-nullable": true}, "parent": {"title": "Parent", "type": "integer", "x-nullable": true}, "code": {"title": "Code", "type": "string", "maxLength": 256, "minLength": 1}, "pos_no": {"title": "Pos no", "type": "integer", "maximum": 2147483647, "minimum": 0}, "pos_type": {"title": "Pos type", "type": "integer", "maximum": 32767, "minimum": 0}, "level": {"title": "Level", "type": "integer", "maximum": 32767, "minimum": 0}, "coicop": {"title": "Coicop", "type": "string", "maxLength": 256, "minLength": 1}}}, "Confirmation": {"required": ["confirmation_key"], "type": "object", "properties": {"confirmation_key": {"title": "Confirmation key", "type": "string", "format": "uuid"}}}, "DeeptrueTokenObtainPair": {"required": ["email", "password"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "minLength": 1}, "password": {"title": "Password", "type": "string", "minLength": 1}}}, "LoginOTPSend": {"required": ["email"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "maxLength": 256, "minLength": 1}, "language": {"title": "Language", "type": "string", "maxLength": 8}}}, "LoginOTPVerify": {"required": ["email", "code"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "maxLength": 256, "minLength": 1}, "code": {"title": "Code", "type": "string", "pattern": "^\\d{6}$", "maxLength": 6, "minLength": 6}}}, "PasswordReset": {"required": ["new_password", "new_password_confirm", "reset_key"], "type": "object", "properties": {"new_password": {"title": "New password", "type": "string", "maxLength": 1024, "minLength": 8}, "new_password_confirm": {"title": "New password confirm", "type": "string", "maxLength": 1024, "minLength": 8}, "reset_key": {"title": "Reset key", "type": "string", "format": "uuid"}}}, "ResetPasswordEmail": {"required": ["email"], "type": "object", "properties": {"email": {"title": "Email", "type": "string", "format": "email", "maxLength": 256, "minLength": 1}, "language": {"title": "Language", "type": "string", "maxLength": 8}}}, "UserProfile": {"required": ["username"], "type": "object", "properties": {"uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "terms_agreement": {"title": "Terms agreement", "type": "boolean", "readOnly": true}, "organizations": {"title": "Organizations", "type": "string", "readOnly": true}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "username": {"title": "Username", "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "type": "string", "pattern": "^[\\w.@+-]+$", "maxLength": 150, "minLength": 1}, "language": {"title": "Language", "type": "string", "enum": ["bg", "hr", "cs", "da", "nl", "en", "et", "fi", "fr", "de", "el", "hu", "ga", "it", "lv", "lt", "mt", "pl", "pt", "ro", "sk", "sl", "es", "sv", "no", "is"]}, "phone": {"title": "Phone", "type": "string", "maxLength": 128, "x-nullable": true}, "role": {"title": "Role", "type": "integer", "enum": [1, 2], "readOnly": true}, "email_confirmed": {"title": "Email confirmed", "type": "boolean"}, "is_password_set": {"title": "Is password set", "type": "boolean", "readOnly": true}, "source": {"title": "Source", "type": "integer", "enum": [1, 2], "readOnly": true}, "bexio_integration_status": {"title": "Bexio integration status", "type": "string", "readOnly": true}, "bexio_integration_uuid": {"title": "Bexio integration uuid", "type": "string", "readOnly": true}}}, "SetEmail": {"required": ["new_email"], "type": "object", "properties": {"new_email": {"title": "New email", "type": "string", "format": "email", "maxLength": 256, "minLength": 1}}}, "SetPassword": {"required": ["new_password", "new_password_confirm", "current_password"], "type": "object", "properties": {"new_password": {"title": "New password", "type": "string", "maxLength": 1024, "minLength": 8}, "new_password_confirm": {"title": "New password confirm", "type": "string", "maxLength": 1024, "minLength": 8}, "current_password": {"title": "Current password", "type": "string", "maxLength": 1024, "minLength": 1}}}, "VerifyJSONWebToken": {"required": ["token"], "type": "object", "properties": {"token": {"title": "Token", "type": "string", "minLength": 1}}}, "SurveyAuditLog": {"required": ["action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "action": {"title": "Action", "type": "string", "maxLength": 64, "minLength": 1}, "success": {"title": "Success", "type": "boolean"}, "survey_uuid": {"title": "Survey uuid", "type": "string", "format": "uuid", "x-nullable": true}, "project_uuid": {"title": "Project uuid", "type": "string", "format": "uuid", "x-nullable": true}, "organization_id": {"title": "Organization id", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "organization_codename": {"title": "Organization codename", "type": "string", "maxLength": 128}, "respondent_id": {"title": "Respondent id", "type": "string", "maxLength": 255}, "survey_result_id": {"title": "Survey result id", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "respondent_status": {"title": "Respondent status", "type": "string", "maxLength": 50}, "snippet": {"title": "Snippet", "type": "string", "maxLength": 2000}, "payload": {"title": "Payload", "type": "object"}, "ip_address": {"title": "Ip address", "type": "string", "maxLength": 64}, "ip_chain": {"title": "Ip chain", "type": "string", "readOnly": true}, "user_agent": {"title": "User agent", "type": "string", "maxLength": 512}, "device": {"title": "Device", "type": "string", "maxLength": 128}, "screen": {"title": "Screen", "type": "string", "maxLength": 64}, "locale": {"title": "Locale", "type": "string", "maxLength": 64}, "timezone": {"title": "Timezone", "type": "string", "maxLength": 64}, "country": {"title": "Country", "type": "string", "readOnly": true}, "country_code": {"title": "Country code", "type": "string", "readOnly": true}, "continent": {"title": "Continent", "type": "string", "readOnly": true}, "city": {"title": "City", "type": "string", "readOnly": true}, "asn": {"title": "Asn", "type": "string", "readOnly": true}, "as_name": {"title": "As name", "type": "string", "readOnly": true}, "as_domain": {"title": "As domain", "type": "string", "readOnly": true}, "is_hosting": {"title": "Is hosting", "type": "string", "readOnly": true}, "client_country": {"title": "Client country", "type": "string", "readOnly": true}, "geo_match": {"title": "Geo match", "type": "string", "readOnly": true}, "geo_match_label": {"title": "Geo match label", "type": "string", "readOnly": true}, "ipinfo": {"title": "Ipinfo", "type": "string", "readOnly": true}, "ip_country_code": {"title": "Ip country code", "type": "string", "readOnly": true}, "survey_country_codes": {"title": "Survey country codes", "type": "string", "readOnly": true}, "ip_country_matches_scope": {"title": "Ip country matches scope", "type": "string", "readOnly": true}, "geo_mismatch": {"title": "Geo mismatch", "type": "string", "readOnly": true}, "same_ip_count": {"title": "Same ip count", "type": "string", "readOnly": true}, "same_ip_rids": {"title": "Same ip rids", "type": "string", "readOnly": true}, "shared_ip": {"title": "Shared ip", "type": "string", "readOnly": true}, "quality": {"title": "Quality", "type": "string", "readOnly": true}, "triggered_by": {"title": "Triggered by", "type": "string", "maxLength": 128, "minLength": 1}, "error_message": {"title": "Error message", "type": "string", "maxLength": 2000}}}, "BilendiProjectAdmin": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "unique_id": {"title": "Unique id", "type": "string", "maxLength": 100, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 512, "minLength": 1}, "status": {"title": "Status", "type": "integer", "maximum": 32767, "minimum": 0}, "status_label": {"title": "Status label", "type": "string", "readOnly": true}, "organization_name": {"title": "Organization name", "type": "string", "readOnly": true}, "organization_codename": {"title": "Organization codename", "type": "string", "readOnly": true}, "provider_slug": {"title": "Provider slug", "type": "string", "readOnly": true}, "redirects": {"title": "Redirects", "type": "string", "readOnly": true}, "redirects_complete": {"title": "Redirects complete", "type": "string", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "CintAuditLog": {"required": ["action", "method", "endpoint"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "action": {"title": "Action", "type": "string", "maxLength": 64, "minLength": 1}, "method": {"title": "Method", "type": "string", "maxLength": 16, "minLength": 1}, "endpoint": {"title": "Endpoint", "type": "string", "maxLength": 512, "minLength": 1}, "status_code": {"title": "Status code", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "success": {"title": "Success", "type": "boolean"}, "error_message": {"title": "Error message", "type": "string", "maxLength": 2000}, "duration_ms": {"title": "Duration ms", "type": "integer", "maximum": 2147483647, "minimum": 0}, "survey_uuid": {"title": "Survey uuid", "type": "string", "format": "uuid", "x-nullable": true}, "project_uuid": {"title": "Project uuid", "type": "string", "format": "uuid", "x-nullable": true}, "demand_id": {"title": "Demand id", "type": "string", "maxLength": 512}, "cint_project_id": {"title": "Cint project id", "type": "string", "maxLength": 64}, "triggered_by": {"title": "Triggered by", "type": "string", "maxLength": 128, "minLength": 1}, "request_body": {"title": "Request body", "type": "object"}, "response_body": {"title": "Response body", "type": "object", "x-nullable": true}}}, "CintDemandAdmin": {"required": ["survey_uuid", "status_code"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "survey_uuid": {"title": "Survey uuid", "type": "string", "format": "uuid"}, "survey_name": {"title": "Survey name", "type": "string", "readOnly": true}, "country": {"title": "Country", "type": "string", "readOnly": true}, "status_code": {"title": "Status code", "type": "integer", "maximum": 32767, "minimum": 0}, "status": {"title": "Status", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "demand_id": {"title": "Demand id", "type": "string", "maxLength": 512, "x-nullable": true}, "cint_project_id": {"title": "Cint project id", "type": "string", "readOnly": true}, "job_id": {"title": "Job id", "type": "string", "readOnly": true}, "last_synced_at": {"title": "Last synced at", "type": "string", "readOnly": true}, "organization_codename": {"title": "Organization codename", "type": "string", "readOnly": true}, "project_id": {"title": "Project id", "type": "string", "readOnly": true}, "project_uuid": {"title": "Project uuid", "type": "string", "readOnly": true}, "response": {"title": "Response", "type": "object"}, "target_group_name": {"title": "Target group name", "type": "string", "readOnly": true}, "cint_status": {"title": "Cint status", "type": "string", "readOnly": true}}}, "CintProfilingQuestion": {"required": ["question_id", "locale"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "question_id": {"title": "Question id", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "locale": {"title": "Locale", "type": "string", "maxLength": 32, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 512}, "description": {"title": "Description", "type": "string"}, "description_translated": {"title": "Description translated", "type": "string"}, "classification_code": {"title": "Classification code", "type": "string", "maxLength": 64}, "profile_condition_type": {"title": "Profile condition type", "type": "string", "maxLength": 128}, "is_standard": {"title": "Is standard", "type": "boolean"}, "option_count": {"title": "Option count", "type": "integer", "maximum": 2147483647, "minimum": 0}, "quotas_enabled": {"title": "Quotas enabled", "type": "boolean", "x-nullable": true}, "classification_id": {"title": "Classification id", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "profile_object": {"title": "Profile object", "type": "string", "maxLength": 64}, "option_mask": {"title": "Option mask", "type": "string", "maxLength": 128}, "last_synced_at": {"title": "Last synced at", "type": "string", "format": "date-time", "x-nullable": true}, "payload": {"title": "Payload", "type": "object"}}}, "CintTargetGroup": {"required": ["cint_id"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "cint_id": {"title": "Cint id", "type": "string", "maxLength": 128, "minLength": 1}, "cint_project_id": {"title": "Cint project id", "type": "string", "maxLength": 64}, "name": {"title": "Name", "type": "string", "maxLength": 512}, "locale": {"title": "Locale", "type": "string", "maxLength": 32}, "status": {"title": "Status", "type": "string", "maxLength": 64}, "completes_goal": {"title": "Completes goal", "type": "integer", "maximum": 2147483647, "minimum": -2147483648, "x-nullable": true}, "human_readable_id": {"title": "Human readable id", "type": "string", "maxLength": 128}, "test_url": {"title": "Test url", "type": "string"}, "live_url": {"title": "Live url", "type": "string"}, "expected_incidence_rate": {"title": "Expected incidence rate", "type": "number", "x-nullable": true}, "expected_length_of_interview_minutes": {"title": "Expected length of interview minutes", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "collects_pii": {"title": "Collects pii", "type": "boolean", "x-nullable": true}, "industry_code": {"title": "Industry code", "type": "string", "maxLength": 64}, "study_type_code": {"title": "Study type code", "type": "string", "maxLength": 64}, "filling_strategy": {"title": "Filling strategy", "type": "string", "maxLength": 64}, "project_manager_id": {"title": "Project manager id", "type": "string", "maxLength": 64}, "business_unit_id": {"title": "Business unit id", "type": "string", "maxLength": 64}, "client_id": {"title": "Client id", "type": "string", "maxLength": 64}, "industry_lockout_code": {"title": "Industry lockout code", "type": "string", "maxLength": 64}, "account_name": {"title": "Account name", "type": "string", "maxLength": 128}, "client_cost_per_interview_note": {"title": "Client cost per interview note", "type": "string", "maxLength": 512}, "pricing_model": {"title": "Pricing model", "type": "string", "maxLength": 64}, "exclusions_enabled": {"title": "Exclusions enabled", "type": "boolean", "x-nullable": true}, "highlighted_name": {"title": "Highlighted name", "type": "string", "maxLength": 512}, "cost_per_interview_value": {"title": "Cost per interview value", "type": "number", "x-nullable": true}, "cost_per_interview_currency": {"title": "Cost per interview currency", "type": "string", "maxLength": 8}, "fielding_start_at": {"title": "Fielding start at", "type": "string", "format": "date-time", "x-nullable": true}, "fielding_end_at": {"title": "Fielding end at", "type": "string", "format": "date-time", "x-nullable": true}, "test_client_survey_url": {"title": "Test client survey url", "type": "string"}, "test_screener_url": {"title": "Test screener url", "type": "string"}, "profile_adjustment_type": {"title": "Profile adjustment type", "type": "string", "maxLength": 64}, "last_synced_at": {"title": "Last synced at", "type": "string", "format": "date-time", "x-nullable": true}, "survey_uuid": {"title": "Survey uuid", "type": "string", "format": "uuid", "x-nullable": true}, "demand_id": {"title": "Demand id", "type": "string", "maxLength": 512}, "payload": {"title": "Payload", "type": "object"}}}, "DynataProjectAdmin": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "unique_id": {"title": "Unique id", "type": "string", "maxLength": 100, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 512, "minLength": 1}, "status": {"title": "Status", "type": "integer", "maximum": 32767, "minimum": 0}, "status_label": {"title": "Status label", "type": "string", "readOnly": true}, "organization_name": {"title": "Organization name", "type": "string", "readOnly": true}, "organization_codename": {"title": "Organization codename", "type": "string", "readOnly": true}, "provider_slug": {"title": "Provider slug", "type": "string", "readOnly": true}, "survey_uuid": {"title": "Survey uuid", "type": "string", "readOnly": true}, "demand_count": {"title": "Demand count", "type": "string", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "EmailEvent": {"required": ["slug", "name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 1024, "x-nullable": true}, "event_type": {"title": "Event type", "type": "integer", "enum": [1, 2]}}}, "OutboundEmail": {"required": ["from_email", "to_email"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "subject": {"title": "Subject", "type": "string", "maxLength": 998}, "from_email": {"title": "From email", "type": "string", "format": "email", "maxLength": 254, "minLength": 1}, "to_email": {"title": "To email", "type": "string", "format": "email", "maxLength": 254, "minLength": 1}, "status": {"title": "Status", "type": "string", "enum": ["queued", "sent", "delivered", "deferred", "bounced", "complained", "rejected", "failed"]}, "provider": {"title": "Provider", "type": "string", "maxLength": 64}, "message_id": {"title": "Message id", "type": "string", "maxLength": 255}, "event_slug": {"title": "Event slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 256}, "open_count": {"title": "Open count", "type": "integer", "maximum": 2147483647, "minimum": 0}, "opened": {"title": "Opened", "type": "boolean", "readOnly": true}, "first_opened_at": {"title": "First opened at", "type": "string", "format": "date-time", "x-nullable": true}, "last_opened_at": {"title": "Last opened at", "type": "string", "format": "date-time", "x-nullable": true}, "sent_at": {"title": "Sent at", "type": "string", "format": "date-time", "x-nullable": true}, "delivered_at": {"title": "Delivered at", "type": "string", "format": "date-time", "x-nullable": true}, "bounced_at": {"title": "Bounced at", "type": "string", "format": "date-time", "x-nullable": true}, "complained_at": {"title": "Complained at", "type": "string", "format": "date-time", "x-nullable": true}, "failed_at": {"title": "Failed at", "type": "string", "format": "date-time", "x-nullable": true}, "description": {"title": "Description", "type": "string"}, "reject_reason": {"title": "Reject reason", "type": "string", "maxLength": 64}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "OutboundEmailDetail": {"required": ["from_email", "to_email"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "subject": {"title": "Subject", "type": "string", "maxLength": 998}, "from_email": {"title": "From email", "type": "string", "format": "email", "maxLength": 254, "minLength": 1}, "to_email": {"title": "To email", "type": "string", "format": "email", "maxLength": 254, "minLength": 1}, "status": {"title": "Status", "type": "string", "enum": ["queued", "sent", "delivered", "deferred", "bounced", "complained", "rejected", "failed"]}, "provider": {"title": "Provider", "type": "string", "maxLength": 64}, "message_id": {"title": "Message id", "type": "string", "maxLength": 255}, "event_slug": {"title": "Event slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 256}, "open_count": {"title": "Open count", "type": "integer", "maximum": 2147483647, "minimum": 0}, "opened": {"title": "Opened", "type": "boolean", "readOnly": true}, "first_opened_at": {"title": "First opened at", "type": "string", "format": "date-time", "x-nullable": true}, "last_opened_at": {"title": "Last opened at", "type": "string", "format": "date-time", "x-nullable": true}, "sent_at": {"title": "Sent at", "type": "string", "format": "date-time", "x-nullable": true}, "delivered_at": {"title": "Delivered at", "type": "string", "format": "date-time", "x-nullable": true}, "bounced_at": {"title": "Bounced at", "type": "string", "format": "date-time", "x-nullable": true}, "complained_at": {"title": "Complained at", "type": "string", "format": "date-time", "x-nullable": true}, "failed_at": {"title": "Failed at", "type": "string", "format": "date-time", "x-nullable": true}, "description": {"title": "Description", "type": "string"}, "reject_reason": {"title": "Reject reason", "type": "string", "maxLength": 64}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "metadata": {"title": "Metadata", "type": "object"}}}, "OrganizationAdminProduct": {"required": ["shared_to_groups"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "readOnly": true, "minLength": 1}, "shared_to_users": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "shared_to_groups": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "_User": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "readOnly": true, "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "readOnly": true, "minLength": 1}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}}}, "GroupShort": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}}}, "OrganizationAdminProject": {"required": ["shared_to_users", "shared_to_groups"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "readOnly": true, "minLength": 1}, "product_name": {"title": "Product name", "type": "string", "readOnly": true, "minLength": 1, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "readOnly": true}, "created_by": {"$ref": "#/definitions/_User"}, "shared_to_users": {"type": "array", "items": {"$ref": "#/definitions/_User"}}, "shared_to_groups": {"type": "array", "items": {"$ref": "#/definitions/GroupShort"}}}}, "_ShortUser": {"required": ["org_groups"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "readOnly": true, "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "readOnly": true, "minLength": 1}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "org_groups": {"type": "array", "items": {"$ref": "#/definitions/GroupShort"}}}}, "OrganizationAdminListUserOrganization": {"required": ["user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "user": {"$ref": "#/definitions/_ShortUser"}, "organization_role": {"title": "Organization role", "type": "integer", "enum": [1, 2, 3, 4, 5], "readOnly": true}, "is_active": {"title": "Is active", "type": "boolean", "readOnly": true}, "is_billing": {"title": "Is billing", "type": "boolean", "readOnly": true}}}, "_ProjectCreator": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "readOnly": true, "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "readOnly": true, "minLength": 1}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}}}, "_ShortProject": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "readOnly": true, "minLength": 1}, "product_name": {"title": "Product name", "type": "string", "readOnly": true, "minLength": 1, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "readOnly": true}, "created_by": {"$ref": "#/definitions/_ProjectCreator"}}}, "_FullUser": {"required": ["org_groups", "shared_projects"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "first_name": {"title": "First name", "type": "string", "readOnly": true, "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "readOnly": true, "minLength": 1}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "org_groups": {"type": "array", "items": {"$ref": "#/definitions/GroupShort"}}, "shared_projects": {"type": "array", "items": {"$ref": "#/definitions/_ShortProject"}}, "shared_products": {"type": "array", "items": {"type": "integer"}, "readOnly": true, "uniqueItems": true}}}, "OrganizationAdminDetailUserOrganization": {"required": ["user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "user": {"$ref": "#/definitions/_FullUser"}, "organization_role": {"title": "Organization role", "type": "integer", "enum": [1, 2, 3, 4, 5], "readOnly": true}, "is_active": {"title": "Is active", "type": "boolean", "readOnly": true}, "is_billing": {"title": "Is billing", "type": "boolean", "readOnly": true}}}, "_UpdateUser": {"required": ["org_groups", "shared_projects", "shared_products"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "last_login": {"title": "Last login", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "first_name": {"title": "First name", "type": "string", "readOnly": true, "minLength": 1}, "last_name": {"title": "Last name", "type": "string", "readOnly": true, "minLength": 1}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "org_groups": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "shared_projects": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "shared_products": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "OrganizationAdminUpdateUserOrganization": {"required": ["user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "user": {"$ref": "#/definitions/_UpdateUser"}, "organization_role": {"title": "Organization role", "type": "integer", "enum": [1, 2, 3, 4, 5]}, "is_active": {"title": "Is active", "type": "boolean"}, "is_billing": {"title": "Is billing", "type": "boolean"}}}, "TenantEmailTemplate": {"required": ["name", "subject", "content", "text_content", "group"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "readOnly": true, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 512, "minLength": 1}, "description": {"title": "Description", "type": "string", "maxLength": 1024, "x-nullable": true}, "content": {"title": "Content", "description": "This is HTML message.", "type": "string", "minLength": 1}, "text_content": {"title": "Text content", "description": "This is TEXT message.", "type": "string", "minLength": 1}, "group": {"title": "Group", "type": "string", "enum": ["invitation", "reminder"]}, "type": {"title": "Type", "type": "string", "enum": ["default", "custom"], "readOnly": true}}}, "Group": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "users": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "shared_projects": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "shared_products": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}}}, "OrganizationAddressInfo": {"required": ["address", "postal_code", "city", "organization", "contact_email"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "address": {"title": "Address", "type": "string", "maxLength": 512, "minLength": 1}, "additional_address": {"title": "Additional address", "type": "string", "maxLength": 512, "x-nullable": true}, "postal_code": {"title": "Postal code", "type": "string", "maxLength": 6, "minLength": 1}, "city": {"title": "City", "type": "string", "maxLength": 128, "minLength": 1}, "country": {"title": "Country", "type": "string", "enum": ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MK", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "KR", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "US", "UY", "UZ", "VU", "VA", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]}, "contact_phone": {"title": "Contact phone", "type": "string", "minLength": 1}, "organization": {"title": "Organization", "type": "integer"}, "contact_email": {"title": "Contact email", "type": "string", "format": "email", "maxLength": 254, "x-nullable": true}, "billing_status": {"title": "Billing status", "type": "boolean"}, "billing_contact": {"title": "Billing contact", "type": "string", "maxLength": 255, "x-nullable": true}, "site_url": {"title": "Site url", "type": "string", "format": "uri", "maxLength": 200, "x-nullable": true}, "is_preset": {"title": "Is preset", "type": "boolean"}, "vat_number": {"title": "Vat number", "type": "string", "maxLength": 32}, "internal_account_id": {"title": "Internal account id", "type": "string", "maxLength": 64}}}, "OrganizationLimit": {"type": "object", "properties": {"limit": {"title": "Limit", "type": "integer", "readOnly": true}, "available_limit": {"title": "Available limit", "type": "string", "readOnly": true}, "reserved_tokens": {"title": "Reserved tokens", "type": "string", "readOnly": true}, "available_tokens": {"title": "Available tokens", "type": "string", "readOnly": true}}}, "StripeSubscription": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "project": {"title": "Project", "type": "integer", "x-nullable": true}, "status": {"title": "Status", "type": "string", "enum": ["active", "paused", "card_failure", "canceled", "ended"]}}}, "TokenEvent": {"required": ["quantity", "type"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "quantity": {"title": "Quantity", "type": "integer", "maximum": 2147483647, "minimum": 0}, "user_uuid": {"title": "User uuid", "type": "string", "format": "uuid", "x-nullable": true}, "type": {"title": "Type", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "type_name": {"title": "Type name", "type": "string", "readOnly": true}, "saldo": {"title": "Saldo", "type": "string", "readOnly": true}}}, "Payment": {"required": ["quantity", "type"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "invoice": {"title": "Invoice", "type": "object", "readOnly": true, "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "stripe_session_id": {"title": "Stripe session id", "type": "string", "readOnly": true, "minLength": 1, "x-nullable": true}, "email": {"title": "Email", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "address_info": {"title": "Address info", "type": "integer", "x-nullable": true}, "paid": {"title": "Paid", "type": "boolean", "readOnly": true}, "quantity": {"title": "Quantity", "type": "integer", "maximum": 2147483647, "minimum": 0}, "amount": {"title": "Amount", "type": "integer", "readOnly": true, "x-nullable": true}, "currency": {"title": "Currency", "type": "string", "enum": ["CHF", "EUR", "USD", "GBP"], "readOnly": true}, "type": {"title": "Type", "type": "integer", "enum": [1, 2]}, "total": {"title": "Total", "type": "number", "readOnly": true, "x-nullable": true}, "stripe_payment_link_url": {"title": "Stripe payment link url", "type": "string", "format": "uri", "readOnly": true, "minLength": 1}, "stripe_invoice_id": {"title": "Stripe invoice id", "type": "string", "readOnly": true, "minLength": 1}, "stripe_hosted_invoice_url": {"title": "Stripe hosted invoice url", "type": "string", "format": "uri", "readOnly": true, "minLength": 1}, "voucher_code": {"title": "Voucher code", "type": "string"}}}, "ShortWorkbench": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "icon_url": {"title": "Icon url", "type": "string", "readOnly": true}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "x-nullable": true}, "description": {"title": "Description", "type": "string", "x-nullable": true}, "localized_texts": {"title": "Localized texts", "type": "string", "readOnly": true}}}, "ShortProduct": {"required": ["name", "slug", "description"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "minLength": 1}, "description": {"title": "Description", "type": "string", "minLength": 1}, "workbench": {"$ref": "#/definitions/ShortWorkbench"}, "active": {"title": "Active", "type": "boolean"}, "is_global": {"title": "Is global", "type": "boolean"}, "shared_with_me": {"title": "Shared with me", "type": "boolean", "readOnly": true}}}, "BriefingTemplate": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "json": {"title": "Json", "type": "object"}}}, "Product": {"required": ["name", "slug", "description", "workbench_id"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "minLength": 1}, "report_template_slug": {"title": "Report template slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "x-nullable": true}, "description": {"title": "Description", "type": "string", "minLength": 1}, "briefing_template": {"$ref": "#/definitions/BriefingTemplate"}, "briefing_template_id": {"title": "Briefing template id", "type": "integer", "x-nullable": true}, "workbench": {"$ref": "#/definitions/ShortWorkbench"}, "workbench_id": {"title": "Workbench id", "type": "integer"}, "active": {"title": "Active", "type": "boolean"}, "is_global": {"title": "Is global", "type": "boolean"}, "survey_template": {"title": "Survey template", "type": "integer", "readOnly": true}, "survey_template_id": {"title": "Survey template id", "type": "integer", "x-nullable": true}, "keywords": {"title": "Keywords", "type": "string", "x-nullable": true}, "meta_description": {"title": "Meta description", "type": "string", "maxLength": 160, "x-nullable": true}, "title": {"title": "Title", "type": "string", "x-nullable": true}, "subtitle": {"title": "Subtitle", "type": "string", "x-nullable": true}, "cta_text": {"title": "Cta text", "type": "string", "x-nullable": true}, "data_collection_method": {"title": "Data collection method", "type": "string", "enum": ["manual", "automatic", "manual_and_automatic"]}, "localized_texts": {"title": "Localized texts", "type": "object"}, "organizations": {"type": "array", "items": {"type": "object"}, "readOnly": true}, "organization_ids": {"type": "array", "items": {"type": "integer", "minimum": 1}}, "pending_publicity_request": {"title": "Pending publicity request", "type": "object", "readOnly": true, "x-nullable": true}}}, "ProjectList": {"required": ["name", "email"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "product_slug": {"title": "Product slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "x-nullable": true}, "product_name": {"title": "Product name", "type": "string", "maxLength": 256, "x-nullable": true}, "survey_template_uuid": {"title": "Survey template uuid", "type": "string", "format": "uuid", "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 512, "minLength": 1}, "email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}, "status": {"title": "Status", "type": "string", "readOnly": true}, "discount_code": {"title": "Discount code", "type": "string", "maxLength": 32, "minLength": 1}, "final_fee": {"title": "Final fee", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "send_reminders": {"title": "Send reminders", "type": "boolean", "default": true}, "unique_id": {"title": "Unique id", "type": "string", "readOnly": true, "minLength": 1, "x-nullable": true}, "progress": {"title": "Progress", "type": "integer", "readOnly": true, "x-nullable": true}, "data_collection_method": {"title": "Data collection method", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "voucher": {"title": "Voucher", "type": "string", "readOnly": true}, "created_by": {"title": "Created by", "type": "integer", "readOnly": true, "x-nullable": true}}}, "Project": {"required": ["name", "email"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "product_slug": {"title": "Product slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "x-nullable": true}, "product_name": {"title": "Product name", "type": "string", "maxLength": 256, "x-nullable": true}, "survey_template_uuid": {"title": "Survey template uuid", "type": "string", "format": "uuid", "x-nullable": true}, "json": {"title": "Json", "type": "object"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 512, "minLength": 1}, "email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}, "status": {"title": "Status", "type": "string", "readOnly": true}, "discount_code": {"title": "Discount code", "type": "string", "maxLength": 32, "minLength": 1}, "final_fee": {"title": "Final fee", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "send_reminders": {"title": "Send reminders", "type": "boolean", "default": true}, "unique_id": {"title": "Unique id", "type": "string", "readOnly": true, "minLength": 1, "x-nullable": true}, "progress": {"title": "Progress", "type": "integer", "readOnly": true, "x-nullable": true}, "data_collection_method": {"title": "Data collection method", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "voucher": {"title": "Voucher", "type": "string", "readOnly": true}, "created_by": {"title": "Created by", "type": "integer", "readOnly": true, "x-nullable": true}}}, "BavReportData": {"required": ["project"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "project": {"title": "Project", "type": "integer"}, "charts_data": {"title": "Charts data", "type": "object", "readOnly": true}}}, "ReportFile": {"required": ["html", "project_uuid"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "html": {"title": "Html", "type": "string", "minLength": 1}, "project_uuid": {"title": "Project uuid", "type": "string", "format": "uuid"}}}, "ShareProject": {"required": ["project_uuid"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "project_uuid": {"title": "Project uuid", "type": "string", "format": "uuid"}, "url": {"title": "Url", "type": "string", "readOnly": true}, "is_enabled": {"title": "Is enabled", "type": "boolean"}, "description": {"title": "Description", "type": "string", "minLength": 1}}}, "ProjectDetail": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "product_slug": {"title": "Product slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "readOnly": true, "minLength": 1, "x-nullable": true}, "product_name": {"title": "Product name", "type": "string", "readOnly": true, "minLength": 1, "x-nullable": true}, "survey_template_uuid": {"title": "Survey template uuid", "type": "string", "format": "uuid", "readOnly": true, "x-nullable": true}, "json": {"title": "Json", "type": "object", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "name": {"title": "Name", "type": "string", "readOnly": true, "minLength": 1}, "status": {"title": "Status", "type": "string", "readOnly": true}, "discount": {"title": "Discount", "type": "object", "readOnly": true, "x-nullable": true}, "final_fee": {"title": "Final fee", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "aggregates": {"title": "Aggregates", "type": "object", "readOnly": true}, "is_provider_initiated": {"title": "Is provider initiated", "type": "boolean", "readOnly": true}, "send_reminders": {"title": "Send reminders", "type": "boolean", "readOnly": true}, "progress": {"title": "Progress", "type": "integer", "readOnly": true, "x-nullable": true}, "package": {"title": "Package", "type": "object", "readOnly": true, "x-nullable": true}, "is_subscribable": {"title": "Is subscribable", "type": "string", "readOnly": true}, "subscription": {"title": "Subscription", "type": "string", "readOnly": true}, "data_collection_method": {"title": "Data collection method", "type": "integer", "readOnly": true, "x-nullable": true}, "voucher": {"title": "Voucher", "type": "string", "readOnly": true}, "survey_uuid": {"title": "Survey uuid", "type": "string", "readOnly": true, "x-nullable": true}, "survey_id": {"title": "Survey id", "type": "integer", "readOnly": true, "x-nullable": true}}}, "RespondentIp": {"required": ["ip_address", "first_seen_at", "last_seen_at"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "ip_address": {"title": "Ip address", "type": "string", "maxLength": 64, "minLength": 1}, "organization_id": {"title": "Organization id", "type": "integer", "maximum": 2147483647, "minimum": -2147483648}, "organization_codename": {"title": "Organization codename", "type": "string", "maxLength": 128}, "hit_count": {"title": "Hit count", "type": "integer", "maximum": 2147483647, "minimum": 0}, "first_seen_at": {"title": "First seen at", "type": "string", "format": "date-time"}, "last_seen_at": {"title": "Last seen at", "type": "string", "format": "date-time"}, "country": {"title": "Country", "type": "string", "readOnly": true}, "country_code": {"title": "Country code", "type": "string", "readOnly": true}, "continent": {"title": "Continent", "type": "string", "readOnly": true}, "city": {"title": "City", "type": "string", "readOnly": true}, "asn": {"title": "Asn", "type": "string", "readOnly": true}, "as_name": {"title": "As name", "type": "string", "readOnly": true}, "as_domain": {"title": "As domain", "type": "string", "readOnly": true}, "is_hosting": {"title": "Is hosting", "type": "string", "readOnly": true}, "ipinfo": {"title": "Ipinfo", "type": "string", "readOnly": true}, "ip_country_code": {"title": "Ip country code", "type": "string", "readOnly": true}, "survey_country_codes": {"title": "Survey country codes", "type": "string", "readOnly": true}, "ip_country_matches_scope": {"title": "Ip country matches scope", "type": "string", "readOnly": true}, "geo_mismatch": {"title": "Geo mismatch", "type": "string", "readOnly": true}, "respondent_ids": {"title": "Respondent ids", "type": "string", "readOnly": true}, "survey_uuids": {"title": "Survey uuids", "type": "string", "readOnly": true}, "respondent_count": {"title": "Respondent count", "type": "string", "readOnly": true}, "shared_ip": {"title": "Shared ip", "type": "string", "readOnly": true}}}, "OrganizationUserListProfile": {"required": ["username"], "type": "object", "properties": {"uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "terms_agreement": {"title": "Terms agreement", "type": "boolean", "readOnly": true}, "organizations": {"title": "Organizations", "type": "string", "readOnly": true}, "email": {"title": "Email address", "type": "string", "format": "email", "readOnly": true, "minLength": 1}, "first_name": {"title": "First name", "type": "string", "maxLength": 150}, "last_name": {"title": "Last name", "type": "string", "maxLength": 150}, "username": {"title": "Username", "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", "type": "string", "pattern": "^[\\w.@+-]+$", "maxLength": 150, "minLength": 1}, "language": {"title": "Language", "type": "string", "enum": ["bg", "hr", "cs", "da", "nl", "en", "et", "fi", "fr", "de", "el", "hu", "ga", "it", "lv", "lt", "mt", "pl", "pt", "ro", "sk", "sl", "es", "sv", "no", "is"]}, "phone": {"title": "Phone", "type": "string", "maxLength": 128, "x-nullable": true}, "role": {"title": "Role", "type": "integer", "enum": [1, 2], "readOnly": true}, "email_confirmed": {"title": "Email confirmed", "type": "boolean"}, "is_password_set": {"title": "Is password set", "type": "boolean", "readOnly": true}, "source": {"title": "Source", "type": "integer", "enum": [1, 2], "readOnly": true}, "bexio_integration_status": {"title": "Bexio integration status", "type": "string", "readOnly": true}, "bexio_integration_uuid": {"title": "Bexio integration uuid", "type": "string", "readOnly": true}}}, "Invitation": {"required": ["email"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "used": {"title": "Used", "type": "boolean", "readOnly": true}, "sent": {"title": "Sent", "type": "boolean", "readOnly": true}, "email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}, "key": {"title": "Key", "type": "string", "format": "uuid", "readOnly": true}}}, "UserInvite": {"required": ["emails"], "type": "object", "properties": {"emails": {"type": "array", "items": {"type": "string", "minLength": 1}}}}, "SetNewPassword": {"required": ["new_password", "new_password_confirm"], "type": "object", "properties": {"new_password": {"title": "New password", "type": "string", "maxLength": 1024, "minLength": 8}, "new_password_confirm": {"title": "New password confirm", "type": "string", "maxLength": 1024, "minLength": 8}}}, "OrganizationAdmin": {"required": ["name", "business_sectors_ids"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "trusted": {"title": "Trusted", "type": "boolean", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "type": {"title": "Type", "type": "integer", "enum": [1, 2]}, "codename": {"title": "Codename", "type": "string", "readOnly": true, "minLength": 1}, "stats": {"title": "Stats", "type": "object", "readOnly": true}, "size": {"title": "Size", "type": "integer", "maximum": 2147483647, "minimum": 0}, "business_sectors": {"type": "array", "items": {"$ref": "#/definitions/BusinessSector"}, "readOnly": true}, "business_sectors_ids": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "logo": {"title": "Logo", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "available_tokens": {"title": "Available tokens", "type": "integer", "readOnly": true}, "total_spent_tokens": {"title": "Total spent tokens", "type": "integer", "readOnly": true}, "user_email": {"title": "User email", "type": "string", "readOnly": true}, "bexio_company_name": {"title": "Bexio company name", "type": "string", "readOnly": true}}}, "Organization": {"required": ["name", "business_sectors_ids"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "trusted": {"title": "Trusted", "type": "boolean", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "type": {"title": "Type", "type": "integer", "enum": [1, 2]}, "stats": {"title": "Stats", "type": "object", "readOnly": true}, "size": {"title": "Size", "type": "integer", "maximum": 2147483647, "minimum": 0}, "business_sectors": {"type": "array", "items": {"$ref": "#/definitions/BusinessSector"}, "readOnly": true}, "business_sectors_ids": {"type": "array", "items": {"type": "integer"}, "uniqueItems": true}, "logo": {"title": "Logo", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "billing_currency": {"title": "Billing currency", "type": "string", "readOnly": true, "minLength": 1}}}, "BriefingTemplateList": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}}}, "ProductList": {"required": ["name", "slug", "description"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "minLength": 1}, "report_template_slug": {"title": "Report template slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "x-nullable": true}, "description": {"title": "Description", "type": "string", "minLength": 1}, "briefing_template": {"$ref": "#/definitions/BriefingTemplateList"}, "workbench": {"$ref": "#/definitions/ShortWorkbench"}, "workbench_id": {"title": "Workbench id", "type": "string", "readOnly": true}, "active": {"title": "Active", "type": "boolean"}, "is_global": {"title": "Is global", "type": "boolean"}, "shared_with_me": {"title": "Shared with me", "type": "boolean", "readOnly": true}, "survey_template": {"title": "Survey template", "type": "integer", "x-nullable": true}, "keywords": {"title": "Keywords", "type": "string", "x-nullable": true}, "meta_description": {"title": "Meta description", "type": "string", "maxLength": 160, "x-nullable": true}, "title": {"title": "Title", "type": "string", "x-nullable": true}, "subtitle": {"title": "Subtitle", "type": "string", "x-nullable": true}, "cta_text": {"title": "Cta text", "type": "string", "x-nullable": true}, "data_collection_method": {"title": "Data collection method", "type": "string", "enum": ["manual", "automatic", "manual_and_automatic"]}}}, "ValidatingBriefingTemplate": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "json": {"title": "Json", "type": "object"}}}, "LibraryDimension": {"required": ["variable", "name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "variable": {"title": "Variable", "type": "string", "maxLength": 255, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 512, "minLength": 1}, "description": {"title": "Description", "type": "string"}, "question_type": {"title": "Question type", "type": "string", "maxLength": 64}, "kind": {"title": "Kind", "type": "string", "enum": ["categorical", "numeric", "derived"]}, "values": {"title": "Values", "type": "object"}, "localized_texts": {"title": "Localized texts", "type": "object"}, "source_metadata": {"title": "Source metadata", "description": "Optional note (e.g. derived from PLZ, CH MR convention)", "type": "string", "maxLength": 255}, "sort_order": {"title": "Sort order", "type": "integer", "maximum": 2147483647, "minimum": 0}, "active": {"title": "Active", "type": "boolean"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "OfferFee": {"required": ["kind", "name", "amount_credits"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "kind": {"title": "Kind", "type": "string", "enum": ["base", "data"]}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "amount_credits": {"title": "Amount credits", "description": "Credits: flat base fee amount, or cost-per-respondent for data fees", "type": "integer", "maximum": 2147483647, "minimum": 0}, "is_default": {"title": "Is default", "description": "When true, this row is used by Offer overview calculus for its kind", "type": "boolean"}, "active": {"title": "Active", "type": "boolean"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "OfferFeeRates": {"required": ["base_fee", "data_fee_cpi"], "type": "object", "properties": {"base_fee": {"title": "Base fee", "type": "integer", "minimum": 0}, "data_fee_cpi": {"title": "Data fee cpi", "type": "integer", "minimum": 0}}}, "SwissPostalCode": {"required": ["plz", "region"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "plz": {"title": "Plz", "type": "string", "maxLength": 4, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 128}, "zusatzziffer": {"title": "Zusatzziffer", "type": "string", "default": "00", "maxLength": 2, "minLength": 1}, "zip_id": {"title": "Zip id", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "gemeindename": {"title": "Gemeindename", "type": "string", "maxLength": 128}, "bfs_nr": {"title": "Bfs nr", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "canton": {"title": "Canton", "type": "string", "maxLength": 2}, "region": {"title": "Region", "type": "integer", "enum": [1, 2, 3]}, "language": {"title": "Language", "type": "string", "maxLength": 16}, "lat": {"title": "Lat", "type": "number", "x-nullable": true}, "lon": {"title": "Lon", "type": "number", "x-nullable": true}, "adressenanteil_pct": {"title": "Adressenanteil pct", "type": "number", "x-nullable": true}, "validity": {"title": "Validity", "type": "string", "maxLength": 32}, "kanton_nr": {"title": "Kanton nr", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "bezirk_nr": {"title": "Bezirk nr", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "bezirksname": {"title": "Bezirksname", "type": "string", "maxLength": 128}, "grossregion_code": {"title": "Grossregion code", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "grossregion": {"title": "Grossregion", "type": "string", "maxLength": 128}, "sprachgebiet_code": {"title": "Sprachgebiet code", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "sprachgebiet": {"title": "Sprachgebiet", "type": "string", "maxLength": 64}}}, "ProductPublicityRequest": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "product_slug": {"title": "Product slug", "type": "string", "readOnly": true, "minLength": 1}, "product_name": {"title": "Product name", "type": "string", "readOnly": true, "minLength": 1}, "product_is_global": {"title": "Product is global", "type": "boolean", "readOnly": true}, "status": {"title": "Status", "type": "string", "enum": ["pending", "approved", "rejected"], "readOnly": true}, "requested_by": {"title": "Requested by", "type": "integer", "readOnly": true, "x-nullable": true}, "requested_by_email": {"title": "Requested by email", "type": "string", "readOnly": true, "x-nullable": true}, "reviewed_by": {"title": "Reviewed by", "type": "integer", "readOnly": true, "x-nullable": true}, "reviewed_by_email": {"title": "Reviewed by email", "type": "string", "readOnly": true, "x-nullable": true}, "organization": {"title": "Organization", "type": "integer", "readOnly": true, "x-nullable": true}, "organization_name": {"title": "Organization name", "type": "string", "readOnly": true, "x-nullable": true}, "request_note": {"title": "Request note", "type": "string", "readOnly": true, "minLength": 1}, "review_note": {"title": "Review note", "type": "string", "readOnly": true, "minLength": 1}, "reviewed_at": {"title": "Reviewed at", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}}}, "ShortWorkbenchProduct": {"required": ["name", "slug", "description"], "type": "object", "properties": {"name": {"title": "Name", "type": "string", "maxLength": 256, "minLength": 1}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "minLength": 1}, "description": {"title": "Description", "type": "string", "minLength": 1}, "is_new": {"title": "Is new", "type": "string", "readOnly": true}, "localized_texts": {"title": "Localized texts", "type": "string", "readOnly": true}}}, "Workbench": {"required": ["name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "products": {"type": "array", "items": {"$ref": "#/definitions/ShortWorkbenchProduct"}, "readOnly": true}, "icon_url": {"title": "Icon url", "type": "string", "readOnly": true}, "icon": {"title": "Icon", "type": "string", "readOnly": true, "x-nullable": true, "format": "uri"}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "x-nullable": true}, "description": {"title": "Description", "type": "string", "x-nullable": true}, "active": {"title": "Active", "type": "boolean"}, "products_headline": {"title": "Products headline", "type": "string", "maxLength": 50, "x-nullable": true}, "products_subheadline": {"title": "Products subheadline", "type": "string", "maxLength": 100, "x-nullable": true}, "localized_texts": {"title": "Localized texts", "type": "string", "readOnly": true}}}, "ApplyLibraryDimensions": {"required": ["library_dimension_ids"], "type": "object", "properties": {"library_dimension_ids": {"type": "array", "items": {"type": "integer"}}, "update_existing": {"title": "Update existing", "type": "boolean", "default": false}}}, "ProductDimension": {"required": ["variable", "name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "variable": {"title": "Variable", "type": "string", "maxLength": 255, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 512, "minLength": 1}, "description": {"title": "Description", "type": "string"}, "question_type": {"title": "Question type", "type": "string", "maxLength": 64}, "kind": {"title": "Kind", "type": "string", "enum": ["categorical", "numeric", "derived"]}, "values": {"title": "Values", "type": "object"}, "localized_texts": {"title": "Localized texts", "type": "object"}, "source": {"title": "Source", "type": "string", "enum": ["survey_template", "derived", "manual", "library"]}, "sort_order": {"title": "Sort order", "type": "integer", "maximum": 2147483647, "minimum": 0}}}, "PublicProject": {"required": ["name", "email", "terms_agreement", "privacy_policy_accepted", "organization_name"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "product_slug": {"title": "Product slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "x-nullable": true}, "product_name": {"title": "Product name", "type": "string", "maxLength": 256, "x-nullable": true}, "survey_template_uuid": {"title": "Survey template uuid", "type": "string", "format": "uuid", "x-nullable": true}, "json": {"title": "Json", "type": "object"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 512, "minLength": 1}, "email": {"title": "Email", "type": "string", "format": "email", "minLength": 1}, "status": {"title": "Status", "type": "string", "readOnly": true}, "discount_code": {"title": "Discount code", "type": "string", "maxLength": 32, "minLength": 1}, "final_fee": {"title": "Final fee", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid", "readOnly": true}, "send_reminders": {"title": "Send reminders", "type": "boolean", "default": true}, "unique_id": {"title": "Unique id", "type": "string", "readOnly": true, "minLength": 1, "x-nullable": true}, "progress": {"title": "Progress", "type": "integer", "readOnly": true, "x-nullable": true}, "data_collection_method": {"title": "Data collection method", "type": "integer", "maximum": 32767, "minimum": 0, "x-nullable": true}, "voucher": {"title": "Voucher", "type": "string", "readOnly": true}, "created_by": {"title": "Created by", "type": "integer", "readOnly": true, "x-nullable": true}, "language": {"title": "Language", "type": "string", "default": "en", "maxLength": 5}, "terms_agreement": {"title": "Terms agreement", "type": "boolean"}, "privacy_policy_accepted": {"title": "Privacy policy accepted", "type": "boolean"}, "organization_name": {"title": "Organization name", "type": "string", "maxLength": 128, "minLength": 1}, "code": {"title": "Code", "type": "string", "maxLength": 64, "minLength": 1}}}, "ProjectVoucherValidateRequest": {"required": ["code"], "type": "object", "properties": {"code": {"title": "Code", "type": "string", "maxLength": 64, "minLength": 1}, "schema_name": {"title": "Schema name", "type": "string", "maxLength": 512}}}, "ProjectVoucher": {"required": ["code", "start_date", "end_date"], "type": "object", "properties": {"code": {"title": "Code", "type": "string", "maxLength": 64, "minLength": 1}, "discount_percent": {"title": "Discount percent", "type": "integer", "maximum": 32767, "minimum": 0}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "notes": {"title": "Notes", "type": "string"}, "active": {"title": "Active", "type": "boolean"}}}, "PaymentAdmin": {"required": ["email", "quantity"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "paid": {"title": "Paid", "type": "boolean"}, "stripe_session_id": {"title": "Stripe session id", "type": "string", "maxLength": 255, "minLength": 1, "x-nullable": true}, "email": {"title": "Email", "type": "string", "format": "email", "maxLength": 254, "minLength": 1}, "quantity": {"title": "Quantity", "type": "integer", "maximum": 2147483647, "minimum": 0}, "amount": {"title": "Amount", "type": "integer", "maximum": 2147483647, "minimum": 0, "x-nullable": true}, "currency": {"title": "Currency", "type": "string", "enum": ["CHF", "EUR", "USD", "GBP"]}, "type": {"title": "Type", "type": "integer", "enum": [1, 2]}, "type_label": {"title": "Type label", "type": "string", "readOnly": true}, "total": {"title": "Total", "type": "number", "readOnly": true, "x-nullable": true}, "organization_name": {"title": "Organization name", "type": "string", "readOnly": true}, "organization_codename": {"title": "Organization codename", "type": "string", "readOnly": true}, "stripe_invoice_id": {"title": "Stripe invoice id", "type": "string", "maxLength": 255}, "stripe_hosted_invoice_url": {"title": "Stripe hosted invoice url", "type": "string", "format": "uri", "maxLength": 1024}, "stripe_payment_link_url": {"title": "Stripe payment link url", "type": "string", "format": "uri", "maxLength": 1024}, "credits_refunded": {"title": "Credits refunded", "type": "boolean"}}}, "StripeSubscriptionAdmin": {"required": ["external_id", "package_uuid"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "uuid": {"title": "Uuid", "type": "string", "format": "uuid"}, "created_at": {"title": "Created at", "type": "string", "format": "date-time", "readOnly": true}, "updated_at": {"title": "Updated at", "type": "string", "format": "date-time", "readOnly": true}, "external_id": {"title": "External id", "type": "string", "maxLength": 100, "minLength": 1}, "status": {"title": "Status", "type": "string", "enum": ["active", "paused", "card_failure", "canceled", "ended"]}, "package_uuid": {"title": "Package uuid", "type": "string", "format": "uuid"}, "project_id": {"title": "Project id", "type": "string", "readOnly": true}, "project_name": {"title": "Project name", "type": "string", "readOnly": true}, "organization_name": {"title": "Organization name", "type": "string", "readOnly": true}, "organization_codename": {"title": "Organization codename", "type": "string", "readOnly": true}}}, "ProjectVoucherAdmin": {"required": ["start_date", "end_date"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "code": {"title": "Code", "type": "string", "maxLength": 64}, "discount_percent": {"title": "Discount percent", "type": "integer", "maximum": 32767, "minimum": 0}, "start_date": {"title": "Start date", "type": "string", "format": "date-time"}, "end_date": {"title": "End date", "type": "string", "format": "date-time"}, "notes": {"title": "Notes", "type": "string"}, "active": {"title": "Active", "type": "boolean"}, "is_expired": {"title": "Is expired", "type": "boolean", "readOnly": true}, "is_redeemable": {"title": "Is redeemable", "type": "boolean", "readOnly": true}, "claims_count": {"title": "Claims count", "type": "integer", "readOnly": true}, "created": {"title": "Created", "type": "string", "format": "date-time", "readOnly": true}, "modified": {"title": "Modified", "type": "string", "format": "date-time", "readOnly": true}, "stripe_coupon_id": {"title": "Stripe coupon id", "type": "string", "readOnly": true, "minLength": 1}, "stripe_promotion_code_id": {"title": "Stripe promotion code id", "type": "string", "readOnly": true, "minLength": 1}}}, "Package": {"required": ["name", "stripe_id", "slug", "price"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "stripe_id": {"title": "Stripe id", "type": "string", "maxLength": 255, "minLength": 1}, "slug": {"title": "Slug", "type": "string", "format": "slug", "pattern": "^[-a-zA-Z0-9_]+$", "maxLength": 50, "minLength": 1}, "price": {"title": "Price", "type": "string"}}}}}