[ { "id": "urn:ngsi-ld:Building:JP9000020342025-01234567", "type": "Building", "nameKana": { "type": "Text", "value": "僋儗僔儓僔僂儔僔儈儞僙儞僞乕" }, "facilityID": { "type": "Text", "value": "01234567" }, "refLand": { "type": "Relationship", "value": [ "urn:ngsi-ld:Land:JP0990123456001-01234567" ] }, "totalFloorArea": { "type": "Number", "value": 2152 }, "completionYear": { "type": "Text", "value": "1996" }, "refDepartment": { "type": "Relationship", "value": "urn:ngsi-ld:Department:JP9000020342025-0402004" }, "name": { "type": "Text", "value": "屶巗媑塝巗柉僙儞僞乕" } }, { "id": "urn:ngsi-ld:Building:JP9000020342025-03000012", "type": "Building", "name": { "type": "Text", "value": "屶巗棫媑塝彫妛峑" }, "nameKana": { "type": "Text", "value": "僋儗僔儕僣儓僔僂儔僔儑僂僈僣僐僂" }, "facilityID": { "type": "Text", "value": "03000012" }, "refLand": { "type": "Relationship", "value": [ "urn:ngsi-ld:Land:JP0990123456001-03000012" ] }, "totalFloorArea": { "type": "Number", "value": 4000 }, "completionYear": { "type": "Text", "value": "1980" }, "refDepartment": { "type": "Relationship", "value": "urn:ngsi-ld:Department:JP9000020342025-0602003" } }, { "id": "urn:ngsi-ld:Building:JP9000020342025-04000008", "type": "Building", "name": { "type": "Text", "value": "屶巗棫媑塝拞妛峑" }, "nameKana": { "type": "Text", "value": "僋儗僔儕僣儓僔僂儔僠儏僂僈僣僐僂" }, "facilityID": { "type": "Text", "value": "04000008" }, "refLand": { "type": "Relationship", "value": [ "urn:ngsi-ld:Land:JP0990123456001-04000008" ] }, "totalFloorArea": { "type": "Number", "value": 3000 }, "completionYear": { "type": "Text", "value": "1990" }, "refDepartment": { "type": "Relationship", "value": "urn:ngsi-ld:Department:JP9000020342025-0602003" } } ] |
[ { "id": "urn:ngsi-ld:Building:JP9000020342025-01234567", "type": "Building", "zones": { "type": "Text", "value": [ { "zoneName": "寶暔撪晹", "subzones": [ { "subzoneName": [ "1F", [ "媑塝巟強", "抝巕僩僀儗", "彈巕僩僀儗", "惓柺尯娭", "奒抜幒", "嫟梡儘價乕" ] ] }, { "subzoneName": [ "2F", [ "巗柉僙儞僞乕憢岥", "壒妝幒", "挷棟幒", "恾彂幒", "奒抜幒", "嫟梡儘價乕" ] ] }, { "subzoneName": [ "3F", [ "妛廗幒1", "妛廗幒2", "奒抜幒", "嫟梡儘價乕" ] ] }, { "subzoneName": [ "4F", [ "儂乕儖", "峊幒1", "奒抜幒", "嫟梡儘價乕" ] ] } ] }, { "zoneName": "寶暔奜晹", "subzones": [ { "subzoneName": [ "壆忋", [ "搩壆", "壆忋彴" ] ] }, { "subzoneName": [ "奜暻", [ "杒柺", "撿柺", "惣柺", "搶柺" ] ] }, { "subzoneName": [ "傾僾儘乕僠" ] } ] }, { "zoneName": "寶暔廃曈", "subzones": [ { "subzoneName": [ "挀幵応" ] }, { "subzoneName": [ "怉嵧" ] } ] } ] } }, { "id": "urn:ngsi-ld:Building:JP9000020342025-03000012", "type": "Building", "zones": { "type": "Text", "value": [ { "zoneName": "峑幧", "subzones": [ { "subzoneName": [ "1F", [ "惓柺尯娭", "怑堳尯娭", "怑堳幒", "峑挿幒", "壒妝幒", "惣奒抜幒", "搶奒抜幒", "媼怘幒" ] ] }, { "subzoneName": [ "2F", [ "1擭1慻", "1擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓" ] ] }, { "subzoneName": [ "3F", [ "2擭1慻", "2擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓", "壒妝幒", "憅屔" ] ] } ] }, { "zoneName": "懱堢娰", "subzones": [ { "subzoneName": [ "晹戉" ] }, { "subzoneName": [ "僐乕僩" ] } ] }, { "zoneName": "壆奜", "subzones": [ { "subzoneName": [ "惓栧" ] }, { "subzoneName": [ "棤栧" ] }, { "subzoneName": [ "僌儔儞僪" ] }, { "subzoneName": [ "壴抎" ] } ] } ] } }, { "id": "urn:ngsi-ld:Building:JP9000020342025-04000008", "type": "Building", "zones": { "type": "Text", "value": [ { "zoneName": "峑幧", "subzones": [ { "subzoneName": [ "1F", [ "惓柺尯娭", "怑堳尯娭", "怑堳幒", "峑挿幒", "壒妝幒", "惣奒抜幒", "搶奒抜幒", "媼怘幒" ] ] }, { "subzoneName": [ "2F", [ "1擭1慻", "1擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓" ] ] }, { "subzoneName": [ "3F", [ "2擭1慻", "2擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓", "壒妝幒", "憅屔" ] ] } ] }, { "zoneName": "懱堢娰", "subzones": [ { "subzoneName": [ "晹戉" ] }, { "subzoneName": [ "僐乕僩" ] } ] }, { "zoneName": "壆奜", "subzones": [ { "subzoneName": [ "惓栧" ] }, { "subzoneName": [ "棤栧" ] }, { "subzoneName": [ "僌儔儞僪" ] }, { "subzoneName": [ "壴抎" ] } ] } ] } } ] |
C:\Users\owner>chdir c:/Tools/ c:\Tools>Python jtoj.py dir=c:/Tools/data/ outputfile=Building.json inputfile1=BuildingMergedjson.json inputfile2=BuildingZonesjson.json type=Building logfile=Buildinglog.txt dir: c:/Tools/data/, file: BuildingMergedjson.json json merged successfully. Number of output Entities: 3 |
[ { "id": "urn:ngsi-ld:Building:JP9000020342025-01234567", "type": "Building", "nameKana": { "type": "Text", "value": "僋儗僔儓僔僂儔僔儈儞僙儞僞乕" }, "facilityID": { "type": "Text", "value": "01234567" }, "refLand": { "type": "Relationship", "value": [ "urn:ngsi-ld:Land:JP0990123456001-01234567" ] }, "totalFloorArea": { "type": "Number", "value": 2152 }, "completionYear": { "type": "Text", "value": "1996" }, "refDepartment": { "type": "Relationship", "value": "urn:ngsi-ld:Department:JP9000020342025-0402004" }, "name": { "type": "Text", "value": "屶巗媑塝巗柉僙儞僞乕" }, "zones": { "type": "Text", "value": [ { "zoneName": "寶暔撪晹", "subzones": [ { "subzoneName": [ "1F", [ "媑塝巟強", "抝巕僩僀儗", "彈巕僩僀儗", "惓柺尯娭", "奒抜幒", "嫟梡儘價乕" ] ] }, { "subzoneName": [ "2F", [ "巗柉僙儞僞乕憢岥", "壒妝幒", "挷棟幒", "恾彂幒", "奒抜幒", "嫟梡儘價乕" ] ] }, { "subzoneName": [ "3F", [ "妛廗幒1", "妛廗幒2", "奒抜幒", "嫟梡儘價乕" ] ] }, { "subzoneName": [ "4F", [ "儂乕儖", "峊幒1", "奒抜幒", "嫟梡儘價乕" ] ] } ] }, { "zoneName": "寶暔奜晹", "subzones": [ { "subzoneName": [ "壆忋", [ "搩壆", "壆忋彴" ] ] }, { "subzoneName": [ "奜暻", [ "杒柺", "撿柺", "惣柺", "搶柺" ] ] }, { "subzoneName": [ "傾僾儘乕僠" ] } ] }, { "zoneName": "寶暔廃曈", "subzones": [ { "subzoneName": [ "挀幵応" ] }, { "subzoneName": [ "怉嵧" ] } ] } ] } }, { "id": "urn:ngsi-ld:Building:JP9000020342025-03000012", "type": "Building", "name": { "type": "Text", "value": "屶巗棫媑塝彫妛峑" }, "nameKana": { "type": "Text", "value": "僋儗僔儕僣儓僔僂儔僔儑僂僈僣僐僂" }, "facilityID": { "type": "Text", "value": "03000012" }, "refLand": { "type": "Relationship", "value": [ "urn:ngsi-ld:Land:JP0990123456001-03000012" ] }, "totalFloorArea": { "type": "Number", "value": 4000 }, "completionYear": { "type": "Text", "value": "1980" }, "refDepartment": { "type": "Relationship", "value": "urn:ngsi-ld:Department:JP9000020342025-0602003" }, "zones": { "type": "Text", "value": [ { "zoneName": "峑幧", "subzones": [ { "subzoneName": [ "1F", [ "惓柺尯娭", "怑堳尯娭", "怑堳幒", "峑挿幒", "壒妝幒", "惣奒抜幒", "搶奒抜幒", "媼怘幒" ] ] }, { "subzoneName": [ "2F", [ "1擭1慻", "1擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓" ] ] }, { "subzoneName": [ "3F", [ "2擭1慻", "2擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓", "壒妝幒", "憅屔" ] ] } ] }, { "zoneName": "懱堢娰", "subzones": [ { "subzoneName": [ "晹戉" ] }, { "subzoneName": [ "僐乕僩" ] } ] }, { "zoneName": "壆奜", "subzones": [ { "subzoneName": [ "惓栧" ] }, { "subzoneName": [ "棤栧" ] }, { "subzoneName": [ "僌儔儞僪" ] }, { "subzoneName": [ "壴抎" ] } ] } ] } }, { "id": "urn:ngsi-ld:Building:JP9000020342025-04000008", "type": "Building", "name": { "type": "Text", "value": "屶巗棫媑塝拞妛峑" }, "nameKana": { "type": "Text", "value": "僋儗僔儕僣儓僔僂儔僠儏僂僈僣僐僂" }, "facilityID": { "type": "Text", "value": "04000008" }, "refLand": { "type": "Relationship", "value": [ "urn:ngsi-ld:Land:JP0990123456001-04000008" ] }, "totalFloorArea": { "type": "Number", "value": 3000 }, "completionYear": { "type": "Text", "value": "1990" }, "refDepartment": { "type": "Relationship", "value": "urn:ngsi-ld:Department:JP9000020342025-0602003" }, "zones": { "type": "Text", "value": [ { "zoneName": "峑幧", "subzones": [ { "subzoneName": [ "1F", [ "惓柺尯娭", "怑堳尯娭", "怑堳幒", "峑挿幒", "壒妝幒", "惣奒抜幒", "搶奒抜幒", "媼怘幒" ] ] }, { "subzoneName": [ "2F", [ "1擭1慻", "1擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓" ] ] }, { "subzoneName": [ "3F", [ "2擭1慻", "2擭2慻", "惣奒抜幒", "搶奒抜幒", "楲壓", "壒妝幒", "憅屔" ] ] } ] }, { "zoneName": "懱堢娰", "subzones": [ { "subzoneName": [ "晹戉" ] }, { "subzoneName": [ "僐乕僩" ] } ] }, { "zoneName": "壆奜", "subzones": [ { "subzoneName": [ "惓栧" ] }, { "subzoneName": [ "棤栧" ] }, { "subzoneName": [ "僌儔儞僪" ] }, { "subzoneName": [ "壴抎" ] } ] } ] } } ] |
01: input1: directory: c:/Tools/data/, inputfile: BuildingMergedjson.json 02: input2: directory: c:/Tools/data/, inputfile: BuildingZonesjson.json 03: outputdir: c:/Tools/data/, outputfile: Buildingjson.json 06: JSON merged successfully. Number of output Entities: 3 |