{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://quickiso.app/data-portability/tables/vulnerability_settings.schema.json",
  "title": "tables/vulnerability_settings.json",
  "description": "The rows of the table vulnerability_settings that belong to the workspace, one object per row, keyed by the database's column names.",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "organization_id": {
        "type": "string",
        "format": "uuid"
      },
      "critical_days": {
        "type": [
          "integer",
          "null"
        ]
      },
      "high_days": {
        "type": [
          "integer",
          "null"
        ]
      },
      "medium_days": {
        "type": [
          "integer",
          "null"
        ]
      },
      "low_days": {
        "type": [
          "integer",
          "null"
        ]
      },
      "info_days": {
        "type": [
          "integer",
          "null"
        ]
      },
      "updated_by": {
        "type": "string",
        "format": "uuid"
      },
      "updated_at": {
        "type": "string",
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      },
      "revision": {
        "type": "integer"
      }
    },
    "required": [
      "organization_id",
      "critical_days",
      "high_days",
      "medium_days",
      "low_days",
      "info_days",
      "updated_by",
      "updated_at",
      "revision"
    ],
    "additionalProperties": false
  }
}
