{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "asset",
  "description": "The Asset object is used to describe something that belongs to an organization (either friendly or hostile)",
  "type": "object",
  "allOf": [
    {
      "$ref": "../common/core.json"
    },
    {
      "$ref": "../common/describable.json"
    },
    {
      "$ref": "../common/referenceable.json"
    },
    {
      "properties": {
        "type": {
          "type": "string",
          "enum": ["campaign"]
        },
        "impact": {
          "$ref": "../common/impact.json",
          "description": "The impact of this campaign on operations (assuming the organization is under attack)"
        },
        "status": {
          "type": "object",
          "description": "The status of this campaign (historic, ongoing, or future)",
          "allOf": [
            {"$ref": "../common/statement.json"},
            {
              "properties": {
                "value": {
                  "enum": ["Historic", "Ongoing", "Future"]
                }
              }
            }
          ]
        }
    	}
    }
  ],
  "relationships": {
    "attribution": ["threat-actor"],
    "activity": ["course-of-action"],
    "related": ["campaign", "investigation", "malware", "attack-pattern", "exploit", "victim-targeting", "tool", "infrastructure", "persona"],
    "duplicate-of": ["campaign"]
  }
}

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "asset",
  "description": "The Asset object is used to describe something that belongs to an organization (either friendly or hostile)",
  "type": "object",
  "allOf": [
    {
      "$ref": "../common/core.json"
    },
    {
      "$ref": "../common/describable.json"
    },
    {
      "$ref": "../common/referenceable.json"
    },
    {
      "properties": {
        "variety": {
          "type": "string",
          "enum": [
            "Media - Documents",
            "Network - Router",
            "People - Executive",
            "Server - Mainframe"
          ],
          "description": "What variety of asset this Asset object represents. Field purloined from VERIS Asset classification"
        },
        "compromised": {
          "type": "boolean",
          "description": "Is the asset compromised?"
        },
        "owner_aware": {
          "type": "boolean",
          "description": "Is the owner aware the asset is compromised?"
        }
      }
    }
  ],
  "relationships": {
    "attribution": ["threat-actor"],
    "activity": ["course-of-action"],
    "related": ["campaign", "investigation", "malware", "attack-pattern", "exploit", "victim-targeting", "tool", "infrastructure", "persona"],
    "duplicate-of": ["campaign"]
  }
}

Change Asset Object to reflect correct fields
Change Asset Object to reflect correct fields

 This change adds the correct fields to the Asset object.

 TODO - still need to update the relationships to correctly reflect whats in the TWIGS doc.
