Last active
October 27, 2015 18:50
-
-
Save azenla/d069e30a554b31ae5a7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"people": { // This node does not have a value, but it's children can be a value, action, or plain node. | |
"$name": "People", // All nodes can have configs and attributes | |
"addPerson": { // This is can action which defines how to add a person. | |
"$name": "Add Person", // Defines a display name for this action. | |
"$invokable": "write", // Marks this as an action that requires write permission. This can also be 'read'. | |
}, | |
"kaendfinger": { // Defines a child node. | |
"$name": "Kenneth Endfinger", // Display Name (In this case, the person's name) [Optional] | |
"age": { // Defines a value node. | |
"$type": "int", // This value's type. | |
"?value": 16, // The value of this node. | |
"@unit": "years old" // The unit for a value. [Optional] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment