Ontology Data

The Ontology data, in JSON format, includes the same data as displayed on the Ontology pane in the Content Analyzer UI.

Example of a response.
{
  "Ontology": [
    {
      "DocClass": "string",
      "Comment": "string",
      "CWordList": [
        {
          "CWordName": "string",
          "CWordCount": 0
        }
      ],
      "DocAliasList": [
        {
          "DocAliasName": "string",
          "Language": "string"
        }
      ],
      "KeyClassList": [
        {
          "KeyClassName": "string",
          "Datatype": "string",
          "Mandatory": true,
          "Sensitive": true,
          "Comment": "string",
          "KeyAliasList": [
            {
              "KeyAliasName": "string",
              "Language": "string"
            }
          ],
          "PatternList": [
            {
              "PatternName": "string",
              "Description": "string",
              "Namespace": 1,
              "ExtractionTool": 1,
              "Pattern": "string",
              "Predefined": 0,
              "PatternType": 1
            }
          ]
        }
      ],
      "HeadingList": [
        {
          "HeadingName": "string",
          "HeadingAliasList": [
            {
              "HeadingAliasName": "string"
            }
          ]
        }
      ]
    }
  ],
  "Pattern": [
    {
      "pattern_name": "string",
      "description": "string",
      "namespace": 1,
      "extraction_tool": 1,
      "pattern": "string",
      "predefined": 0
    }
  ]
}