{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://quickiso.app/data-portability/tables/sso_identities.schema.json",
  "title": "tables/sso_identities.json",
  "description": "The rows of the table sso_identities 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"
      },
      "connection_id": {
        "type": "string",
        "format": "uuid"
      },
      "user_id": {
        "type": "string",
        "format": "uuid"
      },
      "subject": {
        "type": "string"
      },
      "email_at_link": {
        "type": [
          "string",
          "null"
        ]
      },
      "linked_at": {
        "type": "string",
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      },
      "last_used_at": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      }
    },
    "required": [
      "id",
      "organization_id",
      "connection_id",
      "user_id",
      "subject",
      "email_at_link",
      "linked_at",
      "last_used_at"
    ],
    "additionalProperties": false
  }
}
