Re: [Asdf] Composing sdfThings

Carsten Bormann <cabo@tzi.org> Wed, 31 March 2021 19:13 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: asdf@ietfa.amsl.com
Delivered-To: asdf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F241C3A330E for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 12:13:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.219
X-Spam-Level:
X-Spam-Status: No, score=-4.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 t46wtiaoqq91 for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 12:13:52 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6DD833A3319 for <asdf@ietf.org>; Wed, 31 Mar 2021 12:13:51 -0700 (PDT)
Received: from [192.168.217.118] (p548dc178.dip0.t-ipconnect.de [84.141.193.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4F9bZj2wf4zyV5; Wed, 31 Mar 2021 21:13:49 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <HE1PR07MB32269680CB56CC9BDEA1DADD857C9@HE1PR07MB3226.eurprd07.prod.outlook.com>
Date: Wed, 31 Mar 2021 21:13:48 +0200
Cc: "asdf@ietf.org" <asdf@ietf.org>
X-Mao-Original-Outgoing-Id: 638910828.727205-e6d7d4b4d1027cf1e62d32f690c796e3
Content-Transfer-Encoding: quoted-printable
Message-Id: <7342E8E4-4AE4-490D-921D-80CB85C836D5@tzi.org>
References: <5E1F89D1-0E77-4DE2-B302-12F4AB248EA7@tzi.org> <HE1PR07MB32269680CB56CC9BDEA1DADD857C9@HE1PR07MB3226.eurprd07.prod.outlook.com>
To: =?utf-8?Q?Ari_Ker=C3=A4nen?= <ari.keranen@ericsson.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/LwsOKd7r-W4OLEdGTa-lnak4C2k>
Subject: Re: [Asdf] Composing sdfThings
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A Semantic Description Format \(SDF\) for Things and their Interactions and Data" <asdf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/asdf>, <mailto:asdf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/asdf/>
List-Post: <mailto:asdf@ietf.org>
List-Help: <mailto:asdf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/asdf>, <mailto:asdf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2021 19:13:58 -0000

On 2021-03-31, at 20:44, Ari Keränen <ari.keranen@ericsson.com> wrote:
> 
> It uses new "minItems" and "maxItems" qualities (similar to JSO min/maxItems for array type) to define how many freezer Objects can there be in the Thing.

… the difference of course being that in JSO array types (as we also use them in sdfData) the type of the element is in the JSO “items” entry, while in your example it is in all the other qualities of the sdfObject that you import into the sdfObject declaration in the sdfThing.  This difference rules out nested arrays (which, however, tend to be surprisingly less useful than one thinks, so we don’t have them in sdfData either).

Grüße, Carsten