Skip to content

Commit ae594aa

Browse files
committed
feat(specs): add advanced personalization profile type
1 parent a1d47bb commit ae594aa

File tree

1 file changed

+7
-1
lines changed
  • specs/advanced-personalization/common/schemas

1 file changed

+7
-1
lines changed

specs/advanced-personalization/common/schemas/User.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ user:
33
properties:
44
userID:
55
type: string
6+
type:
7+
type: string
8+
enum:
9+
- basic
10+
- predictive
11+
- realtime
612
affinities:
713
type: array
814
items:
@@ -27,4 +33,4 @@ user:
2733
required: [name, indices, value, score, lastUpdatedAt]
2834
lastUpdatedAt:
2935
type: string
30-
required: [userID, affinities, lastUpdatedAt]
36+
required: [userID, type, affinities, lastUpdatedAt]

0 commit comments

Comments
 (0)