Skip to content
Last updated

Online Crime Report: JSON "Standard Data Model" Example

Below is an example Online Crime Report in the Standard Data Model data format:

{
  "data": {
    "id": "bd49908a-3032-2870-ba19-d76e81c55c42",
    "type": "incident",
    "attributes": {
      "hadWeapon": false,
      "incidentInvolvement": "IVLD_0004",
      "incidentAnyWitnesses": true,
      "incidentStartDateTime": {
        "dateFrom": "2022-10-20",
        "dateTo": "2022-10-20"
      },
      "incidentDescription": "test form, no crime to action",
      "incidentEndDateTime": "16:00:00",
      "incidentExactTimeKnown": true,
      "incidentOnPublicTransport": false,
      "incidentReportedAlready": true,
      "incidentReportedAlreadyReference": "1234567/123",
      "physicallyAssaulted": false,
      "subjectedToHateCrime": false,
      "subjectedToThreatAbuseOrAssault": false,
      "targetedByOffender": true,
      "howInvolvedInCrime": "IVLD_0004",
      "beforeWebsite": "BWST_0005",
      "firstTimeFollowUpOther": "I would have flagged down a police man"
    },
    "relationships": {
      "incidentLocation": {
        "data": [
          {
            "id": "d905b46b-84e2-507b-87ea-3a2ab4ba0ff2",
            "type": "location"
          }
        ]
      },
      "submission": {
        "data": [
          {
            "id": "69e8a37c-80ff-4487-a9d3-11f5f864aa6b",
            "type": "submission"
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": "9f0f3a51-ecff-31bb-bab3-908e93fa9cc0",
      "type": "person",
      "attributes": {
        "communicationNeeds": false,
        "contactPreference": "CPNC_0002",
        "dateOfBirth": "2000-01-01",
        "disability": "false",
        "ethnicityGroup": "EGRP_0006",
        "ethnicitySelfDefined": "ESDD_W1",
        "givenName": [
          "Mick"
        ],
        "gender": "GNDR_0003",
        "under18": false,
        "surname": "Crockett",
        "titleOther": "Test Pls Ignore"
      },
      "relationships": {
        "currentAddress": {
          "data": [
            {
              "id": "a8e90984-a62f-3f10-9e63-7199d64398fc",
              "type": "location"
            }
          ]
        },
        "personalEmail": {
          "data": [
            {
              "id": "7cb3b2d6-1fd8-579a-aa9e-0e80da8198a3",
              "type": "email"
            }
          ]
        },
        "personalTelephone": {
          "data": [
            {
              "id": "2f4182a2-74b6-4361-b7e4-b13c1f2ed4cc",
              "type": "telephone"
            }
          ]
        }
      }
    },
    {
      "id": "07b2713e-7538-22dc-907d-d4d9101921f0",
      "type": "person",
      "attributes": {
        "titleOther": "witness one",
        "givenName": [
          "dave"
        ],
        "surname": "jones",
        "dateofBirthKnown": "false",
        "gender": "GNDR_0003",
        "personDescription": "middle aged male",
        "ageKnown": "false",
        "ageRange": "ARNG_0008"
      },
      "relationships": {
        "currentAddress": {
          "data": [
            {
              "id": "83e90a2a-6b20-4abd-9250-6d77120e371e",
              "type": "location"
            }
          ]
        },
        "personalEmail": {
          "data": [
            {
              "id": "5fd2c33f-f429-2abc-a166-6f1930ccac77",
              "type": "email"
            }
          ]
        },
        "personalTelephone": {
          "data": [
            {
              "id": "bf6025d7-687a-5772-b9e1-7131da6a87ea",
              "type": "telephone"
            }
          ]
        }
      }
    },
    {
      "id": "69f2e85a-cb94-5dfa-8f69-d761e9893d0f",
      "type": "person",
      "attributes": {
        "approximateAgeFrom": "21",
        "approximateHeight": "6ft",
        "connectedToAnyOneElse": true,
        "ethnicityGroup": "EGRP_0006",
        "gender": "GNDR_0003",
        "inVehicle": true,
        "personDescription": "young male"
      },
      "relationships": {
        "inVehicle": {
          "data": [
            {
              "id": "c76d53d9-ca66-2335-9edf-75d6fa6b657e",
              "type": "vehicle"
            }
          ]
        }
      }
    },
    {
      "id": "59dfe506-12eb-3996-ad67-01c128749880",
      "type": "person",
      "attributes": {
        "age": "55",
        "ageKnown": true,
        "connectedToAnyOneElse": true,
        "dateofBirthKnown": false,
        "ethnicityGroup": "EGRP_0006",
        "givenName": [
          "bob"
        ],
        "gender": "GNDR_0003",
        "inVehicle": false,
        "personDescription": "test form",
        "surname": "brown",
        "titleOther": "suspect two"
      },
      "relationships": {
        "currentAddress": {
          "data": [
            {
              "id": "83e90a2a-6b20-4abd-9250-6d77120e371e",
              "type": "location"
            }
          ]
        }
      }
    },
    {
      "id": "a8e90984-a62f-3f10-9e63-7199d64398fc",
      "type": "location",
      "attributes": {
        "buildingNumber": "1",
        "street": "BOUGHTON HALL DRIVE",
        "cityOrTown": "CHESTER",
        "postcode": "CH3 5QG"
      }
    },
    {
      "id": "eb24761c-0830-5867-a990-e5b9f030f9a9",
      "type": "location",
      "attributes": {
        "buildingNumber": "1",
        "street": "BOUGHTON HALL DRIVE",
        "cityOrTown": "CHESTER",
        "postcode": "CH3 5QG"
      }
    },
    {
      "id": "d905b46b-84e2-507b-87ea-3a2ab4ba0ff2",
      "type": "location",
      "attributes": {
        "buildingNumber": "71",
        "buildingName": "POST OFFICE",
        "street": "HIGH STREET",
        "cityOrTown": "RAYLEIGH",
        "postcode": "SS6 7EJ",
        "latitude": "51.5861797",
        "longitude": "0.6060713",
        "easting": "580641",
        "northing": "190698",
        "UPRN": "10091894313",
        "country": "UK"
      }
    },
    {
      "id": "83e90a2a-6b20-4abd-9250-6d77120e371e",
      "type": "location",
      "attributes": {
        "buildingNumber": "88",
        "street": "HEATH LANE",
        "cityOrTown": "CHESTER",
        "postcode": "CH3 5SQ"
      }
    },
    {
      "id": "7cb3b2d6-1fd8-579a-aa9e-0e80da8198a3",
      "type": "email",
      "attributes": {
        "emailAddress": "[email protected]"
      }
    },
    {
      "id": "2f4182a2-74b6-4361-b7e4-b13c1f2ed4cc",
      "type": "telephone",
      "attributes": {
        "telephoneNumber": "01234 567890"
      }
    },
    {
      "id": "6537f616-e953-5ddf-86a6-c3d6275950d0",
      "type": "business",
      "attributes": {
        "businessLocationDescription": "My business",
        "businessName": "MRC Ltd",
        "connectionToBusiness": "CTBS_0005"
      },
      "relationships": {
        "businessAddress": {
          "data": [
            {
              "id": "eb24761c-0830-5867-a990-e5b9f030f9a9",
              "type": "location"
            }
          ]
        },
        "businessEmail": {
          "data": [
            {
              "id": "3334a18b-6493-3133-8c39-0792753fe5dd",
              "type": "email"
            }
          ]
        },
        "businessTelephone": {
          "data": [
            {
              "id": "2f4182a2-74b6-4361-b7e4-b13c1f2ed4cc",
              "type": "telephone"
            }
          ]
        }
      }
    },
    {
      "id": "3334a18b-6493-3133-8c39-0792753fe5dd",
      "type": "email",
      "attributes": {
        "emailAddress": "[email protected]"
      }
    },
    {
      "id": "d26a6caf-517a-3c45-a5bc-e61da0ccd83b",
      "type": "vehicle",
      "attributes": {
        "vehicleDamaged": false
      }
    },
    {
      "id": "2a6a45d5-094e-5def-97d7-e5f8a2fcdcdf",
      "type": "weapon",
      "attributes": {
        
      }
    },
    {
      "id": "0a6b261d-eb44-4fcf-b9e2-ae5a4fae40a8",
      "type": "evidence",
      "attributes": {
        "evidenceAtScene": true,
        "evidenceAtSceneDetails": "blood and finger prints",
        "otherPartyVideoAudioPhotoEvidenceAvailable": "I don't know",
        "yourVideoAudioPhotoEvidenceAvailable": false
      }
    },
    {
      "id": "5fd2c33f-f429-2abc-a166-6f1930ccac77",
      "type": "email",
      "attributes": {
        "emailAddress": "[email protected]"
      }
    },
    {
      "id": "bf6025d7-687a-5772-b9e1-7131da6a87ea",
      "type": "telephone",
      "attributes": {
        "telephoneNumber": "01234567890"
      }
    },
    {
      "id": "c76d53d9-ca66-2335-9edf-75d6fa6b657e",
      "type": "vehicle",
      "attributes": {
        "vehicleVRM": "xyz 123",
        "vehicleDescription": "Red ford focus"
      }
    },
    {
      "id": "69e8a37c-80ff-4487-a9d3-11f5f864aa6b",
      "type": "submission",
      "attributes": {
        "externalReferenceId": "SingleOnlineHome",
        "forceIdentifier": "32",
        "category": "OCR",
        "categorySubcode": "DA",
        "submissionId": "20e38f2a-4c02-473e-9657-4626de10df3c",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
        "submitTime": "2022-10-20T15:09:53.160+01:00",
        "customerReferenceNumber": "DA-2-22-0142-IR01",
        "ipAddress": "2a00:23c6:e80a:e501:a169:b79e:ced0:4519",
        "submissionContent": "<BASE64TEXT",
        "highHarmFlag": true
      },
      "relationships": {
        "attachments": {
          "data": [
            {
              "id": "07914e5c-7408-4253-a597-f0a3b10d295e",
              "type": "attachment"
            },
            {
              "id": "9f9e5687-8654-42f4-adb2-cf7a5163276d",
              "type": "attachment"
            },
            {
              "id": "67e4d16a-cfcd-4ad8-b700-477ffa5e638c",
              "type": "attachment"
            },
            {
              "id": "57d47b45-5aa8-42c8-aa0d-7f5b1ba354ed",
              "type": "attachment"
            },
            {
              "id": "d55d4a40-9b29-4207-bc35-0c947016c6f8",
              "type": "attachment"
            }
          ]
        },
        "toEmailAddress": {
          "data": [
            {
              "id": "b2fa8b7e-877f-4832-8b71-fd26e58dfa37",
              "type": "email"
            }
          ]
        },
        "channelShift": {
          "data": [
            {
              "id": "ff405dfe-6162-4b65-a7c3-265e754d0b2c",
              "type": "channelShift"
            }
          ]
        }
      }
    },
    {
      "id": "b2fa8b7e-877f-4832-8b71-fd26e58dfa37",
      "type": "email",
      "attributes": {
        "emailAddress": "[email protected]"
      }
    },
    {
      "id": "07914e5c-7408-4253-a597-f0a3b10d295e",
      "type": "attachment",
      "attributes": {
        "attachmentName": "form-submission-DA-2-22-0142-IR01.txt",
        "attachmentContent": "U3VibWl0dGVkIChVVEMpOiAyMDIyLTEwLTIwVDE0OjA5OjUzLjE2MDAwMDBaDQpJUCBBZGRyZXNzOiAyYTAwOjIzYzY6ZTgwYTplNTAxOmExNjk6Yjc5ZTpjZWQwOjQ1MTkNClVzZXIgYWdlbnQ6IE1vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8xMDYuMC4wLjAgU2FmYXJpLzUzNy4zNg==",
        "attachmentMimeType": "text/plain"
      }
    },
    {
      "id": "9f9e5687-8654-42f4-adb2-cf7a5163276d",
      "type": "attachment",
      "attributes": {
        "attachmentName": "FormSubmission-Report threats, verbal abuse or assault and damaged property-DA-2-22-0142-IR01.pdf",
        "attachmentContent": "BASE64TEXT",
        "attachmentMimeType": "application/pdf"
      }
    },
    {
      "id": "67e4d16a-cfcd-4ad8-b700-477ffa5e638c",
      "type": "attachment",
      "attributes": {
        "attachmentName": "MG11-DA-2-22-0142-IR01.pdf",
        "attachmentContent": "<BASE64TEXT>",
        "attachmentMimeType": "application/pdf"
      }
    },
    {
      "id": "57d47b45-5aa8-42c8-aa0d-7f5b1ba354ed",
      "type": "attachment",
      "attributes": {
        "attachmentName": "FormSubmission-Report threats, verbal abuse or assault and damaged property-DA-2-22-0142-IR01.json.txt",
        "attachmentContent": "<BASE64TEXT>",
        "attachmentMimeType": "text/plain"
      }
    },
    {
      "id": "d55d4a40-9b29-4207-bc35-0c947016c6f8",
      "type": "attachment",
      "attributes": {
        "attachmentName": "form-submission-DA-2-22-0142-IR01.csv",
        "attachmentContent": "<BASE64TEXT>",
        "attachmentMimeType": "text/csv"
      }
    },
    {
      "id": "ff405dfe-6162-4b65-a7c3-265e754d0b2c",
      "type": "channelShift",
      "attributes": {
        "beforeWebsite": "BWST_0005",
        "firstTimeFollowUpOther": "I would have flagged down a police man"
      }
    }
  ]
}