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

Wrong format for tm:required in examples #1563

Closed
egekorkan opened this issue Jul 6, 2022 · 1 comment · Fixed by #1571
Closed

Wrong format for tm:required in examples #1563

egekorkan opened this issue Jul 6, 2022 · 1 comment · Fixed by #1571
Assignees
Labels
PR needed Thing Model Topic related to Thing Models

Comments

@egekorkan
Copy link
Contributor

The TD spec mentions JSON Pointer as the type of tm:required . However, the examples contain:

{
"tm:required": [
        "#/properties/status",
        "#/actions/toggle"
    ]
}

Use of # is actually not a JSON Pointer as per RFC 6901:
image

@github-actions github-actions bot added the needs-triage Automatically added to new issues. TF should triage them with proper labels label Jul 6, 2022
@egekorkan egekorkan added Thing Model Topic related to Thing Models and removed needs-triage Automatically added to new issues. TF should triage them with proper labels labels Jul 6, 2022
@egekorkan
Copy link
Contributor Author

Call of 06.07:

  • We will fix the examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR needed Thing Model Topic related to Thing Models
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant