Properties
| Name | Type | Description |
|---|---|---|
| name | string | Human-readable name for the new credential |
| description | string | Optional description of the credential's purpose |
| attributes | array | Attribute definitions for this credential |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CredentialPost",
"title": "CredentialPost",
"type": "object",
"description": "Payload to create a new credential",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Human-readable name for the new credential"
},
"description": {
"type": "string",
"description": "Optional description of the credential's purpose"
},
"attributes": {
"type": "array",
"description": "Attribute definitions for this credential",
"items": {
"$ref": "#/components/schemas/CredentialAttributePost"
}
}
}
}