Skip to content

Commit 96db975

Browse files
author
STAC CI
committed
Publish JSON Schemas [ci skip]
1 parent 4edea37 commit 96db975

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

dev/item-spec/json-schema/item.json

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,33 @@
203203
"title": {
204204
"title": "Link title",
205205
"type": "string"
206+
},
207+
"method": {
208+
"title": "Link method",
209+
"type": "string",
210+
"pattern": "^[A-Z]+$",
211+
"default": "GET"
212+
},
213+
"headers": {
214+
"title": "Link headers",
215+
"type": "object",
216+
"additionalProperties": {
217+
"oneOf": [
218+
{
219+
"type": "string"
220+
},
221+
{
222+
"type": "array",
223+
"items": {
224+
"type": "string"
225+
}
226+
}
227+
]
228+
}
229+
},
230+
"body": {
231+
"title": "Link body",
232+
"$comment": "Any type is allowed."
206233
}
207234
},
208235
"$comment": "Link with relationship `self` must be absolute URI",
@@ -275,4 +302,4 @@
275302
]
276303
}
277304
}
278-
}
305+
}

0 commit comments

Comments
 (0)