Planable · Schema

Post_Campaigns Request

Social MediaContent CollaborationApproval WorkflowsSocial Media ManagementContent PublishingMarketing

Properties

Name Type Description
workspaceId string
name string
status string
icon string
color string
startedAt string
endedAt string
description string
links array
View JSON Schema on GitHub

JSON Schema

post_campaigns-request.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://planable.io/schemas/post_campaigns-request.json",
  "title": "Post_Campaigns Request",
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "archived",
        "paused",
        "planned",
        "completed"
      ],
      "default": "planned"
    },
    "icon": {
      "type": "string",
      "enum": [
        "star",
        "bulb",
        "calendar",
        "apple",
        "gift",
        "christmasTree",
        "glass",
        "eggCracked",
        "archive",
        "ghost",
        "cross",
        "candle",
        "home",
        "briefcase",
        "school",
        "camera",
        "bike",
        "bell",
        "barbell",
        "barrier",
        "paint",
        "bolt",
        "heart",
        "babyCarriage",
        "trophy",
        "award",
        "paw",
        "bone",
        "creditCard",
        "discount",
        "shield",
        "tag",
        "thumbUp",
        "thumbDown",
        "umbrella",
        "flag",
        "sun",
        "campfire",
        "seeding",
        "leaf",
        "cherry",
        "macro",
        "clover",
        "pumpkin",
        "flame",
        "cactus",
        "globe",
        "stack",
        "basketball",
        "baseball",
        "ball",
        "gasPump",
        "car",
        "balloon",
        "mug",
        "location",
        "analyze",
        "chartPie",
        "chartDots",
        "cards",
        "mail",
        "headphones",
        "microphone",
        "key"
      ]
    },
    "color": {
      "type": "string"
    },
    "startedAt": {
      "type": "string",
      "format": "date-time"
    },
    "endedAt": {
      "type": "string",
      "format": "date-time"
    },
    "description": {
      "type": "string"
    },
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ]
      }
    }
  },
  "required": [
    "workspaceId",
    "name"
  ]
}