{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://quickiso.app/data-portability/tables/pentest_scope_items.schema.json",
  "title": "tables/pentest_scope_items.json",
  "description": "The rows of the table pentest_scope_items that belong to the workspace, one object per row, keyed by the database's column names.",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid"
      },
      "organization_id": {
        "type": "string",
        "format": "uuid"
      },
      "engagement_id": {
        "type": "string",
        "format": "uuid"
      },
      "asset_kind": {
        "type": "string",
        "enum": [
          "url",
          "host",
          "ip_range",
          "application",
          "api",
          "mobile_app",
          "cloud_account",
          "other"
        ]
      },
      "value": {
        "type": "string"
      },
      "in_scope": {
        "type": "boolean"
      },
      "notes": {
        "type": "string"
      },
      "created_by": {
        "type": "string",
        "format": "uuid"
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      }
    },
    "required": [
      "id",
      "organization_id",
      "engagement_id",
      "asset_kind",
      "value",
      "in_scope",
      "notes",
      "created_by",
      "created_at"
    ],
    "additionalProperties": false
  }
}
