Ampersand · Schema

FieldUpsertResult

Result of an upsert operation for a single field

Developer ToolsIntegrationsPlatformSaaSOAuthData SyncWebhooks

Properties

Name Type Description
fieldName string Name of the field
action string Action taken (create, update, none)
metadata object Provider-specific metadata about the field
warnings array Warnings that occurred during the upsert operation
View JSON Schema on GitHub

JSON Schema

ampersand-api-field-upsert-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-schema/ampersand-api-field-upsert-result-schema.json",
  "title": "FieldUpsertResult",
  "description": "Result of an upsert operation for a single field",
  "type": "object",
  "properties": {
    "fieldName": {
      "type": "string",
      "description": "Name of the field"
    },
    "action": {
      "type": "string",
      "description": "Action taken (create, update, none)"
    },
    "metadata": {
      "type": "object",
      "description": "Provider-specific metadata about the field",
      "additionalProperties": true
    },
    "warnings": {
      "type": "array",
      "description": "Warnings that occurred during the upsert operation",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "fieldName",
    "action"
  ]
}