ArcGIS REST Services Directory Login
JSON

Relationships : (survey123/FullSurveyDB)

{"relationships": [
 {
  "id": 0,
  "name": "final_schools_survey_a_c_units_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 1,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 1,
  "name": "final_schools_survey_bathrooms_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 3,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 2,
  "name": "final_schools_survey_cracks_ceiling_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 5,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 3,
  "name": "final_schools_survey_cracks_external_walls_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 7,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 4,
  "name": "final_schools_survey_cracks_internal_walls_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 9,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 5,
  "name": "final_schools_survey_cracks_roof_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 11,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 6,
  "name": "final_schools_survey_damp_patches_existance_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 13,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 7,
  "name": "final_schools_survey_existance_loose_wiring_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 15,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 8,
  "name": "final_schools_survey_external_coating_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 17,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 9,
  "name": "final_schools_survey_external_doors_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 19,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 10,
  "name": "final_schools_survey_external_windows_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 21,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 11,
  "name": "final_schools_survey_heaters_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 23,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 12,
  "name": "final_schools_survey_internal_coating_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 25,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 13,
  "name": "final_schools_survey_internal_doors_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 27,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 14,
  "name": "final_schools_survey_internal_windows_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 29,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 15,
  "name": "final_schools_survey_laboratory_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 31,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 16,
  "name": "final_schools_survey_lan_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 33,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 17,
  "name": "final_schools_survey_library_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 35,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 18,
  "name": "final_schools_survey_phone_lines_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 37,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 19,
  "name": "final_schools_survey_pipes_drains_block_freq_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 39,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 20,
  "name": "final_schools_survey_playground_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 41,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 21,
  "name": "final_schools_survey_rainwater_sewage_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 43,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 22,
  "name": "final_schools_survey_roof_leak_heavy_rain_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 45,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 23,
  "name": "final_schools_survey_school_fence_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 47,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 24,
  "name": "final_schools_survey_stairs_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 49,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 25,
  "name": "final_schools_survey_tiling_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 51,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 },
 {
  "id": 26,
  "name": "final_schools_survey_ventilation_holes_photo",
  "backwardPathLabel": "",
  "originLayerId": 0,
  "originPrimaryKey": "globalid",
  "forwardPathLabel": "",
  "destinationLayerId": 53,
  "originForeignKey": "parentglobalid",
  "rules": [],
  "cardinality": "esriRelCardinalityOneToMany",
  "attributed": false,
  "composite": true
 }
]}