{
  "description": "Update an endpoint-scoped record. Require at least one change. Kind is immutable; validity changes require both timestamps and an authoritative TEMPORARY record.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The PIN record to change."
    },
    "name": {
      "type": "string"
    },
    "pin": {
      "type": "string",
      "writeOnly": true,
      "description": "The code entered on the keypad. Leading zeros are kept."
    },
    "validFrom": {
      "type": "string",
      "format": "date-time"
    },
    "validUntil": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
