{
  "$schema" : "https://bitbucket.org/fit-api/fit-api/raw/tmf622_v2.0.3/tmf622/ctk/json-schema/fit-tmf622.schema.json",
  "@type" : "ProductOrderStateChangeEvent",
  "eventId" : "7f3b60d8-13f5-4918-b89f-97c11ddb9878",
  "eventTime" : "2022-12-16T10:46:00+02:00",
  "eventType" : "ProductOrderStateChangeEvent",
  "event" : {
    "productOrder" : {
      "@type" : "ProductOrder",
      "id" : "105c3d32-f2b1-4f73-94a5-dd536afd2cc7",
      "href" : "https://api.example.org/tmf-api/productOrderingManagement/v5/productOrder/105c3d32-f2b1-4f73-94a5-dd536afd2cc7",
      "category" : "terminationByBuyer",
      "expectedCompletionDate" : "2022-12-01T12:00:00+01:00",
      "creationDate" : "2022-05-11T10:30:30+02:00",
      "orderPostedDate" : "2022-05-11T10:30:00+02:00",
      "requestedCompletionDate" : "2022-12-01T12:00:00+01:00",
      "agreement" : [ {
        "@type" : "Agreement",
        "name" : "buyerServiceContract",
        "engagedParty" : [ {
          "@type" : "Organization",
          "businessId" : "500011"
        } ],
        "businessId" : "500012",
        "agreementType" : "buyerServiceContract"
      } ],
      "externalId" : [ {
        "@type" : "ExternalIdentifier",
        "id" : "1000111",
        "externalIdentifierType" : "externalOrderId"
      } ],
      "productOrderItem" : [ {
        "@type" : "ProductOrderItem",
        "id" : "1",
        "action" : "delete",
        "product" : {
          "@type" : "BitstreamAccessProduct",
          "id" : "922ebf01-e930-47a0-842e-059d1f188a15",
          "href" : "https://api.example.org/tmf-api/productInventoryManagement/v5/product/922ebf01-e930-47a0-842e-059d1f188a15",
          "creationDate" : "2022-05-11T10:30:30+02:00",
          "terminationDate" : "2022-12-16T10:45:00+01:00",
          "relatedPlace" : [ {
            "@type" : "RelatedPlaceRefOrValue",
            "role" : "locationA",
            "place" : {
              "@type" : "GeographicAddress",
              "city" : "Rheinhausen",
              "country" : "DE",
              "locality" : "Nordstadt",
              "postcode" : "59055",
              "streetName" : "Biberweg",
              "streetNr" : "2",
              "streetNrSuffix" : "a",
              "geographicSubAddress" : [ {
                "@type" : "GeographicSubAddress",
                "buildingName" : "Einfamilienhaus"
              } ]
            }
          } ],
          "lineID" : "DEU.DTAG.FTYLIQ7PFT",
          "networkTerminationUnitLocation" : "Flur 3.OG",
          "homeId" : "a12d5a4545"
        }
      } ],
      "relatedParty" : [ {
        "@type" : "RelatedPartyOrPartyRole",
        "role" : "orderManagementBuyerContact",
        "partyOrPartyRole" : {
          "@type" : "Individual",
          "contactMedium" : [ {
            "@type" : "PhoneContactMedium",
            "contactType" : "fixed",
            "phoneNumber" : "+49221456789"
          }, {
            "@type" : "PhoneContactMedium",
            "contactType" : "mobile",
            "phoneNumber" : "+4917754545454"
          }, {
            "@type" : "EmailContactMedium",
            "contactType" : "email",
            "emailAddress" : "j.kirk@example.net"
          } ],
          "familyName" : "Kirk",
          "salutation" : "Herr",
          "givenName" : "James T.",
          "title" : "Captain"
        }
      }, {
        "@type" : "RelatedPartyOrPartyRole",
        "role" : "orderManagementSellerContact",
        "partyOrPartyRole" : {
          "@type" : "Individual",
          "contactMedium" : [ {
            "@type" : "PhoneContactMedium",
            "contactType" : "fixed",
            "phoneNumber" : "+49221789456"
          }, {
            "@type" : "PhoneContactMedium",
            "contactType" : "mobile",
            "phoneNumber" : "+4917878787878"
          }, {
            "@type" : "EmailContactMedium",
            "contactType" : "email",
            "emailAddress" : "l.bach@example.net"
          } ],
          "familyName" : "Bach",
          "salutation" : "Frau",
          "givenName" : "Lisa"
        }
      } ],
      "state" : "closed",
      "stateChangeDate" : "2022-12-16T10:46:00+02:00",
      "stateChangeMessage" : [ {
        "code" : "0010",
        "text" : "Auftrag ausgeführt."
      } ],
      "stateChangeHistory" : [ {
        "@type" : "StateChange",
        "stateChangeDate" : "2022-05-11T10:30:00+02:00",
        "state" : "acknowledged"
      }, {
        "@type" : "StateChange",
        "stateChangeDate" : "2022-05-11T10:31:00+02:00",
        "stateChangeMessage" : [ {
          "code" : "0000",
          "text" : "Keine Änderung zum Auftrag"
        } ],
        "state" : "accepted"
      }, {
        "@type" : "StateChange",
        "stateChangeDate" : "2022-05-20T10:40:00+02:00",
        "stateChangeMessage" : [ {
          "code" : "0000",
          "text" : "Keine Änderung zum Auftrag"
        } ],
        "state" : "inProgress"
      }, {
        "@type" : "StateChange",
        "stateChangeDate" : "2022-12-16T10:45:00+02:00",
        "stateChangeMessage" : [ {
          "code" : "0010",
          "text" : "Auftrag ausgeführt."
        } ],
        "state" : "completed"
      } ]
    }
  }
}