-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(schema): add frames and graph edge information (#181)
* feat(schema): add edge paths to graph property * feat(schema): add frames to application * refactor: add titles and descriptions to properties * build: update static draft schema * docs: CHANGELOG
- Loading branch information
Showing
6 changed files
with
273 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "Frames", | ||
"description": "A description of the static frames available in the application", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"patternProperties": { | ||
"^[a-z]([a-z0-9_]?[a-z0-9])*$": { | ||
"title": "Frame", | ||
"description": "The position and orientation of a static frame in the application", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"position": { | ||
"title": "Frame Position", | ||
"description": "The frame position as Cartesian coordinates", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"x": { | ||
"type": "number" | ||
}, | ||
"y": { | ||
"type": "number" | ||
}, | ||
"z": { | ||
"type": "number" | ||
} | ||
}, | ||
"required": [ | ||
"x", | ||
"y", | ||
"z" | ||
] | ||
}, | ||
"orientation": { | ||
"title": "Frame Orientation", | ||
"description": "The frame orientation in a unit quaternion representation", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"w": { | ||
"type": "number" | ||
}, | ||
"x": { | ||
"type": "number" | ||
}, | ||
"y": { | ||
"type": "number" | ||
}, | ||
"z": { | ||
"type": "number" | ||
} | ||
}, | ||
"required": [ | ||
"w", | ||
"x", | ||
"y", | ||
"z" | ||
] | ||
}, | ||
"reference_frame": { | ||
"title": "Reference Frame", | ||
"description": "The reference frame that the positive and orientation of the frame is defined relative to", | ||
"type": "string", | ||
"default": "world", | ||
"pattern": "^[a-z]([a-z0-9_]?[a-z0-9])*$" | ||
} | ||
}, | ||
"required": [ | ||
"position", | ||
"orientation" | ||
] | ||
} | ||
} | ||
} |
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