{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/conversion/json-schema/conversion-relationship-field-side-schema.json",
  "title": "RelationshipFieldSide",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/conversion-openapi.json#/components/schemas/RelationshipFieldSide",
  "type": "object",
  "properties": {
    "objectType": {
      "type": "string",
      "enum": [
        "CONTACT",
        "COMPANY",
        "OPPORTUNITY",
        "CAMPAIGN",
        "CAMPAIGN_MEMBER",
        "CUSTOM_OBJECT"
      ]
    },
    "customObjectId": {
      "type": "string",
      "format": "uuid",
      "description": "Required when objectType is CUSTOM_OBJECT; omit for standard objects."
    },
    "key": {
      "type": "string",
      "description": "Required field key. Leading and trailing whitespace is trimmed. Use letters, numbers, or underscores, including Unicode letters."
    },
    "label": {
      "type": "string",
      "description": "Display name; leading and trailing whitespace is trimmed."
    }
  },
  "required": [
    "objectType",
    "key",
    "label"
  ]
}