Dl/DataType: Difference between revisions
From stonehomewiki
Jump to navigationJump to search
Stonezhong (talk | contribs) |
Stonezhong (talk | contribs) |
||
| Line 44: | Line 44: | ||
} | } | ||
} | } | ||
# This represent an array of structure which has 2 number member fields for "x" and "y". | |||
{ | |||
id: "617b2e86-9698-4b99-8956-57ce99d8de39", | |||
type: "array", | |||
items: { | |||
id: "617b2e86-9698-4b99-8956-57ce99d8de3f", | |||
type: "object", | |||
properties: { | |||
"x": { | |||
type: "number", | |||
}, | |||
"y": { | |||
type: "number", | |||
} | |||
} | |||
} | |||
} | |||
</nowiki></pre> | </nowiki></pre> | ||
</div> | </div> | ||