Skip to content

Content Page page-asset-schema.json missing CTA Search option #57

Description

@greg-tribebuilder

The content page asset schema is missing the CTA Search option. Needs a new definition for search in $defs and a new object it the callToAction type.

 "callToAction": {
            "type": "object",
            "properties": {
              "fieldType": {
                "title": "Section call to action",
                "type": "string",
                "default": "none",
                "description": "The action you want a user to take after viewing the section.",
                "_editor": {
                  "component": "radio",
                  "direction": "vertical"
                },
                "oneOf": [
                  {
                    "$ref": "#/$defs/fieldType/none",
                    "title": "No call to action"
                  },
                  {
                    "$ref": "#/$defs/fieldType/internalButtonLink",
                    "title": "Internal link",
                    "description": "A button link to a page in your marketplace."
                  },
                  {
                    "$ref": "#/$defs/fieldType/externalButtonLink",
                    "title": "External link",
                    "description": "A button link to a page outside your marketplace. Opens in a new tab."
                  }                  
                ]
              }
            }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions