| | |
| | |
| |
|
| | export default { |
| | type: 'object', |
| | additionalProperties: false, |
| | required: ['ref_product', 'ref_type', 'ref_style'], |
| | properties: { |
| | |
| | |
| | ref_product: { |
| | type: 'string', |
| | name: 'Product', |
| | description: 'The GitHub product the CTA leads users to', |
| | enum: ['copilot', 'ghec', 'desktop', 'code-quality', 'cli', 'github'], |
| | }, |
| |
|
| | |
| | |
| | ref_type: { |
| | type: 'string', |
| | name: 'Type', |
| | description: 'The type of action the CTA encourages users to take', |
| | enum: ['trial', 'purchase', 'engagement'], |
| | }, |
| |
|
| | |
| | |
| | ref_style: { |
| | type: 'string', |
| | name: 'Style', |
| | description: 'The way we are formatting the CTA in the docs', |
| | enum: ['button', 'text'], |
| | }, |
| |
|
| | |
| | |
| | ref_plan: { |
| | type: 'string', |
| | name: 'Plan', |
| | description: |
| | 'For links to sign up for or trial a plan, the specific plan we link to (optional)', |
| | enum: ['enterprise', 'business', 'pro', 'free'], |
| | }, |
| | }, |
| | } |
| |
|