[scim] Common Attribute "schemas" Characteristics

Shelley <randomshelley@gmail.com> Fri, 13 March 2020 16:16 UTC

Return-Path: <randomshelley@gmail.com>
X-Original-To: scim@ietfa.amsl.com
Delivered-To: scim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 27D7E3A0D64 for <scim@ietfa.amsl.com>; Fri, 13 Mar 2020 09:16:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 RHDBJlhaiAaP for <scim@ietfa.amsl.com>; Fri, 13 Mar 2020 09:16:36 -0700 (PDT)
Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 89A7C3A0D55 for <scim@ietf.org>; Fri, 13 Mar 2020 09:16:36 -0700 (PDT)
Received: by mail-ua1-x92d.google.com with SMTP id t20so3735963uao.7 for <scim@ietf.org>; Fri, 13 Mar 2020 09:16:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xZfx7WTLE74pEj3EJdGYZi/fMmRmU5IQXSZaFWDR+H8=; b=AfYNE5f+RMi2vs3iWtaN5p3rFzF8LHSGKW2hzvUWsHyC6Um8TiBZI/j2fdf6zhq0Vn 8J0X35oqAsFiZf0mneSLfalgYaY5cAukPnrXDNGWEVl5vCcBkC0JhSpMGJsaTS0CAbWb yGU1z+Iwc65vTazyi1qDAV0KZA3S0NRXhuoSyO7wMPZCWVaomHnmLLW+tBwaeIEyYcom xNWXA4uBK9UyQ5WTe/yC1pynGYunq5uv/XvDyJ38iNdTVwYwZp8MFUyYaxJhCO6iALCa f/aamHyWtvLugHVupgoV2LcQYul4OlKDFqBerzC/baW0FP+bIYQBrvc/u8heDYMixju4 AB5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xZfx7WTLE74pEj3EJdGYZi/fMmRmU5IQXSZaFWDR+H8=; b=cAVsOafVhhHfnLT7IDYcHqjAu4TguS3ykxWh0S2+ri9/cMqJGcnZWlPK271AVZMKoT CRfLaX8ECMGDTR4L+xBots1CnsLYXci6QMtoLl+y5wZ+8ihZqTkVflXgcMRmWEjOW3Al Z6xSuCQyy39Ewru7A9t253tjFpNl+/WUC5wrSA194AUsNYb+mRkh9SSIjSmR+uEgYp6a 5Hd4ORl9VaD4lWskI6pJpfU8jxgh8KSTize0Vr/4qC3YH/UX5ACw0tVYJupK284UWSX0 LE8UPcXLWmWJWyCSlVkAfaVIrO2UpxWBkJVwcU2Oa1WkXSLQ/B/zDabrBjlwr2h89WZ0 go1g==
X-Gm-Message-State: ANhLgQ3nfRST/8uC4Oqr9fTD/9gyqUg1yxK+VuQq4se5/g2DHXXnplZC K5OsnIXowplj8knKqgTBCf1P3vvR+gLCqHTiQ+xHaMxjtGI=
X-Google-Smtp-Source: =?utf-8?q?ADFU+vv1HCN3uidWrzKunyCA4nVhKRDG5AGfBLCKiMua?= =?utf-8?q?xqMyBtpux18Tvt//mss53l+CiPU6wQ19azuYLyjvc91v7XQ=3D?=
X-Received: by 2002:ab0:2991:: with SMTP id u17mr8877378uap.35.1584116195278; Fri, 13 Mar 2020 09:16:35 -0700 (PDT)
MIME-Version: 1.0
From: Shelley <randomshelley@gmail.com>
Date: Fri, 13 Mar 2020 11:16:24 -0500
Message-ID: <CAGUsYPweU9TvLHHYEoZ+Djwp1wQiTWYh4nb+ePXXJJwrBMLWEQ@mail.gmail.com>
To: scim@ietf.org
Content-Type: multipart/alternative; boundary="0000000000001a489205a0becbf3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/scim/3RF13D8dMGyXpoaF1ZuNDWODai4>
Subject: [scim] Common Attribute "schemas" Characteristics
X-BeenThere: scim@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Simple Cloud Identity Management BOF <scim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/scim>, <mailto:scim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/scim/>
List-Post: <mailto:scim@ietf.org>
List-Help: <mailto:scim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/scim>, <mailto:scim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Mar 2020 16:16:39 -0000

What are the characteristics for the "schemas" [1] attribute?

Here is my attempt at defining these characteristics using the Schema
definitions:

   - "type" is "reference"
   - "referenceTypes" is ["uri"]
   - "required" is "true"
   - "multiValued" is "true"
   - "uniqueness" is "none"
   - "caseExact" as "true" (since this is a "reference" type)
   - "mutability" of "immutable" (although none of the mutability values
   seems like a perfect fit)
   - "returned" characteristic of "default"

Although "schemas" and the "Common Attributes" don't define their own
schemas, it would be nice to have all of these attributes' characteristics
clearly defined in the spec using the Schema definition to help provide a
clear/common definition, particularly, since these characteristics are not
intended to be modified/defined by SPs.

In particular, in my SCIM implementation, I have been considering whether
to evaluate "schemas" in resource representations* case-sensitively* (exact
case as defined in the ResourceType),* case-insensitively* (any case
allowed), or using *lexical equivalence* (e.g. for URNs, case-insensitive
schema and NID, case-sensitive NSS, and some components ignored). The RFC
doesn't seem to clearly prescribe this, but based on the fact that the
implied type is "reference" which (debatably [2]) has "caseExact" as "true"
and the fact that the attribute "MUST only contain values defined as
"schema" and "schemaExtensions"", I'm under the assumption that this
attribute is *case-sensitive*.

Please confirm. Thanks!

[1] https://tools.ietf.org/html/rfc7643#section-3
[2] https://mailarchive.ietf.org/arch/msg/scim/05_K_y-V26EOfN2F7fuSO3DXoLw/