12:03:27 RRSAgent has joined #wot-script 12:03:27 logging to https://www.w3.org/2021/01/18-wot-script-irc 12:04:26 Meeting: WoT Scripting API 12:04:52 present+ Kaz_Ashimura, Cristiano_Aguzzi, Daniel_Peintner, Zoltan_Kis 12:06:08 cris has joined #wot-script 12:07:38 scribenick: zkis 12:07:55 Mizushima has joined #wot-script 12:08:31 -> https://www.w3.org/2021/01/11-wot-script-minutes.html Jan-11 12:09:19 present+ Tomoaki_Mizushima 12:09:42 i/11-wot-/topic: Prev minutes/ 12:14:05 topic: PRs 12:14:40 -> https://github.com/w3c/wot-scripting-api/pull/288 PR288 12:15:35 rrsagent, make log public 12:16:15 rrsagent, draft minutes 12:16:15 I have made the request to generate https://www.w3.org/2021/01/18-wot-script-minutes.html kaz 12:17:34 Agenda: https://www.w3.org/WoT/IG/wiki/WG_WoT_Scripting_API_WebConf#18_January_2021 12:18:03 DP: PR 288 merged 12:18:12 --> closes https://github.com/w3c/wot-scripting-api/issues/284 and https://github.com/w3c/wot-scripting-api/issues/278 12:18:13 rrsagent, draft minutes 12:18:13 I have made the request to generate https://www.w3.org/2021/01/18-wot-script-minutes.html kaz 12:18:29 i/278/topic: Issues/ 12:19:00 s/topic: Issues/ 12:19:03 Topic: partial TD vs Thing fragment 12:19:14 i/closes/closes related issues/ 12:19:14 DP: there was discussion on the Architecture meeting 12:19:50 DP: a partial TD is similar to a TD, the structure is the same 12:19:57 ... a fragment can be anything 12:20:18 ... we can pass just a property, without TD context 12:20:32 CA: you got it right 12:20:36 https://github.com/w3c/wot-architecture/issues/453#issuecomment-760290680 12:21:05 CA: let's see the proposal for the definition in the Arch doc 12:21:30 (link to proposal) 12:22:13 DP: for me partial TD and Thing Model is the same thing, or too close 12:22:34 ... a model is like a TD but don't know the instance information 12:22:47 ... the context of a Thing model might be different 12:22:58 ... the TD TF want a dedicated context for it 12:23:27 ... checking validity for partial TD and fragment are simple, just remove parts from the schema 12:23:46 --> https://github.com/w3c/wot-architecture/issues/453#issuecomment-760290680 12:24:13 CA: about the Thing model, I agree. Eventually it could have more features than partial TD 12:24:21 ... partial TD is just a runtime concept 12:24:28 ... Thing Model can be shared 12:25:17 ZK: do we mandate the context in Scripting API? currently we don't require it 12:25:26 DP: that is correct 12:26:21 ZK: currently it is a fragment, not a partial TD. Maybe it should be a partial TD 12:26:37 DP: without the context it doesn't work 12:28:22 ZK: we have to update the algorithms then 12:28:44 DP: yes, we need to update the wording 12:28:49 q? 12:29:57 ZK: this validation should be in the TD spec, since it is normative (Scripting is optional) 12:30:09 DP: yes, we should reuse a schema defined in TD 12:30:14 q+ 12:30:21 DP: or in Architecture 12:30:30 ack cris 12:30:58 CA: I am afraid if we use the Thing Model definition, then we might have some mandatory elements we don't need or want 12:31:10 ... it might also evolve with time 12:32:14 ZK: is context in partial TD? 12:32:27 DP: no, I meant the same structure 12:32:43 ZK: I prefer having an exact schema 12:32:45 CA: yes 12:32:48 DP: agree 12:33:14 ... we remove the "required" stances and then we are fine 12:33:49 ZK: will that be the partial TD? 12:34:03 DP: yes, if we define it that way in Architecture 12:35:37 ZK: this is a generic issue for also non-scripting clients, so it needs to be solved in TD 12:36:29 DP: not sure they will want to take it 12:38:05 DP: the TD spec does not use partial TD 12:38:15 ... Discovery, Scripting might use it 12:38:24 ... Thing Model is similar 12:39:03 CA: I agree 12:39:23 ... we should add the algorithm in Scripting and ping the TD TF if they want to integrate it 12:39:43 DP: makes sense 12:39:53 ZK: OK, we can do it that way 12:40:07 DP: we should use the name "partial TD" 12:40:34 CA: I agree with the algorithm approach, not duplicating the schema 12:40:46 DP: so how to go forward 12:40:53 CA: I can prepare a PR 12:41:49 ZK: so we need a section with an algorithm to produce the schema for validation 12:42:14 CA: we can also define PartialTD 12:44:04 ZK: I think the intent is more generic, for a ThingDescription, it's easier to grasp 12:44:28 DP: we can make clear in the algorithm that it is a partial TD 12:45:44 ZK: we can also use a generic object and describe the algorithm 12:46:49 CA: will think about it 12:47:04 ZK: do we have a tracking issue? 12:47:20 ... https://github.com/w3c/wot-scripting-api/issues/287 12:47:22 DP: we used to, changing the title :) 12:48:12 Topic: versioning 12:48:19 ... https://github.com/w3c/wot-scripting-api/issues/224 12:49:03 DP summarizes the issue 12:49:38 CA: I tried to find a use case for versioning, and it's mainly for feature detection 12:49:45 ... this would be the main use case 12:50:03 ... I agree that modern APIs use feature detection instead 12:50:14 ... gave an example in the issue comment 12:51:07 ... there might be some complex features that cannot be detected 12:51:15 ... and that might need something like a version 12:51:43 ... otherwise we should not define a version since we don't have a real use case yet, just hypotethical ones 12:52:03 ... also, features should be easy to detect 12:53:31 q+ 12:54:17 ack dape 12:55:56 DP: question about feature detection 12:56:46 ... any way to test if the server supports something< 12:56:51 s/ ... looks like server side feature detection is not needed 12:58:25 CA: right, we don't even know if the server is a WoT runtime at all 12:58:50 DP: a second question: how much of a complication will it be 12:59:49 ZK: the way we handle values now, I see it as a stable Web platform pattern 13:00:02 q? 13:00:04 CA: right, this is more or less standardized 13:00:08 ack kaz 13:00:32 DP: we need more experience and we can discuss later 13:01:03 ZK: we can close the issue later 13:01:12 DP: thank you 13:01:24 adjourned 13:01:35 rrsagent, draft minutes 13:01:35 I have made the request to generate https://www.w3.org/2021/01/18-wot-script-minutes.html kaz 14:02:07 zkis has joined #wot-script 14:45:04 zkis has joined #wot-script 14:54:25 zkis has joined #wot-script 15:30:31 Zakim has left #wot-script 17:31:14 zkis has joined #wot-script