Template
One template, with its content.
Shape
- contentstringThe file's text, each field written as
{{name}}where its value goes. - default_pathstring
fieldsarray of TemplateField
- The TemplateField schema
- labelstringWhat to call it next to the input that fills it in.
- namestringThe placeholder's name —
yearstands for{{year}}.
- keystring
- kindTemplateKindlicensegitignorechangelogcontributingcode_of_conductsecuritycatalogWhat a template is for.
- namestring
- spdx_idstring or nulloptional
- summarystring or nulloptional
Example
Synthesized example{
"content": "content-3cbf",
"default_path": "default-path-0b12",
"fields": [
{
"label": "label-ac73",
"name": "payments-api"
}
],
"key": "key-e9ca",
"kind": "license",
"name": "payments-api",
"spdx_id": "2a461770-cfa8-41c6-908d-fe9651b18d7b",
"summary": "summary-7639"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation