Dear All,
Further to my earlier question/query i am planning to use following structure under 674 to represent geographicAddress, geographicSubAddress, location etc. by value.
Kindly provide your views please to comply with TMF API guidelines.
{
"eventId": "xxxxx3",
"eventTime": "2015-11-16T16:42:25-04:00",
"eventType": "GeographicSiteCreateEvent",
"event": {
"geographicSite": {
"id": "1232131",
"name": "Sydney",
"status": "active",
"href": "https://host:port/geographicSiteManagement/v4/geographicSite/AU007",
"code": "PoP",
"description": "PoP Center in Sydney",
"@baseType": "NetworkSite",
"@type": "GeographicSite",
"calendar": [],
"place": [
{
"id": "AUS007",
"name": "Sydney SY2",
"@type": "GeographicSite",
"@baseType": "NetworkSite",
"geographicAddress": {
"streetNr": "56",
"streetName": "Unit C",
"streetType": "Road",
"postcode": "W45E02",
"locality": "Sydney",
"city": "Sydney",
"stateOrProvince": "Sydney",
"country": "Australia",
"streetNrSuffix": "B",
"streetNrLast": "",
"streetNrLastSuffix": "",
"streetSuffix": "",
"@type": "GeographicAddress ",
"geographicLocation": {
"geometryType": "point",
"accuracy": "Nearest Address (GPS accurate to 100m)",
"spatialRef": "WGS84",
"geometry": [
{
"x": "151.188056",
"y": "-33.920581"
}
]
},
"geographicSubAddress": [
{
"id": "AUSYDB008",
"name": "AUS-SYD10",
"href": "https://host:port/geographicSiteManagement/v4/geographicSubAddress/AUSYDB008",
"levelNumber": "1",
"levelType": "floor",
"privateStreetNumber": "1",
"privateStreetName": "sydenyroad",
"subAddressType": "typeOfRoom",
"type": "SubUnit",
"subUnitType": "Equipment Room",
"subUnitNumber": "239",
"buildingName": "Sydney SY2",
"subUnitState": "Active",
"subUnitOwner":"org",
"subUnitSupplier":"Equinix",
"@type": "GeographicSubAddress"
},
{
"id": "AUSY009",
"name": "AUS-SYD11",
"href": "https://host:port/geographicSiteManagement/v4/geographicSubAddress/AUS009",
"levelNumber": "1",
"levelType": "floor",
"privateStreetNumber": "1",
"privateStreetName": "sydenyroad",
"subAddressType": "typeOfRoom",
"type": "SubUnit",
"subUnitType": "Equipment Room",
"subUnitNumber": "239",
"buildingName": "Equinix SY2",
"subUnitState": "Active",
"subUnitOwner":"org",
"subUnitSupplier":"Equinix",
"@type": "GeographicSubAddress"
}
]
}
}
],
"relatedParty": [
{
"id": "Equinix",
"name": "Equinix",
"role": "siteSupplier",
"@type": "Individual"
},
{
"id": "org",
"name": "org",
"role": "siteOwner",
"@type": "Organization"
}
],
"siteRelationship": []
}
}
}
------------------------------
Mahesh Choudhari
UNSPECIFIED
------------------------------
Original Message:
Sent: Mar 01, 2023 09:08
From: Mahesh Choudhari
Subject: Can 674 Open API used to represent sub address of site or relationship site within same site address?
I have object as geoGraphicSubAddress to represent related sub address under place address object array which is nothing but part of 673 Open API. So basically, instead giving placeByRef we have given placeByvalue for geogprahic address to represent address and Sub address. Is it fine to implement this way and compliance to TMF guidelines?
Kindly advise.
------------------------------
Mahesh Choudhari
UNSPECIFIED
------------------------------