Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More examples of SDF use #155

Open
akeranen opened this issue Apr 10, 2024 · 1 comment
Open

More examples of SDF use #155

akeranen opened this issue Apr 10, 2024 · 1 comment

Comments

@akeranen
Copy link
Collaborator

Could be useful to have more examples, .e.g.:

  • SDF Action with sdfInputData
  • TBD?
@mjkoster
Copy link
Collaborator

I have this from the Zigbee/Dotdot/Unity/CHIP/Matter cluster models in my old ODM-Examples directory

{
  "sdfAction": {
    "MoveToLevel": {
      "label": "MoveToLevel", 
      "sdfInputData": {
        "type": "object",
        "required": ["Level", "TransitionTime"],
        "properties": {
          "Level": {
            "label": "Level", 
            "sdfRef": "#/sdfObject/Level/sdfData/LevelData"            
          }, 
          "TransitionTime": {
            "label": "TransitionTime", 
            "sdfRef": "#/sdfObject/Level/sdfData/TransitionTimeData"
          }
        }
      }
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants