{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gainsight/main/json-schema/gainsight-article-external-view-schema.json",
  "title": "ArticleExternalView",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gainsight-article-api-openapi.yml#/components/schemas/ArticleExternalView",
  "type": "object",
  "properties": {
    "articleKCs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ArticleKC"
      }
    },
    "articleName": {
      "type": "string"
    },
    "author": {
      "type": "string"
    },
    "createdDate": {
      "type": "integer",
      "format": "int64"
    },
    "defaultLanguage": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "languages": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LocalizationStatus"
      }
    },
    "modifiedBy": {
      "$ref": "#/$defs/UserView"
    },
    "modifiedDate": {
      "type": "integer",
      "format": "int64"
    },
    "productId": {
      "type": "string"
    },
    "productName": {
      "type": "string"
    },
    "releaseDate": {
      "type": "string",
      "format": "date-time"
    },
    "translationState": {
      "type": "string"
    },
    "viewType": {
      "type": "string"
    }
  },
  "$defs": {
    "ArticleKC": {
      "type": "object",
      "properties": {
        "kcId": {
          "type": "string"
        },
        "kcName": {
          "type": "string"
        }
      },
      "title": "ArticleKC"
    },
    "LocalizationStatus": {
      "type": "object",
      "properties": {
        "languageCode": {
          "type": "string"
        },
        "translated": {
          "type": "boolean"
        }
      },
      "title": "LocalizationStatus"
    },
    "UserView": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "title": "UserView"
    }
  }
}