Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Define which members are mandatory vs. optional #135

@dravenk

Description

@dravenk

I finished reading Web Thing API , but anyway, I've read WoT Capability Schemas, but did not find any RFC file definition of property resource.
I see this discussion Actions vs. Properties #4 and this answer.

Fair enough. You could represent that state with two booleans (as you have) or with an integer (0, 1, 2, 3) or a string "on", "of", "turningOn", "turningOff".

This would make it impossible for me to define exactly and use a property resource.

  • I want to know in WoT Capability Schemas what are the properties of definition?
  • Are there any RFC files that define Properties resource?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions