15:06:09 RRSAgent has joined #wot-arch 15:06:09 logging to https://www.w3.org/2021/01/28-wot-arch-irc 15:06:21 Mizushima has joined #wot-arch 15:06:21 Meeting: WoT Architecture 15:06:39 present+ Kaz_Ashimura, Daniel_Peintner, Michael_Laglly, Michael_McCool 15:06:49 Chair: Lagally 15:07:28 Agenda: https://www.w3.org/WoT/IG/wiki/WG_WoT_Architecture_WebConf#Jan._28th.2C_2021 15:10:00 present+ Tomoaki_Mizushima, Michael_Koster 15:10:12 topic: Agenda 15:10:30 -> https://www.w3.org/WoT/IG/wiki/WG_WoT_Architecture_WebConf#Jan._28th.2C_2021 proposed agenda 15:10:42 ml: terminology discussion, etc. 15:10:55 mm: would like to briefly report back from the APA call 15:11:18 present+ Cristiano_Aguzzi 15:11:39 topic: APA report 15:11:43 cris has joined #wot-arch 15:11:50 @@minutes 15:12:10 mm: kind of related to the discussion on the "human readable information" 15:12:33 ... also discovery on progressive disclosure 15:13:00 ... related to limited bandwidth of UDP 15:13:13 s|@@minutes|-> https://www.w3.org/2021/01/27-rqtf-minutes.html APA joint minutes| 15:13:30 mm: accessibility for the end users and the developers 15:13:46 ... could select your purposes 15:14:00 ml: sounds like we need discussions on requirements 15:14:12 mm: would put them together 15:14:23 ... related to discovery, etc. 15:14:27 (Apologies I can't make the architecture call today due to a conflict) 15:14:29 ... so how to write up them? 15:14:52 ... maybe need documentation for horizontal use cases 15:14:54 +1 15:15:07 mm: could you please create an issue? 15:15:13 ... or I can do it right now 15:15:15 ml: good 15:15:28 s/... so how/mm: so how/ 15:15:30 q? 15:15:35 topic: Prev minutes 15:15:51 -> https://www.w3.org/2021/01/21-wot-arch-minutes.html Jan-21 15:15:57 ml: (goes through the minutes) 15:16:14 ... FPWD feedback for wot-profile 15:16:34 ... made a resolution on the common data model 15:17:05 regrets+ Ben_Francis 15:17:14 zakim, who is on th call? 15:17:14 I don't understand your question, kaz. 15:17:29 ml: any problems with the minutes? 15:17:31 (none) 15:17:34 approved 15:17:46 s/zakim, who is on th call?// 15:17:51 zakim, who is on th call? 15:17:51 I don't understand your question, kaz. 15:17:54 zakim, who is on the call? 15:17:54 Present: Kaz_Ashimura, Daniel_Peintner, Michael_Laglly, Michael_McCool, Tomoaki_Mizushima, Michael_Koster, Cristiano_Aguzzi 15:17:56 s/zakim, who is on th call?// 15:18:49 topic: WoT Architecture terminology - Partial TD 15:19:23 -> https://github.com/w3c/wot-architecture/pull/576 PR 576 15:19:35 (move earlier) documentation issue created: https://github.com/w3c/wot-usecases/issues/93 15:19:44 ml: first of all, changes from the FPWD 15:19:48 ... merged 15:19:58 ... then "Partial TD" definition 15:20:26 -> https://github.com/w3c/wot-architecture/pull/577 PR 577 - Partial TD definition 15:20:54 q+ 15:21:27 mm: partial TD can omit some of the TD mandatory elements 15:22:31 kaz: we should clarify which part could be omitted 15:22:41 ... based on our purposes and should show examples 15:22:56 q+ 15:23:00 ack k 15:23:02 ack m 15:23:09 mm: right 15:23:26 ca: there is some example from the scripting api draft at the bottom 15:23:43 mk: partial TD doesn't validate a Thing 15:24:02 ... should provide some validation mechanism for them 15:24:11 kaz: yeah 15:24:44 ml: that would be a request for the Scripting API 15:25:08 q+ 15:25:17 ... would propose we merge this PR 577 itself, and then add further improvement later 15:25:20 ack c 15:25:34 ca: do we have any other use cases for "partial TD" ? 15:25:41 q+ 15:25:43 q+ 15:25:54 q- 15:26:13 ml: we'd like to know what is the actual use case of the Scripting API as well :) 15:26:16 kaz: +1 15:26:37 mm: some TD based on the fragment as well 15:27:11 ... btw, what about the "TD fragment"? 15:27:22 ml: let's close this PR for "partial TD" first :) 15:27:26 mm: ok 15:27:41 ml: (merged it) 15:28:38 ... (then visit the merged definition within the wot-architecture/index.html) 15:28:51 ... (and add some tweaks) 15:29:04 .... "it is not required to contain all the mandatory elements" 15:29:22 ... "an example usage of a partial td is in..." 15:30:19 topic: Architecture - TD fragment 15:30:30 ml: do we have any definition for "TD fragment"? 15:30:49 mm: could do a PR right now for discussion... 15:31:05 ... would mention discovery use cases 15:32:21 mm: fragment doesn't have concrete structure 15:32:52 ml: do we have any concrete definition? 15:33:09 mm: valid JSON corresponds to internal elements of the TD model 15:33:28 mk: we can talk about SHAPES as well 15:34:22 https://github.com/w3c/wot-architecture/issues/453 15:34:32 mm: there is some definition within the comments in Issue 453 15:34:44 -> https://github.com/w3c/wot-architecture/issues/453#issuecomment-760290680 the comment within Issue 453 15:34:58 [[ 15:34:59 TD Fragment = 15:34:59 substructure of the data model of a TD. 15:34:59 It is a valid object structure that can be validated syntactically against the TD datamodel defined in chapter 5 of the TD spec, however im may omit some context that allows full validation. 15:35:00 Note: In JSON represention it must be a valid JSON however could be just an inner structure omitting outer elements, curly braces etc. As a use case the TD fragment is useful for Discovery results returned by a JSON-Path query. 15:35:02 Todo: McCool to provide a link to the Discovery spec 15:35:04 ]] 15:35:22 (some more discussions) 15:36:31 mm: adding a link to the discovery spec is easy 15:36:37 ml: let's start with this 15:36:59 q+ 15:37:02 ... (add tweaks to wot-architecture/index.html for that purpose) 15:37:07 ack m 15:37:56 cris: thinking about if it's TD fragment is a kind of TD 15:38:14 we should use this to refer to WoT Discovery. But also, a direct URL is not a good idea, it should be a reference (and Scripting ref in Partial TD should also be a reference) 15:38:17 https://www.w3.org/TR/wot-discovery/ 15:38:35 cris: if we're talking about discovery that should be a TD 15:38:57 (some more discussions) 15:39:34 q+ 15:39:38 ack c 15:40:12 mm: one requirement is validation method by JSON Schema, etc. 15:41:04 ml: (adds some more tweaks to the definition of "TD Fragments") 15:41:17 mm: gave a comment on reference above 15:41:33 ... and chapter title of the specs to be mentioned there 15:41:43 ml: ok 15:42:08 ... (reads the initial definition within wot-architecture/index.html) 15:42:51 s/above/above (@@move McCool's comment here)/ 15:44:42 -> https://www.google.com/search?q=json%20fragment Google search results for "JSON fragment" 15:45:13 [[ 15:45:14 A JSON fragment is a JSON that does not have an Object or an Array as the root. If you do need the ability to encode JSON Fragments, you can change the jsonString function to handle the fragment cases in a different way: The function now encodes JSON fragments as simple strings. 15:45:15 ]] 15:45:51 kaz: maybe we can borrow part of the definition of "JSON Fragment" as well, can't we? 15:45:56 mm: interesting 15:46:10 ml: let's close this edit here on wot-architecture/index.html 15:46:13 kaz: ok 15:47:16 ml: (creating a pullrequest based on the discussion so far) 15:47:49 ... adding "TD Fragment" definition as proposed in arch call 2 weeks ago... 15:48:12 ... kaz, you might want to create an issue for the "JSON Fragment" definition part 15:48:14 kaz: ok 15:48:29 -> https://github.com/w3c/wot-architecture/pull/579 resulted PR 579 15:49:25 topic: WoT Profile - Max nesting of elements 15:49:33 -> https://github.com/w3c/wot-profile/pull/65 wot-profile PR 65 15:49:44 ml: (visits the preview) 15:49:58 -> https://pr-preview.s3.amazonaws.com/w3c/wot-profile/pull/65.html preview 15:50:04 ml: ok to merge it? 15:50:07 (no objections) 15:50:10 merged 15:50:50 topic: WoT Profile - Max size of a Profile-compliant 15:51:03 -> https://github.com/w3c/wot-profile/issues/66 wot-profile Issue 66 15:51:52 mjk has joined #wot-arch 15:51:55 q? 15:51:57 ml: 65000 bytes as the limit? 15:52:09 cris: was also thinking about 60000 bytes or so 15:52:25 q+ 15:52:52 mm: 32000 could be also enouh 15:52:58 s/enouh/enough/ 15:55:53 kaz: would be better to provide a mechanism to change the limit 15:56:07 ... I'm OK with putting 32k or 64k as the default limit value, though 15:56:24 q+ 15:56:27 ack k 15:58:39 ack m 15:58:53 q+ 16:00:49 ... some small devices could have less than 32k-byte memory 16:01:07 ml: it would require more than 32k-byte memory to process TD 16:01:12 q+ 16:01:43 ack m 16:01:49 kaz: I'm not sure if 32k-byte memory is the unique threshold... 16:01:56 q+ 16:02:28 ml: (adds a note: smaller devices don't ned to buffer the entire TD but just can pares it sequentially with a much smaller buffer.) 16:03:00 cris: a Thing Directory might accept only a limited size of TD 16:03:05 q+ 16:03:13 ack c 16:03:16 ack mc 16:03:36 mm: always should be user-configurable 16:04:04 ... one option is accepting only a core profile 16:04:21 mjk: we don't really have a future view 16:04:38 ... one possibility is having a link 16:04:59 q? 16:05:01 q+ 16:05:09 q+ 16:05:20 ... a simple TD might be smaller than 32k 16:05:39 ack mjk 16:06:29 kaz: maybe I should have been clearer 16:06:55 ... for the "core profile" or anything for smaller devices, having 32k or 64k as the limit is fine 16:07:25 q? 16:07:33 ... but the TD itself should have a capability to define the limit and the limit value for the "core profile" could be 32 or 64 16:07:35 ack k 16:07:42 ack m 16:08:17 ml: would suggest we continue the discussion on this issue 66 on GitHub 16:08:28 ... and revisit it next week 16:09:00 topic: WoT Profile - Max number of objects 16:09:11 -> https://github.com/w3c/wot-profile/issues/67 wot-profile Issue 67 16:09:21 zakim, who is on the call? 16:09:21 Present: Kaz_Ashimura, Daniel_Peintner, Michael_Laglly, Michael_McCool, Tomoaki_Mizushima, Michael_Koster, Cristiano_Aguzzi 16:09:33 present+ Ege_Korkan 16:10:01 q? 16:10:27 mjk: do you have any concrete number in you mind? 16:10:39 ml: maybe around 200-300 16:10:50 q+ 16:11:05 ml: what did we see during the PlugFests? 16:11:15 ek: we expose the devices 16:11:27 q+ 16:11:34 ... rarely see more than 10 16:11:54 s/10/10 properties and actions/ 16:12:07 ... but the total number is not problematic 16:12:31 ml: are you talking about the range? 16:12:39 ... e.g., 10-30? 16:12:45 q? 16:12:48 ca: was also thinking about that 16:13:17 ... the range of 10-30 is fine 16:14:43 Ege has joined #wot-arch 16:14:47 kaz: if the restricted device can process the objects one by one, maybe multiple objects can be also processed 16:15:03 an example can be this popular RPi HAT: https://pythonhosted.org/sense-hat/api/#sense-hat-api-reference 16:15:11 ... so we should consider "maximum number to be processed at once" as well 16:15:21 ml: ok 16:16:20 kaz: of course I can agree to have a "recommended number", though :) 16:16:37 mjk: discussion by zigbee as well 16:16:56 ... typical zigbee cluster has 20-30 affordances 16:17:19 ... may have a bunch of messages (e.g., hundred of) 16:17:36 ... modbus devices have 128 registries 16:18:06 ... 200-300 would make sense 16:18:10 ml: maybe 256? 16:18:28 ... or 250? 16:19:10 q? 16:19:12 ack k 16:19:14 ack mj 16:19:47 mjk: a little bit cautious... 16:20:29 q+ 16:20:49 ml: where is this limit to be considered? 16:21:30 ... we're talking about some microchip 16:22:35 ... why don't we pick some reference device 16:22:51 q? 16:23:36 ... e.g., Arm Cortex MO with 16k RAM 16:24:28 kaz: +1 16:24:29 ack mjk 16:24:42 ... we should clarify what device to be considered here 16:24:50 ... e.g., TV set or vending machine 16:24:52 ack k 16:24:58 ml: yeah 16:25:17 ... we don't have to put everything on the memory, though 16:26:23 ml: can get rough estimate of the data size as well 16:26:33 ... 8 bytes for name, 8bytes for value 16:27:05 ... 2048/(8+8) = 128 elements, possibly 16:27:23 -> https://github.com/w3c/wot-profile/issues/67#issuecomment-769204617 updated comments to Issue 67 16:27:42 rrsagent, make log public 16:27:51 rrsagent, draft minutes 16:27:51 I have made the request to generate https://www.w3.org/2021/01/28-wot-arch-minutes.html kaz 16:28:16 topic: WoT Profile - Events are loosely constrained 16:28:33 -> https://github.com/w3c/wot-profile/issues/67 wot-profile Issue 67 16:28:42 s/67/42/ 16:28:46 s/67/42/ 16:28:53 ml: let's talk about this issue next week 16:28:58 ek: ok 16:29:08 ml: need to close the call now today... 16:29:36 ... if anybody has any concrete idea on PlugFest TDs, please let me know 16:29:40 [adjourned] 16:29:47 rrsagent, draft minutes 16:29:47 I have made the request to generate https://www.w3.org/2021/01/28-wot-arch-minutes.html kaz 18:25:21 Zakim has left #wot-arch