{
  "$id": "https://intentschema.org/common/target/v1.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Target",
  "description": "Identifies where the action happens: which provider, which object, and an optional concurrency token.",
  "type": "object",
  "required": [
    "system"
  ],
  "properties": {
    "system": {
      "type": "string",
      "description": "Lowercase provider id (e.g., `gmail`, `ms_graph`, `google_calendar`)."
    },
    "external_id": {
      "type": "string",
      "description": "Opaque provider-assigned id. Required for update/delete/reply; omit for create-in-default-container."
    },
    "etag": {
      "type": "string",
      "description": "Optional optimistic-concurrency token. Executors check before mutating."
    }
  }
}
