Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RoboCT Schemas
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RoboCT (Public)
RoboCT Schemas
Commits
eaa01647
Commit
eaa01647
authored
4 months ago
by
Simon Wittl
Browse files
Options
Downloads
Patches
Plain Diff
Uv
parent
e407bf54
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-0
6 additions, 0 deletions
README.md
with
6 additions
and
0 deletions
README.md
+
6
−
0
View file @
eaa01647
...
...
@@ -12,7 +12,9 @@ This data structure use always a human-readable `.json` for storing header infor
## CLI
CLI tools for the validation of folder are automatically created.
To use the current tool just use:
```
ps
uvx
--from
git+https:
/
/mygit.th-deg.de/roboct/definitions/json_schemas
projection_validator
--help
```
...
...
@@ -37,6 +39,8 @@ This schema defines the properties for projection data in THD JSON format.
### Examples
Python example to validate a projection file:
```
python:../scripts/validate_file.py
from thd_json.projection import get_projection_validator
from pathlib import Path
...
...
@@ -53,6 +57,8 @@ if __name__ == '__main__':
main()
```
Python example to validate a folder of projections
```
python:../scripts/validate_folder.py:o:main
def main():
projection_validator = get_projection_validator()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment