{
  "$schema" : "https://bitbucket.org/fit-api/fit-api/raw/tmf622_v2.0.3/tmf622/ctk/json-schema/fit-tmf622.schema.json",
  "@type" : "ProductOrderStateChangeEvent",
  "eventId" : "08f12ee8-f716-4f84-a2b6-211bc0c3d10f",
  "eventTime" : "2022-08-25T10:45:00+02:00",
  "eventType" : "ProductOrderStateChangeEvent",
  "event" : {
    "productOrder" : {
      "@type" : "ProductOrder",
      "id" : "6d5c7978-2ce8-4778-a51d-63c025ec1729",
      "href" : "https://api.example.org/tmf-api/productOrderingManagement/v5/productOrder/6d5c7978-2ce8-4778-a51d-63c025ec1729",
      "category" : "providerChange",
      "expectedCompletionDate" : "2022-12-16T12: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"
      }, {
        "@type" : "Agreement",
        "name" : "ordererServiceContract",
        "engagedParty" : [ {
          "@type" : "Organization",
          "businessId" : "500014"
        } ],
        "businessId" : "500013",
        "agreementType" : "ordererServiceContract"
      }, {
        "@type" : "Agreement",
        "name" : "providerChangeAgreement",
        "businessId" : "DEU.VFD.V012345678",
        "agreementType" : "providerChangeAgreement"
      }, {
        "@type" : "Agreement",
        "name" : "singleContract",
        "businessId" : "555001",
        "agreementType" : "singleContract"
      } ],
      "externalId" : [ {
        "@type" : "ExternalIdentifier",
        "id" : "1000111",
        "externalIdentifierType" : "externalOrderId",
        "owner" : "DEU.VFD"
      } ],
      "productOrderItem" : [ {
        "@type" : "ProductOrderItem",
        "id" : "1",
        "action" : "add",
        "product" : {
          "@type" : "BitstreamAccessProduct",
          "relatedPlace" : [ {
            "@type" : "RelatedPlaceRefOrValue",
            "role" : "locationA",
            "place" : {
              "@type" : "GeographicAddress",
              "city" : "Rheinhausen",
              "country" : "DE",
              "postcode" : "59055",
              "streetName" : "Biberweg",
              "streetNr" : "2",
              "streetNrSuffix" : "a",
              "geographicSubAddress" : [ {
                "@type" : "GeographicSubAddress",
                "buildingName" : "Einfamilienhaus"
              } ]
            }
          } ],
          "uniConnectorType" : "TAE",
          "lineID" : "DEU.DTAG.FTYLIQ7PFT",
          "enni" : "4711",
          "enniPort" : "4",
          "cvlan" : "7",
          "svlan" : "3120",
          "networkTerminationUnitLocation" : "Flur",
          "homeId" : "a12d5a4545"
        },
        "productOffering" : {
          "@type" : "ProductOffering",
          "name" : "FTTH L2 PON 1000 500"
        },
        "productOrderItemRelationship" : [ {
          "@type" : "OrderItemRelationship",
          "id" : "2",
          "relationshipType" : "migrateFrom"
        } ],
        "endUserAppointmentIsNecessary" : true,
        "requestedTimeSlot" : {
          "@type" : "TimeSlot",
          "validFor" : {
            "startDateTime" : "2022-12-01T08:00:00+01:00",
            "endDateTime" : "2022-12-01T12:00:00+01:00"
          }
        },
        "appointment" : {
          "@type" : "Appointment",
          "validFor" : {
            "startDateTime" : "2022-12-16T08:00:00+01:00",
            "endDateTime" : "2022-12-16T12:00:00+01:00"
          }
        }
      }, {
        "@type" : "ProductOrderItem",
        "id" : "2",
        "action" : "transfer",
        "product" : {
          "@type" : "ProductRef",
          "id" : "388a4963-f168-4603-99e8-477200099d91",
          "href" : "https://api.example.org/tmf-api/productInventoryManagement/v5/product/388a4963-f168-4603-99e8-477200099d91",
          "@referredType" : "BitstreamAccessProduct"
        }
      } ],
      "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" : "installationContact",
        "partyOrPartyRole" : {
          "@type" : "Individual",
          "contactMedium" : [ {
            "@type" : "PhoneContactMedium",
            "contactType" : "fixed",
            "phoneNumber" : "+49221145155"
          }, {
            "@type" : "PhoneContactMedium",
            "contactType" : "mobile",
            "phoneNumber" : "+4917878878788"
          }, {
            "@type" : "EmailContactMedium",
            "contactType" : "email",
            "emailAddress" : "a.fischer@example.net"
          } ],
          "familyName" : "Fischer",
          "salutation" : "Herr",
          "givenName" : "Alexander"
        }
      }, {
        "@type" : "RelatedPartyOrPartyRole",
        "role" : "installationContact",
        "partyOrPartyRole" : {
          "@type" : "Individual",
          "contactMedium" : [ {
            "@type" : "PhoneContactMedium",
            "contactType" : "fixed",
            "phoneNumber" : "+49221145155"
          }, {
            "@type" : "PhoneContactMedium",
            "contactType" : "mobile",
            "phoneNumber" : "+4917878878788"
          } ],
          "familyName" : "Fischer",
          "salutation" : "Herr",
          "givenName" : "Alexander"
        }
      }, {
        "@type" : "RelatedPartyOrPartyRole",
        "role" : "locationAContact",
        "partyOrPartyRole" : {
          "@type" : "Individual",
          "familyName" : "Müller",
          "salutation" : "Herr",
          "givenName" : "Maximilian"
        }
      }, {
        "@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"
        }
      }, {
        "@type" : "RelatedPartyOrPartyRole",
        "role" : "handingOverProvider",
        "partyOrPartyRole" : {
          "@type" : "Organization",
          "name" : "1&1 Internet AG"
        }
      } ],
      "state" : "failed",
      "stateChangeDate" : "2022-08-25T10:45:00+02:00",
      "stateChangeMessage" : [ {
        "code" : "1199",
        "text" : "Die Voraussetzung für die Bereitstellung ist nicht mehr gegeben. Der Auftrag wurde abgebrochen."
      } ],
      "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"
      } ],
      "providerChangeInfo" : {
        "@type" : "ProviderChangeInfo",
        "approval" : true,
        "responseMessage" : {
          "code" : "0000",
          "text" : "keine Anmerkungen"
        }
      },
      "additionalOrderInformation" : {
        "hardwareIdType" : "OntSerialNumber",
        "hardwareIdValue" : "1234567890"
      }
    }
  }
}