{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:PublicationEvent",
  "title": "PublicationEvent",
  "description": "A PublicationEvent corresponds indifferently to the event of publication for a CreativeWork of any type, e.g. a broadcast event, an on-demand event, a book/journal publication via a variety of delivery media.",
  "type": "object",
  "allOf": [
    {
      "description": "An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the [[offers]] property. Repeated events may be structured as separate Event objects.",
      "$ref": "schema:Event"
    }
  ],
  "properties": {
    "free": {
      "description": "A flag to signal that the item, event, or place is accessible for free.",
      "type": "boolean"
    },
    "publishedBy": {
      "description": "An agent associated with the publication event.",
      "oneOf": [
        {
          "anyOf": [
            { "$ref": "schema:Organization" },
            { "$ref": "schema:Person" }
          ]
        },
        {
          "type": "array",
          "items": {
            "anyOf": [
              { "$ref": "schema:Organization" },
              { "$ref": "schema:Person" }
            ]
          }
        }
      ]
    },
    "publishedOn": {
      "description": "A broadcast service associated with the publication event.",
      "oneOf": [
        { "$ref": "schema:BroadcastService" },
        { "type": "array", "items": { "$ref": "schema:BroadcastService" } }
      ]
    }
  }
}
