Skip to content

Commit 73574d6

Browse files
committed
add annotations put field
1 parent 66dcc27 commit 73574d6

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

neurostore-openapi.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,6 +2191,7 @@ components:
21912191
- {}
21922192
- allOf:
21932193
- $ref: ./nimads/nimads/annotationBase.yaml
2194+
- $ref: '#/components/schemas/annotation-pipeline-extension'
21942195
- $ref: '#/components/schemas/annotation-request-relationships'
21952196
- $ref: '#/components/schemas/writeable-resource-attributes'
21962197
- $ref: '#/components/schemas/annotation-common'
@@ -2226,6 +2227,40 @@ components:
22262227
- items:
22272228
type: string
22282229
type: array
2230+
annotation-pipeline-extension:
2231+
title: annotation-pipeline-extension
2232+
type: object
2233+
properties:
2234+
pipelines:
2235+
type: array
2236+
writeOnly: true
2237+
description: >
2238+
Optional pipeline descriptors used to populate annotation notes with
2239+
feature columns. Each entry should include the pipeline name and the
2240+
list of columns to import, along with optional version and config id.
2241+
items:
2242+
type: object
2243+
required:
2244+
- name
2245+
- columns
2246+
properties:
2247+
name:
2248+
type: string
2249+
description: Pipeline extractor name.
2250+
version:
2251+
type: string
2252+
nullable: true
2253+
description: Optional pipeline version to use; latest is selected when omitted.
2254+
config_id:
2255+
type: string
2256+
nullable: true
2257+
description: Optional specific pipeline config identifier to use.
2258+
columns:
2259+
type: array
2260+
minItems: 1
2261+
items:
2262+
type: string
2263+
description: Feature columns to add to each annotation note.
22292264
annotation-list:
22302265
title: annotation-list
22312266
type: object

0 commit comments

Comments
 (0)