@xyd-js/uniform 0.0.0-build-8b31648-20250923204702 → 0.0.0-build-9f87f13-20250930210637

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,44 @@
1
+ {
2
+ "allOf": [
3
+ {
4
+ "$id": "$rest.param.path",
5
+ "type": "object",
6
+ "properties": {
7
+ "userId": {
8
+ "type": "string",
9
+ "description": "The user ID"
10
+ }
11
+ },
12
+ "required": [
13
+ "userId"
14
+ ]
15
+ },
16
+ {
17
+ "$id": "$rest.request.body",
18
+ "type": "object",
19
+ "properties": {
20
+ "firstName": {
21
+ "type": "string",
22
+ "description": "User's first name"
23
+ },
24
+ "lastName": {
25
+ "type": "string",
26
+ "description": "User's last name"
27
+ },
28
+ "role": {
29
+ "description": "User's role in the system",
30
+ "type": "string",
31
+ "enum": [
32
+ "user",
33
+ "admin",
34
+ "moderator"
35
+ ]
36
+ },
37
+ "isActive": {
38
+ "type": "boolean",
39
+ "description": "Whether the user account is active"
40
+ }
41
+ }
42
+ }
43
+ ]
44
+ }