Skip to content

Commit

Permalink
docs: new profile validation to prevent repeated wearables
Browse files Browse the repository at this point in the history
  • Loading branch information
marianogoldman committed May 9, 2023
1 parent 8b758db commit 9b77034
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions content/ADR-XX-validate-repeated-wearables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
adr: XX
date: 2023-05-09
title: Add validation that prevents repeated wearables in profiles
status: Draft
authors:
- marianogoldman
type: Standards Track
spdx-license: CC0-1.0
---

## Context and Problem Statement

Currently, it is possible to add the same wearable to a profile multiple times.
This caused some issues in the Explorer, that was not expecting this to
happen. Even though the issue was fixed in the client, it is still possible
to for other clients to continue submitting profiles with repeated wearables.

This ADR proposes a new validation to prevent it.

## Proposed solution

Add a validation to be run on profile deployment that prevents repeated
wearables from being submitted.

## Deadline

ADR75_DEADLINE: 2023-05-09T12:00:00Z
Unix Timestamp: 1658275200000

0 comments on commit 9b77034

Please sign in to comment.