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

added an initial schema #196

Merged
merged 3 commits into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions topological_navigation/config/tmap-schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
$schema: http://json-schema.org/draft-07/schema#
title: Topological Map Schema
type: object
required:
- meta
- metric_map
- name
- nodes
- pointset
additionalProperties: true
properties:
meta:
type: object
properties:
last_updated:
type: string
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{2}-[0-9]{2}-[0-9]{2}$
required:
- last_updated
additionalProperties: true
metric_map:
type: string
name:
type: string
nodes:
type: array
items:
type: object
required:
- meta
- node
properties:
meta:
type: object
required:
- map
- node
- pointset
properties:
map:
type: string
node:
type: string
pointset:
type: string
node:
type: object
required:
- edges
- name
- parent_frame
additionalProperties: true
properties:
edges:
type: array
items:
type: object
additionalProperties: true
required:
- edge_id
- node
properties:
edge_id:
type: string
node:
type: string
name:
type: string
parent_frame:
type: string
pointset:
type: string