{
  "$schema": "http://json-schema.org/draft-03/schema",
  "properties": {
    "highlight_id": {
      "type": "number",
      "blank": false,
      "description": "Marketing Highlight Identifier."
    },

    "mkt_program_id": {
      "type": "number",
      "blank": false,
      "description": "Marketing Program Id (also known as Highlight Id)."
    },

    "entity": {
      "type": "string",
      "blank": false,
      "description": "Entity Type.",
      "enum": [ "vendor", "artist", "release", "track", "ex_a_release", "project" ]
    },

    "entity_id": {
      "type": "number",
      "blank": false,
      "description": "Id of the entity."
    },

    "subject": {
      "type": "string",
      "blank": false,
      "description": "Subject of the Marketing Highlight.",
      "maxLength": 255,
      "minLength": 5
    },

    "description": {
      "type": "string",
      "blank": false,
      "description": "Description of the Marketing Highlight."
    },

    "attachment": {
      "type": "string",
      "blank": false,
      "description": "Flag if the marketing highlight contains an attachment.",
      "enum": [ "Y", "N" ]
    },

    "scope": {
      "type": "string",
      "blank": false,
      "description": "Scope of the Marketing Highlight.",
      "enum": [ "public", "internal_only" ]
    },

    "client": {
      "type": "string",
      "blank": false,
      "description": "Source of the Marketing Highlight.",
      "enum": [ "oa", "alw" ]
    }
  }
}
