Motivation
The component JSON schema needs a ClickToSign definition so that component documents using ClickToSign validate correctly.
Scope
- Add
$defs/ClickToSign to schemas/component.schema.json following the pattern of other Progressive input components (e.g., Signature, Rating)
- Include:
component const, bind (required), statement, buttonLabel, showTimestamp, showSignerName, requireTypedName, revocable props
- Set
x-lm metadata: category input, level progressive, children false, bind required, fallback Stack
- Add
{ "$ref": "#/$defs/ClickToSign" } to the AnyComponent oneOf union
- Add
"ClickToSign" to the built-in component name exclusion list in CustomComponentRef
- Add example entry
- Run
npm run docs:generate and npm run docs:check
Acceptance Criteria
Dependencies
Depends on #2 (spec definition should be finalized before encoding in schema).
Motivation
The component JSON schema needs a ClickToSign definition so that component documents using ClickToSign validate correctly.
Scope
$defs/ClickToSigntoschemas/component.schema.jsonfollowing the pattern of other Progressive input components (e.g., Signature, Rating)componentconst,bind(required),statement,buttonLabel,showTimestamp,showSignerName,requireTypedName,revocablepropsx-lmmetadata: category input, level progressive, children false, bind required, fallback Stack{ "$ref": "#/$defs/ClickToSign" }to theAnyComponentoneOf union"ClickToSign"to the built-in component name exclusion list inCustomComponentRefnpm run docs:generateandnpm run docs:checkAcceptance Criteria
ClickToSigncomponent nodes validate against the schemaDependencies
Depends on #2 (spec definition should be finalized before encoding in schema).