Skip to content

Commit

Permalink
Removed null properties and comments in examples to make them valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
casework committed Sep 29, 2016
1 parent 9aac35a commit 1459af1
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 96 deletions.
2 changes: 1 addition & 1 deletion examples/call_log.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"propertyBundle": [
{
"@type": "PhoneCall",
"callType": "mobile", // TODO: What are valid call types?
"callType": "mobile",
"startTime": "2010-01-15T17:59:43.25Z",
"endTime": "2010-01-15T18:30:41.25Z",
"sender": "phone_account1",
Expand Down
1 change: 0 additions & 1 deletion examples/device.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"@vocab": "http://case.example.org/core#",
"olo": "http://purl.org/ontology/olo/core#",
"acme": "http://custompb.acme.org/core#"
// This prefix is used to show the use of the ability to extend with custom property bundles.
},
"@graph": [
{
Expand Down
3 changes: 1 addition & 2 deletions examples/email.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"facebook_identity1",
"google_identity1",
"email_account1"
],
"propertyBundle": null
]
},
{
"@id": "facebook_identity1",
Expand Down
1 change: 0 additions & 1 deletion examples/exif_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"width": 12345,
"bitsPerPixel": 2
},
// TODO: This exif data will be switched to an imported ontology.
{
"@type": "EXIF",
"exifData": [
Expand Down
20 changes: 1 addition & 19 deletions examples/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
"olo": "http://purl.org/ontology/olo/core#"
},
"@graph": [
// Each data container has a parentDataContainer property which allows us to layer them.
// If you trace down this object, you will see that, the first object represents a Base64 encoded file found within an AES encrypted TAR archive which was a blob within a SQLite database found within an EXT4 file system that was the third partition within an image file found within an NTFS file system.

// This represents a base64 decoded file.
{
"@id": "decoded_attachment",
"@type": "Trace",
Expand Down Expand Up @@ -46,8 +42,6 @@
}
]
},

// This represents a file within a TAR archive.
{
"@id": "tar_archive_file",
"@type": "Trace",
Expand Down Expand Up @@ -81,8 +75,6 @@
}
]
},

// This represents an AES decrypted file. (Which in this case is a TAR archive file.)
{
"@id": "decrypted_blob",
"@type": "Trace",
Expand Down Expand Up @@ -119,8 +111,6 @@
}
]
},

// This represents a SQLite blob file.
{
"@id": "sqlite_blob",
"@type": "Trace",
Expand All @@ -138,8 +128,6 @@
}
]
},

// This represents a database file found within an EXT4 formatted volume.
{
"@id": "sqlite_database",
"@type": "Trace",
Expand Down Expand Up @@ -169,8 +157,6 @@
}
]
},

// This represents a partition found in an android image.
{
"@id": "image_partition",
"@type": "Trace",
Expand All @@ -187,15 +173,12 @@
}
]
},

// This represents the android image.
{
"@id": "android_image",
"@type": "Trace",
"propertyBundle": [
{
"@type": "DataContainer",
"parentDataContainer": null,
"dataContainerType": "NTFS",
"extension": "img",
"isDirectory": false,
Expand All @@ -208,8 +191,7 @@
},
{
"@type": "NTFS",
"sid": 1,
"alternateDataStream": null // Leave null when describing the main data stream.
"sid": 1
}
]
}
Expand Down
Loading

0 comments on commit 1459af1

Please sign in to comment.