{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "project ID from create/list."
    },
    "contactId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "contact ID from create/list."
    },
    "revision": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Revision of this saved contact. Supply it as revision when updating or deleting the contact."
    },
    "onlyIfUnlinked": {
      "default": false,
      "type": "boolean"
    }
  },
  "required": [
    "projectId",
    "contactId",
    "revision",
    "onlyIfUnlinked"
  ],
  "additionalProperties": false
}
