{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eightfold-ai/json-schema/eightfold-ai-planned-events-schema-schema.json",
  "title": "PlannedEventsSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eightfold-ai-events-api-openapi.yml#/components/schemas/PlannedEventsSchema",
  "type": "object",
  "properties": {
    "plannedEventList": {
      "readOnly": true,
      "description": "List of planned events",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/PlannedEvent"
      }
    },
    "plannedEventListBranding": {
      "readOnly": true,
      "description": "list of branding planned events.",
      "allOf": [
        {
          "$ref": "#/$defs/EventBranding"
        }
      ]
    }
  },
  "$defs": {
    "EventBranding": {
      "type": "object",
      "properties": {
        "navBar": {
          "readOnly": true,
          "description": "Navigation banner information",
          "allOf": [
            {
              "$ref": "#/$defs/NavBar"
            }
          ]
        },
        "homePageBanner": {
          "readOnly": true,
          "description": "Home page banner information",
          "allOf": [
            {
              "$ref": "#/$defs/HomePageBanner"
            }
          ]
        }
      }
    },
    "HomePageBanner": {
      "type": "object",
      "properties": {
        "useImage": {
          "type": [
            "boolean",
            "null"
          ],
          "readOnly": true,
          "description": "boolean value for using image"
        },
        "image": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "image of home page banner"
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "title for home page"
        }
      }
    },
    "NavBar": {
      "type": "object",
      "properties": {
        "color": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Color of navbar"
        },
        "background": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "background of navbar"
        },
        "link": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Link of navbar"
        },
        "image": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Image on navbar"
        },
        "title": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "title of navbar"
        }
      }
    },
    "PlannedEvent": {
      "type": "object",
      "properties": {
        "createdAt": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "readOnly": true,
          "description": "Timestamp when this event was created"
        },
        "isCancelled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": ""
        },
        "eventSpeakers": {
          "type": [
            "array",
            "null"
          ],
          "readOnly": true,
          "description": "List of speakers",
          "items": {
            "type": "string"
          }
        },
        "activeRegistrations": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "active registrations"
        },
        "registerButton": {
          "readOnly": true,
          "description": "Registration button information",
          "allOf": [
            {
              "$ref": "#/$defs/RegisterButton"
            }
          ]
        },
        "eventTeamDataJson": {
          "type": [
            "object",
            "null"
          ],
          "readOnly": true,
          "description": "Event team data"
        },
        "eventBucket": {
          "type": [
            "string",
            "null"
          ],
          "description": "Bucket of the event"
        },
        "address": {
          "type": [
            "string",
            "null"
          ],
          "description": "Address of venue"
        },
        "eventCustomFieldsJson": {
          "type": [
            "object",
            "null"
          ],
          "readOnly": true,
          "description": "Event custom fields"
        },
        "eventType": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "institution": {
          "type": [
            "string",
            "null"
          ],
          "description": "Institution related to event"
        },
        "selectedTimezone": {
          "type": [
            "string",
            "null"
          ],
          "description": "Selected time zome"
        },
        "name": {
          "type": "string",
          "description": "Name of the event"
        },
        "homePageBanner": {
          "readOnly": true,
          "description": "Home page banner information",
          "allOf": [
            {
              "$ref": "#/$defs/HomePageBanner"
            }
          ]
        },
        "eventLocationType": {
          "type": [
            "string",
            "null"
          ],
          "description": ""
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "id"
        },
        "plannedEventEncId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Encoded event id"
        },
        "parentId": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Parent id of the event"
        },
        "venue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Venue of the event"
        },
        "endTimestamp": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Ending timestamp of event"
        },
        "isPublished": {
          "type": [
            "boolean",
            "null"
          ],
          "readOnly": true,
          "description": ""
        },
        "eventLandingPage": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Event landing page"
        },
        "status": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": ""
        },
        "createdBy": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "User id which created this event"
        },
        "eventCategory": {
          "type": [
            "string",
            "null"
          ],
          "description": "Category of the event"
        },
        "startTimestamp": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Starting time stamp of event"
        },
        "when": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "When tag of the event"
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of event"
        }
      },
      "required": [
        "endTimestamp",
        "name",
        "startTimestamp"
      ]
    },
    "RegisterButton": {
      "type": "object",
      "properties": {
        "textColor": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "text color for registration button"
        },
        "backgroundColor": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "background color of registration button"
        },
        "text": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Text of registration button"
        }
      }
    }
  }
}