The `capacity` block was removed during implementation in lieu of the `capacity_max` and `capacity_min` fields, but it wasn't removed from the example in the documentation.
nomad job run