k-yle left a comment (openstreetmap/openstreetmap-website#5973)

If we decide to get rid of the `create`/`update`/`delete` blocks, then there 
are two options (broadly speaking):

1. allow attributes to be specified some some elements only. Requires a nested 
array:

```jsonc
{
  "osmChange": [
    { "elements": [a, b, c, d] },
    { "elements": [e, f], "ifUnused": true },
  ],
  // extra properties for 'options' or 'changesetTags' or whatever could go here
}
```

2. require all attributes to specified per-changeset:

```jsonc
{
  "osmChange": [a, b, c, d, e, f],
  "ifUnused": true,
  // extra properties for 'options' or 'changesetTags' or whatever could go here
}
```

---

I know that iD specifies `if-unused` for *all* elements, and I'm struggling to 
think of a use-case where you would want `if-unused` to only apply to some items

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5973#issuecomment-2890519162
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5973/c2890519...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to