From 353e0d2415f27e91a3ff6fcb3f6b25408515b63a Mon Sep 17 00:00:00 2001 From: cdegroot Date: Wed, 16 May 2018 11:56:01 -0400 Subject: [PATCH] Authenticated State for Identity: - Added enumeration property. - Added to example. --- schemas/context/identity.example.1.json | 3 ++- schemas/context/identity.schema.json | 14 +++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/schemas/context/identity.example.1.json b/schemas/context/identity.example.1.json index 3e33fe746..d6df86300 100644 --- a/schemas/context/identity.example.1.json +++ b/schemas/context/identity.example.1.json @@ -2,5 +2,6 @@ "@id": "https://data.adobe.io/entities/identity/id123", "xdm:namespace": { "xdm:code": "AA12345" - } + }, + "xdm:authenticatedState": "unknown" } diff --git a/schemas/context/identity.schema.json b/schemas/context/identity.schema.json index 9e22ddd6a..40646ed3c 100644 --- a/schemas/context/identity.schema.json +++ b/schemas/context/identity.schema.json @@ -31,7 +31,19 @@ "type": "string", "description": "When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces." - } + }, + "authenticatedState": { + "description": + "The state this identity is authenticated as for this observed ExperienceEvent.", + "type": "string", + "default": "unknown", + "enum": ["unknown", "loggedin", "loggedOut"], + "meta:enum": { + "unknown": "Unknown", + "loggedin": "User identified by a login action that is valid at the time of the event.", + "loggedOut": "User was identified by a login action at some point of time previously, but is not currently logged in." + } + }, } } },