Skip to content

modifying annotation schema to match real world examples #765

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
23 changes: 11 additions & 12 deletions src/datasource/precomputed/json_schema/annotation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,9 @@ properties:
be contained with the bounding box defined by `.lower_bound` and
`.upper_bound`.
annotation_type:
title: |-
Annotation geometry type.
enum:
- "point"
- "line"
- "axis_aligned_bounding_box"
- "ellipsoid"
title: Annotation geometry type.
type: string
pattern: "^(?i)(point|line|axis_aligned_bounding_box|ellipsoid)$"
properties:
title: Additional properties associated with each annotation.
type: array
Expand Down Expand Up @@ -200,9 +196,10 @@ properties:
sharded format.
required:
- key
- grid_shape
- chunk_shape
- limit
oneOf:
- required: ["grid_shape"]
- required: ["chunk_shape"]
segment_properties:
title: |
Relative path to the directory containing associated :ref:`segment
Expand All @@ -218,6 +215,8 @@ properties:
type: string
required:
- "@type"
- vertex_quantization_bits
- transform
- lod_scale_multiplier
- dimensions
- lower_bound
- upper_bound
- annotation_type
- properties
Loading