Re: [art] [Linkset I-D] Array of linksets?

Herbert Van de Sompel <hvdsomp@gmail.com> Wed, 27 May 2020 07:26 UTC

Return-Path: <hvdsomp@gmail.com>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDCCD3A0A97 for <art@ietfa.amsl.com>; Wed, 27 May 2020 00:26:45 -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 d5jBb0i8zVVN for <art@ietfa.amsl.com>; Wed, 27 May 2020 00:26:44 -0700 (PDT)
Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 1BB7A3A0A96 for <art@ietf.org>; Wed, 27 May 2020 00:26:44 -0700 (PDT)
Received: by mail-qt1-x832.google.com with SMTP id e16so12538309qtg.0 for <art@ietf.org>; Wed, 27 May 2020 00:26:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hOtdqgoyxezrhlIrsi9UucMHQjfQ/eMacufh2IzWjO4=; b=PyNWdHs9gRrEpM9BxM+9F95fOrqyhXWvx3qND1EE3xzP28Gpn5xfWB733zg5b7mBNa ZcEEOlK1tf3fSButTvJVSFvMGDmWxZ5tsuYUG/NUNIWH/StqZCpYWA9eox+6gSArBz0f l7zjVKjAJRuG8GuxV1eoCWkqRLHM2zj4w9OFXSfrAWTb8kx+9lSRdjSoQQJ0zYTnNkss VUa+iYho+6Fyo8rupoar5NP8OwLX2GDuX0DihR1/RT2G6aYXktvHDc2qAuJTrvc08Hew 49CvRAoGxEOCdNKUoOt6TxlIcXPLjq4ZMTK/VSN/GgytNqpbpWXBn7Tj6jcZA1ATK9tH Lovw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hOtdqgoyxezrhlIrsi9UucMHQjfQ/eMacufh2IzWjO4=; b=nNunWcXYulRhmVXXrXBPluZGOJAsZ1FI4bsEZrijUuJlkcA6HFMq0zE9nvKM/Md/C9 uu5d42QFS1nu2bqJBM4fXEYZrSOb7McY4AkBgKcFBlFUIISEEhDzphesAb0cGnkDXiFa zpujzXW3k5f1TVIB86YRcURECbglqK6poFnDcjTSaPhPJFMNl6SfQj8pUA2YoSfKAzMC OPDZGiKKdjyz/20i8b8q+i9OamxZ8+kd/5dsfTD2qS1XjrYGcml3kgqo48oB2UQyIqeM 6uxF+en0+A9/b+Jl3sYaE9iOZo6GaXaW6gHw4D7+h7DLTmhkB3J32purk53pn2ZNsvS6 FI9A==
X-Gm-Message-State: AOAM531OPkE8jzy4Qon2fcGkv62h1u+vgGWqjDBcszA5pjJY+jOdZfsH ydDASOWq5ZAOZOzP8pG5nsf6I+k39EF50s4AkkI=
X-Google-Smtp-Source: ABdhPJwRNMTlVG7GUVPCNlgUJ0DhZOtQ4hC5GNeheOf8ik3ysAfmr6CQruc1rRQI3I1NwHnwJyxmw/GqKfvYiYrwHWg=
X-Received: by 2002:ac8:4c8d:: with SMTP id j13mr2944814qtv.38.1590564402425; Wed, 27 May 2020 00:26:42 -0700 (PDT)
MIME-Version: 1.0
References: <DM6PR08MB4972366CB3A58FFF3573ACE1B7B00@DM6PR08MB4972.namprd08.prod.outlook.com>
In-Reply-To: <DM6PR08MB4972366CB3A58FFF3573ACE1B7B00@DM6PR08MB4972.namprd08.prod.outlook.com>
From: Herbert Van de Sompel <hvdsomp@gmail.com>
Date: Wed, 27 May 2020 09:26:31 +0200
Message-ID: <CAOywMHc-+BzyL5-jTX=dMXTeUFbLaCgt-fL=3S_4=N7GsrRddQ@mail.gmail.com>
To: Phil Archer <phil.archer@gs1.org>
Cc: "art@ietf.org" <art@ietf.org>, Herbert Van de Sompel <hvdsomp@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000032f2fe05a69c22ab"
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/qH_aMrsRvsmJn5DjuhzNivCF7YM>
Subject: Re: [art] [Linkset I-D] Array of linksets?
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 May 2020 07:26:46 -0000

hi Phil,

Thanks a lot for your mail and your support for the "linkset" spec. That's
super!

Dret is currently enjoying a vacation but we are scheduling a time, next
week, to discuss both points (linkset array, linktype) that you brought up.
We'll be back with a response asap.

Cheers

Herbert

On Tue, May 26, 2020 at 5:11 PM Phil Archer <phil.archer@gs1.org> wrote:

> Dear all,
>
> My colleagues and I at GS1 have been looking carefully at Dret and
> HvdSompel's work on Linksets [1]. We are very excited to see this work
> making progress and are very likely to implement and normatively
> reference it. We made an informative reference to an earlier version in
> our GS1 Digital Link standard [2] which is the basis for a future state
> where a barcode scan links to multiple sources of related information.
> Sections 7.5 and 7.7.4 of that standard talk specifically about
> providing those links as HTTP Link headers and as JSON objects - hence
> our interest in this I-D.
>
> As a quick orientation, try this
>
> curl -I id.gs1.org/01/9506000134352
>
> in a terminal (9506000134352 is the GTIN - the kind of string of
> integers you typically see in a GS1 barcode on an item).
>
> GET that same resource with ?linkType=all for the JSON representation
> and an HTML rendering of it. That JSON does *not* follow the Linkset I-D
> but we expect it to soon.
>
> But... you knew there was a but coming, right?
>
> Consider the service we're setting up.
>
> You scan a code on an item and receive links to related resources.
>
> Who provided those links?
>
> Well, you might have got them from a GS1 resolver so you might think
> they came from  GS1. Nope. They came from the brand owner. And that's a
> critical point - we want to provide provenance information for who
> provided the link to the nutritional facts about 9506000134352, or its
> instruction manual, or its HAZMAT info etc. In the medical sphere it
> *really* matters what info you're pointing to. Hence we're looking at
> enabling brand owners to digitally sign those linksets too.
>
> So far so good - the I-D allows what one might consider to be metadata
> to a linkset.
>
> There are two scenarios where that's not enough:
> - where more than one person provides links (makes assertions about) an
> item;
> - where a GS1 resolver provides bulk downloads of all available links
> (yes, we plan to do that ;-) )
>
> In those cases, we need to be able to put multiple linksets in a single
> JSON document.
>
> For that reason, section 4.2.1 is a bit of a problem: "A set of links
> MUST be represented as a JSON object which MUST have "linkset" as its
> sole member."
>
> Would it be possible to make this an array of linksets?
>
> WDYT?
>
> Phil
>
>
> [1] https://tools.ietf.org/html/draft-wilde-linkset-06
> [2]
> https://www.gs1.org/docs/Digital-Link/GS1_Digital_link_Standard_i1.1.pdf
>
>
> --
> Phil Archer
> Director, Web Solutions, GS1
> https://www.gs1.org
>
> Meet GS1 Digital Link Developers at
> https://groups.google.com/forum/#!forum/gs1-digital-link-developers
>
> https://philarcher.org
> +44 (0)7887 767755
> @philarcher1
> Skype: philarcher
> A word on abbreviations I sometimes use in email:
> https://philarcher.org/diary/2019/emailabbreviations/
>
> CONFIDENTIALITY / DISCLAIMER: The contents of this e-mail are
> confidential and are not to be regarded as a contractual offer or
> acceptance from GS1 (registered in Belgium).
> If you are not the addressee, or if this has been copied or sent to you in
> error, you must not use data herein for any purpose, you must delete it,
> and should inform the sender.
> GS1 disclaims liability for accuracy or completeness, and opinions
> expressed are those of the author alone.
> GS1 may monitor communications.
> Third party rights acknowledged.
> (c) 2020.
>
> _______________________________________________
> art mailing list
> art@ietf.org
> https://www.ietf.org/mailman/listinfo/art
>


-- 
==================
Herbert Van de Sompel
Chief Innovation Officer
DANS
herbert.van.de.sompel@dans.knaw.nl
+31 6 22 83 93 15
https://hvdsomp.info
https://orcid.org/0000-0002-0715-6126