{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/OrganizationalChangeEvent.schema.json",
  "title": "OrganizationalChangeEvent",
  "description": "A significant reorganization, such as a merger, split or takeover of functions, after which at least one organization has a new identity. Its authority is the organization that decided or reported the change. Earlier organizations and their past acts stay identifiable. A name correction that keeps identity can use RecordLifecycleEvent without introducing a successor organization.",
  "type": "object",
  "properties": {
    "identifiers": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Identifier.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identifiers carried by this entity, such as national ID numbers, program IDs, or identifiers asserted by an identity document."
      }
    },
    "original_organizations": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Organization.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Organizations that existed before this material organizational change. Participation in a change does not itself assert that each organization ceased to exist."
      }
    },
    "resulting_organizations": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Organization.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Organizations created or materially changed by this event. A new organizational identity must not replace the identity of the issuer on its predecessor's historical acts."
      }
    },
    "lifecycle_kind": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The kind of change that the event reports."
    },
    "effective_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the change or decision took effect, which can be earlier or later than when it was recorded. For the day from which a ConsentRecord or PrivacyNotice applies, use effective_date."
    },
    "recorded_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the statement or event was entered into its source record. It can differ from when the fact took effect."
    },
    "authority": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Organization.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The organization responsible for the act or event a record describes, such as the body that receives an application, decides a case, reviews an appeal, inspects a subject or takes a measure. Each class using it states which of these roles applies. It links to an Organization, whereas issuing_authority names the issuer of a document or credential as text."
    },
    "evidence_assertions": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/EvidenceAssertion.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Statements identifying sources that support or contradict this statement."
      }
    },
    "legal_resources": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri",
        "description": "Identified legal provisions or policy resources that a service, organization, decision, measure, representation or institutional change relies on. A link does not execute a rule or establish which version is applicable. For the legal basis for processing personal data, use legal_basis."
      }
    }
  }
}
