{ "$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" } } } }