Re: [Gen-art] Gen-art last call review of draft-ietf-scim-core-schema-17

Elwyn Davies <elwynd@dial.pipex.com> Thu, 07 May 2015 17:02 UTC

Return-Path: <elwynd@dial.pipex.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 848811A1A1D for <gen-art@ietfa.amsl.com>; Thu, 7 May 2015 10:02:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.9
X-Spam-Level:
X-Spam-Status: No, score=-99.9 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, J_CHICKENPOX_22=0.6, USER_IN_WHITELIST=-100] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L9ZgVRa2OQL5 for <gen-art@ietfa.amsl.com>; Thu, 7 May 2015 10:02:36 -0700 (PDT)
Received: from b.painless.aa.net.uk (b.painless.aa.net.uk [IPv6:2001:8b0:0:30:5054:ff:fe5e:1643]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 590081A0218 for <gen-art@ietf.org>; Thu, 7 May 2015 10:02:36 -0700 (PDT)
Received: from e.a.d.6.7.7.d.0.2.2.0.0.9.2.5.9.1.0.0.0.f.b.0.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:bf:1:9529:22:d77:6dae]) by b.painless.aa.net.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from <elwynd@dial.pipex.com>) id 1YqPBv-0007zV-Nc; Thu, 07 May 2015 18:02:32 +0100
Message-ID: <554B9AA9.2010507@dial.pipex.com>
Date: Thu, 07 May 2015 18:02:33 +0100
From: Elwyn Davies <elwynd@dial.pipex.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Phil Hunt <phil.hunt@yahoo.com>
References: <55317A7E.7050707@dial.pipex.com> <60A4B3BE-C5E6-44E2-A515-2D2DA5EE9E53@yahoo.com>
In-Reply-To: <60A4B3BE-C5E6-44E2-A515-2D2DA5EE9E53@yahoo.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/gen-art/JZufvzHH8k008q3c60VWgZNIN94>
Cc: Leif Johansson <leifj@mnt.se>, General area reviewing team <gen-art@ietf.org>, draft-ietf-scim-core-schema.all@tools.ietf.org
Subject: Re: [Gen-art] Gen-art last call review of draft-ietf-scim-core-schema-17
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 May 2015 17:02:38 -0000

Hi, Phil.

In my last email I realized I left in something about a further email I 
was going to send.  This was due to my thinking the telechat was sooner 
than it actually is.

In creating this email, I realized that I wasn't sure whether the set of 
pre-defined sub-attributes in s2.4 (for the individual values of 
multi-valued complex-type attributes) should also apply to a single 
complex valued attribute.

But the main point was about canonicalization.

In the previous email, I had:

>>> s7, canonicalValues:  The wording here
>>>>          When
>>>>          applicable service providers MUST specify the canonical types
>>>>          specified in the core schema specification; e.g., "work",
>>>>          "home".
>>> seems to imply that the possible canonicalValues mentioned in the definitions of User, Group etc.
>>> schemas earlier in the draft are actually normative minimum requirements that could, at least in
 >>> some cases, be extended.  The wording used in the earlier sections 
is rather less definitive and
>>> appears to indicate that the suggested values are examples that a service provider might possible
 >>>want to replace if they considered alternative values better suited 
to their application, e.g.
>>>>    userType
>>>>       Used to identify the organization to user relationship. Typical
>>>>       values used might be "Contractor", "Employee", "Intern", "Temp",
>>>>       "External", and "Unknown" but any value may be used.
>>> and
>>>>    phoneNumbers
>>>>       Phone numbers for the user.   ...  The "display" sub-attribute
>>>>       MAY be used to return the canonicalized representation of the
>>>>       phone number value.  The sub-attribute "type" often has typical
>>>>       values of "work", "home", "mobile", "fax", "pager", and "other",
>>>>       and MAY allow more types to be defined by the SCIM clients.
>>> The wording used in the earlier sections seems to need 'tightening up'to make it clear what minimum set of canonicalValues is required for conformance, if indeed that is what is wanted.
>> [PH] Agreed. Suggestion:
>>
>> A collection of suggested values for an attribute. For example often used with the “type” attribute to categorize a value such as “home” or “work”.  The service providerMAY choose to ignore values it does not support.
> This helps.  The wording in s4.1.2 needs a little more work (see other email)....
[So here it is]

Is it intended that the various canonical values of the "type" 
sub-attribute for emails, etc., stated in s4.1.2 are normative 
requirements?

It seems possible that there is a subtle difference between the "ims" 
and "photos" cases and the others:  For the "ims" and "photos" cases a 
different canonicalization is or might be needed for each possible type 
values, in which case the values would have to be tied down and be made 
normative, whereas the others are just a convenience for human users 
that would not generally be interpreted by machines with the same 
canonicalization whatever the value of "type".  OTOH, having 
standardized values helps the internationalization of the user interface 
in clients.

If so I would suggest that these are rephrased to make it clear, for 
example, for emails (and similarly for phoneNumbers and addresses):
OLD:
       The "type" sub-attribute of contains values of "work", "home", and
       "other", and MAY allow more types to be defined by the SCIM
       clients.
NEW:
       The "type" sub-attribute is used to provide a classification
       meaningful to the (human) user.  The user interface should
       encourage the use of basic values of "work", "home",
       and "other", and MAY allow additional type values to be used
       at the discretion of the SCIM clients.

For "ims" (and similarly for "photos"):
OLD:
       The "type"
       attribute defines several "canonicalValues" to represent currently
       popular IM services: "aim", "gtalk", "icq", "xmpp", "msn",
       "skype", "qq", "yahoo", and "other".
NEW:
       The "type" sub-attribute SHOULD take one of the following
       values: "aim", "gtalk", "icq", "xmpp", "msn", "skype", "qq",
       "yahoo", and "other", representing currently popular IM services
       at the time of writing. Service providers MAY add further values
       if new IM services are introduced and MAY specify more detailed
       canonicalization rules for each possible value.



Regards,
Elwyn