{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "permission_v2_flags",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "role": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "view_segments": {
      "type": "boolean"
    },
    "view_organizations": {
      "type": "boolean"
    },
    "edit_margins_and_performance": {
      "type": "boolean"
    },
    "access_internal_fees": {
      "type": "boolean"
    },
    "edit_segments": {
      "type": "boolean"
    },
    "edit_campaigns": {
      "type": "boolean"
    },
    "view_data_definition": {
      "type": "boolean"
    },
    "view_dmp_reports": {
      "type": "boolean"
    },
    "edit_data_definition": {
      "type": "boolean"
    }
  }
}