{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seamlessevents-io/json-schema/seamlessevents-io-sponsor-public-schema.json",
  "title": "SponsorPublic",
  "description": "Public shape for the embed feed — strips contact/PII + internal fields server-side.",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seamlessevents-io-openapi.json#/components/schemas/SponsorPublic",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "companyName": {
      "type": "string",
      "title": "Companyname"
    },
    "tagline": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tagline"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "websiteUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Websiteurl"
    },
    "linkedinUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linkedinurl"
    },
    "socialMedia": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Socialmedia"
    },
    "sponsorType": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sponsortype"
    },
    "companyLogoColour": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Companylogocolour"
    },
    "companyLogoWhite": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Companylogowhite"
    },
    "companyLogoVector": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Companylogovector"
    },
    "companyLogoWhiteVector": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "format": "uri"
        },
        {
          "type": "null"
        }
      ],
      "title": "Companylogowhitevector"
    },
    "signedAgreementStatus": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signedagreementstatus"
    },
    "benefits": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Benefits"
    },
    "userId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Userid"
    },
    "formType": {
      "type": "string",
      "title": "Formtype",
      "default": "sponsor-info"
    },
    "sponsorInformationStatus": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sponsorinformationstatus",
      "default": "info_pending"
    },
    "unauthenticatedEditEnabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unauthenticatededitenabled",
      "default": false
    },
    "customFields": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Customfields"
    },
    "content": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ContentSchema-Output"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content"
    },
    "websiteCardApproved": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Websitecardapproved"
    },
    "promoCardApproved": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Promocardapproved"
    },
    "embedEnabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Embedenabled"
    },
    "createdAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Createdat"
    },
    "updatedAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updatedat"
    },
    "colourLogoDownloadUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Colourlogodownloadurl",
      "readOnly": true
    },
    "whiteLogoDownloadUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Whitelogodownloadurl",
      "readOnly": true
    },
    "colourLogoVectorDownloadUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Colourlogovectordownloadurl",
      "readOnly": true
    },
    "whiteLogoVectorDownloadUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Whitelogovectordownloadurl",
      "readOnly": true
    },
    "signedAgreementDownloadUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Signedagreementdownloadurl",
      "readOnly": true
    }
  },
  "type": "object",
  "required": [
    "id",
    "companyName",
    "colourLogoDownloadUrl",
    "whiteLogoDownloadUrl",
    "colourLogoVectorDownloadUrl",
    "whiteLogoVectorDownloadUrl",
    "signedAgreementDownloadUrl"
  ],
  "$defs": {
    "ContentSchema-Output": {
      "properties": {
        "content": {
          "type": "string",
          "title": "Content"
        },
        "contentType": {
          "type": "string",
          "title": "Contenttype"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id"
        },
        "speakerId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Speakerid"
        },
        "sponsorId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sponsorid"
        },
        "scheduleId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Scheduleid"
        },
        "documentId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Documentid"
        },
        "version": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Version"
        },
        "isCurrent": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Iscurrent"
        },
        "createdBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Createdby"
        },
        "createdAt": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Createdat"
        },
        "updatedAt": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updatedat"
        },
        "archived": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Archived"
        },
        "archivedAt": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Archivedat"
        },
        "archivedBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Archivedby"
        },
        "createdByName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Createdbyname",
          "description": "Computed friendly name of the creator when available from ORM/token schema.",
          "readOnly": true
        }
      },
      "type": "object",
      "required": [
        "content",
        "contentType",
        "name",
        "createdByName"
      ],
      "title": "ContentSchema"
    }
  }
}