
From nobody Mon Mar  1 01:09:31 2021
Return-Path: <wavdb66@gmail.com>
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 3FFF13A187E for <asdf@ietfa.amsl.com>; Mon,  1 Mar 2021 01:09:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.052
X-Spam-Level: 
X-Spam-Status: No, score=0.052 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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 l8w0o2J7PYAt for <asdf@ietfa.amsl.com>; Mon,  1 Mar 2021 01:09:28 -0800 (PST)
Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 2E14B3A187D for <asdf@ietf.org>; Mon,  1 Mar 2021 01:09:28 -0800 (PST)
Received: by mail-wm1-x329.google.com with SMTP id o16so13671682wmh.0 for <asdf@ietf.org>; Mon, 01 Mar 2021 01:09:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=kfOmQaurvJej38CWAllVsmovS51dJ4/bYnoTM6kN9oY=; b=Qw2HUy+IygQ5V9evCFJHUh3PN+PJH7EF07c4t4A4JWYlU2loszOzYhlo3HVDQ0Folo VXdvPLfPmcFLrcxamSC6FVmAqR3iwymiRSeBTOgND+mkCS6p9pmFikvc1iMSO6AtW8Zi UeOvdcC0MVC1LgpY1zeVxFxD3wTdF1f156kryQqIyK3iwxt6DJKFBvPICVdWhzAPfmLm Dpnu29c1WZHmopZYTUwafhizIq+gCNepH/r8jVAGeE1oP+yE9Bd/FlY21ofT1FsIo0XQ yJdAKQXzqUO2d6Elq1t2QxDBIx5QaNxbLasRDBShwMzII1RrUurynJQQ9C/Dz+zYiMaa 7Okg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=kfOmQaurvJej38CWAllVsmovS51dJ4/bYnoTM6kN9oY=; b=Soy3Z+TMkKCeiNHnbG3y7/dSvYRDqhqa9uzYnl6mPT7nbkudulUXzOtCIExA8LZFYO Ei6x5OXURStUgxpzc6Xl8MhT7vBzSuP02Cn/c7kStXKmjHUpS7AQ/InmxZX7nv4Ps1Fm AZUrKz0FedL+mtgleiHTYsoCmHcJE26TkJ9JkOf8LAV85vDRDzKb/9xNL4Fl66699HO7 oy51AEyGW3iNkIZbZxwTMascMMMmVjcQ+GIMXTi0ZJOSY7xqWITUbsw12foFBxvv1WDD /hKRhRxJSGHQI12L7P7azd7LXPl+SrFpO3qHD7I5UTXBgbuemxnKi+VFqo/jlMreGrmV 0v2w==
X-Gm-Message-State: AOAM5326zNCWaIznjoRuBuvYED4OMJOPYMWlqs7hIJBZkAxmWK+wFW4T quCyzq7sTBtxHqa0gMz1D7pCa90KtyS0CQ==
X-Google-Smtp-Source: ABdhPJw0cUwewz2U/9Z1Ngl4KZiFOwJi4+mCO6JlykkNOpz4PoX7haltTe+j9ip/N3JDeMEPN+Dq4g==
X-Received: by 2002:a05:600c:2204:: with SMTP id z4mr8824813wml.31.1614589765924;  Mon, 01 Mar 2021 01:09:25 -0800 (PST)
Received: from LAPTOPL39HIA21 ([37.46.20.84]) by smtp.gmail.com with ESMTPSA id y18sm23600771wrq.61.2021.03.01.01.09.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Mar 2021 01:09:25 -0800 (PST)
From: <wavdb66@gmail.com>
To: "'Michael Koster'" <michaeljohnkoster@gmail.com>, "'Carsten Bormann'" <cabo@tzi.org>
Cc: <asdf@ietf.org>, "'Jan Romann'" <jan.romann@uni-bremen.de>
References: <98447B75-B71D-45FB-B741-CD8FCB660051@tzi.org> <D8C578DA-76A7-432F-ADBE-A679F52E5220@gmail.com>
In-Reply-To: <D8C578DA-76A7-432F-ADBE-A679F52E5220@gmail.com>
Date: Mon, 1 Mar 2021 09:09:23 -0000
Message-ID: <019801d70e7a$930cd650$b92682f0$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-ie
Thread-Index: AQHQVXfvfSEWuufIZ1/tqD5vgNCVfAIfqgZKqmtMZgA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/dVs6AsD9F7sGiwlWsavGbdTF69k>
Subject: Re: [Asdf] Mapping files: Which way should the arrows go?
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: Mon, 01 Mar 2021 09:09:30 -0000

Hi All,

This is very close to openAPI https://swagger.io/specification/
Note that openAPI  can be extended with prefixed properties, e.g. we =
could define x_<> to reference SDF constructs.

Kind Regards,
Wouter

-----Original Message-----
From: ASDF <asdf-bounces@ietf.org> On Behalf Of Michael Koster
Sent: Sunday 28 February 2021 17:28
To: Carsten Bormann <cabo@tzi.org>
Cc: asdf@ietf.org; Jan Romann <jan.romann@uni-bremen.de>
Subject: Re: [Asdf] Mapping files: Which way should the arrows go?

Very interesting. I have been working on a mapping strawman also. I have =
come to see it as instance binding, by adding scheas for data =
formatting, and adding protocol instructions.

My approach is to create the mapping as inline extension points, using =
extension schemas. There is an extension point for schemas, one for =
protocol instructions, and one for hyperlinks (not used yet). These can =
eaily be stripped out to mapping files and re-inserted when generating =
the instance. I find it easier to edit the bindings inline and also am =
reusing sdfRef for addresses etc., but hte program generated bindings =
could ust as easily use jsonpointer or jsonpath references.

I have created some working examples using the modbus models I am =
preparing for the IETF Hackathon/WoT Plugfest tomorrow. These are actual =
hardware products that use Modbus for control:

https://github.com/mjkoster/onefb-sdk/blob/main/control-models/modbus/sdf=
thing-modbus-ehd-rtu.sdf.json
https://github.com/mjkoster/onefb-sdk/blob/main/control-models/modbus/sdf=
thing-modbus-dcpowersupply.sdf.json

I am also generating WoT TD instances, so I have also essentially used =
the WoT DataSchema and Forms elements from Thing Description as the =
extension vocabulary (crude but efficient).

I think it will be good to collect our experiences with the embedded =
bindings and work toward what Carsten suggests as a more descriptive =
approach using a common SDF extension.

I have also described the Modbus protocol using SDF (WIP, needs some =
work still), so perhaps something like this could be part of the =
descriptive approach, with a low level protocol model that the binding =
has entry points into.

https://github.com/mjkoster/onefb-sdk/blob/main/control-models/modbus/sdf=
object-modbus-message.sdf.json

Finally, I made some slides to describe the implementations with =
emphasis on the SDF and instance binding parts of the workflow

https://github.com/mjkoster/onefb-sdk/blob/main/documents/onedm-plughackt=
honfest.pdf

Today I am depoying the modbus RTU=3D>TCP bridge and starting on the SDF =
=3D> TD processing based on this work:=20

https://github.com/roman-kravtsov/sdf-object-converter

Looking forward to tomorrow,

Michael


> On Feb 27, 2021, at 11:05 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> Jan Romann, a student who is looking at using SDF models plus SDF =
mapping files for deriving information about communication =
characteristics (think MUD), prepared a strawman for a mapping file:
>=20
> https://gist.github.com/JKRhb/e3def2cf049e90e43f533132b6fb7467
>=20
> As you can see, this is essentially based on WoT structures, =
describing for each SDF affordance how this affordance is implemented in =
the protocol.
>=20
> Looking at the example, this got me thinking.  While this approach =
certainly works, an alternative would be to describe the mapping in =
terms of protocol concepts, and point back to the SDF from there.  So, =
you might have a description of the URI /switch/value, and point to the =
property that this realises (in this case, there would be four =
transactions on this URI, read/write/observe/unobserve, pointing back to =
the sdfProperty /sdfObject/Switch/sdfProperty/value.
> Maybe the example is too simple for seeing how this could be better, =
but as soon as you add, say, security properties, concentrating those =
around URIs is likely to be easier to model.
>=20
> (There, of course, is the class-vs-instance problem, which the example =
skirts around by implicitly assuming a base URI instantiation parameter =
and using relative URIs to describe the absolute URIs that an instance =
would need.  Some weirdness comes from the fact that it is the base URI =
that carries the URL scheme, so the mapping file has to carry that part =
separately, and the parameter really is a URI authority =3D=3D transport =
address.)
>=20
> I think Jan's example is great input to the Hackathon we are starting =
tomorrow, in addition to the mapping file strawmen we already have.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> --=20
> ASDF mailing list
> ASDF@ietf.org
> https://www.ietf.org/mailman/listinfo/asdf

--=20
ASDF mailing list
ASDF@ietf.org
https://www.ietf.org/mailman/listinfo/asdf


From nobody Mon Mar  1 06:37:33 2021
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 89A173A1D56 for <asdf@ietfa.amsl.com>; Mon,  1 Mar 2021 06:37:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-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 eJG7jqiwenyJ for <asdf@ietfa.amsl.com>; Mon,  1 Mar 2021 06:37:28 -0800 (PST)
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 BDF293A1D52 for <asdf@ietf.org>; Mon,  1 Mar 2021 06:37:28 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dq2sf6NfKzyh0; Mon,  1 Mar 2021 15:37:26 +0100 (CET)
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: <62BD71AF-3688-42BC-975C-6430171E31FC@tzi.org>
Date: Mon, 1 Mar 2021 15:37:26 +0100
X-Mao-Original-Outgoing-Id: 636302246.246171-e74fc1cdeca6138b2cc2654feba83958
Content-Transfer-Encoding: quoted-printable
Message-Id: <388CF67C-15AB-42E2-936D-4A2C4CC5BBCB@tzi.org>
References: <62BD71AF-3688-42BC-975C-6430171E31FC@tzi.org>
To: asdf@ietf.org, t2trg@irtf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/2peUulJFq51ahxfb5NaZeVvX5MY>
Subject: Re: [Asdf] ASDF/WISHI hackathon at IETF110
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: Mon, 01 Mar 2021 14:37:32 -0000

On 2021-02-24, at 12:08, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> Next week is the IETF110 hackathon week.

=E2=80=A6 and we=E2=80=99ll have the kickoff meeting in 20 minutes.

All necessary information should be at

https://github.com/t2trg/2021-03-hackathon/wiki

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Mar  3 09:34:49 2021
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 4F7CB3A173A for <asdf@ietfa.amsl.com>; Wed,  3 Mar 2021 09:34:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-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 a3dnAmJoKLza for <asdf@ietfa.amsl.com>; Wed,  3 Mar 2021 09:34:43 -0800 (PST)
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 C34443A1738 for <asdf@ietf.org>; Wed,  3 Mar 2021 09:34:43 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4DrLjG18BHzyT3; Wed,  3 Mar 2021 18:34:42 +0100 (CET)
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: <388CF67C-15AB-42E2-936D-4A2C4CC5BBCB@tzi.org>
Date: Wed, 3 Mar 2021 18:34:41 +0100
X-Mao-Original-Outgoing-Id: 636485681.738898-0534a810746d92d882787022ce814bfa
Content-Transfer-Encoding: quoted-printable
Message-Id: <09EC27CB-BB50-4538-A9C0-BD29563FBD0B@tzi.org>
References: <62BD71AF-3688-42BC-975C-6430171E31FC@tzi.org> <388CF67C-15AB-42E2-936D-4A2C4CC5BBCB@tzi.org>
To: asdf@ietf.org, t2trg@irtf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/jwYA07m0BQ0EU2oUbQVV-dKN0ps>
Subject: Re: [Asdf] ASDF/WISHI hackathon at IETF110
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, 03 Mar 2021 17:34:47 -0000

Tomorrow=E2=80=99s coordination call will be at 1600Z:

Thu 1600Z =
https://www.timeanddate.com/worldclock/fixedtime.html?msg=3DT2TRG+Summary+=
Meeting&iso=3D20210304T16&p1=3D%3A&ah=3D2

Wiki:
https://github.com/t2trg/2021-03-hackathon/wiki

Running notes:
https://codimd.ietf.org/notes-ietf-110-hackathon-asdf-wishi

Gr=C3=BC=C3=9Fe, Carsten


From nobody Sat Mar  6 15:40:53 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: asdf@ietf.org
Delivered-To: asdf@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DC173A188F; Sat,  6 Mar 2021 15:40:50 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: asdf@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: asdf@ietf.org
Message-ID: <161507405033.10712.2415152387978913325@ietfa.amsl.com>
Date: Sat, 06 Mar 2021 15:40:50 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/BRFi35Mg3raTtSY3p2DglqVg3OA>
Subject: [Asdf] I-D Action: draft-ietf-asdf-sdf-04.txt
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
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: Sat, 06 Mar 2021 23:40:50 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the A Semantic Definition Format for Data and Interactions of Things WG of the IETF.

        Title           : Semantic Definition Format (SDF) for Data and Interactions of Things
        Authors         : Michael Koster
                          Carsten Bormann
	Filename        : draft-ietf-asdf-sdf-04.txt
	Pages           : 77
	Date            : 2021-03-06

Abstract:
   The Semantic Definition Format (SDF) is a format for domain experts
   to use in the creation and maintenance of data and interaction models
   in the Internet of Things.  It was created as a common language for
   use in the development of the One Data Model liaison organization
   (OneDM) definitions.  Tools convert this format to database formats
   and other serializations as needed.

   An SDF specification describes definitions of SDF Objects and their
   associated interactions (Events, Actions, Properties), as well as the
   Data types for the information exchanged in those interactions.

   A JSON format representation of SDF 1.0 was defined in the previous
   (-00) version of this document.  SDF 1.1 is expected to be defined in
   a future version; the present document is a _candidate implementation
   draft_ for SDF 1.1.  If the ASDF WG reaches consensus on this
   candidate, the next version will be SDF 1.1, an SDF implementation
   draft.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-asdf-sdf/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-04.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-asdf-sdf-04


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Sat Mar  6 15:43:54 2021
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 1BE523A18A0 for <asdf@ietfa.amsl.com>; Sat,  6 Mar 2021 15:43:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-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 6rcXerUggk-i for <asdf@ietfa.amsl.com>; Sat,  6 Mar 2021 15:43:51 -0800 (PST)
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 303E13A189F for <asdf@ietf.org>; Sat,  6 Mar 2021 15:43:51 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4DtLlm1916zyQF; Sun,  7 Mar 2021 00:43:48 +0100 (CET)
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: <161507405033.10712.2415152387978913325@ietfa.amsl.com>
Date: Sun, 7 Mar 2021 00:43:47 +0100
X-Mao-Original-Outgoing-Id: 636767027.697003-77eb873fcbcb05ec0488e23d5d43c66f
Content-Transfer-Encoding: quoted-printable
Message-Id: <384D44F0-8B91-484F-90E7-3CE04CB437DE@tzi.org>
References: <161507405033.10712.2415152387978913325@ietfa.amsl.com>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/IDqAlL4ar6Xw5CYxCY0TD7fZTuU>
Subject: Re: [Asdf] I-D Action: draft-ietf-asdf-sdf-04.txt
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: Sat, 06 Mar 2021 23:43:54 -0000

This update fixes two bugs that were found in the comment period so far.
Three days left in the comment period (consensus call)...

Gr=C3=BC=C3=9Fe, Carsten



> On 2021-03-07, at 00:40, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the A Semantic Definition Format for Data =
and Interactions of Things WG of the IETF.
>=20
>        Title           : Semantic Definition Format (SDF) for Data and =
Interactions of Things
>        Authors         : Michael Koster
>                          Carsten Bormann
> 	Filename        : draft-ietf-asdf-sdf-04.txt
> 	Pages           : 77
> 	Date            : 2021-03-06
>=20
> Abstract:
>   The Semantic Definition Format (SDF) is a format for domain experts
>   to use in the creation and maintenance of data and interaction =
models
>   in the Internet of Things.  It was created as a common language for
>   use in the development of the One Data Model liaison organization
>   (OneDM) definitions.  Tools convert this format to database formats
>   and other serializations as needed.
>=20
>   An SDF specification describes definitions of SDF Objects and their
>   associated interactions (Events, Actions, Properties), as well as =
the
>   Data types for the information exchanged in those interactions.
>=20
>   A JSON format representation of SDF 1.0 was defined in the previous
>   (-00) version of this document.  SDF 1.1 is expected to be defined =
in
>   a future version; the present document is a _candidate =
implementation
>   draft_ for SDF 1.1.  If the ASDF WG reaches consensus on this
>   candidate, the next version will be SDF 1.1, an SDF implementation
>   draft.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-asdf-sdf/
>=20
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-04.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-asdf-sdf-04
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
>=20
> --=20
> ASDF mailing list
> ASDF@ietf.org
> https://www.ietf.org/mailman/listinfo/asdf


From nobody Sun Mar  7 00:36:05 2021
Return-Path: <do_not_reply@mnot.net>
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 CFC3F3A0962 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 00:36:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.8
X-Spam-Level: 
X-Spam-Status: No, score=-2.8 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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=mnot.net header.b=buyHK020; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=MDxugSfd
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 PVG1qV1LacnD for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 00:36:02 -0800 (PST)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F2353A096C for <asdf@ietf.org>; Sun,  7 Mar 2021 00:36:02 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 679CE26C3 for <asdf@ietf.org>; Sun,  7 Mar 2021 02:38:03 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 07 Mar 2021 02:38:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject:message-id:date; s= fm2; bh=IeSshaZlbyilYd7LIVv40vMgqegIdz7Nv+m01Iil9Uc=; b=buyHK020 EJLKnE1D1Xwi97cTdGDS6wRABzfPWt2q3caUrm3Cjl91DoLVJT+5fvTUBF5qzTyo zbiKf/wX7nMxLXYwA6YEvWjtXQQ6/lkep9eHu1wrki4jWtRHoweI+drVfeufh4VA z1qRGnejePLFKVC7lMPIh06TARBPT+36kA+gQMuCWksDFzN6gUYxVstyg77j8QTX 6bnno1XO3t+VOV475ztXt5IKc2yVz5cF6TsCcVURPsFptb1z0eqQ9+4CpduRLWd6 9Z4oliCOJsIJ80lXBwdjPrXT0YoafyZIeA3AQLc6tvILYi9OuFwCW4dawFv8eeQA MBNElTPv0v6bww==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=IeSshaZlbyilYd7LIVv40vMgqegId z7Nv+m01Iil9Uc=; b=MDxugSfd3QK8Pv4lsLdOgQnDSB2V5Vo6/T97IZFnrkmXC up/mgUydq9B+kkm4yxG/T4VG7PHwqQG525Tn44Yw73LNLiRUy1wpSH73evO2jdWA OKwi+1d6Sd4L1b2XaYlAkNq5+DD9q4nl3Q48KuQBImFRGDfDmWYMLlLGgYRrv558 W3WUGpiHsDBs4DFNnEWNYT1Zw/W5b0+njNZgA//G0dIUjH9kpgzi81R3V9bDkRZH 7HO6ZjTTB04WAqYgbVHuPUhJRdiw3V67tB0ZPQT+Q57NhSYlbsA5xVQzHSH8vsot 7HnNbM2E94FV+54poiDG8nkOt2Z2lGEjn27IuCf1Q==
X-ME-Sender: <xms:2oJEYJd2oSkCJaZc7ea7Wg4rPK84yUbBRMqiDqcglAmLWiPYo9F3hQ> <xme:2oJEYHNEdVd4r39ktfgY9fnStc2Sx6BJohMYWMaQW9zEblw0dvLHFLafLmwv9cC4S xVcxl3B7OL87QHvuw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtledguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurheptggghffvufesrgdttdertddtje enucfhrhhomheptfgvphhoshhithhorhihucettghtihhvihhthicuufhumhhmrghrhicu uehothcuoeguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeekfedvudetjedvfeekheeiveeugfefhfetteevgeffkefffeetffdvleehudei teenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeehvddrudejledrudeige drudegleenucevlhhushhtvghrufhiiigvpeeknecurfgrrhgrmhepmhgrihhlfhhrohhm peguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:2oJEYCjP0WNHwAR6qPZJWQv1SPkhg_ARiTa5yn4lAyIUgCLoYp4ZMw> <xmx:2oJEYC-QNu6bys55noElmA4AIA_7_YGvthmAOWiBkeio1iFkqgFlBg> <xmx:2oJEYFtiXVxu7KcPAfJslzKnYMWPTD7FkWWVD4DzJJJbefMfruhpkg> <xmx:24JEYGXSt7vOlXHehGckZoNIF2_kPPlVW5AWrkTvZbg9LK8BVKGULw>
Received: from fv-az186-442.internal.cloudapp.net (unknown [52.179.164.149]) by mail.messagingengine.com (Postfix) with ESMTPA id DAEF7240057 for <asdf@ietf.org>; Sun,  7 Mar 2021 02:38:02 -0500 (EST)
Content-Type: multipart/alternative; boundary="===============2536133023541198169=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: asdf@ietf.org
Message-Id: <20210307073802.DAEF7240057@mailuser.nyi.internal>
Date: Sun,  7 Mar 2021 02:38:02 -0500 (EST)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/VhnSyViedLPioxMPZE_FhSMwMDg>
Subject: [Asdf] Weekly github digest (ASDF Activity Summary)
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: Sun, 07 Mar 2021 08:36:04 -0000

--===============2536133023541198169==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Events without label "editorial"

Issues
------
* ietf-wg-asdf/SDF (+1/-0/=F0=9F=92=AC1)
  1 issues created:
  - application/json URI scheme doesn't define a fragment construction (by =
mjkoster)
    https://github.com/ietf-wg-asdf/SDF/issues/20=20

  1 issues received 1 new comments:
  - #20 application/json URI scheme doesn't define a fragment construction =
(1 by cabo)
    https://github.com/ietf-wg-asdf/SDF/issues/20=20



Pull requests
-------------
* ietf-wg-asdf/SDF (+0/-1/=F0=9F=92=AC0)
  1 pull requests merged:
  - fix example for sdfRequired
    https://github.com/ietf-wg-asdf/SDF/pull/17=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/ietf-wg-asdf/SDF

--===============2536133023541198169==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (ASDF Activity Summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday March 07, 2021</h1>

<p>Events without label "editorial"</p>

<h2>Issues</h2>

<h3>ietf-wg-asdf/SDF (+1/-0/=F0=9F=92=AC1)</h3>
  <p class=3D"new">1 issues created:</p>
  <ul>
  <li>#20 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/20">applica=
tion/json URI scheme doesn&#x27;t define a fragment construction</a> (by mj=
koster) </li>
  </ul>

  <p>1 issues received 1 new comments:</p>
  <ul>
  <li>#20 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/20">applica=
tion/json URI scheme doesn&#x27;t define a fragment construction</a> (1 by =
cabo) </li>
  </ul>




<h2>Pull requests</h2>
<h3>ietf-wg-asdf/SDF (+0/-1/=F0=9F=92=AC0)</h3>


  <p>1 pull requests merged:</p>
  <ul>
  <li>#17 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/17">fix examp=
le for sdfRequired</a> </li>
  </ul>


<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/ietf-wg-asdf/SDF">https://github.com/ie=
tf-wg-asdf/SDF</a></li>
  </ul>
</body>
</html>

--===============2536133023541198169==--


From nobody Sun Mar  7 06:10:37 2021
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 2671E3A15E5 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 06:10:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 8yW_XDYWBLei for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 06:10:32 -0800 (PST)
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 DAC353A15E6 for <asdf@ietf.org>; Sun,  7 Mar 2021 06:10:31 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dtjzn1r9XzyTH; Sun,  7 Mar 2021 15:10:29 +0100 (CET)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 636819028.785707-16ba8202eb8f8dbe8df6e901a2cb0c79
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Sun, 7 Mar 2021 15:10:28 +0100
Message-Id: <3B71ECEA-D770-4F0E-B991-6ED2A30462C2@tzi.org>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/uM7o7mqlwASmfnKkPDzB2hse1Nw>
Subject: [Asdf] PR#21:  IANA considerations, fragment identifier syntax
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: Sun, 07 Mar 2021 14:10:35 -0000

I created a PR for various I-D nits.
One of them was a missing IANA considerations section, for which I added =
a proposal.
This also addresses issue #20, missing formal definition of fragment =
identifier syntax.

https://github.com/ietf-wg-asdf/SDF/pull/21

I=E2=80=99d like to have this merged by the close of the consensus call, =
so reviews are welcome.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Sun Mar  7 08:59:35 2021
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 7767F3A1943 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 08:59:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 qFTodzFMo2dV for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 08:59:29 -0800 (PST)
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 00E1B3A1942 for <asdf@ietf.org>; Sun,  7 Mar 2021 08:59:28 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dtnkk6QTyzyVg; Sun,  7 Mar 2021 17:59:26 +0100 (CET)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 636829166.406711-194c26c73220b58f7832e1702fb1fad5
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Sun, 7 Mar 2021 17:59:26 +0100
Message-Id: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/iOwaoCV9St3FNQ3ISXIHQKNOc68>
Subject: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 16:59:34 -0000

scaleMinimum and scaleMaximum have been part of the grammar from the =
start, but never were actually defined as to their semantics.

I have put in a PR with a proposed meaning:

https://github.com/ietf-wg-asdf/SDF/pull/22

=E2=9E=94 Is this the right semantics?

We currently don=E2=80=99t have models in the playground that use =
scalemin/max, but there are proposals in =
https://github.com/one-data-model/playground/pull/48

=E2=9E=94 Is this feature sufficiently stable to be in SDF 1.1?

Comments welcome.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Sun Mar  7 09:38:43 2021
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 AE8483A19DE for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 09:38:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 4JNsyEIMPk3Z for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 09:38:38 -0800 (PST)
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 8EECF3A19DD for <asdf@ietf.org>; Sun,  7 Mar 2021 09:38:38 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dtpbw5tDPzyRf; Sun,  7 Mar 2021 18:38:36 +0100 (CET)
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: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org>
Date: Sun, 7 Mar 2021 18:38:36 +0100
X-Mao-Original-Outgoing-Id: 636831516.185642-c7958004b1fce45e052be7f374a36e2b
Content-Transfer-Encoding: quoted-printable
Message-Id: <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/MDUdKFCapc_1FJnqk1_NfBhHFcM>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 17:38:42 -0000

>=20
> https://github.com/ietf-wg-asdf/SDF/pull/22
>=20
> =E2=9E=94 Is this the right semantics?

The weirdness that may make this text hard to understand is that the =
number given by minimum and maximum really is a data model level number =
(often a scale integer).  scaleMinimum and scaleMaximum tell you how to =
extract the information model level value (the actual value in the unit =
given) from that.

That is a bit backwards for a model that tries to be an information =
model.

But, more importantly, an ecosystem specific mapping may want to add =
information of this kind, and for this, it would be better if the =
converged SDF model were about the information model level.

So here is my plan for (at least some of the information in) mapping =
files:
(1) The mapping file can augment the converged SDF model with ecosystem =
specific information, such as the mapping from the abstract numbers =
describing a property or other affordance to platform specific data =
types.
(2) Some of these mappings are so universal (everybody agrees on them), =
we=E2=80=99d actually want to write them into the converged model.

I=E2=80=99d like to be able to use the same SDF qualities for (1) and =
for (2).

But scaleMinimum/Maximum are not good qualities to add after the fact in =
a mapping file (for (1)):  Only they tell you what range needs to be =
represented in a mapping.
So, really, scaleMinimum, scaleMaximum, and unit are the information =
model level qualities, and minimum and maximum as used by the definition =
in PR#22 degrade to mapping file (ecosystem-specific data model) level =
qualities.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Sun Mar  7 13:55:45 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 9550A3A1D93 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 13:55:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.843
X-Spam-Level: 
X-Spam-Status: No, score=-0.843 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, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, WEIRD_PORT=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 DMy-Hkxlf85z for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 13:55:42 -0800 (PST)
Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (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 03D3F3A1D92 for <asdf@ietf.org>; Sun,  7 Mar 2021 13:55:41 -0800 (PST)
Received: by mail-pg1-x536.google.com with SMTP id o10so5164113pgg.4 for <asdf@ietf.org>; Sun, 07 Mar 2021 13:55:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:mime-version:subject:date:references:to:in-reply-to:message-id;  bh=uv+rosrQy1N9+JuUPRDQk4bgNXxRkDK4O7oYqR5lGaY=; b=ai/CB3TsaqVwqZLJZcbA0uFEp3VsJQcoueYRrwutb2Uxj3U8S2ARKrS6BwU1TP63Q7 dbb+v/wgmY3S7Awj4T2iepgbpy29EjHjH3FMUXCcN4NmCHlPtqwTEj8oVXioaUdr783H o3mCoaWtdfaL/uvPMArQHJBqUhhJR2nfvlQs6miDvXByG/4lvz2cqy3JeduVFfKno6Zm jQgqdU13Nc8zCiQ3gJBdobxnduNHsf7I59up00ho878lmQ/NATAjd9fWVqo+nCLgMSf/ NdZQuFxRGpkQ/3j6lfQM/0G0EIFd4QUZ95lwFMhFpJDSM+qHuU2gGzk6LjYLJmj82VUm Otjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=uv+rosrQy1N9+JuUPRDQk4bgNXxRkDK4O7oYqR5lGaY=; b=c///OClL6R/ze/+ejHQdZ4NTCIuprM8Iy3gb7dBQX6XWQ7LbvpP8O+GOro/0e7BmqJ u3t0fQyc+jsXETPTZEek0jDboXrMAgUPf9cCBqdMXOJ07EE7zBShfG+xx+6DvxY7HaUz N0KI2Ew86Hi032kpwiigPwCFdkoBn9ErNnY6K2Hx8Q4kMs1dkIJ/6NY3yjN9UH7D9kfw Jtp+eSNnv2tWLbmpKgEbfJDXKcRG60h1bQRguCEk07uTnoxw/kcgK374B5cXPB3JjPhD EAGquwX2FnfDNt2NmsqaM0elpQV1iGhH9SPC0SmMlEFYWcHuqr3mBJNqXo2L5K7mV7KL sMEQ==
X-Gm-Message-State: AOAM5319FLQOb1YkJKMKsTDF57K4Jh2qBG+AcZlQQvaqevEX/ILJL4m/ UHnadR2df5lqtJQS/bf5sEkQDqXyGQJtqg==
X-Google-Smtp-Source: ABdhPJy+WWVnJ1S/Yli54LvAUZnVRTMVoysRKiC7Fz7QMCMKXlKak5sw+pZTZXgLf6iFQLxRMOsxvQ==
X-Received: by 2002:a63:2d45:: with SMTP id t66mr17305713pgt.449.1615154140850;  Sun, 07 Mar 2021 13:55:40 -0800 (PST)
Received: from [172.16.0.3] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id 9sm7645645pgy.79.2021.03.07.13.55.39 for <asdf@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 13:55:40 -0800 (PST)
From: Michael Koster <michaeljohnkoster@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A2D7C850-0D89-4F24-A0AB-1F0E5B190F52"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Sun, 7 Mar 2021 13:55:39 -0800
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org>
To: asdf@ietf.org
In-Reply-To: <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org>
Message-Id: <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/Tb94X5fN3oAjhwLoKq2_wySUT1I>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 21:55:45 -0000

--Apple-Mail=_A2D7C850-0D89-4F24-A0AB-1F0E5B190F52
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

The canonical example of the pattern being modeled here, is where the =
device represents a decimal scale using an integer with a fixed point =
multiplier e.g. 0.001 . In some cases, there is also an offset =
(added/subtracted).

This pattern is very common and really needs to be modeled in order to =
represent Zigbee and Modbus devices without making some hidden =
assumptions about every value that isn't a directly mapped integer. =
Without some way to describe the semantics of the information model, we =
can only describe the raw data model.

There are some other examples where this pattern can also be used to =
model conversion from one quantity to another e,g, Fahrenheit to =
Celsius.

I have looked at multiplier+offset schemes but these don't seem to be as =
clear as this pattern. This works well for the common use cases =
mentioned above.

To clarify how it works: There is a raw value or input value that has =
minimum, maximum, and multpleOf specified. There is a scaled or output =
value that has a scaleMmimum, scaleMaximum, and (engineering) unit. =
Sometimes this is called display value, or engineering value, etc.=20

The engineering unit is always associated with the scaled, or output, =
value when scaleMinimum and scaleMaximum are used. scaleMaximum might be =
used by itself if both scales are zero-based.

Other names for scaleMinimum and scaleMaximum might be unitMinimum and =
unitMaximum, engineeringValueMinimum, etc.=20

A couple more points of reference:

I have a Modbus PID controller that takes standard raw analog input =
scale values (4-20mA, 1-5V, etc) and converts them to "Engineering Data" =
using "Engineering Range Low Value" and "Engineering Range High Value". =
For example, if I want to map a 4-20 input to 700-1100 degrees celsius, =
I define Engineering Range Low Value =3D 700 and Engineering Range High =
Value =3D 1100, and the instrument then outputs "Engineering Data" to be =
displayed in Celsius, 4mA =3D 700C and 20mA =3D 1100C with linear =
interpolation in between.

Node-red has a standard "range" node that does the came calculation to =
map one numeric range to another. They call it input range and target =
range which is more generalized.

Map the input range:
 from:    to:=20
 to the target range:
 from:    to:=20

  Round result to the nearest integer?


So maybe we need to change the name of the qualities, or do a better job =
of explaining what it is for and how to use it.=20

I can write up the text we need for the md file.

PS
I also would like to be able to add scale information to SenML units, bc =
there is an information model loss when you have to say 120000 volts =
when you really want kV to be displayed, likewise .002 amperes when you =
want uA or mA to be displayed.

See my example modbus application for use case examples:
http://71.202.145.92:1880/#flow/590c69.67079398 =
<http://71.202.145.92:1880/#flow/590c69.67079398>
And an example node-red dashboard:
http://71.202.145.92:1880/ui <http://71.202.145.92:1880/ui>


> On Mar 7, 2021, at 9:38 AM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
>>=20
>> https://github.com/ietf-wg-asdf/SDF/pull/22
>>=20
>> =E2=9E=94 Is this the right semantics?
>=20
> The weirdness that may make this text hard to understand is that the =
number given by minimum and maximum really is a data model level number =
(often a scale integer).  scaleMinimum and scaleMaximum tell you how to =
extract the information model level value (the actual value in the unit =
given) from that.
>=20
> That is a bit backwards for a model that tries to be an information =
model.
>=20
> But, more importantly, an ecosystem specific mapping may want to add =
information of this kind, and for this, it would be better if the =
converged SDF model were about the information model level.
>=20
> So here is my plan for (at least some of the information in) mapping =
files:
> (1) The mapping file can augment the converged SDF model with =
ecosystem specific information, such as the mapping from the abstract =
numbers describing a property or other affordance to platform specific =
data types.
> (2) Some of these mappings are so universal (everybody agrees on =
them), we=E2=80=99d actually want to write them into the converged =
model.
>=20
> I=E2=80=99d like to be able to use the same SDF qualities for (1) and =
for (2).
>=20
> But scaleMinimum/Maximum are not good qualities to add after the fact =
in a mapping file (for (1)):  Only they tell you what range needs to be =
represented in a mapping.
> So, really, scaleMinimum, scaleMaximum, and unit are the information =
model level qualities, and minimum and maximum as used by the definition =
in PR#22 degrade to mapping file (ecosystem-specific data model) level =
qualities.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> --=20
> ASDF mailing list
> ASDF@ietf.org
> https://www.ietf.org/mailman/listinfo/asdf


--Apple-Mail=_A2D7C850-0D89-4F24-A0AB-1F0E5B190F52
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">The canonical example of the pattern being modeled here, is =
where the device represents a decimal scale using an integer with a =
fixed point multiplier e.g. 0.001 . In some cases, there is also an =
offset (added/subtracted).<div class=3D""><br class=3D""></div><div =
class=3D"">This pattern is very common and really needs to be modeled in =
order to represent Zigbee and Modbus devices without making some hidden =
assumptions about every value that isn't a directly mapped integer. =
Without some way to describe the semantics of the information model, we =
can only describe the raw data model.</div><div class=3D""><br =
class=3D""></div><div class=3D"">There are some other examples where =
this pattern can also be used to model conversion from one quantity to =
another e,g, Fahrenheit to Celsius.</div><div class=3D""><br =
class=3D""></div><div class=3D"">I have looked at multiplier+offset =
schemes but these don't seem to be as clear as this pattern. This works =
well for the common use cases mentioned above.</div><div class=3D""><br =
class=3D""></div><div class=3D"">To clarify how it works: There is a raw =
value or input value that has minimum, maximum, and multpleOf specified. =
There is a scaled or output value that has a scaleMmimum, scaleMaximum, =
and (engineering) unit. Sometimes this is called display value, or =
engineering value, etc.&nbsp;</div><div class=3D""><br =
class=3D""></div><div class=3D"">The engineering unit is always =
associated with the scaled, or output, value when scaleMinimum and =
scaleMaximum are used. scaleMaximum might be used by itself if both =
scales are zero-based.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Other names for scaleMinimum and scaleMaximum might be =
unitMinimum and unitMaximum, engineeringValueMinimum, =
etc.&nbsp;</div><div class=3D""><br class=3D""></div><div class=3D"">A =
couple more points of reference:</div><div class=3D""><br =
class=3D""></div><div class=3D"">I have a Modbus PID controller that =
takes standard raw analog input scale values (4-20mA, 1-5V, etc) and =
converts them to "Engineering Data" using "Engineering Range Low Value" =
and "Engineering Range High Value". For example, if I want to map a 4-20 =
input to 700-1100 degrees celsius, I define Engineering Range Low Value =
=3D 700 and Engineering Range High Value =3D 1100, and the instrument =
then outputs "Engineering Data" to be displayed in Celsius, 4mA =3D 700C =
and 20mA =3D 1100C with linear interpolation in between.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Node-red has a standard =
"range" node that does the came calculation to map one numeric range to =
another. They call it input range and target range which is more =
generalized.</div><div class=3D""><br class=3D""></div><div =
class=3D""><div class=3D"form-row" style=3D"clear: both; color: rgb(85, =
85, 85); margin-bottom: 12px; font-family: 'Helvetica Neue', Arial, =
Helvetica, sans-serif; font-size: 14px; font-variant-ligatures: normal; =
orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span =
data-i18n=3D"node-red:range.label.inputrange" class=3D"">Map the input =
range</span>:</div><div class=3D"form-row" style=3D"clear: both; color: =
rgb(85, 85, 85); margin-bottom: 12px; font-family: 'Helvetica Neue', =
Arial, Helvetica, sans-serif; font-size: 14px; font-variant-ligatures: =
normal; orphans: 2; widows: 2; background-color: rgb(255, 255, =
255);"><label style=3D"cursor: pointer; line-height: 20px; display: =
inline-block; margin-bottom: 5px; width: 100px;" =
class=3D""></label>&nbsp;<span data-i18n=3D"node-red:range.label.from" =
class=3D"">from</span>:&nbsp;<input type=3D"text" id=3D"node-input-minin" =
data-i18n=3D"[placeholder]node-red:range.placeholder.min" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 0" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D"">&nbsp;&nbsp;&nbsp;<span =
data-i18n=3D"node-red:range.label.to" class=3D"">to</span>:&nbsp;<input =
type=3D"text" id=3D"node-input-maxin" =
data-i18n=3D"[placeholder]node-red:range.placeholder.maxin" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 99" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D""></div><div class=3D"form-row" =
style=3D"clear: both; color: rgb(85, 85, 85); margin-bottom: 12px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: =
14px; font-variant-ligatures: normal; orphans: 2; widows: 2; =
background-color: rgb(255, 255, 255);"><span class=3D"fa fa-sign-out" =
style=3D"display: inline-block; font-variant-ligatures: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-stretch: normal; line-height: 1; font-family: FontAwesome; =
font-size: inherit; text-rendering: auto; -webkit-font-smoothing: =
antialiased;"></span>&nbsp;<span =
data-i18n=3D"node-red:range.label.resultrange" class=3D"">to the target =
range</span>:</div><div class=3D"form-row" style=3D"clear: both; color: =
rgb(85, 85, 85); margin-bottom: 12px; font-family: 'Helvetica Neue', =
Arial, Helvetica, sans-serif; font-size: 14px; font-variant-ligatures: =
normal; orphans: 2; widows: 2; background-color: rgb(255, 255, =
255);"><label style=3D"cursor: pointer; line-height: 20px; display: =
inline-block; margin-bottom: 5px; width: 100px;" =
class=3D""></label>&nbsp;<span data-i18n=3D"node-red:range.label.from" =
class=3D"">from</span>:&nbsp;<input type=3D"text" id=3D"node-input-minout"=
 data-i18n=3D"[placeholder]node-red:range.placeholder.min" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 0" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D"">&nbsp;&nbsp;&nbsp;<span =
data-i18n=3D"node-red:range.label.to" class=3D"">to</span>:&nbsp;<input =
type=3D"text" id=3D"node-input-maxout" =
data-i18n=3D"[placeholder]node-red:range.placeholder.maxout" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 255" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D""></div><br style=3D"color: =
rgb(85, 85, 85); font-family: 'Helvetica Neue', Arial, Helvetica, =
sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; =
widows: 2; background-color: rgb(255, 255, 255);" class=3D""><div =
class=3D"form-row" style=3D"clear: both; color: rgb(85, 85, 85); =
margin-bottom: 12px; font-family: 'Helvetica Neue', Arial, Helvetica, =
sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; =
widows: 2; background-color: rgb(255, 255, 255);"><label style=3D"cursor: =
pointer; line-height: 20px; display: inline-block; margin-bottom: 5px; =
width: 100px;" class=3D""></label>&nbsp;<input type=3D"checkbox" =
id=3D"node-input-round" autocomplete=3D"off" style=3D"margin: 4px 0px =
0px; font-size: 14px; vertical-align: top; font-family: 'Helvetica =
Neue', Arial, Helvetica, sans-serif; width: auto; cursor: pointer;" =
class=3D"">&nbsp;<label for=3D"node-input-round" style=3D"cursor: =
pointer; line-height: 20px; display: inline-block; margin-bottom: 5px; =
width: auto;" class=3D""><span =
data-i18n=3D"node-red:range.label.roundresult" class=3D"">Round result =
to the nearest integer?</span></label></div></div><div class=3D""><label =
for=3D"node-input-round" style=3D"cursor: pointer; line-height: 20px; =
display: inline-block; margin-bottom: 5px; width: auto;" class=3D""><span =
data-i18n=3D"node-red:range.label.roundresult" class=3D""><br =
class=3D""></span></label></div><div class=3D""><br class=3D""></div><div =
class=3D"">So maybe we need to change the name of the qualities, or do a =
better job of explaining what it is for and how to use =
it.&nbsp;</div><div class=3D""><br class=3D""></div><div class=3D"">I =
can write up the text we need for the md file.</div><div class=3D""><br =
class=3D""></div><div class=3D"">PS</div><div class=3D"">I also would =
like to be able to add scale information to SenML units, bc there is an =
information model loss when you have to say 120000 volts when you really =
want kV to be displayed, likewise .002 amperes when you want uA or mA to =
be displayed.</div><div class=3D""><br class=3D""></div><div =
class=3D"">See my example modbus application for use case =
examples:</div><div class=3D""><a rel=3D"nofollow" =
href=3D"http://71.202.145.92:1880/#flow/590c69.67079398" =
style=3D"box-sizing: border-box; background-color: rgb(255, 255, 255); =
color: var(--color-text-link); text-decoration: none; =
font-variant-ligatures: normal; orphans: 2; widows: 2;" =
class=3D"">http://71.202.145.92:1880/#flow/590c69.67079398</a><br =
style=3D"box-sizing: border-box; color: rgb(36, 41, 46); =
font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"color: rgb(36, 41, 46); =
font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: =
rgb(255, 255, 255);" class=3D"">And an example node-red =
dashboard:</span><br style=3D"box-sizing: border-box; color: rgb(36, 41, =
46); font-variant-ligatures: normal; orphans: 2; widows: 2; =
background-color: rgb(255, 255, 255);" class=3D""><a rel=3D"nofollow" =
href=3D"http://71.202.145.92:1880/ui" style=3D"box-sizing: border-box; =
background-color: rgb(255, 255, 255); color: var(--color-text-link); =
text-decoration: none; font-variant-ligatures: normal; orphans: 2; =
widows: 2;" class=3D"">http://71.202.145.92:1880/ui</a></div><div =
class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Mar 7, 2021, at 9:38 AM, Carsten Bormann &lt;<a =
href=3D"mailto:cabo@tzi.org" class=3D"">cabo@tzi.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><a =
href=3D"https://github.com/ietf-wg-asdf/SDF/pull/22" =
class=3D"">https://github.com/ietf-wg-asdf/SDF/pull/22</a><br =
class=3D""><br class=3D"">=E2=9E=94 Is this the right semantics?<br =
class=3D""></blockquote><br class=3D"">The weirdness that may make this =
text hard to understand is that the number given by minimum and maximum =
really is a data model level number (often a scale integer). =
&nbsp;scaleMinimum and scaleMaximum tell you how to extract the =
information model level value (the actual value in the unit given) from =
that.<br class=3D""><br class=3D"">That is a bit backwards for a model =
that tries to be an information model.<br class=3D""><br class=3D"">But, =
more importantly, an ecosystem specific mapping may want to add =
information of this kind, and for this, it would be better if the =
converged SDF model were about the information model level.<br =
class=3D""><br class=3D"">So here is my plan for (at least some of the =
information in) mapping files:<br class=3D"">(1) The mapping file can =
augment the converged SDF model with ecosystem specific information, =
such as the mapping from the abstract numbers describing a property or =
other affordance to platform specific data types.<br class=3D"">(2) Some =
of these mappings are so universal (everybody agrees on them), we=E2=80=99=
d actually want to write them into the converged model.<br class=3D""><br =
class=3D"">I=E2=80=99d like to be able to use the same SDF qualities for =
(1) and for (2).<br class=3D""><br class=3D"">But scaleMinimum/Maximum =
are not good qualities to add after the fact in a mapping file (for =
(1)): &nbsp;Only they tell you what range needs to be represented in a =
mapping.<br class=3D"">So, really, scaleMinimum, scaleMaximum, and unit =
are the information model level qualities, and minimum and maximum as =
used by the definition in PR#22 degrade to mapping file =
(ecosystem-specific data model) level qualities.<br class=3D""><br =
class=3D"">Gr=C3=BC=C3=9Fe, Carsten<br class=3D""><br class=3D"">-- <br =
class=3D"">ASDF mailing list<br class=3D""><a =
href=3D"mailto:ASDF@ietf.org" class=3D"">ASDF@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/asdf<br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_A2D7C850-0D89-4F24-A0AB-1F0E5B190F52--


From nobody Sun Mar  7 14:14:35 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 5325C3A1DD5 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:14:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.843
X-Spam-Level: 
X-Spam-Status: No, score=-0.843 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, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, WEIRD_PORT=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 zb0Haay_99v3 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:14:32 -0800 (PST)
Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (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 15A1B3A1DD2 for <asdf@ietf.org>; Sun,  7 Mar 2021 14:14:32 -0800 (PST)
Received: by mail-pg1-x531.google.com with SMTP id t26so5175684pgv.3 for <asdf@ietf.org>; Sun, 07 Mar 2021 14:14:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:mime-version:subject:date:references:to:in-reply-to:message-id;  bh=sRQJn24SHZcpbTsTEEvDoq0Fk9h2+4uXnmJgcHqm79E=; b=IF8jPXJLhr+eUhhJXxvZtfNLpWE/3OAvXa49zccvJNNZazFtR06zMMLKcgEmUFXjIc Y4I7V+nmoEKvcA1HDR8MwH19ShT7K9UpURUz5DG6+7+m/7+tMXitMC6jCfPiPrOP8Nzi UboqrGjnYB5lTpXgQ6kSzKng8Vq2fbQ1A/3JEyZx7uWeH6yeUpSItXoZNfCXO6cfmKU0 iAV6G7rNG7Q5xgrxz/iKutuh1cxdtWndNFOI/tO9AlSvIrAYBKDO3hLQ93Gs179FghB5 jEJa/XDzxio+RI9vuQ51Cu/4BrtfhZ2EJ88DTy+zi8VmqqSxRFoQ5j0qPDH9ZMmgAmnU 9rrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=sRQJn24SHZcpbTsTEEvDoq0Fk9h2+4uXnmJgcHqm79E=; b=NbUprBLniGr6mnXQWKaTZJTaveM3gp2gzKa5bhadkBFYn06TrRgU3sQM4fpBUbD1mj qavITEaDu6jg+cUUdk7dNBmXuYt2r/Dq73lxzsBesWKvQPAS3M6ukpnWEKw70fJTMCg+ ggOUdGddKEg6dG4JSTGDepoLHEMw4iyzu1XV+iWMMq2xW61nzLSIXO4C+yW+kKel2q/g MjgWLep3zX3gOuU53eUXrxLtlpICnjs17arsOrvV2Qvpcukcs2XiIRQUXiXtk+bApfsr UV2hsKFz6oobZQo/JvXqGON9H9j/810qRrVz4qeBoRGA/3HizhruJZbDhATLra4GEq3Q oOmg==
X-Gm-Message-State: AOAM533MlRYPSZQhAs1sPqX1TG1zDnP2npSZQ5kXRDOtvpXQ/tN6bp7G RKLE5h7+UOME9mdjZT3zpqSCuNiXsd5IpA==
X-Google-Smtp-Source: ABdhPJxT10nyXfGlMW0uG5m2myn8EQgc3D4UQa4WU73peZxi8dpONJ5Ck33a/7XvylpZ/wJvjG4HkQ==
X-Received: by 2002:a63:440d:: with SMTP id r13mr17333907pga.377.1615155270478;  Sun, 07 Mar 2021 14:14:30 -0800 (PST)
Received: from [172.16.0.3] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id l15sm8336333pjq.9.2021.03.07.14.14.29 for <asdf@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 14:14:30 -0800 (PST)
From: Michael Koster <michaeljohnkoster@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_D60347E2-30A8-4287-AD15-AF28B27D7920"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Sun, 7 Mar 2021 14:14:28 -0800
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com>
To: asdf@ietf.org
In-Reply-To: <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com>
Message-Id: <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/AATXo8v1nB7XIvXaUkLGhJqdsms>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 22:14:34 -0000

--Apple-Mail=_D60347E2-30A8-4287-AD15-AF28B27D7920
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Another point to be made here, is that all of these constraints are =
usually applied in the binding, when the SDF model is mapped to an =
implementation. In the base model we might only indicate number and that =
it is a Voltage unit, the assignment of raw values *and* scaled values =
are done in the binding.

@carsten, I think there is some question about using "multipleOf=3D1" =
instead of "integer". One generalization of the formula uses the =
multipleOf value, so if you say "integer" it would need to map that to =
multipleOf=3D1 anyway. I think we need to handle both forms in the =
tools. Is there a best practice, independent of case by case sensbility?

Best regards,

Michael

> On Mar 7, 2021, at 1:55 PM, Michael Koster =
<michaeljohnkoster@gmail.com> wrote:
>=20
> The canonical example of the pattern being modeled here, is where the =
device represents a decimal scale using an integer with a fixed point =
multiplier e.g. 0.001 . In some cases, there is also an offset =
(added/subtracted).
>=20
> This pattern is very common and really needs to be modeled in order to =
represent Zigbee and Modbus devices without making some hidden =
assumptions about every value that isn't a directly mapped integer. =
Without some way to describe the semantics of the information model, we =
can only describe the raw data model.
>=20
> There are some other examples where this pattern can also be used to =
model conversion from one quantity to another e,g, Fahrenheit to =
Celsius.
>=20
> I have looked at multiplier+offset schemes but these don't seem to be =
as clear as this pattern. This works well for the common use cases =
mentioned above.
>=20
> To clarify how it works: There is a raw value or input value that has =
minimum, maximum, and multpleOf specified. There is a scaled or output =
value that has a scaleMmimum, scaleMaximum, and (engineering) unit. =
Sometimes this is called display value, or engineering value, etc.=20
>=20
> The engineering unit is always associated with the scaled, or output, =
value when scaleMinimum and scaleMaximum are used. scaleMaximum might be =
used by itself if both scales are zero-based.
>=20
> Other names for scaleMinimum and scaleMaximum might be unitMinimum and =
unitMaximum, engineeringValueMinimum, etc.=20
>=20
> A couple more points of reference:
>=20
> I have a Modbus PID controller that takes standard raw analog input =
scale values (4-20mA, 1-5V, etc) and converts them to "Engineering Data" =
using "Engineering Range Low Value" and "Engineering Range High Value". =
For example, if I want to map a 4-20 input to 700-1100 degrees celsius, =
I define Engineering Range Low Value =3D 700 and Engineering Range High =
Value =3D 1100, and the instrument then outputs "Engineering Data" to be =
displayed in Celsius, 4mA =3D 700C and 20mA =3D 1100C with linear =
interpolation in between.
>=20
> Node-red has a standard "range" node that does the came calculation to =
map one numeric range to another. They call it input range and target =
range which is more generalized.
>=20
> Map the input range:
>  from:    to:=20
>  to the target range:
>  from:    to:=20
>=20
>   Round result to the nearest integer?
>=20
>=20
> So maybe we need to change the name of the qualities, or do a better =
job of explaining what it is for and how to use it.=20
>=20
> I can write up the text we need for the md file.
>=20
> PS
> I also would like to be able to add scale information to SenML units, =
bc there is an information model loss when you have to say 120000 volts =
when you really want kV to be displayed, likewise .002 amperes when you =
want uA or mA to be displayed.
>=20
> See my example modbus application for use case examples:
> http://71.202.145.92:1880/#flow/590c69.67079398 =
<http://71.202.145.92:1880/#flow/590c69.67079398>
> And an example node-red dashboard:
> http://71.202.145.92:1880/ui <http://71.202.145.92:1880/ui>
>=20
>=20
>> On Mar 7, 2021, at 9:38 AM, Carsten Bormann <cabo@tzi.org =
<mailto:cabo@tzi.org>> wrote:
>>=20
>>>=20
>>> https://github.com/ietf-wg-asdf/SDF/pull/22 =
<https://github.com/ietf-wg-asdf/SDF/pull/22>
>>>=20
>>> =E2=9E=94 Is this the right semantics?
>>=20
>> The weirdness that may make this text hard to understand is that the =
number given by minimum and maximum really is a data model level number =
(often a scale integer).  scaleMinimum and scaleMaximum tell you how to =
extract the information model level value (the actual value in the unit =
given) from that.
>>=20
>> That is a bit backwards for a model that tries to be an information =
model.
>>=20
>> But, more importantly, an ecosystem specific mapping may want to add =
information of this kind, and for this, it would be better if the =
converged SDF model were about the information model level.
>>=20
>> So here is my plan for (at least some of the information in) mapping =
files:
>> (1) The mapping file can augment the converged SDF model with =
ecosystem specific information, such as the mapping from the abstract =
numbers describing a property or other affordance to platform specific =
data types.
>> (2) Some of these mappings are so universal (everybody agrees on =
them), we=E2=80=99d actually want to write them into the converged =
model.
>>=20
>> I=E2=80=99d like to be able to use the same SDF qualities for (1) and =
for (2).
>>=20
>> But scaleMinimum/Maximum are not good qualities to add after the fact =
in a mapping file (for (1)):  Only they tell you what range needs to be =
represented in a mapping.
>> So, really, scaleMinimum, scaleMaximum, and unit are the information =
model level qualities, and minimum and maximum as used by the definition =
in PR#22 degrade to mapping file (ecosystem-specific data model) level =
qualities.
>>=20
>> Gr=C3=BC=C3=9Fe, Carsten
>>=20
>> --=20
>> ASDF mailing list
>> ASDF@ietf.org <mailto:ASDF@ietf.org>
>> https://www.ietf.org/mailman/listinfo/asdf
>=20


--Apple-Mail=_D60347E2-30A8-4287-AD15-AF28B27D7920
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Another point to be made here, is that all of these =
constraints are usually applied in the binding, when the SDF model is =
mapped to an implementation. In the base model we might only indicate =
number and that it is a Voltage unit, the assignment of raw values *and* =
scaled values are done in the binding.<div class=3D""><br =
class=3D""></div><div class=3D"">@carsten, I think there is some =
question about using "multipleOf=3D1" instead of "integer". One =
generalization of the formula uses the multipleOf value, so if you say =
"integer" it would need to map that to multipleOf=3D1 anyway. I think we =
need to handle both forms in the tools. Is there a best practice, =
independent of case by case sensbility?</div><div class=3D""><br =
class=3D""></div><div class=3D"">Best regards,</div><div class=3D""><br =
class=3D""></div><div class=3D"">Michael</div><div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Mar 7, 2021, at 1:55 PM, Michael Koster &lt;<a =
href=3D"mailto:michaeljohnkoster@gmail.com" =
class=3D"">michaeljohnkoster@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html charset=3Dutf-8" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space;" class=3D"">The canonical =
example of the pattern being modeled here, is where the device =
represents a decimal scale using an integer with a fixed point =
multiplier e.g. 0.001 . In some cases, there is also an offset =
(added/subtracted).<div class=3D""><br class=3D""></div><div =
class=3D"">This pattern is very common and really needs to be modeled in =
order to represent Zigbee and Modbus devices without making some hidden =
assumptions about every value that isn't a directly mapped integer. =
Without some way to describe the semantics of the information model, we =
can only describe the raw data model.</div><div class=3D""><br =
class=3D""></div><div class=3D"">There are some other examples where =
this pattern can also be used to model conversion from one quantity to =
another e,g, Fahrenheit to Celsius.</div><div class=3D""><br =
class=3D""></div><div class=3D"">I have looked at multiplier+offset =
schemes but these don't seem to be as clear as this pattern. This works =
well for the common use cases mentioned above.</div><div class=3D""><br =
class=3D""></div><div class=3D"">To clarify how it works: There is a raw =
value or input value that has minimum, maximum, and multpleOf specified. =
There is a scaled or output value that has a scaleMmimum, scaleMaximum, =
and (engineering) unit. Sometimes this is called display value, or =
engineering value, etc.&nbsp;</div><div class=3D""><br =
class=3D""></div><div class=3D"">The engineering unit is always =
associated with the scaled, or output, value when scaleMinimum and =
scaleMaximum are used. scaleMaximum might be used by itself if both =
scales are zero-based.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Other names for scaleMinimum and scaleMaximum might be =
unitMinimum and unitMaximum, engineeringValueMinimum, =
etc.&nbsp;</div><div class=3D""><br class=3D""></div><div class=3D"">A =
couple more points of reference:</div><div class=3D""><br =
class=3D""></div><div class=3D"">I have a Modbus PID controller that =
takes standard raw analog input scale values (4-20mA, 1-5V, etc) and =
converts them to "Engineering Data" using "Engineering Range Low Value" =
and "Engineering Range High Value". For example, if I want to map a 4-20 =
input to 700-1100 degrees celsius, I define Engineering Range Low Value =
=3D 700 and Engineering Range High Value =3D 1100, and the instrument =
then outputs "Engineering Data" to be displayed in Celsius, 4mA =3D 700C =
and 20mA =3D 1100C with linear interpolation in between.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Node-red has a standard =
"range" node that does the came calculation to map one numeric range to =
another. They call it input range and target range which is more =
generalized.</div><div class=3D""><br class=3D""></div><div =
class=3D""><div class=3D"form-row" style=3D"clear: both; color: rgb(85, =
85, 85); margin-bottom: 12px; font-family: 'Helvetica Neue', Arial, =
Helvetica, sans-serif; font-size: 14px; font-variant-ligatures: normal; =
orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span =
data-i18n=3D"node-red:range.label.inputrange" class=3D"">Map the input =
range</span>:</div><div class=3D"form-row" style=3D"clear: both; color: =
rgb(85, 85, 85); margin-bottom: 12px; font-family: 'Helvetica Neue', =
Arial, Helvetica, sans-serif; font-size: 14px; font-variant-ligatures: =
normal; orphans: 2; widows: 2; background-color: rgb(255, 255, =
255);"><label style=3D"cursor: pointer; line-height: 20px; display: =
inline-block; margin-bottom: 5px; width: 100px;" =
class=3D""></label>&nbsp;<span data-i18n=3D"node-red:range.label.from" =
class=3D"">from</span>:&nbsp;<input type=3D"text" id=3D"node-input-minin" =
data-i18n=3D"[placeholder]node-red:range.placeholder.min" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 0" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D"">&nbsp;&nbsp;&nbsp;<span =
data-i18n=3D"node-red:range.label.to" class=3D"">to</span>:&nbsp;<input =
type=3D"text" id=3D"node-input-maxin" =
data-i18n=3D"[placeholder]node-red:range.placeholder.maxin" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 99" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D""></div><div class=3D"form-row" =
style=3D"clear: both; color: rgb(85, 85, 85); margin-bottom: 12px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; font-size: =
14px; font-variant-ligatures: normal; orphans: 2; widows: 2; =
background-color: rgb(255, 255, 255);"><span class=3D"fa fa-sign-out" =
style=3D"display: inline-block; font-variant-ligatures: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-stretch: normal; line-height: 1; font-family: FontAwesome; =
font-size: inherit; text-rendering: auto; -webkit-font-smoothing: =
antialiased;"></span>&nbsp;<span =
data-i18n=3D"node-red:range.label.resultrange" class=3D"">to the target =
range</span>:</div><div class=3D"form-row" style=3D"clear: both; color: =
rgb(85, 85, 85); margin-bottom: 12px; font-family: 'Helvetica Neue', =
Arial, Helvetica, sans-serif; font-size: 14px; font-variant-ligatures: =
normal; orphans: 2; widows: 2; background-color: rgb(255, 255, =
255);"><label style=3D"cursor: pointer; line-height: 20px; display: =
inline-block; margin-bottom: 5px; width: 100px;" =
class=3D""></label>&nbsp;<span data-i18n=3D"node-red:range.label.from" =
class=3D"">from</span>:&nbsp;<input type=3D"text" id=3D"node-input-minout"=
 data-i18n=3D"[placeholder]node-red:range.placeholder.min" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 0" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D"">&nbsp;&nbsp;&nbsp;<span =
data-i18n=3D"node-red:range.label.to" class=3D"">to</span>:&nbsp;<input =
type=3D"text" id=3D"node-input-maxout" =
data-i18n=3D"[placeholder]node-red:range.placeholder.maxout" =
autocomplete=3D"off" dir=3D"" placeholder=3D"e.g. 255" style=3D"margin: =
0px; font-size: 14px; vertical-align: middle; line-height: 20px; =
font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; width: =
100px; height: 34px; padding: 6px; color: rgb(85, 85, 85); =
border-top-left-radius: 4px; border-top-right-radius: 4px; =
border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; border: =
1px solid rgb(204, 204, 204);" class=3D""></div><br style=3D"color: =
rgb(85, 85, 85); font-family: 'Helvetica Neue', Arial, Helvetica, =
sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; =
widows: 2; background-color: rgb(255, 255, 255);" class=3D""><div =
class=3D"form-row" style=3D"clear: both; color: rgb(85, 85, 85); =
margin-bottom: 12px; font-family: 'Helvetica Neue', Arial, Helvetica, =
sans-serif; font-size: 14px; font-variant-ligatures: normal; orphans: 2; =
widows: 2; background-color: rgb(255, 255, 255);"><label style=3D"cursor: =
pointer; line-height: 20px; display: inline-block; margin-bottom: 5px; =
width: 100px;" class=3D""></label>&nbsp;<input type=3D"checkbox" =
id=3D"node-input-round" autocomplete=3D"off" style=3D"margin: 4px 0px =
0px; font-size: 14px; vertical-align: top; font-family: 'Helvetica =
Neue', Arial, Helvetica, sans-serif; width: auto; cursor: pointer;" =
class=3D"">&nbsp;<label for=3D"node-input-round" style=3D"cursor: =
pointer; line-height: 20px; display: inline-block; margin-bottom: 5px; =
width: auto;" class=3D""><span =
data-i18n=3D"node-red:range.label.roundresult" class=3D"">Round result =
to the nearest integer?</span></label></div></div><div class=3D""><label =
for=3D"node-input-round" style=3D"cursor: pointer; line-height: 20px; =
display: inline-block; margin-bottom: 5px; width: auto;" class=3D""><span =
data-i18n=3D"node-red:range.label.roundresult" class=3D""><br =
class=3D""></span></label></div><div class=3D""><br class=3D""></div><div =
class=3D"">So maybe we need to change the name of the qualities, or do a =
better job of explaining what it is for and how to use =
it.&nbsp;</div><div class=3D""><br class=3D""></div><div class=3D"">I =
can write up the text we need for the md file.</div><div class=3D""><br =
class=3D""></div><div class=3D"">PS</div><div class=3D"">I also would =
like to be able to add scale information to SenML units, bc there is an =
information model loss when you have to say 120000 volts when you really =
want kV to be displayed, likewise .002 amperes when you want uA or mA to =
be displayed.</div><div class=3D""><br class=3D""></div><div =
class=3D"">See my example modbus application for use case =
examples:</div><div class=3D""><a rel=3D"nofollow" =
href=3D"http://71.202.145.92:1880/#flow/590c69.67079398" =
style=3D"box-sizing: border-box; background-color: rgb(255, 255, 255); =
color: var(--color-text-link); text-decoration: none; =
font-variant-ligatures: normal; orphans: 2; widows: 2;" =
class=3D"">http://71.202.145.92:1880/#flow/590c69.67079398</a><br =
style=3D"box-sizing: border-box; color: rgb(36, 41, 46); =
font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: =
rgb(255, 255, 255);" class=3D""><span style=3D"color: rgb(36, 41, 46); =
font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: =
rgb(255, 255, 255);" class=3D"">And an example node-red =
dashboard:</span><br style=3D"box-sizing: border-box; color: rgb(36, 41, =
46); font-variant-ligatures: normal; orphans: 2; widows: 2; =
background-color: rgb(255, 255, 255);" class=3D""><a rel=3D"nofollow" =
href=3D"http://71.202.145.92:1880/ui" style=3D"box-sizing: border-box; =
background-color: rgb(255, 255, 255); color: var(--color-text-link); =
text-decoration: none; font-variant-ligatures: normal; orphans: 2; =
widows: 2;" class=3D"">http://71.202.145.92:1880/ui</a></div><div =
class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Mar 7, 2021, at 9:38 AM, Carsten Bormann &lt;<a =
href=3D"mailto:cabo@tzi.org" class=3D"">cabo@tzi.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><a =
href=3D"https://github.com/ietf-wg-asdf/SDF/pull/22" =
class=3D"">https://github.com/ietf-wg-asdf/SDF/pull/22</a><br =
class=3D""><br class=3D"">=E2=9E=94 Is this the right semantics?<br =
class=3D""></blockquote><br class=3D"">The weirdness that may make this =
text hard to understand is that the number given by minimum and maximum =
really is a data model level number (often a scale integer). =
&nbsp;scaleMinimum and scaleMaximum tell you how to extract the =
information model level value (the actual value in the unit given) from =
that.<br class=3D""><br class=3D"">That is a bit backwards for a model =
that tries to be an information model.<br class=3D""><br class=3D"">But, =
more importantly, an ecosystem specific mapping may want to add =
information of this kind, and for this, it would be better if the =
converged SDF model were about the information model level.<br =
class=3D""><br class=3D"">So here is my plan for (at least some of the =
information in) mapping files:<br class=3D"">(1) The mapping file can =
augment the converged SDF model with ecosystem specific information, =
such as the mapping from the abstract numbers describing a property or =
other affordance to platform specific data types.<br class=3D"">(2) Some =
of these mappings are so universal (everybody agrees on them), we=E2=80=99=
d actually want to write them into the converged model.<br class=3D""><br =
class=3D"">I=E2=80=99d like to be able to use the same SDF qualities for =
(1) and for (2).<br class=3D""><br class=3D"">But scaleMinimum/Maximum =
are not good qualities to add after the fact in a mapping file (for =
(1)): &nbsp;Only they tell you what range needs to be represented in a =
mapping.<br class=3D"">So, really, scaleMinimum, scaleMaximum, and unit =
are the information model level qualities, and minimum and maximum as =
used by the definition in PR#22 degrade to mapping file =
(ecosystem-specific data model) level qualities.<br class=3D""><br =
class=3D"">Gr=C3=BC=C3=9Fe, Carsten<br class=3D""><br class=3D"">-- <br =
class=3D"">ASDF mailing list<br class=3D""><a =
href=3D"mailto:ASDF@ietf.org" class=3D"">ASDF@ietf.org</a><br =
class=3D""><a href=3D"https://www.ietf.org/mailman/listinfo/asdf" =
class=3D"">https://www.ietf.org/mailman/listinfo/asdf</a><br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_D60347E2-30A8-4287-AD15-AF28B27D7920--


From nobody Sun Mar  7 14:21:52 2021
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 90C0B3A1DED for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:21:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 YU7om3dvHlna for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:21:47 -0800 (PST)
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 629B13A1DEC for <asdf@ietf.org>; Sun,  7 Mar 2021 14:21:47 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dtwtd0h03zyYr; Sun,  7 Mar 2021 23:21:45 +0100 (CET)
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: <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com>
Date: Sun, 7 Mar 2021 23:21:44 +0100
Cc: asdf@ietf.org
X-Mao-Original-Outgoing-Id: 636848504.495149-170cd58d5a484a898fb973b940fe3768
Content-Transfer-Encoding: quoted-printable
Message-Id: <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/lQ7MOka02TeiREdpke3yX_O1rPo>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 22:21:51 -0000

On 2021-03-07, at 23:14, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>=20
> @carsten, I think there is some question about using "multipleOf=3D1" =
instead of "integer". One generalization of the formula uses the =
multipleOf value, so if you say "integer" it would need to map that to =
multipleOf=3D1 anyway. I think we need to handle both forms in the =
tools. Is there a best practice, independent of case by case sensbility?

Let=E2=80=99s do this one first, because it is easy :-)

In many cases, the whole point of the scaling is to go to integer data =
items.
In that case, simply saying that makes more sense to me.

If there is some application semantics to the multipleOf, of course go =
for it.

Gr=C3=BC=C3=9Fe, Carsten



From nobody Sun Mar  7 14:26:34 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 538953A1DFC for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:26:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, 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 BuazuTLKaEHn for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:26:30 -0800 (PST)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 977E23A1DFB for <asdf@ietf.org>; Sun,  7 Mar 2021 14:26:30 -0800 (PST)
Received: by mail-pj1-x102b.google.com with SMTP id q2-20020a17090a2e02b02900bee668844dso1917031pjd.3 for <asdf@ietf.org>; Sun, 07 Mar 2021 14:26:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=DBW+IH1I8aDdIavOeF1/IEx+xw0AI0ZHO2TnCrDzFTs=; b=SVOabvacZbqeEEMexxaP5ZGeYQsBxYmuujjQ+FHFCH7pVGzhuyQkHjQTiI4TPsisCY j89gWijLxwq1mHgykfUhpIPfKdV5Uy0dGGye8fu3t1pulcGUgzl0Lm5n+PsrHRySSN1I kduB68EPUFTkgERxEwf1Opt7D5vkePuF4rIj3c+c8GB8KsRIVGRfp0tSPoDi0k0HgGSd RAQ8ifJKiufxLBe2N4iTpYPx444TCINxMWwqS9iYl0HeI5CVZNqx3GnNRIGNS34B51FV DkDE0sFfVdIQYk/dnjmn2yzkl0D0M4X9r93758y5BA+c2iK1D532DUDCNee7J62FibVD +iag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=DBW+IH1I8aDdIavOeF1/IEx+xw0AI0ZHO2TnCrDzFTs=; b=PKIfFCBktR0JN/XI/9qj+qIA/0f0a2/ex8IX204QCb/xUeCy+2Z9yu8XDzON9bO8EP xV9O+fZkBJaI/+8fFjfLJbTP2uEVOyHwq2pRHVgIPHyazVmUzLrrLUhrashsyh4V3avt MgIoAMxCgegk4/UQqOZ227NUTrh4uNhsbHCmV4T9+rkR7KWjyLxEhZGdVk+320ctgzCs /vbTpk/MlOskneiFQ/1fqlb2y13L2lI3vVJs1F3SjY2QMPdgX9GLm2MEH5FqpxORJ1et Ax1QkmI2s3zMcmfZorE4a/PI7Vm5XxNjLoqKen8g1hkQ09lvh9/Ufi4SrERQOksWpiuc GUGw==
X-Gm-Message-State: AOAM533FM57mCx+ArQnVq/AS5xr/DuVy060wYJRVzJyHefO1xqCSEvug MqkDN5cqVWVtamvxYi+xWIE=
X-Google-Smtp-Source: ABdhPJwrsKdRWhWY771Wmmqq1WMiWu7BkyjnEJZ7xW/rGQkwE7uSepTMiAyayj4T4pLr9NrufTinWg==
X-Received: by 2002:a17:902:d30c:b029:e3:f95:6da5 with SMTP id b12-20020a170902d30cb02900e30f956da5mr18793535plc.6.1615155988157;  Sun, 07 Mar 2021 14:26:28 -0800 (PST)
Received: from [172.16.0.3] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id s18sm8143704pfm.129.2021.03.07.14.26.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 14:26:27 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Michael Koster <michaeljohnkoster@gmail.com>
In-Reply-To: <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org>
Date: Sun, 7 Mar 2021 14:26:26 -0800
Cc: asdf@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <150FCDA5-7606-4117-8497-E90CBA359A39@gmail.com>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/AKvLHVZUhilD29nbSA3emUdNmg4>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 22:26:32 -0000

Yes, in my examples, the "type" of the raw data is integer but the =
"type" of the scaled data is decimal.=20

In this case "number" covers both raw and scaled data types.

Best regards,

Michael

> On Mar 7, 2021, at 2:21 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 2021-03-07, at 23:14, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>>=20
>> @carsten, I think there is some question about using "multipleOf=3D1" =
instead of "integer". One generalization of the formula uses the =
multipleOf value, so if you say "integer" it would need to map that to =
multipleOf=3D1 anyway. I think we need to handle both forms in the =
tools. Is there a best practice, independent of case by case sensbility?
>=20
> Let=E2=80=99s do this one first, because it is easy :-)
>=20
> In many cases, the whole point of the scaling is to go to integer data =
items.
> In that case, simply saying that makes more sense to me.
>=20
> If there is some application semantics to the multipleOf, of course go =
for it.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
>=20


From nobody Sun Mar  7 14:42:36 2021
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 C425D3A1E2F for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:42:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.89
X-Spam-Level: 
X-Spam-Status: No, score=0.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FSL_BULK_SIG=0.001, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 O77eEutFUjXV for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:42:32 -0800 (PST)
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 D48D93A1E2E for <asdf@ietf.org>; Sun,  7 Mar 2021 14:42:31 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4DtxLZ0nFPzyYr; Sun,  7 Mar 2021 23:42:30 +0100 (CET)
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: <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com>
Date: Sun, 7 Mar 2021 23:42:29 +0100
Cc: asdf@ietf.org
X-Mao-Original-Outgoing-Id: 636849749.500258-51ec21e9822b95073562762412f55647
Content-Transfer-Encoding: quoted-printable
Message-Id: <D8B88EA7-DD13-4454-B3C0-AB77C47F2F1F@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/eKLFPKcih326DJVLKZGBn0cbeBw>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 22:42:35 -0000

On 2021-03-07, at 23:14, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>=20
> Another point to be made here, is that all of these constraints are =
usually applied in the binding, when the SDF model is mapped to an =
implementation. In the base model we might only indicate number and that =
it is a Voltage unit, the assignment of raw values *and* scaled values =
are done in the binding.

One of the reasons for doing a data model is that we want to be able to =
interpret data when it has become detached from the physical device.  In =
which case you are better off when the value given is already referenced =
to a unit.  This was the idea behind SenML.

Now if I have a 4=E2=80=9320 mA ADC, that may be all the data I get, so =
I need some context information to know the range that this actually =
stands for.
This is one of the points of adding a mapping (binding): Being able to =
provide this context.

So we have:

=E2=80=94 data item transferred: 0..65535
- measured value: 4..20 mA
=E2=80=94 indicated sensor reading: 700..1100 K

(This ignores off-scale detection etc.)

I do like being able to put down the ranges to be mapped and essentially =
use the formula in =
https://raw.githack.com/ietf-wg-asdf/SDF/scaleminmax/sdf.html#section-4.7-=
10 for computing the linear transform.

The data model (really: information model) of a temperature sensor =
should talk about 700..1100 K.  The data model of an instrumentation ADC =
should talk about 4..20 mA and rely on additional information given by =
the usage context mapping (binding) to derive the 700..1100 K.  The =
mapping (binding) information to a bluetooth characteristic may tell you =
this range is represented by 0..65535.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Sun Mar  7 14:52:19 2021
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 713223A1E45 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:52:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 7VqpazR9qjTA for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 14:52:14 -0800 (PST)
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 C0EF73A1E44 for <asdf@ietf.org>; Sun,  7 Mar 2021 14:52:14 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4DtxYm4ZJ9zyYr; Sun,  7 Mar 2021 23:52:12 +0100 (CET)
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: <150FCDA5-7606-4117-8497-E90CBA359A39@gmail.com>
Date: Sun, 7 Mar 2021 23:52:12 +0100
Cc: asdf@ietf.org
X-Mao-Original-Outgoing-Id: 636850332.191106-cd87d345eb0aa856aec553e2c730c38c
Content-Transfer-Encoding: quoted-printable
Message-Id: <DAD176E0-A097-46FC-9EC9-81217C29F53F@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org> <150FCDA5-7606-4117-8497-E90CBA359A39@gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/hDWXo0wSuCJj17XB7TMXq6uZy7c>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 22:52:18 -0000

On 2021-03-07, at 23:26, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>=20
> Yes, in my examples, the "type" of the raw data is integer but the =
"type" of the scaled data is decimal.=20

(I hope it is not =E2=80=9Cdecimal=E2=80=9D but a fraction, really a =
rational value, which we tend to represent with binary floating point =
values or sometimes fixed point values.)

> In this case "number" covers both raw and scaled data types.

Ouch.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Sun Mar  7 15:06:17 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 55E0E3A1E81 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:06:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, 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 PbhEsY84ErXG for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:06:14 -0800 (PST)
Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (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 08A723A1E59 for <asdf@ietf.org>; Sun,  7 Mar 2021 15:06:14 -0800 (PST)
Received: by mail-pg1-x536.google.com with SMTP id o38so5230115pgm.9 for <asdf@ietf.org>; Sun, 07 Mar 2021 15:06:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SfG1UIhfEWe1tTpmfZBwUYh5ypPlwcXKxlSEZqLpaUA=; b=Z6F46i9QWWlRatYU97+Rgwd6XpnHTCQYBlQML9umHA7nxGBSZtlvtWBh6BlE5MB7tf ofnmOOQLDBbnQ4xP00buxSbL+tbo1/FcuS5uH/55cwzgNlnpT4bT+Ov02N2gc2mFjNyo Kbt8XOGUo5WSu8FsK84T38RHEoXgbZCKKm3eerwbg3i1ZVeY7OAqDY0+NWg+czeiy0MR hNj199OaI3w4GYD1UZdK2L1VwbNHQdjdA6zJ3/UVh9sPxvbrVB56pSyJIS715VXuzxhm jTwUod6ZL7r+wYPoqHFkU4sfkyFzrUIoNyNH9YDJNm8/yiX6rb/KIy5H40Fb88MMe0uV Voog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SfG1UIhfEWe1tTpmfZBwUYh5ypPlwcXKxlSEZqLpaUA=; b=MFPv/TbHc8kPtoW61jJxyUc7V/7A2hBn+0aAAUYErXMdt5A5iqPcHiyCio/gmhUsIG vDnPa13JfzxGGoQuyWdwEfijsvRT6ojXPYJhtpCWxLT78TcSWcPASjB3zEwU57MALO1w 9E+1vEDYd0Ni2VeiVI+oCPbSr9/up2szQbPi36PvConzXld51Y9GhMWXRmz2XAhpfhKx yE2gPGtsmojDNhcb/spAW9AyDRC67Aq2GEX2jGuAo8ppuFZgbFPVIK2ads9kajsCw2Bz v52T0yzUmPb/d/YZDf59r563tetvB/2DC6Ew/AJEIVZHSous7l38sIpoI+kq2DvxeqU3 6cuA==
X-Gm-Message-State: AOAM533HEnPRGYOPvhqkpUmGsWLZ7ogwRaIVyGNY6k78Wm7oU+IyDbao HopDZCkKcJfIVMKeh0XnLfYn4wtM/BFhLg==
X-Google-Smtp-Source: ABdhPJzivY86+NJ2AU5vn+TiGqhzK8x/+qCOKxW24ZnUZat3yA+YapfJS6C6Vc8kbaMvRQtP2G4MUw==
X-Received: by 2002:a62:fc10:0:b029:1ef:141f:609 with SMTP id e16-20020a62fc100000b02901ef141f0609mr18331404pfh.78.1615158373027;  Sun, 07 Mar 2021 15:06:13 -0800 (PST)
Received: from [172.16.0.3] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id a8sm1555215pfk.138.2021.03.07.15.06.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 15:06:12 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Michael Koster <michaeljohnkoster@gmail.com>
In-Reply-To: <DAD176E0-A097-46FC-9EC9-81217C29F53F@tzi.org>
Date: Sun, 7 Mar 2021 15:06:10 -0800
Cc: asdf@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <38708ADB-5F7C-4CE7-B2AB-954DA16AB787@gmail.com>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org> <150FCDA5-7606-4117-8497-E90CBA359A39@gmail.com> <DAD176E0-A097-46FC-9EC9-81217C29F53F@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/Re7C1IsJG4xpAVDifFbh4_4ID9c>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 23:06:15 -0000

Yes, decimal fraction is correct.

"number" works for all cases but prevents one from correctly using other =
types when it is semantically useful. There isn't a type for decimal =
fraction/ fixed point but "number" with multipleOf seems to handle it =
well enough so far.=20

"scaleType" ?

> On Mar 7, 2021, at 2:52 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 2021-03-07, at 23:26, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>>=20
>> Yes, in my examples, the "type" of the raw data is integer but the =
"type" of the scaled data is decimal.=20
>=20
> (I hope it is not =E2=80=9Cdecimal=E2=80=9D but a fraction, really a =
rational value, which we tend to represent with binary floating point =
values or sometimes fixed point values.)
>=20
>> In this case "number" covers both raw and scaled data types.
>=20
> Ouch.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20


From nobody Sun Mar  7 15:15:06 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 859573A1E9E for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:15:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.711
X-Spam-Level: 
X-Spam-Status: No, score=0.711 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, FSL_BULK_SIG=0.001, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 YWERQOcjtLaf for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:15:04 -0800 (PST)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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 106013A1E9A for <asdf@ietf.org>; Sun,  7 Mar 2021 15:15:04 -0800 (PST)
Received: by mail-pl1-x62e.google.com with SMTP id w7so498001pll.8 for <asdf@ietf.org>; Sun, 07 Mar 2021 15:15:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Y6Ml5GYofA0upDpqE4g5KtB/DC37lPusovbscXWesv4=; b=K91LbJ5KOJxmCrGuaVOgrPqRLiW6sSunbcuLhmDibqV81Svpo+kDoblmZlmiaMNjB5 fnKntg2/V2A2rcZsbZ4RPv6eikPUgFq4Y1jym1FNhkfO+iwVkodMowCvVl16wXmJWVZH 2ZPNwUMH108qmiWbkoXsOp+tsC9s/94eYbPIFmlVGrDD5rQp7SlyQVQXBdNA59uzA9OQ ZdUBq+azCci1CiTHpwwazTPl1umLkvDQDPXfXNrxkvfxmV6YsHBEwTayQvMmpgX883Bl BnNRSY7NJHujm39s3OsQ5NMtwIHo42Fzhtgl4rR8huNkAyMpPDgky0TQY9hrFEbfG65h 0X+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Y6Ml5GYofA0upDpqE4g5KtB/DC37lPusovbscXWesv4=; b=QOCjgWuDOIeuc/JNgOCLfMQDvRuPCk9+8qQ3QOrD2GH6Sc+K/Zd3mxCHvTXBT63TEs wkkyzu8r5W+CgDOm0UHmBHOzcCH+gIBD5JcH3Y0Xwk7+bRKY197+A8VUMSoh86aGCl3i fVHw5spHiczjVV393J+4/u9QBVH8CVvkPQWBzJKPId/e+HdLSgjrY441g2Bahpd6ZaNr pMCdWlrm2HPeLQoSt+Phiww90oYsE+LQe60NYE/mZtdrQFKpnrQfNVJhyxRKYUV4hLrL my4LzMZdlGVnhOGoPFx70T8so4PdXdP1L1u23LVVEqFEgVlaiuneWyIsGz54QEV+OR8e OOxw==
X-Gm-Message-State: AOAM530bmZ8WXPyNLpXMyXh2PhFQka71fWmbXBJI6TW04fsgCWldrnw6 uuscHAkpQF0+aB/HF2ETprU=
X-Google-Smtp-Source: ABdhPJz1VwSB4TrPbGBP8lEqXPd3HgQ7a0X0cshOInsnRh22hOLluxIL7CDWDT3MQQMe0xP9WRJn2g==
X-Received: by 2002:a17:90a:ae0a:: with SMTP id t10mr21219728pjq.169.1615158902599;  Sun, 07 Mar 2021 15:15:02 -0800 (PST)
Received: from [172.16.0.3] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id j92sm482887pja.29.2021.03.07.15.15.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 15:15:02 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Michael Koster <michaeljohnkoster@gmail.com>
In-Reply-To: <D8B88EA7-DD13-4454-B3C0-AB77C47F2F1F@tzi.org>
Date: Sun, 7 Mar 2021 15:15:01 -0800
Cc: asdf@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <9E91F3C2-9316-4B5E-8473-9E08CCE9F4C8@gmail.com>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <D8B88EA7-DD13-4454-B3C0-AB77C47F2F1F@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/2ewJuznJctxStTdL0s8xPyX0e6w>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 23:15:05 -0000

I think we're in agreement. My 4-20 mA example is the ADC =
rationalization that happens in the PID controller, and the Modbus =
decimal value scaling is what happens in the client. The model works for =
both cases, and I do have some SDF models for building C++ code that =
scale raw a/d counts to values using the same vocabulary. There is a =
case where one SDF file describes the a/d scaling to a modbus (decimal) =
integer, then another to scale the modbus value to the correct decimal =
scale.

"ihv_counts" : {
  "type": "number",
  "minimum": 0,
  "maximum": 1024,
  "multipleOf" :1,
  "scaleMinimum": 0,
  "scaleMaximum": 2000
}

        "IHVData": {
          "type": "number",
          "units": "A",
          "minimum": 0,
          "maximum": 2000,
          "multipleOf": 1,
          "scaleMinimum": 0,
          "scaleMaximum": 0.002
        },




> On Mar 7, 2021, at 2:42 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 2021-03-07, at 23:14, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>>=20
>> Another point to be made here, is that all of these constraints are =
usually applied in the binding, when the SDF model is mapped to an =
implementation. In the base model we might only indicate number and that =
it is a Voltage unit, the assignment of raw values *and* scaled values =
are done in the binding.
>=20
> One of the reasons for doing a data model is that we want to be able =
to interpret data when it has become detached from the physical device.  =
In which case you are better off when the value given is already =
referenced to a unit.  This was the idea behind SenML.
>=20
> Now if I have a 4=E2=80=9320 mA ADC, that may be all the data I get, =
so I need some context information to know the range that this actually =
stands for.
> This is one of the points of adding a mapping (binding): Being able to =
provide this context.
>=20
> So we have:
>=20
> =E2=80=94 data item transferred: 0..65535
> - measured value: 4..20 mA
> =E2=80=94 indicated sensor reading: 700..1100 K
>=20
> (This ignores off-scale detection etc.)
>=20
> I do like being able to put down the ranges to be mapped and =
essentially use the formula in =
https://raw.githack.com/ietf-wg-asdf/SDF/scaleminmax/sdf.html#section-4.7-=
10 for computing the linear transform.
>=20
> The data model (really: information model) of a temperature sensor =
should talk about 700..1100 K.  The data model of an instrumentation ADC =
should talk about 4..20 mA and rely on additional information given by =
the usage context mapping (binding) to derive the 700..1100 K.  The =
mapping (binding) information to a bluetooth characteristic may tell you =
this range is represented by 0..65535.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20


From nobody Sun Mar  7 15:16:23 2021
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 82A4E3A1ECF for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:16:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-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 utd0nmrE5R-y for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:16:12 -0800 (PST)
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 A24D73A1EA3 for <asdf@ietf.org>; Sun,  7 Mar 2021 15:16:12 -0800 (PST)
Received: from [192.168.217.123] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dty5N5Sn5zyYr; Mon,  8 Mar 2021 00:16:08 +0100 (CET)
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: <38708ADB-5F7C-4CE7-B2AB-954DA16AB787@gmail.com>
Date: Mon, 8 Mar 2021 00:16:10 +0100
Cc: asdf@ietf.org
X-Mao-Original-Outgoing-Id: 636851770.256857-e6ebf12bf1d11c5e4ae0bb7b84b98698
Content-Transfer-Encoding: quoted-printable
Message-Id: <24705925-4AEA-4392-8745-518638C53846@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org> <150FCDA5-7606-4117-8497-E90CBA359A39@gmail.com> <DAD176E0-A097-46FC-9EC9-81217C29F53F@tzi.org> <38708ADB-5F7C-4CE7-B2AB-954DA16AB787@gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/vhSS3DJR0cvzwHe9cfG3RvgRK6k>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 23:16:22 -0000

On 2021-03-08, at 00:06, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>=20
> Yes, decimal fraction is correct.

I still hope there is nothing fundamentally =E2=80=9Cdecimal=E2=80=9D =
about the fraction.

A fixed point number is essentially represented by the numerator while =
you know the denominator.  (The latter may or may not be a power of 10, =
which would make it =E2=80=9Cdecimal=E2=80=9D.)
This is not actually different from a scaled integer.

> "number" works for all cases but prevents one from correctly using =
other types when it is semantically useful. There isn't a type for =
decimal fraction/ fixed point but "number" with multipleOf seems to =
handle it well enough so far.=20

JSON numbers are binary floating point, so I don=E2=80=99t think they =
can represent fractions with a denominator that is not a power of 2.

If we can liberate ourselves from the idea that =E2=80=9Cnumber=E2=80=9D =
is a JSON number, this becomes easier.

> "scaleType" ?

Not sure which part would be the =E2=80=9CscaleType" here =E2=80=94 the =
unscaled or the scaled one?

Gr=C3=BC=C3=9Fe, Carsten


>=20
>> On Mar 7, 2021, at 2:52 PM, Carsten Bormann <cabo@tzi.org> wrote:
>>=20
>> On 2021-03-07, at 23:26, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>>>=20
>>> Yes, in my examples, the "type" of the raw data is integer but the =
"type" of the scaled data is decimal.=20
>>=20
>> (I hope it is not =E2=80=9Cdecimal=E2=80=9D but a fraction, really a =
rational value, which we tend to represent with binary floating point =
values or sometimes fixed point values.)
>>=20
>>> In this case "number" covers both raw and scaled data types.
>>=20
>> Ouch.
>>=20
>> Gr=C3=BC=C3=9Fe, Carsten
>>=20
>=20


From nobody Sun Mar  7 15:32:41 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 BF4203A1ED0 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:32:40 -0800 (PST)
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 jzELF23F_3Bh for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:32:39 -0800 (PST)
Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 292663A1ECF for <asdf@ietf.org>; Sun,  7 Mar 2021 15:32:39 -0800 (PST)
Received: by mail-pj1-x102d.google.com with SMTP id mz6-20020a17090b3786b02900c16cb41d63so2075342pjb.2 for <asdf@ietf.org>; Sun, 07 Mar 2021 15:32:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=npHivEWAxjhmtHsaGv0/rZQAZQqOPIritSTeMqs8x68=; b=mFn31TzWk8Ah9FWfQ8cRrYbSJQr+K+Z0bqcI8r1xK36eZ7K7ebOkQHobTiU3xg6b8n x/0lRvGwQosv7In0nsuJyNcDlj6k8k+bx28/heUcieTwLOcw2I6FewLVQUI0RAw2cNU8 GXVm4RW7nICcOMfFbG57yECQd/+pmz9CN6sbTAjZPwqhPAZLOpz50a84I9axVBIylFL6 l5//f0TQJBjZ7R84L9N2y744cWC1v68YoxoKm4mj4POWRNp4J2EWKttd+zVsLz6t3c6m e+5dvTS8yj4oN+TkXX/JRrRIG80TFyPWKWib1BhVVP+v66wRuqAuQwMLZFHJTC2g5JKw KZ/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=npHivEWAxjhmtHsaGv0/rZQAZQqOPIritSTeMqs8x68=; b=RcpciLj5fanRbptARF6fJHebo2zIX498324Sm2plWLkVXHsD8RXD2YqAhoWNrNl6wS raew7rdGfDsZpyWMSerFpL+tsvqoOIMNlWP11/jjcJhMLiYcdiaYYGCE0OyyA/cuodMM p5FT3yJedxqud+7ad32Xc75EkBuN7iHioyALH6llRhSUiFs6gJs1EU3QpZWtNbpL6APg R3dlUyTEIR7k1NSjRfcubMozkm8aQ7UKz9ra+tkzzKgZYThp8kuV/GdjW3DlDnxG+PC9 P6rlb6I8Kr871KkxwUvA/IQs40KMRTGC7P8/SSVS8ebOxVuoQyHvWEl91unabW8e+3Bm QtOQ==
X-Gm-Message-State: AOAM531m+TICzQFGWWqrqPtheVjZHkre45rxJakkMwJlKwKiVfe8QKf5 hsCww1Ox+MOkyNeSZR1VNLwwucRLdAiJfw==
X-Google-Smtp-Source: ABdhPJyN9+9Aejny9xJz8hA34S9SSW8iawUTu9MNLGcHocm/q/BLE8lzEvp7Oj6uMRGARTTs8Zm9Jg==
X-Received: by 2002:a17:90a:71ca:: with SMTP id m10mr21522672pjs.2.1615159957510;  Sun, 07 Mar 2021 15:32:37 -0800 (PST)
Received: from [172.16.0.3] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id q66sm9000352pja.27.2021.03.07.15.32.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 15:32:37 -0800 (PST)
From: Michael Koster <michaeljohnkoster@gmail.com>
Message-Id: <EA936A4A-F1C1-48E5-AA60-D4616F2F4FFE@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_24A293AC-3AA2-4E2D-A302-11D6AE49BF01"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Sun, 7 Mar 2021 15:32:36 -0800
In-Reply-To: <24705925-4AEA-4392-8745-518638C53846@tzi.org>
Cc: asdf@ietf.org
To: Carsten Bormann <cabo@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org> <150FCDA5-7606-4117-8497-E90CBA359A39@gmail.com> <DAD176E0-A097-46FC-9EC9-81217C29F53F@tzi.org> <38708ADB-5F7C-4CE7-B2AB-954DA16AB787@gmail.com> <24705925-4AEA-4392-8745-518638C53846@tzi.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/gbtrzkJZ7TpkY3ixVtbwCmJRYUU>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 23:32:41 -0000

--Apple-Mail=_24A293AC-3AA2-4E2D-A302-11D6AE49BF01
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Not fundamentally; the Modbus example happens to be an integer scaled by =
powers of 10.

> On Mar 7, 2021, at 3:16 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> I still hope there is nothing fundamentally =E2=80=9Cdecimal=E2=80=9D =
about the fraction.


--Apple-Mail=_24A293AC-3AA2-4E2D-A302-11D6AE49BF01
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Not fundamentally; the Modbus example happens to be an =
integer scaled by powers of 10.<div class=3D""><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Mar 7, 2021, at 3:16 PM, Carsten Bormann &lt;<a =
href=3D"mailto:cabo@tzi.org" class=3D"">cabo@tzi.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; =
display: inline !important;" class=3D"">I still hope there is nothing =
fundamentally =E2=80=9Cdecimal=E2=80=9D about the fraction.</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_24A293AC-3AA2-4E2D-A302-11D6AE49BF01--


From nobody Sun Mar  7 15:33:14 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 4AD8F3A1ED3 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:33:13 -0800 (PST)
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 UPmwGy48jRU8 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 15:33:12 -0800 (PST)
Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (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 47DFD3A1ED1 for <asdf@ietf.org>; Sun,  7 Mar 2021 15:33:12 -0800 (PST)
Received: by mail-pj1-x1030.google.com with SMTP id kr3-20020a17090b4903b02900c096fc01deso2073091pjb.4 for <asdf@ietf.org>; Sun, 07 Mar 2021 15:33:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=iK2dTYw70JojtR24FllK/Yfs71D4gCFus00YoUPFChg=; b=NiHcavLE4DZ+uQP1ehA88moVlCoFl2433X+TT+iYZvToCN+0zOKRWo9taBkGE9gK/H HrVOSaYRkpNsTA0Sphk2xOsXXV7Es9+RDZuCUq3xUIDfc3XV2zSww2Nvr8dra9yLxi9S eJQwCkksJXvmztWpN6E0xdC/+IGlmQ32bFq1d+ESXq8DuIz1ACXCjfvWHmV+GQ+4Mzkp 8NGIK9skc044aexBLZO2FCz5ee5WF8iuToxMwQozAvoMarYPyT0rbrFBQwmsZTrRFjQT gPhQy2RDf3KEAo9/Bf0mnQmSG6iWVdvl8fuyQH8NxJKnFkijrd8e5qF63bz47mMRcfmc 8kYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=iK2dTYw70JojtR24FllK/Yfs71D4gCFus00YoUPFChg=; b=UHNDLeT4chRgbVQid6pk4Qf12DJ+S66CXklSpLzlqXB4kX8r9z6TZTexPVvDEe3DPy +8GZYQiNvoDEg3hA9/b/R3hiZ5QnXbK7qFR/FznEkZVX6mWPtUCQoK63Zn9Y5+9v/J9T lwllqZmoUswtTD6yXkS4F5gYKNLrjNLl2XnQSl9UmSCc2o/LU7b8zlQkxlARkw1aUfIb TPlg104vBudzr0rK6WBwJsj2K7/gwggMszdgL5Xr1PR0/VdDB2YnPCiGHyC/aAvA+IgA 56RcZwfzWCFevfj3WnPDyDiSvk7eJxeYgH3pIJn8r6VFjhUPRMbA2ItW80dji1kswOCT pURg==
X-Gm-Message-State: AOAM532M/9bYncveKIdDVe0VsIHlNGDpnmw8/NJyS6/3BCFEBHQODZyh 3uG88P4SAkI8Df7zCg9NgAXOvShfGf89Cw==
X-Google-Smtp-Source: ABdhPJxvJLMkQyL0wA3ICUJCjz2iHGyLPWytScETRqeA9Ic+CY/+0JcvUUo+61Lyxj0fmPqKzBVsSg==
X-Received: by 2002:a17:90a:5b0c:: with SMTP id o12mr22133154pji.68.1615159991308;  Sun, 07 Mar 2021 15:33:11 -0800 (PST)
Received: from [172.16.0.3] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id q66sm9000352pja.27.2021.03.07.15.33.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 15:33:11 -0800 (PST)
From: Michael Koster <michaeljohnkoster@gmail.com>
Message-Id: <77789C11-5456-4EDB-83A3-337CB2DC355E@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_748D6875-1627-4F60-9929-4BD14E251B94"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Sun, 7 Mar 2021 15:33:10 -0800
In-Reply-To: <24705925-4AEA-4392-8745-518638C53846@tzi.org>
Cc: asdf@ietf.org
To: Carsten Bormann <cabo@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <605EC8D7-100A-4B66-9392-5208DAA9F12D@tzi.org> <150FCDA5-7606-4117-8497-E90CBA359A39@gmail.com> <DAD176E0-A097-46FC-9EC9-81217C29F53F@tzi.org> <38708ADB-5F7C-4CE7-B2AB-954DA16AB787@gmail.com> <24705925-4AEA-4392-8745-518638C53846@tzi.org>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/-mb9RtWycMQY6rQr-A9gJW2mPK8>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Sun, 07 Mar 2021 23:33:13 -0000

--Apple-Mail=_748D6875-1627-4F60-9929-4BD14E251B94
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

scaledValueType

> On Mar 7, 2021, at 3:16 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> Not sure which part would be the =E2=80=9CscaleType" here =E2=80=94 =
the unscaled or the scaled one?


--Apple-Mail=_748D6875-1627-4F60-9929-4BD14E251B94
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">scaledValueType<div class=3D""><br class=3D""><div><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Mar 7, 2021, at 3:16 PM, =
Carsten Bormann &lt;<a href=3D"mailto:cabo@tzi.org" =
class=3D"">cabo@tzi.org</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; =
display: inline !important;" class=3D"">Not sure which part would be the =
=E2=80=9CscaleType" here =E2=80=94 the unscaled or the scaled =
one?</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_748D6875-1627-4F60-9929-4BD14E251B94--


From nobody Sun Mar  7 23:37:00 2021
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 633573A2700 for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 23:36:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.89
X-Spam-Level: 
X-Spam-Status: No, score=0.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FSL_BULK_SIG=0.001, RAZOR2_CF_RANGE_51_100=1.886, RAZOR2_CHECK=0.922, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 XEUkTBQ8n5Op for <asdf@ietfa.amsl.com>; Sun,  7 Mar 2021 23:36:56 -0800 (PST)
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 AADC03A26EB for <asdf@ietf.org>; Sun,  7 Mar 2021 23:36:55 -0800 (PST)
Received: from [192.168.217.152] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dv9C92MfLzyWP; Mon,  8 Mar 2021 08:36:53 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <9E91F3C2-9316-4B5E-8473-9E08CCE9F4C8@gmail.com>
Date: Mon, 8 Mar 2021 08:36:50 +0100
Cc: asdf@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <949962A2-824C-4DA4-B5C0-0EC2088C1A87@tzi.org>
References: <E1E12630-C759-4B6A-A532-1B86B10EED00@tzi.org> <72A6EBD7-AE5B-4F5C-B309-77705C40F98A@tzi.org> <7EDA3D19-12B6-4C11-9EF6-45C7912F1493@gmail.com> <113FB539-F4F6-4E7E-BE9A-F6D0B09F7341@gmail.com> <D8B88EA7-DD13-4454-B3C0-AB77C47F2F1F@tzi.org> <9E91F3C2-9316-4B5E-8473-9E08CCE9F4C8@gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/w-xNIhfLD7YpYO5iLOlgwxJ_toU>
Subject: Re: [Asdf] PR#22: Actually define scaleMinimum and scaleMaximum
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: Mon, 08 Mar 2021 07:36:59 -0000

So why do we need two SDF property definitions to represent this single =
property?

We probably want to have all three qualities:

dataMinimum..dataMaximum (here 0..1023), as an integer (=E2=80=9CmultipleO=
f =3D 1=E2=80=9D)
measurementMinimum..measurementMaximum (here 0..2000), as an abstract =
value only (compute the multipleOf from these four corners)
quantityMinimum..quantityMaximum (here 0..2e-3), again as an abstract =
value only

There may be no need to actually express =
measurementMinimum..measurementMaximum unless the whole thing is =
composed from a data model and a mapping/binding.

How would that composition split?

If the data model knows this is about a specific quantity (say =
temperature), it would give the unit for that quantity.
The actual quantityMinimum..quantityMaximum may be a specific property =
of the sensor, or it may be hardcoded in the model.

If the SDF model only has the measurement level =
(measurementMinimum..measurementMaximum), then it becomes (contextual) =
binding information how to obtain the unit, =
quantityMinimum..quantityMaximum.

(The below example says 0..1024, which is also interesting, because in =
practice you wouldn=E2=80=99t get 1024, only 1023, out of a 10-bit ADC. =20=

In the linear transform, 1024 might still map to 0.002, so that quantity =
value would actually be off-scale!)

Gr=C3=BC=C3=9Fe, Carsten



> On 8. Mar 2021, at 00:15, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>=20
>=20
> I think we're in agreement. My 4-20 mA example is the ADC =
rationalization that happens in the PID controller, and the Modbus =
decimal value scaling is what happens in the client. The model works for =
both cases, and I do have some SDF models for building C++ code that =
scale raw a/d counts to values using the same vocabulary. There is a =
case where one SDF file describes the a/d scaling to a modbus (decimal) =
integer, then another to scale the modbus value to the correct decimal =
scale.
>=20
> "ihv_counts" : {
>  "type": "number",
>  "minimum": 0,
>  "maximum": 1024,
>  "multipleOf" :1,
>  "scaleMinimum": 0,
>  "scaleMaximum": 2000
> }
>=20
>        "IHVData": {
>          "type": "number",
>          "units": "A",
>          "minimum": 0,
>          "maximum": 2000,
>          "multipleOf": 1,
>          "scaleMinimum": 0,
>          "scaleMaximum": 0.002
>        },
>=20
>=20
>=20
>=20
>> On Mar 7, 2021, at 2:42 PM, Carsten Bormann <cabo@tzi.org> wrote:
>>=20
>> On 2021-03-07, at 23:14, Michael Koster <michaeljohnkoster@gmail.com> =
wrote:
>>>=20
>>> Another point to be made here, is that all of these constraints are =
usually applied in the binding, when the SDF model is mapped to an =
implementation. In the base model we might only indicate number and that =
it is a Voltage unit, the assignment of raw values *and* scaled values =
are done in the binding.
>>=20
>> One of the reasons for doing a data model is that we want to be able =
to interpret data when it has become detached from the physical device.  =
In which case you are better off when the value given is already =
referenced to a unit.  This was the idea behind SenML.
>>=20
>> Now if I have a 4=E2=80=9320 mA ADC, that may be all the data I get, =
so I need some context information to know the range that this actually =
stands for.
>> This is one of the points of adding a mapping (binding): Being able =
to provide this context.
>>=20
>> So we have:
>>=20
>> =E2=80=94 data item transferred: 0..65535
>> - measured value: 4..20 mA
>> =E2=80=94 indicated sensor reading: 700..1100 K
>>=20
>> (This ignores off-scale detection etc.)
>>=20
>> I do like being able to put down the ranges to be mapped and =
essentially use the formula in =
https://raw.githack.com/ietf-wg-asdf/SDF/scaleminmax/sdf.html#section-4.7-=
10 for computing the linear transform.
>>=20
>> The data model (really: information model) of a temperature sensor =
should talk about 700..1100 K.  The data model of an instrumentation ADC =
should talk about 4..20 mA and rely on additional information given by =
the usage context mapping (binding) to derive the 700..1100 K.  The =
mapping (binding) information to a bluetooth characteristic may tell you =
this range is represented by 0..65535.
>>=20
>> Gr=C3=BC=C3=9Fe, Carsten
>>=20
>=20


From nobody Wed Mar 10 09:47:48 2021
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 E0DC73A146E for <asdf@ietfa.amsl.com>; Wed, 10 Mar 2021 09:47:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 FKFsWQvZ4ouy for <asdf@ietfa.amsl.com>; Wed, 10 Mar 2021 09:47:43 -0800 (PST)
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 D6A263A146A for <asdf@ietf.org>; Wed, 10 Mar 2021 09:47:42 -0800 (PST)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dwfg06ZGMz105V; Wed, 10 Mar 2021 18:47:40 +0100 (CET)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 637091260.15864-7a41065f39e76698af2c95cebdfcb5ee
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Wed, 10 Mar 2021 18:47:40 +0100
Message-Id: <EB8E2101-A32D-4516-A1B5-4EB6813C9F7D@tzi.org>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/nzbKaeZqO4pxw9jxjiI74yQtCk4>
Subject: [Asdf] Outstanding PRs for 1.1
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, 10 Mar 2021 17:47:47 -0000

The SDF 1.1 consensus call is completed, but we still have three PRs =
that should go into 1.1 to be issued tomorrow as draft-ietf-asdf-sdf-04:

https://github.com/ietf-wg-asdf/SDF/pull/21 (#21):
This fixes some I-D nits and supplies the formal IANA considerations =
section that we=E2=80=99ll need to get early allocation on the media =
type application/sdf+json.
No changes to format.

https://github.com/ietf-wg-asdf/SDF/pull/24 (#24):
This makes the info block optional.
It is not intended as a change that impacts how we will handle SDF files =
going into OneDM and related processes.
It is a simplification that facilitates tools (like Thingmaker from last =
week=E2=80=99s hackathon) that build SDF files from components, not each =
of which will have an info block.
We recommend emitting a warning when an SDF validator tool does not find =
an info block.
(There is a comment on this PR that each entry of the info block should =
also be optional in the syntax; I haven=E2=80=99t implemented that =
change yet.)

https://github.com/ietf-wg-asdf/SDF/pull/25 (#25):
Marks scaleMinimum and scaleMaximum as SDF 1.0.
These qualities never were fully defined, even if we now have developed =
a definition (in #22), so removing these from 1.1 is not actually a =
change.
These qualities were not used so far in the models in the OneDM =
playground.
When discussing the way mapping/binding information interacts with an =
SDF model, we also found that these qualities do not quite work the way =
they should (which is not surprising as we hadn=E2=80=99t actually =
pressure-tested them).
I=E2=80=99ll talk more tomorrow about how the 1.next replacements might =
look like, but we should not leave the old qualities in 1.1 just to be =
removed in 1.next.

I would like to make sure we have in-room consensus to apply all three =
PRs tomorrow.  If you have an opinion on which direction #24 should go, =
knowing that before tomorrow=E2=80=99s meeting would help.

See you tomorrow at 1200Z!

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Mar 11 06:12:11 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: asdf@ietf.org
Delivered-To: asdf@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id AF6BD3A0DD4; Thu, 11 Mar 2021 06:12:05 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: asdf@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: asdf@ietf.org
Message-ID: <161547192567.15107.17345118558471945565@ietfa.amsl.com>
Date: Thu, 11 Mar 2021 06:12:05 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/Cv2eOl8CtvqMNydLf6Gf_jR7IJw>
Subject: [Asdf] I-D Action: draft-ietf-asdf-sdf-05.txt
X-BeenThere: asdf@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 11 Mar 2021 14:12:06 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the A Semantic Definition Format for Data and Interactions of Things WG of the IETF.

        Title           : Semantic Definition Format (SDF) for Data and Interactions of Things
        Authors         : Michael Koster
                          Carsten Bormann
	Filename        : draft-ietf-asdf-sdf-05.txt
	Pages           : 78
	Date            : 2021-03-11

Abstract:
   The Semantic Definition Format (SDF) is a format for domain experts
   to use in the creation and maintenance of data and interaction models
   in the Internet of Things.  It was created as a common language for
   use in the development of the One Data Model liaison organization
   (OneDM) definitions.  Tools convert this format to database formats
   and other serializations as needed.

   An SDF specification describes definitions of SDF Objects and their
   associated interactions (Events, Actions, Properties), as well as the
   Data types for the information exchanged in those interactions.

   A JSON format representation of SDF 1.0 was defined in a previous
   (-00) version of this document.  The present document has been
   designated as an _implementation draft_, labeled SDF 1.1, at the
   IETF110 meeting of the ASDF WG (2021-03-11).


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-asdf-sdf/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-asdf-sdf-05


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Thu Mar 11 06:14:00 2021
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 C9A6F3A0DD4 for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 06:13:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-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 IphBjlSmyzd9 for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 06:13:56 -0800 (PST)
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 C43003A0AD4 for <asdf@ietf.org>; Thu, 11 Mar 2021 06:13:55 -0800 (PST)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4Dx9ss3xjPz103H; Thu, 11 Mar 2021 15:13:53 +0100 (CET)
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: <161547192567.15107.17345118558471945565@ietfa.amsl.com>
Date: Thu, 11 Mar 2021 15:13:53 +0100
X-Mao-Original-Outgoing-Id: 637164832.937377-65dd409bed4448d94e95d91615bb6155
Content-Transfer-Encoding: quoted-printable
Message-Id: <4A3DD771-734B-462F-A047-38563C7C75EB@tzi.org>
References: <161547192567.15107.17345118558471945565@ietfa.amsl.com>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/_-nxPw-AFl-eyUdTKgGXht3zADA>
Subject: [Asdf] SDF 1.1! (Re:  I-D Action: draft-ietf-asdf-sdf-05.txt)
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: Thu, 11 Mar 2021 14:14:00 -0000

>   A JSON format representation of SDF 1.0 was defined in a previous
>   (-00) version of this document.  The present document has been
>   designated as an _implementation draft_, labeled SDF 1.1, at the
>   IETF110 meeting of the ASDF WG (2021-03-11).

Thank you all for all the work that led to this.

Now on to 1.next!

Gr=C3=BC=C3=9Fe, Carsten

> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-asdf-sdf/
>=20
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-asdf-sdf-05


From nobody Thu Mar 11 06:18:09 2021
Return-Path: <wavdb66@gmail.com>
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 D7D4A3A0E0B for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 06:18:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level: 
X-Spam-Status: No, score=-1.848 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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 hZs6VWcTRmnj for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 06:18:06 -0800 (PST)
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 B8D0D3A0E08 for <asdf@ietf.org>; Thu, 11 Mar 2021 06:18:05 -0800 (PST)
Received: by mail-wr1-x42d.google.com with SMTP id v15so2057994wrx.4 for <asdf@ietf.org>; Thu, 11 Mar 2021 06:18:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:content-language:thread-index; bh=J3KaMuqP4Ylwcp65u3fUuboIqBoRZsozq9YoIggpsXM=; b=uYTXynip47dWxdTPSrdBhICZTEbgtIU6nhgIldY+WnQfnAo5M2mWDKgHHTL0vI782B LXVeJIPsXC8Un0fizmwE8KISEuRcnSwjyLFcIVZ/Pj7F9VSu6mV5gymUpIKRpqwYLdUD JVz77Gxmtgw13n2gHIErksNWA89kguCl8QTJERgMvMlMisOKUwHzhv9e4+26lkbWhHFJ x6v/PQtbkIRB0jgTAAUYzPlDywmTI8IQJsPrtNEdoxjUO/uzGVc8cpaoVdOc7OdbIu9K zF4dlTe5p5pTM9NYNyUxvg3KVq/bxUZzRLNk2S1ynJK8bK3wFtcsyEMs/Rx18PmMD2JC XVpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=J3KaMuqP4Ylwcp65u3fUuboIqBoRZsozq9YoIggpsXM=; b=pmHpIkyOSEQRufWIipqkbey4KSbrswajH9hZmO6cATnmCwfx2cmlgipztadZOOiRgs gPYwC29k7n5TqnV3tGYp206GF2ZvpL7SHVqN7kAu8PPllUUOp+QhV6V26VrE4cvJB6Y0 JJe4wuzrjm5Bn6sNfz478At5IBcsgcqjjhTZK4Yqg+swJYXhdwJL6/up0COpKvj5bmOs 1EtzWD4j6DQoklXx2nwDHXUnnJiSN1r1BEAykWgpLCRsDdVEyOxf8NYgdai3Tkx0RvOL xQG8jngLdRUOGKsR2U/qAEje02rfGW4tgOOHvJma9D3xi+ukWvCCGvWgAC6pfSWutvyO TSSA==
X-Gm-Message-State: AOAM531dbmLa+LWxM9dPL65UdfiIoV8X4BAsanLQvepNMUVbs4MUniJa gEOWsPb3A0Iggf9URifLBp8g2Eiods6pfQ==
X-Google-Smtp-Source: ABdhPJxEXs89s5j3o+aPaOEvHNrfgCZv7MB2Q0eKEet9d92NRH2WKnaxmwTW4RkTqUgvHqWo39TQPw==
X-Received: by 2002:a5d:5141:: with SMTP id u1mr9061054wrt.31.1615472283532; Thu, 11 Mar 2021 06:18:03 -0800 (PST)
Received: from LAPTOPL39HIA21 ([93.92.10.229]) by smtp.gmail.com with ESMTPSA id a6sm4372120wmm.0.2021.03.11.06.18.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Mar 2021 06:18:03 -0800 (PST)
From: <wavdb66@gmail.com>
To: "'Carsten Bormann'" <cabo@tzi.org>, <asdf@ietf.org>
References: <161547192567.15107.17345118558471945565@ietfa.amsl.com> <4A3DD771-734B-462F-A047-38563C7C75EB@tzi.org>
In-Reply-To: <4A3DD771-734B-462F-A047-38563C7C75EB@tzi.org>
Date: Thu, 11 Mar 2021 14:18:02 -0000
Message-ID: <014601d71681$59008ec0$0b01ac40$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-ie
Thread-Index: AQFsD0i6xUW8mlP/J34IIkYBGRYFfgGgKpKHq0fiqeA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/CvTYtZL55FysHJOdhiS16Vm7G9E>
Subject: Re: [Asdf] SDF 1.1! (Re:  I-D Action: draft-ietf-asdf-sdf-05.txt)
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: Thu, 11 Mar 2021 14:18:08 -0000

Hi Carsten

Is this the stable version that we can reference?:
https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html

Kind Regards,
Wouter

-----Original Message-----
From: ASDF <asdf-bounces@ietf.org> On Behalf Of Carsten Bormann
Sent: Thursday 11 March 2021 14:14
To: asdf@ietf.org
Subject: [Asdf] SDF 1.1! (Re: I-D Action: draft-ietf-asdf-sdf-05.txt)


>   A JSON format representation of SDF 1.0 was defined in a previous
>   (-00) version of this document.  The present document has been
>   designated as an _implementation draft_, labeled SDF 1.1, at the
>   IETF110 meeting of the ASDF WG (2021-03-11).

Thank you all for all the work that led to this.

Now on to 1.next!

Gr=C3=BC=C3=9Fe, Carsten

> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-asdf-sdf/
>=20
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-asdf-sdf-05

--=20
ASDF mailing list
ASDF@ietf.org
https://www.ietf.org/mailman/listinfo/asdf


From nobody Thu Mar 11 06:19:19 2021
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 56B583A0E1C for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 06:19:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-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 bmuORgWVzDs6 for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 06:19:14 -0800 (PST)
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 60ADB3A0E19 for <asdf@ietf.org>; Thu, 11 Mar 2021 06:19:14 -0800 (PST)
Received: from [192.168.217.118] (p5089a828.dip0.t-ipconnect.de [80.137.168.40]) (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 4DxB010ZGlz105M; Thu, 11 Mar 2021 15:19:13 +0100 (CET)
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: <014601d71681$59008ec0$0b01ac40$@gmail.com>
Date: Thu, 11 Mar 2021 15:19:12 +0100
Cc: asdf@ietf.org
X-Mao-Original-Outgoing-Id: 637165152.312467-97ead10a40be0a77d23d154acbfdac42
Content-Transfer-Encoding: quoted-printable
Message-Id: <A6A9C65C-F9FB-4FEE-B848-6C8F728B7806@tzi.org>
References: <161547192567.15107.17345118558471945565@ietfa.amsl.com> <4A3DD771-734B-462F-A047-38563C7C75EB@tzi.org> <014601d71681$59008ec0$0b01ac40$@gmail.com>
To: Wouter van der Beek <wavdb66@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/bwyMZgj4M2JeoGw7f3XErDNhSDk>
Subject: Re: [Asdf] SDF 1.1! (Re:  I-D Action: draft-ietf-asdf-sdf-05.txt)
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: Thu, 11 Mar 2021 14:19:17 -0000

> Is this the stable version that we can reference?:
> https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html

Yes, that is the right reference to SDF 1.1.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Mar 11 08:24:50 2021
Return-Path: <niklas.widell@ericsson.com>
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 F2F673A132D for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 08:24:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.348
X-Spam-Level: 
X-Spam-Status: No, score=-2.348 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.248, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 sPKDyyMSacAJ for <asdf@ietfa.amsl.com>; Thu, 11 Mar 2021 08:24:45 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50088.outbound.protection.outlook.com [40.107.5.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 86B993A132C for <asdf@ietf.org>; Thu, 11 Mar 2021 08:24:45 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CSQcnJ5IqgJaLgiAC4xzOvw1kP6k+sYFjTSvLI2zQJkBgKoMRWylMvrhJl9stOTzOYP2wD42RWzeMOql6aC/RNuXJFGvbJylfwyr3uyyybokUjLIJNu53JpYNtE0fwepmZyarmzN+limgl9twiUXV0pvSpGT9mhAqwguGJ6jG8XJsysHN+rtnE5A55cP21T55JqCDNQIWwC2Zm79NW6E9OgcjfPw1zhNhi9J771nCU0h295qQ2s85/yIusz10zRcftLutwlqIw0jgf8IuvJxBPkLCt9kyKh7e6t4hd5esmynBiV5JgLtQFmMdKouzRxJjL8bHdVtK5M3trNMrApD+g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lu5gyaQQFIKy6gtUidMNYZuBJYyHCsq4Qn4nzSuNvNg=; b=lvgrizf7g16b9FW1VO0JFcaNTZfwl78rnsrgimemWE4iXdv+3hKY7BZ+ALzTf648b7KoNpuuSerxOf1XaQYT+EEDYaFQyqx3e/bPcis+/H+NiipibgOUVLBJR3KtybXDui3RD7wiYp0aG2KIGDy4oYJhF6oB4FTq9xSa2N3gnfNFZkwGdW5D6qCeZQJXk9oYE8q+g+XugSQK+LLYb0tEgC5KWnU4FmmMfp5o7J08eSjKP9Beg0RtUTAvHVbH/fO460VKTXchY+8cl4983x39OmU2/Dfpna0jL/buZQh/oqFyrwTnw56Rot0rf6GQK6jmeMEK/G9dGtnxgWXMM8tvow==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lu5gyaQQFIKy6gtUidMNYZuBJYyHCsq4Qn4nzSuNvNg=; b=SFnZTRlQ4dtRMb7qGxUIOKwX5GCX4LIQU61la6g7Nbo/b2zyYs8OzR1seyOwyTqDIgkR6rqMXjLVod8bukq4nqoSFQD7AcuP2ChJbZL1eLlwqW+/B7IgB8Ek0+ME1M3Ch9Pnj6GxZZwQfkmti98lS8x4UGREVYq9jCYCemnCUW4=
Received: from HE1PR0702MB3818.eurprd07.prod.outlook.com (2603:10a6:7:8c::18) by HE1PR0701MB2556.eurprd07.prod.outlook.com (2603:10a6:3:95::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.16; Thu, 11 Mar 2021 16:24:34 +0000
Received: from HE1PR0702MB3818.eurprd07.prod.outlook.com ([fe80::fd89:53c2:ad4e:c17d]) by HE1PR0702MB3818.eurprd07.prod.outlook.com ([fe80::fd89:53c2:ad4e:c17d%6]) with mapi id 15.20.3955.010; Thu, 11 Mar 2021 16:24:34 +0000
From: Niklas Widell <niklas.widell@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>, Wouter van der Beek <wavdb66@gmail.com>
CC: "asdf@ietf.org" <asdf@ietf.org>
Thread-Topic: [Asdf] SDF 1.1! (Re:  I-D Action: draft-ietf-asdf-sdf-05.txt)
Thread-Index: AQHXFoDPr7Dr9k6+9kaWkCZFirIzEKp+1a8AgAAAUwCAACLbNw==
Date: Thu, 11 Mar 2021 16:24:34 +0000
Message-ID: <HE1PR0702MB3818F715F47D6336323C54638A909@HE1PR0702MB3818.eurprd07.prod.outlook.com>
References: <161547192567.15107.17345118558471945565@ietfa.amsl.com> <4A3DD771-734B-462F-A047-38563C7C75EB@tzi.org> <014601d71681$59008ec0$0b01ac40$@gmail.com>, <A6A9C65C-F9FB-4FEE-B848-6C8F728B7806@tzi.org>
In-Reply-To: <A6A9C65C-F9FB-4FEE-B848-6C8F728B7806@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [37.123.165.254]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bffc5e4b-4834-456f-f51c-08d8e4aa2833
x-ms-traffictypediagnostic: HE1PR0701MB2556:
x-microsoft-antispam-prvs: <HE1PR0701MB2556B93383BEF1769AD479678A909@HE1PR0701MB2556.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /dGfC/B5Ecr6dzGCh2lnRbaokIJSnJm07xKEQA+PHq9kx/k/bc9Vge/pqWlOI0dKACfMf5V0w9Uk/ft+dg7yaS8o40P0XW9JPyTFq8y9ElpR5AIDoVhTBjc1bZfklqWBjvWFn+bgnlJXuwDEP8+5x9Wuie126WrECfn1hV9cr5lXqYd/LnvuJ8iYC8WRJYWQKLTlKU4h2sUomsNAJloZWtUNnE0pBqVe6JKBqFQIsBgn2mf2eaIQz0XTIZPLRuBwyeaPKXw62eEgLwx+RSYAW1EH6ThiO4X1WdQOmJz0k3q3uen382dHJ1Ya4BAFte0aSE9pXJ+/CCGQgRDn3LJRjGbP4SSDflCV+I52ko1/+9Ulva92el83Y3uFc1iTX7jrsQfP/RAb8OKDDS0Gm7mEGxF1IbYsraj5O0nJo0t9fnafpDha/8xr7S0uoMQckeAeCOchAUoVYnpq9dF+5TN36D7N+sOlFwwzfsgUBKVZH8QAm08SFFmxXZ3ZiCPAk8C4SpwM9J/oGgCCeklHLLRMQhUlLJlXDvFQ8NAK2lXnzTel9vsgHTpy9JeWPJy3JYc0ynNxTebTvayrFWTPNZW9+bbWWilwV2YiT6CQQCgjXktoS4E7qSVwSPIugKBM8LWv
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR0702MB3818.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(376002)(366004)(136003)(396003)(39860400002)(346002)(186003)(52536014)(4326008)(55016002)(53546011)(8936002)(6506007)(64756008)(76116006)(478600001)(91956017)(9686003)(66556008)(71200400001)(44832011)(7696005)(66446008)(5660300002)(966005)(110136005)(4744005)(316002)(21615005)(66946007)(86362001)(33656002)(2906002)(166002)(66476007)(8676002)(26005); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?Gt8ThkitWtr9QYUwo6ZXoMDON310FEx0TMeysPkzm/7MslaXYCIOgPyJJx?= =?iso-8859-1?Q?ZogxGsrZDMKWMvjhnu7YnYnIWjSLWFCoJ87IlkJ+DdxxT+qMwNVO8Bxcnk?= =?iso-8859-1?Q?UCFBXprfUAXhowC8ulQTcQKgtGnnZgCeJevUM9JmrcrbqsIA1adwTkfLH5?= =?iso-8859-1?Q?BlGtr9GcAPWOVmlal8sHgaJb4UhsJ1RULFDmF1K0UWrCpDPIeut0I2xwHm?= =?iso-8859-1?Q?glIRmfFCZOmboanrFN2SAVYZa+XQRgmQAJzdojylf5HosjcHgiF16mvjv7?= =?iso-8859-1?Q?/KaOYyMP/++Hdfi+/gHueIrf7rHNnFh7xh3LPEv5ueV8zv56QGsqcSwDQ3?= =?iso-8859-1?Q?kDNVWw5Wp91k2EXSJB3wys396govZ39ON/+Cy2Icg7AfH6dnFOEYcGYOck?= =?iso-8859-1?Q?bCuvd4NgecqAUx30fiNMqf8c7V+/9xIQrNpvv1+xyagAmxb4nNfFxDYo/b?= =?iso-8859-1?Q?kyZvtUdM/M9KIwYmMsWv19Y3Um17qeuziXvxemn9VIE1utZHeIwh5ou4cE?= =?iso-8859-1?Q?NKH2JTBm9mkKCiwREt/ueVJhwDK3GCvswhWo2UTfBUWSdroSZFb5Mqy3XW?= =?iso-8859-1?Q?+NeU4ow/7k2Hnmt71z6sMEZVmRq1j/jfUb46LgvN5RRc5V4BHSUHZrZkGW?= =?iso-8859-1?Q?1LAwTNBlOdvAKKgfU8mLCaWpcayBS/vvRdWznC8abIceLXux/SgU+7KUOc?= =?iso-8859-1?Q?2XwYSlMxabvy9X91If3GgiB8uDRzfA7C0G58Jy493xt9tZV+QY8W4mkC+p?= =?iso-8859-1?Q?sQuAbj1/CQ155q6jrIXBF1ajedwgxfWo09KF29wKxZ2HH5DocE2FtqjGgH?= =?iso-8859-1?Q?3KkQNSanYsEHe1xhcXg18+ig2R1zPLk9kkN8TFHsj30qcEm1ePaxh+8ME9?= =?iso-8859-1?Q?GSd6vIHXuQX7esf3bW5lkM+AWnP3m8NUDxVigCjFQ8/6hq4wkv5DXOgIbH?= =?iso-8859-1?Q?PpZHdXTpE9duroA3UP/pVx8E30NBFKsxWjBXf83/Zn4MIRAid5gMF1L4N7?= =?iso-8859-1?Q?Rh1aHXVyGbNlRNy/ReTv+JPPOpMWFrcJ30XTARFBUpndov8miKzLqvNKA6?= =?iso-8859-1?Q?C6Z1fNsLal0KPcVHyDvvOXklVWXMNXg/QSAS5aa7grKrD3YCs2wlHDeBie?= =?iso-8859-1?Q?y7izBldgu43qERD1qeRWOEboKvIA6QTq/iIUzAGis4yafKohI8KcRC06SE?= =?iso-8859-1?Q?SUb5KAk4xnFDoSgAyzoWx0qkNiVvdt/Q5Ay9bT17BcXkZzjAG6WyLqlBF7?= =?iso-8859-1?Q?aM7+B4xZR5Myhce+ya4k9ZMoae0/s9s6OBBMP/1CVRU1TZS9P2PNZ1MPvJ?= =?iso-8859-1?Q?MCzZErwZzyVFcitXEGdmu6m0hiqlDxQElmemC1pDmXmBvyY5FvNlUZcVVG?= =?iso-8859-1?Q?1S/P0pFIxDd8Nlk4X6Te1xXGiF0vbltw=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_HE1PR0702MB3818F715F47D6336323C54638A909HE1PR0702MB3818_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0702MB3818.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bffc5e4b-4834-456f-f51c-08d8e4aa2833
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2021 16:24:34.1582 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: cUKp+1LF9ngu+dLPaYX69SIQKZ6b+77WjwZTODypRBKzfi/lkAfWand35cVXSTFri6J+Iv9Tov1EjH2owDt6YNZWrKCoQBudXOCzq2yiVVw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2556
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/620-25OCHrRaVOaS3mXDOVfhcnQ>
Subject: Re: [Asdf] SDF 1.1! (Re:  I-D Action: draft-ietf-asdf-sdf-05.txt)
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: Thu, 11 Mar 2021 16:24:49 -0000

--_000_HE1PR0702MB3818F715F47D6336323C54638A909HE1PR0702MB3818_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks all for all the hard work!

Cheers,
Niklas

On 2021-03-11, 15:19, "ASDF" <asdf-bounces@ietf.org> wrote:



> Is this the stable version that we can reference?:
> https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html

Yes, that is the right reference to SDF 1.1.

Gr=FC=DFe, Carsten

--
ASDF mailing list
ASDF@ietf.org
https://www.ietf.org/mailman/listinfo/asdf

--_000_HE1PR0702MB3818F715F47D6336323C54638A909HE1PR0702MB3818_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"en-SE" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US">Thanks all for all the hard work!<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US">Cheers,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US">Niklas<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">On 2021-03-11, 15:19, &=
quot;ASDF&quot; &lt;asdf-bounces@ietf.org&gt; wrote:<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
<br>
<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
&gt; Is this the stable version that we can reference?:<br>
&gt; <a href=3D"https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html=
">https://www.ietf.org/archive/id/draft-ietf-asdf-sdf-05.html</a><br>
<br>
Yes, that is the right reference to SDF 1.1.<br>
<br>
Gr=FC=DFe, Carsten<br>
<br>
-- <br>
ASDF mailing list<br>
ASDF@ietf.org<br>
<a href=3D"https://www.ietf.org/mailman/listinfo/asdf">https://www.ietf.org=
/mailman/listinfo/asdf</a><o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_HE1PR0702MB3818F715F47D6336323C54638A909HE1PR0702MB3818_--


From nobody Sat Mar 13 23:46:09 2021
Return-Path: <do_not_reply@mnot.net>
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 A45303A1EA1 for <asdf@ietfa.amsl.com>; Sat, 13 Mar 2021 23:46:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level: 
X-Spam-Status: No, score=-2.119 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=mnot.net header.b=jOS3ekC8; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=nUNNxC6X
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 Wgn6xDP9PEu2 for <asdf@ietfa.amsl.com>; Sat, 13 Mar 2021 23:46:01 -0800 (PST)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51B983A1EA0 for <asdf@ietf.org>; Sat, 13 Mar 2021 23:46:01 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id D257417E6 for <asdf@ietf.org>; Sun, 14 Mar 2021 03:38:47 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 14 Mar 2021 03:38:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject:message-id:date; s= fm2; bh=we+GRWssH7earsSZ/SNQfDxIy5OLp+WX5QcTnJ+mNPA=; b=jOS3ekC8 dAZ2Z0kWMUCSkXnZ4+HikceyZ3QwjJS+XaCAEc71OiWuoFeFB5B39yrqMRyagB9z fGdWKMVbTudlt2nZmIAgragWRD6TfP0SNyUjKP4y8XvJQfQ7SyS1l70xMQaimYUo +n3neW2ZvGiSxGX3bkbMznn7gM2ri3VMj0lr2cNByG6X2AxhKT1UBeullf1M5PtL n3SNzq7/lTwRJ3kx1vdLaKlYBzGXmqcekW1p8M5AE+LRmaC9K+nIHQ3KRiYglYP3 tjP4oLW6OsdFvs7bl1ZEPzpwynWuBNNzKqpF1Nsdv0idZVXs4ZuvltYygiw98F/2 R+CkKhT39C1wXQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=we+GRWssH7earsSZ/SNQfDxIy5OLp +WX5QcTnJ+mNPA=; b=nUNNxC6XOcMipwEWjcpHgOQfDrZYo6C19FiiUxjhCGrTr bag05BmymdU3kmTZvNvFnuH4OfQe3nr07oGIr0PmZybL8l5JyQDFI3OkyLIrM/Hy NCjBHwxzCwdnVn/1xXtwCT39KLJJ2ryBaachErPbtXYqjZqEWttmv8tp5rLrvHv1 6kjoQZylp3QiULnbXaI042l22KULJYkqg+gz6Kknuz+0gJT0K/M9HcjFcMkSj2Hi nNAlOdVKdFWnmvsqRTWjxX1kXAPEz2BomS98Yujweb5U1grzqaGWcNNuyywkaMsx ARe1g0XySupoDZB6fYJ78oQ9HvpdJOjEKD8p4dyEg==
X-ME-Sender: <xms:h71NYJeNOvIsFAfrU158nuhw6ZdBaexEmoyx9OGNM_Su9v4LWhW6nw> <xme:h71NYHMPTn90YAZMMs1ru9NzM0nY01Z7K75E4xunBmCc0bA03Wg0dVrfaMqKz9jVU bJPev-w4g0kgCTVgg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvhedgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtggfhvffusegrtddtredttdejne cuhfhrohhmpeftvghpohhsihhtohhrhicutegtthhivhhithihucfuuhhmmhgrrhihuceu ohhtuceoughopghnohhtpghrvghplhihsehmnhhothdrnhgvtheqnecuggftrfgrthhtvg hrnhepkeefvdduteejvdefkeehieevuefgfefhteetveegffekffefteffvdelheduieet necuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvdefrddutddurddugeehrd dujedunecuvehluhhsthgvrhfuihiivgepkeenucfrrghrrghmpehmrghilhhfrhhomhep ughopghnohhtpghrvghplhihsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:h71NYCg-gkXKkfK2nfM1r7vhF7s0CL7hgel4Oyq3rQQgUaCBknJBRw> <xmx:h71NYC_TD969ZcmONmwMlgxHZDA3cOhdz6GhrF80UxtZUoEV7XSiKQ> <xmx:h71NYFvpEHLnaOZmkVIu-hIsQJwTwcqKAzElOBwvJt7Aiq-BRifVog> <xmx:h71NYGV1VkafbkSoLLj_7HqsEP9B5zvjUpt84RiX44zl72KhsACLKw>
Received: from fv-az207-156.internal.cloudapp.net (unknown [23.101.145.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 4FECD24005A for <asdf@ietf.org>; Sun, 14 Mar 2021 03:38:47 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============6205672936652721496=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: asdf@ietf.org
Message-Id: <20210314073847.4FECD24005A@mailuser.nyi.internal>
Date: Sun, 14 Mar 2021 03:38:47 -0400 (EDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/BmNdylJEophI4P59ZOvzrfMhYRQ>
Subject: [Asdf] Weekly github digest (ASDF Activity Summary)
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: Sun, 14 Mar 2021 07:46:05 -0000

--===============6205672936652721496==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Events without label "editorial"

Issues
------
* ietf-wg-asdf/SDF (+2/-3/=F0=9F=92=AC4)
  2 issues created:
  - Rules for combining information from info blocks (by cabo)
    https://github.com/ietf-wg-asdf/SDF/issues/26=20
  - Mandatory/optional SDF information block (by akeranen)
    https://github.com/ietf-wg-asdf/SDF/issues/23=20

  3 issues received 4 new comments:
  - #26 Rules for combining information from info blocks (1 by cabo)
    https://github.com/ietf-wg-asdf/SDF/issues/26 [1.next]=20
  - #23 Mandatory/optional SDF information block (2 by WAvdBeek, akeranen)
    https://github.com/ietf-wg-asdf/SDF/issues/23 [1.1] [has PR]=20
  - #18 The example for sdfRequired should not point to a sdfData definitio=
n (1 by cabo)
    https://github.com/ietf-wg-asdf/SDF/issues/18=20

  3 issues closed:
  - Mandatory/optional SDF information block https://github.com/ietf-wg-asd=
f/SDF/issues/23 [1.1] [has PR]=20
  - application/json URI scheme doesn't define a fragment construction http=
s://github.com/ietf-wg-asdf/SDF/issues/20 [1.1] [has PR]=20
  - The example for sdfRequired should not point to a sdfData definition ht=
tps://github.com/ietf-wg-asdf/SDF/issues/18=20



Pull requests
-------------
* ietf-wg-asdf/SDF (+4/-3/=F0=9F=92=AC3)
  4 pull requests submitted:
  - Mark scalemin/max as 1.next (by cabo)
    https://github.com/ietf-wg-asdf/SDF/pull/25=20
  - Make information block optional in syntax, but point out it will be nee=
ded (by cabo)
    https://github.com/ietf-wg-asdf/SDF/pull/24=20
  - Actually define scaleMinimum and scaleMaximum (by cabo)
    https://github.com/ietf-wg-asdf/SDF/pull/22=20
  - Address I-D nits, close #20 (by cabo)
    https://github.com/ietf-wg-asdf/SDF/pull/21=20

  2 pull requests received 3 new comments:
  - #24 Make information block optional in syntax, but point out it will be=
 needed (2 by cabo, nwidell)
    https://github.com/ietf-wg-asdf/SDF/pull/24=20
  - #22 Actually define scaleMinimum and scaleMaximum (1 by cabo)
    https://github.com/ietf-wg-asdf/SDF/pull/22=20

  3 pull requests merged:
  - Mark scalemin/max as 1.0
    https://github.com/ietf-wg-asdf/SDF/pull/25=20
  - Make information block optional in syntax, but point out it will be nee=
ded
    https://github.com/ietf-wg-asdf/SDF/pull/24=20
  - Address I-D nits, close #20
    https://github.com/ietf-wg-asdf/SDF/pull/21=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/ietf-wg-asdf/SDF

--===============6205672936652721496==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (ASDF Activity Summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday March 14, 2021</h1>

<p>Events without label "editorial"</p>

<h2>Issues</h2>

<h3>ietf-wg-asdf/SDF (+2/-3/=F0=9F=92=AC4)</h3>
  <p class=3D"new">2 issues created:</p>
  <ul>
  <li>#26 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/26">Rules f=
or combining information from info blocks</a> (by cabo) </li>
 =20
  <li>#23 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/23">Mandato=
ry/optional SDF information block</a> (by akeranen) </li>
  </ul>

  <p>3 issues received 4 new comments:</p>
  <ul>
  <li>#26 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/26">Rules f=
or combining information from info blocks</a> (1 by cabo) <span class=3D"la=
bel" style=3D"background-color: #fef2c0; color: #000000">1.next</span> </li>
 =20
  <li>#23 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/23">Mandato=
ry/optional SDF information block</a> (2 by WAvdBeek, akeranen) <span class=
=3D"label" style=3D"background-color: #EE1176; color: #ffffff">1.1</span> <=
span class=3D"label" style=3D"background-color: #A213C1; color: #ffffff">ha=
s PR</span> </li>
 =20
  <li>#18 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/18">The exa=
mple for sdfRequired should not point to a sdfData definition</a> (1 by cab=
o) </li>
  </ul>

  <p>3 issues closed:</p>
  <ul>
  <li>#23 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/23">Mandato=
ry/optional SDF information block</a> <span class=3D"label" style=3D"backgr=
ound-color: #EE1176; color: #ffffff">1.1</span> <span class=3D"label" style=
=3D"background-color: #A213C1; color: #ffffff">has PR</span> </li>
 =20
  <li>#20 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/20">applica=
tion/json URI scheme doesn&#x27;t define a fragment construction</a> <span =
class=3D"label" style=3D"background-color: #EE1176; color: #ffffff">1.1</sp=
an> <span class=3D"label" style=3D"background-color: #A213C1; color: #fffff=
f">has PR</span> </li>
 =20
  <li>#18 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/18">The exa=
mple for sdfRequired should not point to a sdfData definition</a> </li>
  </ul>



<h2>Pull requests</h2>
<h3>ietf-wg-asdf/SDF (+4/-3/=F0=9F=92=AC3)</h3>
  <p class=3D"new">4 pull requests submitted:</p>
  <ul>
  <li>#25 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/25">Mark scal=
emin/max as 1.next</a> (by cabo) </li>
 =20
  <li>#24 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/24">Make info=
rmation block optional in syntax, but point out it will be needed</a> (by c=
abo) </li>
 =20
  <li>#22 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/22">Actually =
define scaleMinimum and scaleMaximum</a> (by cabo) </li>
 =20
  <li>#21 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/21">Address I=
-D nits, close #20</a> (by cabo) </li>
  </ul>

  <p>2 pull requests received 3 new comments:</p>
  <ul>
  <li>#24 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/24">Make info=
rmation block optional in syntax, but point out it will be needed</a> (2 by=
 cabo, nwidell) </li>
 =20
  <li>#22 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/22">Actually =
define scaleMinimum and scaleMaximum</a> (1 by cabo) </li>
  </ul>

  <p>3 pull requests merged:</p>
  <ul>
  <li>#25 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/25">Mark scal=
emin/max as 1.0</a> </li>
 =20
  <li>#24 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/24">Make info=
rmation block optional in syntax, but point out it will be needed</a> </li>
 =20
  <li>#21 <a href=3D"https://github.com/ietf-wg-asdf/SDF/pull/21">Address I=
-D nits, close #20</a> </li>
  </ul>


<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/ietf-wg-asdf/SDF">https://github.com/ie=
tf-wg-asdf/SDF</a></li>
  </ul>
</body>
</html>

--===============6205672936652721496==--


From nobody Thu Mar 18 11:41:47 2021
Return-Path: <mcr+ietf@sandelman.ca>
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 0A1BC3A3196 for <asdf@ietfa.amsl.com>; Thu, 18 Mar 2021 11:41:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 he-qPZgBG9dS for <asdf@ietfa.amsl.com>; Thu, 18 Mar 2021 11:41:42 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8758E3A3194 for <asdf@ietf.org>; Thu, 18 Mar 2021 11:41:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 8D709389A3 for <asdf@ietf.org>; Thu, 18 Mar 2021 14:47:15 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Yjw-fuXcSn14 for <asdf@ietf.org>; Thu, 18 Mar 2021 14:47:14 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 7C584389A1 for <asdf@ietf.org>; Thu, 18 Mar 2021 14:47:14 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id BD8DF1B9 for <asdf@ietf.org>; Thu, 18 Mar 2021 14:41:39 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: asdf@ietf.org
X-Attribution: mcr
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Thu, 18 Mar 2021 14:41:39 -0400
Message-ID: <30557.1616092899@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/JhNJmGxstA-U7CfKbQaX1KUHz5c>
Subject: [Asdf] minutes from plenary meeting 2021-03-11 uploaded
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: Thu, 18 Mar 2021 18:41:46 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


After a brief review, I have uploaded the CODIMD notes from last Thursday's
meeting to the Datatracker, and you can find them linked at:
  https://datatracker.ietf.org/meeting/110/session/asdf

They are also on github at:
  https://github.com/ietf-wg-asdf/asdf-working-group-notes/blob/main/meetin=
gs/minutes20210311.md

and you can send updates to the minutes using the "pencil" icon (i.e. by
sending pull requests), or if you really prefer, by editing what is attached
below.   Thank you to our minute taker, Ari.

The doodle poll for future virtual interim meetings will get posted in the
next week.

The major action item was that -05 was marked as the "1.1" implementation d=
raft.


# ASDF 110 meeting minutes

CodiMD for notes https://codimd.ietf.org/notes-ietf-110-asdf

Meetecho: https://meetings.conf.meetecho.com/ietf110/?group=3Dasdf&short=3D=
&item=3D1

jabber:   xmpp:asdf@jabber.ietf.org?join

All ASDF  notes at: =E2=80=A8https://github.com/ietf-wg-asdf/asdf-working-g=
roup-notes.git

jabber count: 30 entries, 24 unique people,



# Introduction, meeting logistics, agenda bashing

# Note takers, jabber scribe

note takers: Michael Richardson, Ari Ker=C3=A4nen, <your name here></your>

# ASDF Outreach

Have been doing outreach to various orgs (OMA, ISO/IEC, W3C WoT, ...). OneD=
M was inclued in recent IIC white paper.

Happy to hear from other orgs working in this space!

# Hackathon Results

Niklas gave overview of the hackathon; more details coming at the T2TRG mee=
ting in 4 hours.


# ASDF status update (chairs)

Chartered October 2020! (not 2021)



## SDF 1.1 -- Implementation Draft call for consensus
    - concluded March 9.

Had call for consensus for implementation draft; concluded without objectio=
ns. Minor comments to be addressed.

Three PRs:
=2D IANA considerations
=2D info block required part of syntax? Often TBDs in the blocks during dev=
elopment time if required (as currently). Suggesting to make info block opt=
ional.
=2D Clarifying scaleMin/max realized they don't work exactly like intended =
with mapping. Details to come later today. Suggesting to have them only in =
1.0 version of SDF (models in OneDM playground not using these yet). First =
1.next activity will come up with right quality to support this properly.

None change the format in way that tools that create/consume SDF need to ch=
ange.

Michael Richardson (MCR): interested do discuss min/max issue with the deta=
iled slides

Ari Ker=C3=A4nen (AK): first PR obvious thing to do, the second seems usefu=
l, third probably benefits from more discussion

Carsten Bormann (CB): in OneDM have linter that can be more strict than the=
 grammar

Michael Koster (MJK): on info block, one useful feature is version. Early w=
anted to track contributions. Copyright would contain information. Optional=
 info block should not get in way though.

Niklas Widell (NW): some investigation needed on merging copyrights; machin=
e readable license and TOS useful.
First PR simple, second PR has some things for consideration but doesn't br=
eak anything, third technically more complicated. Takes some time to solve.=
 Good to sort out the details in v.next so we can finish 1.1 now.

...

MCR: making optional does not eliminate issue if it'f present how to merge.=
 Need to solve still. If someone has put info block don't lose the copyrigh=
t info even if block is optional.

AK: seems to favor making info block optional so that have mechanism to say=
 "I don't have anything useful to say here".

NW: may need some text on merging

MJK: some early discussion on this, but the approach here seems correct.
On scalemin/max models would still validate as 1.0. Can also be experimente=
d as mapping file entry. Can be used as our first experiment here.

NW: hear that 2 and 3 have side effects, but would work to do the changes a=
s suggested. And can get going solving the problems in the next cycle.

AK: could take a poll on the #3 after detailed presentation

NW: can take 1 & 2 as accepted now and come back to 3 later today. Any obje=
ctions?

(no objections)

# discussion about scaleMin/Max

skipped to slide 23, for discussion about scale-min/Max.

Carsten explained issues on scaleMin/Max and plan for v.next.

JSON schema has perception that describing things on the wire. However in S=
DF describing information model ("physical side") here. No single standard =
for digital representations, e.g. of temperature.

(should be deciKelvins insted of centiKelvins in slide)

"digital numbers" (on wire) should be provided by mapping file.
Question is which side should get JSO min/max keyword.
In playground min/max seems to be used for physical quantities.

One issue: JSO probably wants to stay in I-JSON constraints for values but =
IEEE 754 has been designed so that it's not problem for most physical quant=
ities.

MCR: JSO side now would have to set filters etc on the physical side, not d=
igital

CB: people actually seem to be using on physical side.

CB: proposal is to attack the digital side in 1.next version of SDF to enab=
le new scaling.
This is not a change but just acknowleding scaleMin/Max would cause issues =
we don't have to tackle in 1.1

MJK: in thinking through this more seems we have more discussion to do. In =
SDF have physical quantity, scale*. In actual system SDF file might have qu=
ntity min/max and in protocol side have converted to suitable JSO. Insted o=
f reusing JSO for physical side could have something else too. But that's f=
or v1.next.

NW: for finalizing SDF 1.1; with the suggested PR we can postpone the probl=
em to v.next?

CB: yes, we're not changing how people are using these and have gathered in=
formation on where we want to take this.

NW: any objections folding in the proposed changed for scaleMin/Max? Or nee=
d to discuss more? (PR 3)

(no objections)

NW: seems we're OK merging all three and publishing new version of the draf=
t.

(request to be able to send heart-emojis in Meetecho)

CB: will take about one hour to merge the changes and publish -04

# ASDF Issues

# SDF.next

NW: are looking into new features for SDF. In addition to what discussed to=
day, more issues discussed last week. Now discussing 3 things to be address=
 in next version of SDF.

## Properties/Actions/Events (P/A/E) and scaling

Slide 17.

CB (presenting): The types (T) are in general the same. How reading/writing=
 is done (REST, message queue), is not relevant here.
Property can be written/read/observed.
Action is something you throw input data to, something happens in physical =
world, and then you get something out. Similarities to RPC but not necessar=
ily same. "Making a coffe" typical example.
Event puts out data of certain type; not much different from property. Don'=
t say if getting needs to be solicited. Only thing defined about events so =
far is they throw data at you.

In industry very different concepts mashed together in Events. For example =
door bell press can be event (not changing state of the door bell). We shou=
ld focus our discussion on "genuine events". SDF 1.1 is fine as it is but i=
t just doesn't tell what kind of events are provided.

Sensor value with threshold alarm is non-event. Historical data is somethin=
g to tacle in next version of SDF but not really event.

Observable in SDF is not the same as CoAP Observe. Does not imply readable.=
 Read/Write/Observable are independent. Many pub/sub style affordances are =
SDF observable in that sense. Should not use Event when Observable is the r=
ight model.

sdfAction looks fine, but pressure testing TBD. Can't model spawning P/A/E =
yet; further work to be done here.

MCR: e.g., ask coffee maker to start making coffee and that spawn something=
 that has controls on it

CB: yes, progress property that goes away when action is done.

Michael McCool (MMC): cancellable actions example we've seen. Played with r=
eturning new TD for such. Here could be returning new SDF.

CB: cancellable parallel actions example would be good (better than coffee =
machine example)

NW: seems more details & functionality for sdfAction in future needed but c=
an remain as such for the current spec.

MMC: have separate data model in TDs; action would be used for subscribing?

CB: maybe want to implement new functionality for that

MJK: subscribing and unsubscribing might belong to protocol binding

NW: different actions can be cancellable (or not)


## =E2=80=9CMapping=E2=80=9D

MJK (presenting): SDF definitions are protocol neutral. Can have semantic i=
nterop across ecosystems. "Mapping file" catch all term for separating prot=
ocol specifics. Augmenting SDF definitions (see slide 33).

...

Juan-Carlos Zuniga (JC): trying to figure out if want to have semantic def =
for binary data on wire. E.g., not byte-aligned data. How would mapping wor=
k out?

MJK: have few examples of raw models. Packed array of items. Can size each =
item. Have in bluetooth example of widthinbits. Can describe the full mappi=
ng.

MJK: next need to do pressure test with these features. Need to introduce e=
xtension schemas and mapping formats. Probably need to be separate drafts t=
o spec these.

MJK: (one more thing) value scaling likely going to be big thing for intero=
p (slide 40)

NW: makes sense to have as separate spec from the SDF spec

CB: very good talk that leads to question how we pursue this kind of work. =
Next virtual interims?

NW: in mapping files need good understanding of what different ecosystems n=
eed. We know quite well for IPSO and OCF, but could come up with template c=
ases of how to map to different ecosystems.

MCR: seems we need 3 things: 1) what we need to clarify befor we can do map=
pings 2) what is the work needed  to generate mapping  specs 3) what are ex=
ample  mappings. Need to do some of that work before virtual interim to dis=
cuss about it.

MJK: in TD examples could be as simple of providing data schema elements an=
d (protocol details?). For OCF maybe need to intro swagger files. Will ther=
e be common  ontology for protocol bindings? In WoT each binding is separat=
e ontolgy. Easy way out to use those patterns.

NW: will work on some examples. Hackathon oriented meeting could make sense=
 here. Should have interim ~month from now? Week of April 12th?

CB: mid April might be right thing with hackathon before that.

NW: will do a doodle. After Easter hackathon. Goodd if MJK can throw out st=
rawman proposal.

MJK: not maybe read for I-D but next step would be making a little bit more=
 documentation now. And see what others have done.

NW: have way forward; doodle going out soonish.

AK: could also look into expressing relationships between things and object=
s.

MJK: thing model that worked on would benefit a lot from such

AK: could be mapping file concept, SDF concept, or something else

## SDF Compact

CB (presenting): SDF is optimized for tools, but need ways to help humans u=
se it too. Example from XML: Relax-NG compact designed for whiteboard use o=
f XML. Question came up during hackathon: can something similar be done wit=
h SDF?

Slide 44 showing example from slide 43 in proposed "compact form".

For example "r-o!"  means readale and observable and required.

Plan to complete the implementation and publish the tool in April. This cou=
ld be informational doc along with SDF spec (that is normative).

MCR: is intention that this be round-trippable

CB: yes; in this case doesn't make sense to have compact format that doesn'=
t have that.

MJK: was idea of building visual code / atom handler. If want to see JSON c=
an see that but can use this while developing.

AK: seems like useful addition to our toolbox. Could be considered as one o=
f the "ecosystems" we provide translation to. Would expect the JSON format =
to be used for tools still because  of wide availability of JSON tooling.

MJK: good to collect these tools together

MCR: can have tools in Github org or provide pointers

NW: will be sending a doodle for the interims.

(meeting adjourned)

# Future planned Virtual Interims

# AOB




=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmBTnuMACgkQgItw+93Q
3WXwRQf+IkY/eg8mBiTeORhW0hjsTZpoeJgotvav8PS7yTsPMUBNSiy39i6Y6x+I
dkMY6fH1qmukSPpxAKg2U1oL8vQVyJRG72ROJy0SV/mDKOhQJyiPv0F6g7NUbScC
trrXUB0tqlrXaSuVmZpyj3TuNirQW7I76ZB+xGafyao1PlTxqkAUVfxX2ZAGT+wQ
Z7K0Ydka3HvUIkaqpnLQAxO6cguRnB8UlCupfWI8ACF0F+Vpd1OKe4jQ1/VB6wmm
d6jsDw7+FNvzszqTS0L/7c2wbyrKLc2avsEJhhaBusuXsOeN5gX0s4AJl7wpb6Lr
AQ457cBGguuUtjpSrs4bY8EBMcsk6Q==
=eIyD
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Mar 21 00:56:14 2021
Return-Path: <do_not_reply@mnot.net>
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 65FBA3A18A9 for <asdf@ietfa.amsl.com>; Sun, 21 Mar 2021 00:56:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level: 
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=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=mnot.net header.b=EMqTXvfC; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=tnq7TBzd
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 S3jg6KeOvt8N for <asdf@ietfa.amsl.com>; Sun, 21 Mar 2021 00:56:07 -0700 (PDT)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD1453A18A8 for <asdf@ietf.org>; Sun, 21 Mar 2021 00:56:07 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 065321710 for <asdf@ietf.org>; Sun, 21 Mar 2021 03:38:56 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 21 Mar 2021 03:38:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject:message-id:date; s= fm2; bh=MLvgiMw3aP3ayUqIEDFyJJNQZ/OHepK0jghbDuPcR14=; b=EMqTXvfC kBhPKO7cIpq0jXzsCnyiaONYSXO56AGtPc44eoa665GKaGcEpoSNB+oipjCtWuML rKMgs7mQsg2BXBArAGKvd3P81BHnkRpCsiIm7fE4IH0757H9XTNPP/PFll4gbkQL hvmq8i2mVwm7uNDdwzKHsBhidQ1lBxJ1iCZsLLCG7lv1FgMM1lWMyAETWAAX2QQm a8u8vkv83UqMNrRqqdSRyxarI73PYVqulA+4rtGRETcglE7Hy5Q8vGdtQwABsSOV 0i7KGlG7spE/BuzJw27q6fP6Nki/bSgNukRkfgaBL/2Uibqgmoe5J37ffzaDY4Nt 67oxAwXBynf/ow==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=MLvgiMw3aP3ayUqIEDFyJJNQZ/OHe pK0jghbDuPcR14=; b=tnq7TBzdJXqVONgxtLDzm4tgHjHdo+aEAfeNBRpqhObGC ebFp7GnZEr1xmRkbEEeP3Nq5T2ys7+yrbX5pjhU9vlOPJd9mIgw1q3YXG3e3r6YL moi9d6Nkd8EbX/DWH6bz2MkWhQYlFLnMX6fPeusXigNB7RbjzfCvuwZMEkSOENIm nwN0rDYYuh7WSWzPzcWYNB+B8guA+jsqn+5bIdWaWCM3ISXFGV6xkJs6hdv7N558 AhSvb1qMozYJxCibhIYCnd1tMNYh1xogIXMEBcbQXaNK5OlaePcWaPUh+T7RDB0k 5Jpvahw4jySY6R5OEIj/pigYnlaOFZTfxmUFi2xcg==
X-ME-Sender: <xms:EPhWYCSkGEFqt0i2gBwfy9-BuTX7jAfvHHjMsUX0PRvYlTg5M6Bchg> <xme:EPhWYHxXHKywxpVKSESyVb0WPUNlflftp5KdiJQJdotDeEJAxtYiMYI6sFo5NwSPa qcALtX-UF1IcRmCFA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeguddgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurheptggghffvufesrgdttdertddtje enucfhrhhomheptfgvphhoshhithhorhihucettghtihhvihhthicuufhumhhmrghrhicu uehothcuoeguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeekfedvudetjedvfeekheeiveeugfefhfetteevgeffkefffeetffdvleehudei teenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeehvddrvdehuddruddvtd drudehleenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepmhgrihhlfhhrohhm peguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:EPhWYP3_WuR7srfULVnmqajBq-7-mBkveClyeCHNDUgTcjgFk4YhNQ> <xmx:EPhWYOC426ROSe3Pz6ojsFJUdyvipT9JKZu7KRl2CMD8RYDMEiIGJg> <xmx:EPhWYLi7aoQkXmbYVGokL0g16iJknHcrojP_id5KV-NpJnGQH9Bpxg> <xmx:EPhWYDYA3av9JizRP83Dn-jT6Er6cPRzR0RzPtYDipbsyK47JpeGgA>
Received: from fv-az194-582.internal.cloudapp.net (unknown [52.251.120.159]) by mail.messagingengine.com (Postfix) with ESMTPA id 7D7F01080054 for <asdf@ietf.org>; Sun, 21 Mar 2021 03:38:56 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============4747191494361076814=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: asdf@ietf.org
Message-Id: <20210321073856.7D7F01080054@mailuser.nyi.internal>
Date: Sun, 21 Mar 2021 03:38:56 -0400 (EDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/6Ybdt-AG7AiIgOoF23maUzyKKa4>
Subject: [Asdf] Weekly github digest (ASDF Activity Summary)
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: Sun, 21 Mar 2021 07:56:12 -0000

--===============4747191494361076814==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Events without label "editorial"

Issues
------
* ietf-wg-asdf/SDF (+1/-0/=F0=9F=92=AC0)
  1 issues created:
  - Factoring dataqualities in an sdfChoice (by cabo)
    https://github.com/ietf-wg-asdf/SDF/issues/27=20




Repositories tracked by this digest:
-----------------------------------
* https://github.com/ietf-wg-asdf/SDF

--===============4747191494361076814==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (ASDF Activity Summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday March 21, 2021</h1>

<p>Events without label "editorial"</p>

<h2>Issues</h2>

<h3>ietf-wg-asdf/SDF (+1/-0/=F0=9F=92=AC0)</h3>
  <p class=3D"new">1 issues created:</p>
  <ul>
  <li>#27 <a href=3D"https://github.com/ietf-wg-asdf/SDF/issues/27">Factori=
ng dataqualities in an sdfChoice</a> (by cabo) </li>
  </ul>






<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/ietf-wg-asdf/SDF">https://github.com/ie=
tf-wg-asdf/SDF</a></li>
  </ul>
</body>
</html>

--===============4747191494361076814==--


From nobody Mon Mar 29 09:13:42 2021
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 712C63A19C3 for <asdf@ietfa.amsl.com>; Mon, 29 Mar 2021 09:13:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 4306H5P8-UCU for <asdf@ietfa.amsl.com>; Mon, 29 Mar 2021 09:13:37 -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 73E243A19BF for <asdf@ietf.org>; Mon, 29 Mar 2021 09:13:37 -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 4F8Hgf6BWwzyXN; Mon, 29 Mar 2021 18:13:34 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 638727214.018922-874840fe5879a52cf4eaf14d0d69850e
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Mon, 29 Mar 2021 18:13:34 +0200
Message-Id: <5E1F89D1-0E77-4DE2-B302-12F4AB248EA7@tzi.org>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/YWpiYLw3DaqKlO_A3cTTQ3BBH7c>
Subject: [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: Mon, 29 Mar 2021 16:13:41 -0000

After today=E2=80=99s OneDM discussion, I put together a quick strawman =
that shows how to put together a fridge-freezer out of two refrigeration =
components.

=
https://github.com/one-data-model/exploratory/blob/master/sdfThing/fridgef=
reezer.sdf.json

This demonstrate static named composition.
It does not show how to do Ari=E2=80=99s use case of numbered =
composition (an array of sdfThings or sdfObjects in an sdfThing).
It also doesn=E2=80=99t demonstrate dynamic composition.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Tue Mar 30 06:09:35 2021
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 BC9D73A1195 for <asdf@ietfa.amsl.com>; Tue, 30 Mar 2021 06:09:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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 A0rqANcnbiUT for <asdf@ietfa.amsl.com>; Tue, 30 Mar 2021 06:09:31 -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 1A5BD3A1196 for <asdf@ietf.org>; Tue, 30 Mar 2021 06:09:30 -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 4F8qXn12pRzyhZ; Tue, 30 Mar 2021 15:09:29 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 638802568.405084-d386c3670af64703780d3b941818aa73
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\))
Date: Tue, 30 Mar 2021 15:09:28 +0200
Message-Id: <447CBFA7-7ACB-48FB-837E-71500843768D@tzi.org>
To: asdf@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/f9AivAE-5hb-7LqCW3e31zB8Qe0>
Subject: [Asdf] enum abuse in OneDM playground
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: Tue, 30 Mar 2021 13:09:34 -0000

The sdf linter didn=E2=80=99t catch this yet:

(1) enum definitions without the redundant =E2=80=9Ctype=E2=80=9D: =
=E2=80=9Cstring=E2=80=9D:

** sdfobject-genericdefaulttransitiontime.sdf.json: type nil in =
{"enum"=3D>["100 Milliseconds", "1 Second", "10 Seconds", "10 Minutes"]}
** sdfobject-genericlevel.sdf.json: type nil in {"enum"=3D>["100 =
Milliseconds", "1 Second", "10 Seconds", "10 Minutes"]}
** sdfobject-genericonoff.sdf.json: type nil in {"enum"=3D>["Off", =
"On"]}
** sdfobject-genericonoff.sdf.json: type nil in {"enum"=3D>["100 =
Milliseconds", "1 Second", "10 Seconds", "10 Minutes=E2=80=9D]}

(2) enum definitions with (correct) string values but the conflicting =
=E2=80=9Ctype=E2=80=9D: =E2=80=9Cnumber=E2=80=9D:

** sdfobject-level.sdf.json: type "number" in {"enum"=3D>["Up", "Down"]}
** sdfobject-level.sdf.json: type "number" in =
{"enum"=3D>["MinimumDeviceValuePermitted", "SetToPreviousValue"]}
** sdfobject-onoff.sdf.json: type "number" in {"enum"=3D>["SetOnOffTo0", =
"SetOnOffTo1", "TogglePreviousOnOff", "SetPreviousOnOff"]}

Wondering whether this is a bug in the models or something that we =
should address (allow?) in the 1.next spec.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Tue Mar 30 11:44:38 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 A318E3A1E26 for <asdf@ietfa.amsl.com>; Tue, 30 Mar 2021 11:44:36 -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 QUP2-ha1EaVn for <asdf@ietfa.amsl.com>; Tue, 30 Mar 2021 11:44:32 -0700 (PDT)
Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (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 6B7363A1E25 for <asdf@ietf.org>; Tue, 30 Mar 2021 11:44:32 -0700 (PDT)
Received: by mail-pl1-x636.google.com with SMTP id ay2so6621415plb.3 for <asdf@ietf.org>; Tue, 30 Mar 2021 11:44:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=GXy64XbHL9dmC/TmcJPBGl4Be0UhlDmTkI0DSXciWqs=; b=lEynUXL+dY0wEzL+vIQLByb/TyYNbeyd1cC7um7we5JERcD1Abs0Gk0ToO9cpCwRo5 ++LOfX6B5aeQ/XmtgFGCrWG+e+6/EFzz6bm/+Na9upBo75gDufDPwQZuvb1zYWOrP7go chZZtn7ljerfA5yTkyna75Mg0kBERP9U4IzQYuu+c2PPFpt+7MzAEgTjckXHWBB7ioVy dPyNNUG9tdhwHGqkqSP8IEOvPAyDMxCzp9bvunW70kT/P695ABpuqlcnPVoeRPwpME8f hlXPrJ+rQXgUt8lsGxIK/RpuzEe0fcrP88rNJfvns7gWtgL0L65ZRQDg8HULLECXH13b 1tiA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=GXy64XbHL9dmC/TmcJPBGl4Be0UhlDmTkI0DSXciWqs=; b=WZlbvrjPCkl5Na2z3o9ydsP6YkhO3K3GY9JnlV0pFTTHe6FQMrHXHmVgE/1RMl8278 apz44dz2FmvXw4GhmJl6CLuBi6IkVZ3AT7kAAGoh6qxn0RS6Ug1TizRcTfIju7JIrzKa qy/uAMbEMepbxeravlg+l5iE5nrjvIyc3YriKuwE0lsdh0w0BgZLZtWMjcwJmyDx/775 MkP0WhW/kCNqUx7IuQOc/7ySeuF7Xt8O6DIzbllXM+h4xjUZXaFD+I0etlezp7qK99kM JAZ0Rg+uDRRT6yG9rAgBmaDh+jikjAnkQpuL5bmt0OdO+lgFL2xNPypL22Lh9fPa8Bw4 IQYg==
X-Gm-Message-State: AOAM532xN4i4x1eyoRbs7WM0bntPEFz4ObUPzWuzfjem2cXyj1VE1rC1 UDs4UW6EbFeRjakEOzD1x8SK0gb8VQ4=
X-Google-Smtp-Source: ABdhPJxVyTUVt7Awj/tZ3eJzeCaq9rPHeML7CP+7g3NlVrox8f9UQBZrWze1eBZ9G9opco4Lo2Urig==
X-Received: by 2002:a17:90a:7344:: with SMTP id j4mr5361796pjs.223.1617129870684;  Tue, 30 Mar 2021 11:44:30 -0700 (PDT)
Received: from [172.16.0.10] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id x186sm21010836pfc.65.2021.03.30.11.44.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Mar 2021 11:44:30 -0700 (PDT)
From: Michael Koster <michaeljohnkoster@gmail.com>
Message-Id: <FA554309-75F2-4ECA-8A11-CD32054E48EB@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_D32FACBA-DE2F-4AC9-8FDA-B57A14F6FA69"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Tue, 30 Mar 2021 11:44:29 -0700
In-Reply-To: <447CBFA7-7ACB-48FB-837E-71500843768D@tzi.org>
Cc: asdf@ietf.org
To: Carsten Bormann <cabo@tzi.org>
References: <447CBFA7-7ACB-48FB-837E-71500843768D@tzi.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/LsP0kSzyV6HuW7DnNIqn91Oj9rw>
Subject: Re: [Asdf] enum abuse in OneDM playground
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: Tue, 30 Mar 2021 18:44:37 -0000

--Apple-Mail=_D32FACBA-DE2F-4AC9-8FDA-B57A14F6FA69
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

There ia a PR that isn't yet merged:
https://github.com/one-data-model/playground/pull/48 =
<https://github.com/one-data-model/playground/pull/48>

Updates all of these models to SDF 1.1 syntax.

Best regards,

Michael


> On Mar 30, 2021, at 6:09 AM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> The sdf linter didn=E2=80=99t catch this yet:
>=20
> (1) enum definitions without the redundant =E2=80=9Ctype=E2=80=9D: =
=E2=80=9Cstring=E2=80=9D:
>=20
> ** sdfobject-genericdefaulttransitiontime.sdf.json: type nil in =
{"enum"=3D>["100 Milliseconds", "1 Second", "10 Seconds", "10 Minutes"]}
> ** sdfobject-genericlevel.sdf.json: type nil in {"enum"=3D>["100 =
Milliseconds", "1 Second", "10 Seconds", "10 Minutes"]}
> ** sdfobject-genericonoff.sdf.json: type nil in {"enum"=3D>["Off", =
"On"]}
> ** sdfobject-genericonoff.sdf.json: type nil in {"enum"=3D>["100 =
Milliseconds", "1 Second", "10 Seconds", "10 Minutes=E2=80=9D]}
>=20
> (2) enum definitions with (correct) string values but the conflicting =
=E2=80=9Ctype=E2=80=9D: =E2=80=9Cnumber=E2=80=9D:
>=20
> ** sdfobject-level.sdf.json: type "number" in {"enum"=3D>["Up", =
"Down"]}
> ** sdfobject-level.sdf.json: type "number" in =
{"enum"=3D>["MinimumDeviceValuePermitted", "SetToPreviousValue"]}
> ** sdfobject-onoff.sdf.json: type "number" in {"enum"=3D>["SetOnOffTo0",=
 "SetOnOffTo1", "TogglePreviousOnOff", "SetPreviousOnOff"]}
>=20
> Wondering whether this is a bug in the models or something that we =
should address (allow?) in the 1.next spec.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> --=20
> ASDF mailing list
> ASDF@ietf.org
> https://www.ietf.org/mailman/listinfo/asdf


--Apple-Mail=_D32FACBA-DE2F-4AC9-8FDA-B57A14F6FA69
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">There=
 ia a PR that isn't yet merged:<div class=3D""><a =
href=3D"https://github.com/one-data-model/playground/pull/48" =
class=3D"">https://github.com/one-data-model/playground/pull/48</a></div><=
div class=3D""><br class=3D""></div><div class=3D"">Updates all of these =
models to SDF 1.1 syntax.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Best regards,</div><div class=3D""><br class=3D""></div><div =
class=3D"">Michael</div><div class=3D""><br class=3D""></div><div =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Mar 30, 2021, at 6:09 AM, Carsten Bormann &lt;<a =
href=3D"mailto:cabo@tzi.org" class=3D"">cabo@tzi.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">The sdf linter didn=E2=80=99t catch this yet:<br class=3D""><br=
 class=3D"">(1) enum definitions without the redundant =E2=80=9Ctype=E2=80=
=9D: =E2=80=9Cstring=E2=80=9D:<br class=3D""><br class=3D"">** =
sdfobject-genericdefaulttransitiontime.sdf.json: type nil in =
{"enum"=3D&gt;["100 Milliseconds", "1 Second", "10 Seconds", "10 =
Minutes"]}<br class=3D"">** sdfobject-genericlevel.sdf.json: type nil in =
{"enum"=3D&gt;["100 Milliseconds", "1 Second", "10 Seconds", "10 =
Minutes"]}<br class=3D"">** sdfobject-genericonoff.sdf.json: type nil in =
{"enum"=3D&gt;["Off", "On"]}<br class=3D"">** =
sdfobject-genericonoff.sdf.json: type nil in {"enum"=3D&gt;["100 =
Milliseconds", "1 Second", "10 Seconds", "10 Minutes=E2=80=9D]}<br =
class=3D""><br class=3D"">(2) enum definitions with (correct) string =
values but the conflicting =E2=80=9Ctype=E2=80=9D: =E2=80=9Cnumber=E2=80=9D=
:<br class=3D""><br class=3D"">** sdfobject-level.sdf.json: type =
"number" in {"enum"=3D&gt;["Up", "Down"]}<br class=3D"">** =
sdfobject-level.sdf.json: type "number" in =
{"enum"=3D&gt;["MinimumDeviceValuePermitted", "SetToPreviousValue"]}<br =
class=3D"">** sdfobject-onoff.sdf.json: type "number" in =
{"enum"=3D&gt;["SetOnOffTo0", "SetOnOffTo1", "TogglePreviousOnOff", =
"SetPreviousOnOff"]}<br class=3D""><br class=3D"">Wondering whether this =
is a bug in the models or something that we should address (allow?) in =
the 1.next spec.<br class=3D""><br class=3D"">Gr=C3=BC=C3=9Fe, =
Carsten<br class=3D""><br class=3D"">-- <br class=3D"">ASDF mailing =
list<br class=3D""><a href=3D"mailto:ASDF@ietf.org" =
class=3D"">ASDF@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/asdf<br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_D32FACBA-DE2F-4AC9-8FDA-B57A14F6FA69--


From nobody Tue Mar 30 13:19:34 2021
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 A81233A0839 for <asdf@ietfa.amsl.com>; Tue, 30 Mar 2021 13:19:32 -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 u_Lbwk5hZOhm for <asdf@ietfa.amsl.com>; Tue, 30 Mar 2021 13:19:27 -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 5D7103A0813 for <asdf@ietf.org>; Tue, 30 Mar 2021 13:19:14 -0700 (PDT)
Received: from [192.168.217.152] (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 4F914c4S62zyST; Tue, 30 Mar 2021 22:19:12 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <FA554309-75F2-4ECA-8A11-CD32054E48EB@gmail.com>
Date: Tue, 30 Mar 2021 22:19:12 +0200
Cc: asdf@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <2D7C6229-9126-4A8B-889F-4916AFC79322@tzi.org>
References: <447CBFA7-7ACB-48FB-837E-71500843768D@tzi.org> <FA554309-75F2-4ECA-8A11-CD32054E48EB@gmail.com>
To: Michael Koster <michaeljohnkoster@gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/4aDt8gY8Le__V6hn8RXpvHFatLg>
Subject: Re: [Asdf] enum abuse in OneDM playground
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: Tue, 30 Mar 2021 20:19:33 -0000

Indeed!

It seems to me that this was stuck on the scaleM..imum issue, which is =
now resolved in SDF 1.1.
So maybe we can move this forward with a few changes; I put in a quick =
review.

Gr=C3=BC=C3=9Fe, Carsten


> On 30. Mar 2021, at 20:44, Michael Koster =
<michaeljohnkoster@gmail.com> wrote:
>=20
> There ia a PR that isn't yet merged:
> https://github.com/one-data-model/playground/pull/48
>=20
> Updates all of these models to SDF 1.1 syntax.
>=20
> Best regards,
>=20
> Michael
>=20
>=20
>> On Mar 30, 2021, at 6:09 AM, Carsten Bormann <cabo@tzi.org> wrote:
>>=20
>> The sdf linter didn=E2=80=99t catch this yet:
>>=20
>> (1) enum definitions without the redundant =E2=80=9Ctype=E2=80=9D: =
=E2=80=9Cstring=E2=80=9D:
>>=20
>> ** sdfobject-genericdefaulttransitiontime.sdf.json: type nil in =
{"enum"=3D>["100 Milliseconds", "1 Second", "10 Seconds", "10 Minutes"]}
>> ** sdfobject-genericlevel.sdf.json: type nil in {"enum"=3D>["100 =
Milliseconds", "1 Second", "10 Seconds", "10 Minutes"]}
>> ** sdfobject-genericonoff.sdf.json: type nil in {"enum"=3D>["Off", =
"On"]}
>> ** sdfobject-genericonoff.sdf.json: type nil in {"enum"=3D>["100 =
Milliseconds", "1 Second", "10 Seconds", "10 Minutes=E2=80=9D]}
>>=20
>> (2) enum definitions with (correct) string values but the conflicting =
=E2=80=9Ctype=E2=80=9D: =E2=80=9Cnumber=E2=80=9D:
>>=20
>> ** sdfobject-level.sdf.json: type "number" in {"enum"=3D>["Up", =
"Down"]}
>> ** sdfobject-level.sdf.json: type "number" in =
{"enum"=3D>["MinimumDeviceValuePermitted", "SetToPreviousValue"]}
>> ** sdfobject-onoff.sdf.json: type "number" in =
{"enum"=3D>["SetOnOffTo0", "SetOnOffTo1", "TogglePreviousOnOff", =
"SetPreviousOnOff"]}
>>=20
>> Wondering whether this is a bug in the models or something that we =
should address (allow?) in the 1.next spec.
>>=20
>> Gr=C3=BC=C3=9Fe, Carsten
>>=20
>> --=20
>> ASDF mailing list
>> ASDF@ietf.org
>> https://www.ietf.org/mailman/listinfo/asdf
>=20
> --=20
> ASDF mailing list
> ASDF@ietf.org
> https://www.ietf.org/mailman/listinfo/asdf


From nobody Wed Mar 31 11:44:49 2021
Return-Path: <ari.keranen@ericsson.com>
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 BE5C23A315C for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 11:44:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.802
X-Spam-Level: 
X-Spam-Status: No, score=-2.802 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 O7PZOnFV6m4c for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 11:44:44 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80055.outbound.protection.outlook.com [40.107.8.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 235AF3A315A for <asdf@ietf.org>; Wed, 31 Mar 2021 11:44:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kCArD9e51pUS+VPGhSRcGj4l1ZQ0YcC7vhGGZvSKGlx6kL0QG6DBNvBeMnvtCpzFoBJe87Y4dQ3bQtoLN/qOEqsVc72vqzBqcEIQ1CIaNH2Am5UGYvJFW5EHGkRg9wSiuRxEXrTemyMxv/jQYmFxnxGYMzr/pm8O9tAXCfoBycRzpRi21tV9P4j0pTv3GcqypPMu3pgaonxjyajA8/F/4PfIsUQ18hPZm3cdNVqIvHxEzk60dJaIzxilJsNw3h4QpQQ/GngLS/WCjnR0aPNXA/Tjwu5gerbDxYUc68rmZsb1A6umJ9GNC+m/uWyxBXTCBTNd5gHrKvwFnt1zjtK/uQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CQGvsMHktvEKTQqnOKCcuk9PoOhRVdTcxl0F5iLAz1w=; b=URMxFRbhRz4lCL/VMKeDu14inPVzm1gG647Tci8f7ST5PA7HjQmi0IAF9EwLuOMdlknwe0tFJ26sSJbNNZZD36UXg5BD+haJM+YDGUBUaTzoz1QRCmUIXrhAI4AXVMe3v4+65BVtgMToOYavLb4VXfLEYazkkXAY+8VuU8wR0m7aG6ZlvqXLlADCc7TmKRWnjADGfeXAWNYWHlDTh6sYTuRutJui9FWxPnWXS0L2r5ovjSERoX43YSGMuDHv+M9ZEIJ7LlTRpG3kmhJZDdQxOy8PiKduOEXzGdRdaL2T2m02iS/p2ruUIxVqt5Z7maMJbKJxr8aJ1Ztcchxg7k58Mg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CQGvsMHktvEKTQqnOKCcuk9PoOhRVdTcxl0F5iLAz1w=; b=KdJGtAEm40kMPtfO1o1opjaFHhxPfyTkCbLiSTpkrc/vN+ZqrAnX87aRKg+o1Kec0iEGIrEmRFxUb+Gus3hKk8aRhCzacZVsnbNMjFehihZb9EbzKjPUhILqWlF6nmuGgkCK5YPgNHYU1bMUG1ufwHpCUcAke9REmuQ9kt6sKgE=
Received: from HE1PR07MB3226.eurprd07.prod.outlook.com (2603:10a6:7:33::20) by HE1PR0701MB2265.eurprd07.prod.outlook.com (2603:10a6:3:20::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.16; Wed, 31 Mar 2021 18:44:40 +0000
Received: from HE1PR07MB3226.eurprd07.prod.outlook.com ([fe80::8a3:ef22:4a29:7d1b]) by HE1PR07MB3226.eurprd07.prod.outlook.com ([fe80::8a3:ef22:4a29:7d1b%5]) with mapi id 15.20.3999.025; Wed, 31 Mar 2021 18:44:40 +0000
From: =?Windows-1252?Q?Ari_Ker=E4nen?= <ari.keranen@ericsson.com>
To: "asdf@ietf.org" <asdf@ietf.org>
CC: Carsten Bormann <cabo@tzi.org>
Thread-Topic: [Asdf] Composing sdfThings
Thread-Index: AQHXJLaF5NxdA1m79kukjSwA+w0hYKqeajMN
Date: Wed, 31 Mar 2021 18:44:40 +0000
Message-ID: <HE1PR07MB32269680CB56CC9BDEA1DADD857C9@HE1PR07MB3226.eurprd07.prod.outlook.com>
References: <5E1F89D1-0E77-4DE2-B302-12F4AB248EA7@tzi.org>
In-Reply-To: <5E1F89D1-0E77-4DE2-B302-12F4AB248EA7@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [2001:14bb:180:147c:4061:4e56:c706:fa5a]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: aa9b2672-d714-4b5c-d924-08d8f4750b11
x-ms-traffictypediagnostic: HE1PR0701MB2265:
x-microsoft-antispam-prvs: <HE1PR0701MB2265AEA670D8DC48556E1280857C9@HE1PR0701MB2265.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xxk2aVkX565vpsSSAWdGdCIwdCPMoCZg8iqXjzGV81tp0MdVE7IvlqY4g5syN7lgxHSj+v4pWMEuUJFCmg3nYcV84VMM4xGuvl5reYf2cF0WLwP1+e0spJlnncvY1JShZkJAYpCJMhrBOddXM2+rm81QlZ1jvoV8BjVSgZNSkJkxpEMSr+J+rY2c6K2Db55adk5Wvw1cXWubOJSesv+KpEft1qEa6648fwqtRp+ckC8y7ozC0WS7G+v6Vy+/HGODMqwYyFCqjFbw5ZKYRa2L3c+gF5JsLzGA2F8qztASNI0KoNaR1qVZ5GJPWfWIUkCjGBrv5Kf6ebuLkZYxDIJIpo53QgbZ/YM5CfBgykxacVoLbllKmJ2HZUBCPAZgkwc0/qUo6NTCDa6Dlmyan/Jx235F2qmvqA4l0kFC/9IK7Y4jv9vV9M4iXjAnEe5sTfZbiEGGrQMXGIDktaV90HvlCxnSakfII71T+Ojxu4S4nheUTlV3FkPAn2c9w7D5iw9mKtmxMtKC4yO7zjFAPOcZbX+vPsUO8jUC1CzKke2zGOnN+PZod5l4rDkaNBYxE1B0ogiBVrCcBAVQbc/Ikoxz0cK8C/KmhtIajym3TFNplBcuYMiUmn6TnMXrkGdS9RnguP+QqONIdSgtQwgqA8s2dy5COY2oTtXsmzd66xjiesgVz4kbpjTOvf/UtYqwAjVSiBdJX/g+GpBHbd2Pd43PjiOyEUeeSt4RzazsB+nEXwbNefP6iXrtTIVu6ygC1XpL
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR07MB3226.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(71200400001)(4326008)(186003)(5660300002)(7696005)(86362001)(2906002)(55016002)(6916009)(8676002)(6506007)(52536014)(33656002)(9686003)(38100700001)(8936002)(66946007)(83380400001)(91956017)(966005)(498600001)(66446008)(19627235002)(64756008)(66556008)(66476007)(76116006); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: =?Windows-1252?Q?DqzU3gphuPqzjknwXEDcfbD6VpOkPYziCi45FzMiVzhQdlO0QzPGKQ8Q?= =?Windows-1252?Q?fCV7EpwYTCQ6FlHL/wjqAwczXlskejU9OKbfYYa6OiatktqtqYrbq+bY?= =?Windows-1252?Q?EHkKCooHWDlkFsC3t7XMoX1Hosbk+B+kiD7IhJTrvv+jtGDinULK2XNC?= =?Windows-1252?Q?N4CyOexFgpsfUSYNCXaTmmvXDEPdVDibEc9SQIqKsBg9aACoAesTdoir?= =?Windows-1252?Q?oKAgr8qw2wwe4SNhGWJZ8tO+TL4pJb/AgotkW0wfb+48m8n/2zrfvMBv?= =?Windows-1252?Q?RcgE8jITsj5HmIaR6Klzvl/Rm/bRonMElXttj0Npn7np+x1GlVORz3gY?= =?Windows-1252?Q?ZWFYF+48IXb7hqQAKpkWA1a0H3ECyKNyY3dAhErf/A2Hw2cu2ubYcADq?= =?Windows-1252?Q?0xHnIMBZknK9gVdijDvA2CfjTUFF6eCdpgLI+anb5Fe1tuS3M2sHfgYZ?= =?Windows-1252?Q?REilnYC2TXDz7e3gKPwhebsrj00F/ErIUy7J4htflyIn26fhyVxy0QZB?= =?Windows-1252?Q?wdJj+BqEbcPITyBJjAd2nnDg3emFiTTzMeRZqH31ZRQz2oPCi2xnYk2v?= =?Windows-1252?Q?KDUudWRgeLg3g6Pt4ZlfHpiYQ2YP10NLkEaC1cSJbXahWbZJbxOL9kEX?= =?Windows-1252?Q?fX6TbIwGsMMtsgybd4HmmWxDd1YPSBSBEuaVfKIhHmH20kzhrcMEaEtD?= =?Windows-1252?Q?CfJVg34yCEsJGQTNyp+Le8vQmr4hzSzMZ6n8T1H2TPuFCDzwtt97RpXf?= =?Windows-1252?Q?w2Er64VEt8ktkf2xtG8yishyLrVJNUlJ6GO3EPRNh+N+CLPbYZX6jRt1?= =?Windows-1252?Q?bJRx3tBIY1Tism4T0oD04VGG+l7rpif/PqQ+Ibb2rEt5lAnQoJTbbBrg?= =?Windows-1252?Q?xXijX2k5hhYCyKPJ5rfZPyPuo54mQABKReld8Mte3o6Qd72rMEQfbkYL?= =?Windows-1252?Q?Zqtg/XTp1D3pilB5WaW9eaBzSqbPCwH48yPpagOLIKs6fwSmQabfTvjm?= =?Windows-1252?Q?035MRA59qPsnpOjOljtPtWs6r0JB9l4MDSEb5UmxRs8BFuDJQPuwFF0X?= =?Windows-1252?Q?k6tEQrIMpkvDvxvGp8NgvDgBGRoiQ6SYldlosofliQker3qswPxa2b3/?= =?Windows-1252?Q?z4Jf5rtWIdHmPgh2J9ZMErHUWZtSBRt5fgKtYQFQQHTRH8cnQC9fESyz?= =?Windows-1252?Q?hzNmWwC5rSWvpZq41F6tO83e3UXLvZHrmgO7Upi/jTxamC0qxJ6Vj6sq?= =?Windows-1252?Q?Bvwt1+EanJrt6Z58fygEp4scO1mP95B2uICY0G729R+KpGPiAUUMLh2J?= =?Windows-1252?Q?MeGyAlwQwt7c8SO2TY9tZ/7TUX1vRKv/n+WUY/K8OZd83uhrYWO+e2hX?= =?Windows-1252?Q?pRroAIkINVKai3iMFFvlBdlIHr4C5CSTQ8o+Lr2+ouynMClDGmjZq1UV?= =?Windows-1252?Q?j0vs/wCeLg5r0EIWcRDkGUrJ5BIXAzsHNlx1hivXcU90ydNemLaQNFym?= =?Windows-1252?Q?94MC0BQZn8VBpMIT90Dte5I83QNZ1g=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR07MB3226.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: aa9b2672-d714-4b5c-d924-08d8f4750b11
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2021 18:44:40.5436 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FK+9djlVnXE2Sc/WognlLAKU5j50Qd9GEjATpEdlWqYMMzUOWzQZZYAxBj+UKEe8uWRbsZymCOZkr7FjX30kDs6v/hwmAELuJ6HheRVef4Q=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2265
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/OpXdhQqcUb6pchkpTeFfqvx9o3c>
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 18:44:49 -0000

Here's another strawman, based on Carsten's example, of a potential design =
with array of sdfObjects:
https://github.com/one-data-model/exploratory/blob/master/sdfThing/fridgemu=
ltifreezer.sdf.json

It uses new "minItems" and "maxItems" qualities (similar to JSO min/maxItem=
s for array type) to define how many freezer Objects can there be in the Th=
ing.

This seems like a reasonable design, but there are still open questions lik=
e how to address those objects. One option is to use JSON pointer array syn=
tax, e.g., a pointer to the 7th freezer object could look like:
#/sdfThing/FridgeMulti-freezer/sdfObject/freezer/6

However, given the definition is not an actual array (it's JSON object with=
 two new qualities), something like additional processing steps on the mode=
l would need to be applied before the JSON pointers can be used as such.

Another question is whether we should have minItems quality or should we us=
e only sdfRequired also here. Unless we want to invent new wildcard syntax =
for sdfRequired, seems that sdfRequired would need to have separate pointer=
 for each required instance. That could result in excessively large sdfRequ=
ired blocks so minItems seems like a reasonable shorthand for that.


Cheers,
Ari

On 29.3.2021, 19.13, "ASDF" <asdf-bounces@ietf.org> wrote:
>=20
> After today=92s OneDM discussion, I put together a quick strawman that sh=
ows how to put together a fridge-freezer out of two refrigeration component=
s.
>=20
> https://github.com/one-data-model/exploratory/blob/master/sdfThing/fridge=
freezer.sdf.json
>=20
> This demonstrate static named composition.
> It does not show how to do Ari=92s use case of numbered composition (an a=
rray of sdfThings or sdfObjects in an sdfThing).
> It also doesn=92t demonstrate dynamic composition.
>=20
> Gr=FC=DFe, Carsten
>


From nobody Wed Mar 31 12:13:59 2021
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=C3=A4nen <ari.keranen@ericsson.com> =
wrote:
>=20
> 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.

=E2=80=A6 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 =
=E2=80=9Citems=E2=80=9D 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=E2=80=99t have them in sdfData either).

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Mar 31 13:49:33 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 AE3DE3A36CC for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 13:49:30 -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, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 QJ6-ZyzIVipq for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 13:49:26 -0700 (PDT)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 0B5F43A36CB for <asdf@ietf.org>; Wed, 31 Mar 2021 13:49:25 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id i6so167846pgs.1 for <asdf@ietf.org>; Wed, 31 Mar 2021 13:49:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gfSwLBNhxd68iQItdPCHumlLlKmvpYstnCxUtq74bmo=; b=aVjdaq8T+++OloH0DS85fU6cn+T0MuIuaBDsCaybfMx/V+HPbEE2aq2k5hthEkxX11 ebgF95Zdw3FmCklqOmx5R4QIuPPIXMQikIiVqPEfC52ZZAod+OKusE46fPulVOs5OFAJ S7Xf1jNse8jOxZhy1WJBMWKNp5VhMBhDj37Hg7c0faQQ5mW/g7AeSMtx6FLSvCF0VxaK vgU1S/WjWdGc+yNL5N2lYrDsBeoCH21e2fpSJYTEE8lZW8vwjd2k7SvHdXsSDT//FBig AbpaSKpwYNdZimCw18DXB4NZ2lTa7T/jX73lyMGswJ92TCbCJn4puDFSlUxNzgOpo2ZD FNqg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=gfSwLBNhxd68iQItdPCHumlLlKmvpYstnCxUtq74bmo=; b=JZ5SH6UkoUzCFI39Khtt5i8KJOH231pg9eh5iNsRP0tyKcoto3DvPM9CUANiGfPPlJ zQQSMQmV5ioLB7TMMBULex4+dL7Se2bDiG3yePc22zmUOAtSmGzq5w/qKjdg9qZVOsz0 h0lobQpz4+TBkYW6IuT6KLYK2C8yPdtTS3iYZ1TGK9EH/wFUdDNZ7ZtzXnTKs9FNbQ3d 5gQQSwEUHWYNqAnLpN4aj/xs5D4vK7cGXM/9k+SNcAyVkOQgWmiIRMQi9pj99F2Nufla JnpZizlMwnCv8xKAGFRK2VVIvcAs+oZg+tAYoL7vB94xKTXtMgxnld6UCHmx2jmd4zAi uvyQ==
X-Gm-Message-State: AOAM530jagvDbBo7B9G0mxrE781IntLrvRliW5N8AYdNsoGNnqbOOk/I 2Oh20vTvpkv8huox44W65cZMaE3sAoM=
X-Google-Smtp-Source: ABdhPJy5sIZVc0v9YIRoqLegBELAGcbOY9TH0I2XxhJQXpKGbWrxGZ3fVNbiaOtM57o2OpGvklClqQ==
X-Received: by 2002:aa7:86cf:0:b029:20a:f9d5:da77 with SMTP id h15-20020aa786cf0000b029020af9d5da77mr4632675pfo.16.1617223764723;  Wed, 31 Mar 2021 13:49:24 -0700 (PDT)
Received: from [172.16.0.10] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id t12sm3538236pga.85.2021.03.31.13.49.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Mar 2021 13:49:24 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Michael Koster <michaeljohnkoster@gmail.com>
In-Reply-To: <HE1PR07MB32269680CB56CC9BDEA1DADD857C9@HE1PR07MB3226.eurprd07.prod.outlook.com>
Date: Wed, 31 Mar 2021 13:49:23 -0700
Cc: "asdf@ietf.org" <asdf@ietf.org>, Carsten Bormann <cabo@tzi.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FD22BAB0-A6BD-4FDC-B180-514105E7A2BF@gmail.com>
References: <5E1F89D1-0E77-4DE2-B302-12F4AB248EA7@tzi.org> <HE1PR07MB32269680CB56CC9BDEA1DADD857C9@HE1PR07MB3226.eurprd07.prod.outlook.com>
To: =?utf-8?Q?Ari_Ker=C3=A4nen?= <ari.keranen=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/7bXMgdWv7BBEt_Hx0N6_nbf9-Qg>
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 20:49:31 -0000

This looks a lot like "multiInstance" that we previously had as a =
quality that applies to objects and things when they are composed.

=46rom the earlier discussion, we noted that multiple instances are not =
an inherent quality of an object definition, but depend on the context =
in which the definition is used. (discuss?)

One seeming exception is LWM2M where there is the idea of multi-instance =
resources (properties), but these are essentially arrays and can be =
modeled with JSO array.=20

In that sense, ithe need for a new pattern comes in when we compose a =
thing out of objects or other things, and don't want to name them. I =
would suggest that we may not always want to index them either, and =
there may be some cases where we simply want a collection.

The statement we can make (whether we index the items or not) is that =
the items are all identical in terms of qualities and external =
semantics.=20

This makes it problematic to try to make some of them mandatory and not =
others. A min-max scheme seems most reasonable as a constraint to apply =
to construction of a composed thing. An sdfThing representing a =
particular SKU outlet strip will have a fixed number of outlet =
instances. Maybe we could use min=3Dmax to describe a fixed number of =
instances.

One idea we explored earlier is a multi-instance quality that can take a =
parameter value. When you want to bound the range, you define minimum =
and maximum in the model. When you want to specify a fixed number of =
instances, you use a constant definition.

If we adopt a parameterized scheme, it could account for both indexed =
and non-indexed use cases. I will see if I can find some examples from =
the earlier discussion.

Best regards,

Michael


> On Mar 31, 2021, at 11:44 AM, Ari Ker=C3=A4nen =
<ari.keranen=3D40ericsson.com@dmarc.ietf.org> wrote:
>=20
> Here's another strawman, based on Carsten's example, of a potential =
design with array of sdfObjects:
> =
https://github.com/one-data-model/exploratory/blob/master/sdfThing/fridgem=
ultifreezer.sdf.json
>=20
> 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.
>=20
> This seems like a reasonable design, but there are still open =
questions like how to address those objects. One option is to use JSON =
pointer array syntax, e.g., a pointer to the 7th freezer object could =
look like:
> #/sdfThing/FridgeMulti-freezer/sdfObject/freezer/6
>=20
> However, given the definition is not an actual array (it's JSON object =
with two new qualities), something like additional processing steps on =
the model would need to be applied before the JSON pointers can be used =
as such.
>=20
> Another question is whether we should have minItems quality or should =
we use only sdfRequired also here. Unless we want to invent new wildcard =
syntax for sdfRequired, seems that sdfRequired would need to have =
separate pointer for each required instance. That could result in =
excessively large sdfRequired blocks so minItems seems like a reasonable =
shorthand for that.
>=20
>=20
> Cheers,
> Ari
>=20
> On 29.3.2021, 19.13, "ASDF" <asdf-bounces@ietf.org> wrote:
>>=20
>> After today=E2=80=99s OneDM discussion, I put together a quick =
strawman that shows how to put together a fridge-freezer out of two =
refrigeration components.
>>=20
>> =
https://github.com/one-data-model/exploratory/blob/master/sdfThing/fridgef=
reezer.sdf.json
>>=20
>> This demonstrate static named composition.
>> It does not show how to do Ari=E2=80=99s use case of numbered =
composition (an array of sdfThings or sdfObjects in an sdfThing).
>> It also doesn=E2=80=99t demonstrate dynamic composition.
>>=20
>> Gr=C3=BC=C3=9Fe, Carsten
>>=20
>=20
> --=20
> ASDF mailing list
> ASDF@ietf.org
> https://www.ietf.org/mailman/listinfo/asdf


From nobody Wed Mar 31 18:25:26 2021
Return-Path: <michaeljohnkoster@gmail.com>
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 4660D3A0BA0 for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 18:25:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level: 
X-Spam-Status: No, score=-2.096 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, RCVD_IN_DNSWL_BLOCKED=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 xhGZask4iavn for <asdf@ietfa.amsl.com>; Wed, 31 Mar 2021 18:25:20 -0700 (PDT)
Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 AD7BC3A0B93 for <asdf@ietf.org>; Wed, 31 Mar 2021 18:25:20 -0700 (PDT)
Received: by mail-pj1-x102d.google.com with SMTP id kk2-20020a17090b4a02b02900c777aa746fso105333pjb.3 for <asdf@ietf.org>; Wed, 31 Mar 2021 18:25:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=OaF2s/wEogSB1Xu2ElTJDCBXodWaKpNFjN0LIsoRvcI=; b=NjwkaC+ohIUuFfXoLWQr+8jqxSQx1W+aV4po4H/ySHgRKaugrw6BjFFWVtXBi3ppQi +kiDP+oBRDKNyPhrXqB+2Z0kNyzl20wUiLz4xoPBECn5W6Xct1gyldcdfSAE8YZpJLaV 9YpZWWdqSGcvHbQHACp7roB9v8Q0dsuIRUZ6Gq+BYkdak8OqbGo1yT/koFjQgaMjhpj5 CZ+iynGyW3ND2gzrtLjlWUcdjUUFaYnyaMEeSDBxvw+kRMyQNZQ2nhhW37ZV3KoAow8c JfUSrEjW9/v3B9DuIMN0QjUfy2kxyQGPOS7M9YynC10gtYsjYx3g7fhGsZSJt+/nO/ez pOBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=OaF2s/wEogSB1Xu2ElTJDCBXodWaKpNFjN0LIsoRvcI=; b=rk4uzBB2es4r2fFryyvjeW1g+pWnb0zkOtFP1o2Ace5n6jQ2cDiuLbN95Zq0YCfgGM //QZWUGVbHLTIRn+/Exxr1uARWSHJ1TikXPfAFcozTQIYPf80kCod3g/axZnQYQC2qet 4GN8xKt+OBDioQCXhlO8wf9WiHpKGYOLYeNGEPX42Kz+mpg/2jVz0/WsftKiOnHgQNOu o+/NMJo6gJRRQCINAWCUz2rnMy+auwC0FvtWJysv6i+badGbQq5hTcCSZcD87mg0wvVS jRuhPm/Kb4QWP0tJA/Pay+f+RIWM5BUIWWwLAIBdNanAVM09ftaaXALxnDuKlGJ81H+H M9Xg==
X-Gm-Message-State: AOAM531q/w8+C4LONAqINcU696Jl+TegInDAP0pa/txLAh4pHCswWbH/ odH7MlexkOIcHThDqOTgbDzfDkqwnnw=
X-Google-Smtp-Source: ABdhPJxPXixBi7SxNC16v6wLo0QvbYTVPsXX4g3V1tCcI7xXONp2QPJ5FZ/oDN+fhF+IivCSGeIRLQ==
X-Received: by 2002:a17:90b:307:: with SMTP id ay7mr6234192pjb.110.1617240319016;  Wed, 31 Mar 2021 18:25:19 -0700 (PDT)
Received: from [172.16.0.10] (c-71-202-145-92.hsd1.ca.comcast.net. [71.202.145.92]) by smtp.gmail.com with ESMTPSA id f23sm3438903pfa.85.2021.03.31.18.25.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Mar 2021 18:25:18 -0700 (PDT)
From: Michael Koster <michaeljohnkoster@gmail.com>
Message-Id: <520D5F8F-81C5-4766-AD7D-50288A71A51C@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_739B264B-45D3-44F3-9854-367D568815A9"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Wed, 31 Mar 2021 18:25:17 -0700
In-Reply-To: <FD22BAB0-A6BD-4FDC-B180-514105E7A2BF@gmail.com>
Cc: "asdf@ietf.org" <asdf@ietf.org>, Carsten Bormann <cabo@tzi.org>
To: =?utf-8?Q?Ari_Ker=C3=A4nen?= <ari.keranen=40ericsson.com@dmarc.ietf.org>
References: <5E1F89D1-0E77-4DE2-B302-12F4AB248EA7@tzi.org> <HE1PR07MB32269680CB56CC9BDEA1DADD857C9@HE1PR07MB3226.eurprd07.prod.outlook.com> <FD22BAB0-A6BD-4FDC-B180-514105E7A2BF@gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/asdf/lPmikKBZatLGKSLY7ZcoeTOiDvs>
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: Thu, 01 Apr 2021 01:25:25 -0000

--Apple-Mail=_739B264B-45D3-44F3-9854-367D568815A9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I don't have an example model but I think where we left off was =
(architecturally) something like this parameterized quality =
"multiInstance":

{
  "namespace": {
  "pg": "https://onedm.org/playground"
},
  "sdfThing": {
    "OutletStripSKU126442775": {
      "sdfRef": "#/sdfThing/GenericOutletStrip",
      "multiInstance": {
        "const": 6
      }
    },
    "GenericOutletStrip": {
      "sdfRef": "#/sdfThing/OutletUnit",
      "multiInstance": {
        "minimum": 1,
        "maximum": 20
      }
    },
    "OutletUnit": {
      "sdfObject": {
        "PowerSwitch": {
          "sdfRef": "pg:/#/sdfObject/On_Off_switch"
        },
        "OvercurrentTrip": {
          "sdfRef": "pg:/#/sdfObject/energy.overload"
        },
        "EnergyUsage": {
          "sdfRef": "pg:/#/sdfObject/energy.consumption"
        }
      }
    }
  }
}

> On Mar 31, 2021, at 1:49 PM, Michael Koster =
<michaeljohnkoster@gmail.com> wrote:
>=20
> This looks a lot like "multiInstance" that we previously had as a =
quality that applies to objects and things when they are composed.
>=20
> =46rom the earlier discussion, we noted that multiple instances are =
not an inherent quality of an object definition, but depend on the =
context in which the definition is used. (discuss?)
>=20
> One seeming exception is LWM2M where there is the idea of =
multi-instance resources (properties), but these are essentially arrays =
and can be modeled with JSO array.=20
>=20
> In that sense, ithe need for a new pattern comes in when we compose a =
thing out of objects or other things, and don't want to name them. I =
would suggest that we may not always want to index them either, and =
there may be some cases where we simply want a collection.
>=20
> The statement we can make (whether we index the items or not) is that =
the items are all identical in terms of qualities and external =
semantics.=20
>=20
> This makes it problematic to try to make some of them mandatory and =
not others. A min-max scheme seems most reasonable as a constraint to =
apply to construction of a composed thing. An sdfThing representing a =
particular SKU outlet strip will have a fixed number of outlet =
instances. Maybe we could use min=3Dmax to describe a fixed number of =
instances.
>=20
> One idea we explored earlier is a multi-instance quality that can take =
a parameter value. When you want to bound the range, you define minimum =
and maximum in the model. When you want to specify a fixed number of =
instances, you use a constant definition.
>=20
> If we adopt a parameterized scheme, it could account for both indexed =
and non-indexed use cases. I will see if I can find some examples from =
the earlier discussion.
>=20
> Best regards,
>=20
> Michael
>=20
>=20
>> On Mar 31, 2021, at 11:44 AM, Ari Ker=C3=A4nen =
<ari.keranen=3D40ericsson.com@dmarc.ietf.org> wrote:
>>=20
>> Here's another strawman, based on Carsten's example, of a potential =
design with array of sdfObjects:
>> =
https://github.com/one-data-model/exploratory/blob/master/sdfThing/fridgem=
ultifreezer.sdf.json
>>=20
>> 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.
>>=20
>> This seems like a reasonable design, but there are still open =
questions like how to address those objects. One option is to use JSON =
pointer array syntax, e.g., a pointer to the 7th freezer object could =
look like:
>> #/sdfThing/FridgeMulti-freezer/sdfObject/freezer/6
>>=20
>> However, given the definition is not an actual array (it's JSON =
object with two new qualities), something like additional processing =
steps on the model would need to be applied before the JSON pointers can =
be used as such.
>>=20
>> Another question is whether we should have minItems quality or should =
we use only sdfRequired also here. Unless we want to invent new wildcard =
syntax for sdfRequired, seems that sdfRequired would need to have =
separate pointer for each required instance. That could result in =
excessively large sdfRequired blocks so minItems seems like a reasonable =
shorthand for that.
>>=20
>>=20
>> Cheers,
>> Ari
>>=20
>> On 29.3.2021, 19.13, "ASDF" <asdf-bounces@ietf.org> wrote:
>>>=20
>>> After today=E2=80=99s OneDM discussion, I put together a quick =
strawman that shows how to put together a fridge-freezer out of two =
refrigeration components.
>>>=20
>>> =
https://github.com/one-data-model/exploratory/blob/master/sdfThing/fridgef=
reezer.sdf.json
>>>=20
>>> This demonstrate static named composition.
>>> It does not show how to do Ari=E2=80=99s use case of numbered =
composition (an array of sdfThings or sdfObjects in an sdfThing).
>>> It also doesn=E2=80=99t demonstrate dynamic composition.
>>>=20
>>> Gr=C3=BC=C3=9Fe, Carsten
>>>=20
>>=20
>> --=20
>> ASDF mailing list
>> ASDF@ietf.org
>> https://www.ietf.org/mailman/listinfo/asdf
>=20


--Apple-Mail=_739B264B-45D3-44F3-9854-367D568815A9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">I =
don't have an example model but I think where we left off was =
(architecturally) something like this parameterized quality =
"multiInstance":<div class=3D""><br class=3D""></div><div class=3D""><div =
style=3D"margin: 0px;" class=3D""><!--StartFragment--><font =
face=3D"Courier" class=3D"">{</font></div><div style=3D"margin: 0px;" =
class=3D""><font face=3D"Courier" class=3D"">&nbsp; "namespace": =
{</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; "pg": "<a =
href=3D"https://onedm.org/playground" =
class=3D"">https://onedm.org/playground</a>"</font></div><div =
style=3D"margin: 0px;" class=3D""><font face=3D"Courier" class=3D"">    =
},</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; "sdfThing": {</font></div><div =
style=3D"margin: 0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp;=
 &nbsp; "OutletStripSKU126442775": {</font></div><div style=3D"margin: =
0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; =
"sdfRef": "#/sdfThing/GenericOutletStrip",</font></div><div =
style=3D"margin: 0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp;=
 &nbsp; &nbsp; "multiInstance": {</font></div><div style=3D"margin: =
0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; =
&nbsp; "const": 6</font></div><div style=3D"margin: 0px;" class=3D""><font=
 face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; }</font></div><div =
style=3D"margin: 0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp;=
 &nbsp; },</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; "GenericOutletStrip": =
{</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; "sdfRef":  =
"#/sdfThing/OutletUnit",</font></div><div style=3D"margin: 0px;" =
class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; =
"multiInstance": {</font></div><div style=3D"margin: 0px;" =
class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
"minimum": 1,</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; "maximum": =
20</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; }</font></div><div =
style=3D"margin: 0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp;=
 &nbsp; },</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; "OutletUnit": =
{</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; "sdfObject": =
{</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; "PowerSwitch": =
{</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "sdfRef": =
"pg:/#/sdfObject/On_Off_switch" </font></div><div style=3D"margin: 0px;" =
class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
},</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
"OvercurrentTrip": {</font></div><div style=3D"margin: 0px;" =
class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; "sdfRef": "pg:/#/sdfObject/energy.overload" </font></div><div =
style=3D"margin: 0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp;=
 &nbsp; &nbsp; &nbsp; },</font></div><div style=3D"margin: 0px;" =
class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; =
"EnergyUsage": {</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "sdfRef": =
"pg:/#/sdfObject/energy.consumption" </font></div><div style=3D"margin: =
0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; =
&nbsp; }</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; &nbsp; &nbsp; }</font></div><div =
style=3D"margin: 0px;" class=3D""><font face=3D"Courier" class=3D"">&nbsp;=
 &nbsp; }</font></div><div style=3D"margin: 0px;" class=3D""><font =
face=3D"Courier" class=3D"">&nbsp; }</font></div><div style=3D"margin: =
0px;" class=3D""><font face=3D"Courier" =
class=3D"">}<!--EndFragment--></font></div></div><div class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On Mar =
31, 2021, at 1:49 PM, Michael Koster &lt;<a =
href=3D"mailto:michaeljohnkoster@gmail.com" =
class=3D"">michaeljohnkoster@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">This =
looks a lot like "multiInstance" that we previously had as a quality =
that applies to objects and things when they are composed.<br =
class=3D""><br class=3D"">=46rom the earlier discussion, we noted that =
multiple instances are not an inherent quality of an object definition, =
but depend on the context in which the definition is used. (discuss?)<br =
class=3D""><br class=3D"">One seeming exception is LWM2M where there is =
the idea of multi-instance resources (properties), but these are =
essentially arrays and can be modeled with JSO array. <br class=3D""><br =
class=3D"">In that sense, ithe need for a new pattern comes in when we =
compose a thing out of objects or other things, and don't want to name =
them. I would suggest that we may not always want to index them either, =
and there may be some cases where we simply want a collection.<br =
class=3D""><br class=3D"">The statement we can make (whether we index =
the items or not) is that the items are all identical in terms of =
qualities and external semantics. <br class=3D""><br class=3D"">This =
makes it problematic to try to make some of them mandatory and not =
others. A min-max scheme seems most reasonable as a constraint to apply =
to construction of a composed thing. An sdfThing representing a =
particular SKU outlet strip will have a fixed number of outlet =
instances. Maybe we could use min=3Dmax to describe a fixed number of =
instances.<br class=3D""><br class=3D"">One idea we explored earlier is =
a multi-instance quality that can take a parameter value. When you want =
to bound the range, you define minimum and maximum in the model. When =
you want to specify a fixed number of instances, you use a constant =
definition.<br class=3D""><br class=3D"">If we adopt a parameterized =
scheme, it could account for both indexed and non-indexed use cases. I =
will see if I can find some examples from the earlier discussion.<br =
class=3D""><br class=3D"">Best regards,<br class=3D""><br =
class=3D"">Michael<br class=3D""><br class=3D""><br class=3D""><blockquote=
 type=3D"cite" class=3D"">On Mar 31, 2021, at 11:44 AM, Ari Ker=C3=A4nen =
&lt;<a href=3D"mailto:ari.keranen=3D40ericsson.com@dmarc.ietf.org" =
class=3D"">ari.keranen=3D40ericsson.com@dmarc.ietf.org</a>&gt; wrote:<br =
class=3D""><br class=3D"">Here's another strawman, based on Carsten's =
example, of a potential design with array of sdfObjects:<br class=3D""><a =
href=3D"https://github.com/one-data-model/exploratory/blob/master/sdfThing=
/fridgemultifreezer.sdf.json" =
class=3D"">https://github.com/one-data-model/exploratory/blob/master/sdfTh=
ing/fridgemultifreezer.sdf.json</a><br class=3D""><br class=3D"">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.<br class=3D""><br class=3D"">This seems like a reasonable design, =
but there are still open questions like how to address those objects. =
One option is to use JSON pointer array syntax, e.g., a pointer to the =
7th freezer object could look like:<br =
class=3D"">#/sdfThing/FridgeMulti-freezer/sdfObject/freezer/6<br =
class=3D""><br class=3D"">However, given the definition is not an actual =
array (it's JSON object with two new qualities), something like =
additional processing steps on the model would need to be applied before =
the JSON pointers can be used as such.<br class=3D""><br =
class=3D"">Another question is whether we should have minItems quality =
or should we use only sdfRequired also here. Unless we want to invent =
new wildcard syntax for sdfRequired, seems that sdfRequired would need =
to have separate pointer for each required instance. That could result =
in excessively large sdfRequired blocks so minItems seems like a =
reasonable shorthand for that.<br class=3D""><br class=3D""><br =
class=3D"">Cheers,<br class=3D"">Ari<br class=3D""><br class=3D"">On =
29.3.2021, 19.13, "ASDF" &lt;asdf-bounces@ietf.org&gt; wrote:<br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D"">After =
today=E2=80=99s OneDM discussion, I put together a quick strawman that =
shows how to put together a fridge-freezer out of two refrigeration =
components.<br class=3D""><br =
class=3D"">https://github.com/one-data-model/exploratory/blob/master/sdfTh=
ing/fridgefreezer.sdf.json<br class=3D""><br class=3D"">This demonstrate =
static named composition.<br class=3D"">It does not show how to do =
Ari=E2=80=99s use case of numbered composition (an array of sdfThings or =
sdfObjects in an sdfThing).<br class=3D"">It also doesn=E2=80=99t =
demonstrate dynamic composition.<br class=3D""><br class=3D"">Gr=C3=BC=C3=9F=
e, Carsten<br class=3D""><br class=3D""></blockquote><br class=3D"">-- =
<br class=3D"">ASDF mailing list<br class=3D"">ASDF@ietf.org<br =
class=3D"">https://www.ietf.org/mailman/listinfo/asdf<br =
class=3D""></blockquote><br class=3D""></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_739B264B-45D3-44F3-9854-367D568815A9--

