PolicyAttributes (type)

{
  "additionalProperties": false, 
  "id": "PolicyAttributes", 
  "module_id": "PolicyContextProfile", 
  "properties": {
    "attribute_source": {
      "default": "SYSTEM", 
      "enum": [
        "SYSTEM", 
        "CUSTOM"
      ], 
      "required": false, 
      "title": "Source of attribute value i.e whether system defined or custom value", 
      "type": "string"
    }, 
    "datatype": {
      "enum": [
        "STRING"
      ], 
      "required": true, 
      "title": "Datatype for attribute", 
      "type": "string"
    }, 
    "description": {
      "required": false, 
      "title": "Description for attribute value", 
      "type": "string"
    }, 
    "isALGType": {
      "description": "Describes whether the APP_ID value is ALG type or not.", 
      "required": false, 
      "title": "Is the value ALG type", 
      "type": "boolean"
    }, 
    "key": {
      "description": "URL_Reputation is currently not available. Please do not use it in Attribute Key while creating context profile", 
      "enum": [
        "APP_ID", 
        "DOMAIN_NAME", 
        "URL_CATEGORY", 
        "URL_REPUTATION"
      ], 
      "required": true, 
      "title": "Key for attribute", 
      "type": "string"
    }, 
    "metadata": {
      "description": "This is optional part that can hold additional data about the attribute key/values. Example - For URL CATEGORY key , it specified super category for url category value. This is generic array and can hold multiple meta information about key/values in future", 
      "items": {
        "$ref": "ContextProfileAttributesMetadata
      }, 
      "required": false, 
      "title": "Provide additional meta information about key/values", 
      "type": "array"
    }, 
    "sub_attributes": {
      "items": {
        "$ref": "PolicySubAttributes
      }, 
      "required": false, 
      "title": "Reference to sub attributes for the attribute", 
      "type": "array"
    }, 
    "value": {
      "description": "Multiple attribute values can be specified as elements of array.", 
      "items": {
        "type": "string"
      }, 
      "minItems": 1, 
      "required": true, 
      "title": "Value for attribute key", 
      "type": "array", 
      "uniqueItems": true
    }
  }, 
  "title": "Policy Attributes data holder", 
  "type": "object"
}