mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
115 lines
3.2 KiB
JSON
115 lines
3.2 KiB
JSON
{
|
|
"$id": "config.json",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"border": {
|
|
"$ref": "#/definitions/borders"
|
|
},
|
|
"columns": {
|
|
"$ref": "#/definitions/columns"
|
|
},
|
|
"columnDefault": {
|
|
"$ref": "#/definitions/column"
|
|
},
|
|
"drawHorizontalLine": {
|
|
"typeof": "function"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"definitions": {
|
|
"columns": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[0-9]+$": {
|
|
"$ref": "#/definitions/column"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"column": {
|
|
"type": "object",
|
|
"properties": {
|
|
"alignment": {
|
|
"type": "string",
|
|
"enum": [
|
|
"left",
|
|
"right",
|
|
"center"
|
|
]
|
|
},
|
|
"width": {
|
|
"type": "number"
|
|
},
|
|
"wrapWord": {
|
|
"type": "boolean"
|
|
},
|
|
"truncate": {
|
|
"type": "number"
|
|
},
|
|
"paddingLeft": {
|
|
"type": "number"
|
|
},
|
|
"paddingRight": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"borders": {
|
|
"type": "object",
|
|
"properties": {
|
|
"topBody": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"topJoin": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"topLeft": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"topRight": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"bottomBody": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"bottomJoin": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"bottomLeft": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"bottomRight": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"bodyLeft": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"bodyRight": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"bodyJoin": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"joinBody": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"joinLeft": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"joinRight": {
|
|
"$ref": "#/definitions/border"
|
|
},
|
|
"joinJoin": {
|
|
"$ref": "#/definitions/border"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"border": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|