jx/internal/resource/schemas/http.jsonschema

32 lines
621 B
Plaintext
Raw Normal View History

2024-04-10 19:38:12 +00:00
{
"$id": "http.jsonschema",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "http",
"type": "object",
"required": [ "endpoint" ],
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "HTTP header name"
},
"value": {
"type": "string",
"description": "HTTP header value"
}
}
}
},
"body": {
"type": "string"
}
}
}