ArcGIS REST Services Directory Login
JSON

Relationships : (Hosted/Subsurface)

{"relationships": [
 {
  "destinationLayerId": 7,
  "attributed": false,
  "composite": false,
  "originLayerId": 0,
  "name": "",
  "backwardPathLabel": "borehole_info",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "lithology_logs",
  "id": 0,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 2,
  "attributed": false,
  "composite": false,
  "originLayerId": 0,
  "name": "",
  "backwardPathLabel": "borehole_info",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "bedrock",
  "id": 1,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 4,
  "attributed": false,
  "composite": false,
  "originLayerId": 0,
  "name": "",
  "backwardPathLabel": "borehole_info",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "in_situ_test_data",
  "id": 2,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 3,
  "attributed": false,
  "composite": false,
  "originLayerId": 0,
  "name": "",
  "backwardPathLabel": "borehole_info",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "hydrologic",
  "id": 3,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 5,
  "attributed": false,
  "composite": false,
  "originLayerId": 0,
  "name": "",
  "backwardPathLabel": "borehole_info",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "layer_comments",
  "id": 4,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 8,
  "attributed": false,
  "composite": false,
  "originLayerId": 0,
  "name": "",
  "backwardPathLabel": "borehole_info",
  "rules": [],
  "originPrimaryKey": "document_id",
  "forwardPathLabel": "subsurface_documents",
  "id": 5,
  "originForeignKey": "document_id",
  "cardinality": "esriRelCardinalityOneToOne"
 },
 {
  "destinationLayerId": 6,
  "attributed": false,
  "composite": false,
  "originLayerId": 0,
  "name": "",
  "backwardPathLabel": "borehole_info",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "layer_data",
  "id": 6,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToMany"
 },
 {
  "destinationLayerId": 2,
  "attributed": false,
  "composite": false,
  "originLayerId": 1,
  "name": "",
  "backwardPathLabel": "water_wells",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "bedrock",
  "id": 7,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToOne"
 },
 {
  "destinationLayerId": 4,
  "attributed": false,
  "composite": false,
  "originLayerId": 1,
  "name": "",
  "backwardPathLabel": "water_wells",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "in_situ_test_data",
  "id": 8,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToOne"
 },
 {
  "destinationLayerId": 5,
  "attributed": false,
  "composite": false,
  "originLayerId": 1,
  "name": "",
  "backwardPathLabel": "water_wells",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "layer_comments",
  "id": 9,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToOne"
 },
 {
  "destinationLayerId": 3,
  "attributed": false,
  "composite": false,
  "originLayerId": 1,
  "name": "",
  "backwardPathLabel": "water_wells",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "hydrologic",
  "id": 10,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToOne"
 },
 {
  "destinationLayerId": 6,
  "attributed": false,
  "composite": false,
  "originLayerId": 1,
  "name": "",
  "backwardPathLabel": "water_wells",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "layer_data",
  "id": 11,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToOne"
 },
 {
  "destinationLayerId": 7,
  "attributed": false,
  "composite": false,
  "originLayerId": 1,
  "name": "",
  "backwardPathLabel": "water_wells",
  "rules": [],
  "originPrimaryKey": "borehole_id",
  "forwardPathLabel": "lithology_logs",
  "id": 12,
  "originForeignKey": "borehole_id",
  "cardinality": "esriRelCardinalityOneToOne"
 },
 {
  "destinationLayerId": 8,
  "attributed": false,
  "composite": false,
  "originLayerId": 1,
  "name": "",
  "backwardPathLabel": "water_wells",
  "rules": [],
  "originPrimaryKey": "document_id",
  "forwardPathLabel": "subsurface_documents",
  "id": 13,
  "originForeignKey": "document_id",
  "cardinality": "esriRelCardinalityOneToOne"
 }
]}