{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://quickiso.app/data-portability/tables/pentest_testers.schema.json",
  "title": "tables/pentest_testers.json",
  "description": "The rows of the table pentest_testers 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"
      },
      "invitation_id": {
        "type": [
          "string",
          "null"
        ],
        "format": "uuid"
      },
      "membership_id": {
        "type": [
          "string",
          "null"
        ],
        "format": "uuid"
      },
      "qualifications": {
        "type": "string"
      },
      "access_until": {
        "type": "string",
        "format": "date",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "invited_by": {
        "type": "string",
        "format": "uuid"
      },
      "invited_at": {
        "type": "string",
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      },
      "granted_at": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      },
      "revoked_at": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      },
      "revoked_by": {
        "type": [
          "string",
          "null"
        ],
        "format": "uuid"
      },
      "revoke_reason": {
        "type": [
          "string",
          "null"
        ]
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      },
      "updated_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",
      "invitation_id",
      "membership_id",
      "qualifications",
      "access_until",
      "invited_by",
      "invited_at",
      "granted_at",
      "revoked_at",
      "revoked_by",
      "revoke_reason",
      "created_at",
      "updated_at"
    ],
    "additionalProperties": false
  }
}
