{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/feedback1-ai/json-schema/feedback1-ai-user-portal-settings-schema.json",
  "title": "UserPortalSettings",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/feedback1-ai-openapi.json#/components/schemas/UserPortalSettings",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "productName": {
      "type": "string",
      "title": "Productname"
    },
    "tenant_id": {
      "type": "integer",
      "title": "Tenant Id"
    },
    "language": {
      "type": "string",
      "title": "Language",
      "default": "en-US"
    },
    "theme": {
      "type": "string",
      "title": "Theme",
      "default": "light"
    },
    "productPubId": {
      "type": "string",
      "title": "Productpubid",
      "default": "LOCALDEV"
    },
    "publicRoadmapSectionId": {
      "type": "string",
      "title": "Publicroadmapsectionid",
      "default": "default"
    },
    "protectedRoadmap": {
      "type": "boolean",
      "title": "Protectedroadmap",
      "default": false
    },
    "host": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Host"
    },
    "websiteUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Websiteurl"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "descriptionLinkText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Descriptionlinktext"
    },
    "descriptionLinkUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Descriptionlinkurl"
    },
    "roadmapIntroductoryText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Roadmapintroductorytext"
    },
    "logoUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logourl"
    },
    "faviconUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Faviconurl"
    },
    "allowSwitchingTheme": {
      "type": "boolean",
      "title": "Allowswitchingtheme",
      "default": true
    },
    "showRss": {
      "type": "boolean",
      "title": "Showrss",
      "default": true
    },
    "showSearch": {
      "type": "boolean",
      "title": "Showsearch",
      "default": true
    },
    "myVotesEnabled": {
      "type": "boolean",
      "title": "Myvotesenabled",
      "default": true
    },
    "defaultSection": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Defaultsection"
    },
    "metaTitle": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metatitle"
    },
    "metaDescription": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadescription"
    },
    "googleAnalyticsId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Googleanalyticsid"
    },
    "posthogKey": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Posthogkey"
    },
    "posthogHost": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Posthoghost"
    },
    "userPortalCustomizations": {
      "additionalProperties": true,
      "type": "object",
      "title": "Userportalcustomizations",
      "default": {}
    },
    "enabledLanguages": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Enabledlanguages",
      "default": [
        "en"
      ]
    },
    "searchIndexingEnabled": {
      "type": "boolean",
      "title": "Searchindexingenabled",
      "default": false
    },
    "helpEnabled": {
      "type": "boolean",
      "title": "Helpenabled",
      "default": false
    },
    "communityEnabled": {
      "type": "boolean",
      "title": "Communityenabled",
      "default": false
    },
    "communityName": {
      "type": "string",
      "title": "Communityname",
      "default": "Forum"
    },
    "tabOrder": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Taborder"
    },
    "canonicalHost": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canonicalhost"
    }
  },
  "type": "object",
  "required": [
    "id",
    "title",
    "productName",
    "tenant_id"
  ]
}