{
  "collectionName": "strapi_permission",
  "info": {
    "name": "Permission",
    "description": ""
  },
  "options": {
    "timestamps": true
  },
  "attributes": {
    "action": {
      "type": "string",
      "minLength": 1,
      "configurable": false,
      "required": true
    },
    "subject": {
      "type": "string",
      "minLength": 1,
      "configurable": false,
      "required": false
    },
    "fields": {
      "type": "json",
      "configurable": false,
      "required": false,
      "default": []
    },
    "conditions": {
      "type": "json",
      "configurable": false,
      "required": false,
      "default": []
    },
    "role": {
      "configurable": false,
      "model": "role",
      "plugin": "admin"
    }
  }
}