Skip to content

Commit

Permalink
Convert mimeType references to objects
Browse files Browse the repository at this point in the history
The objects will temporarily use the drafting namespace while the
taxonomy is being implemented.

A follow-on patch will regenerate Make-managed files.

References:
* ucoProject/UCO#363

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
  • Loading branch information
ajnelson-nist committed May 10, 2022
1 parent 98897e1 commit d229489
Showing 1 changed file with 38 additions and 10 deletions.
48 changes: 38 additions & 10 deletions examples/urgent_evidence/src/urgent_evidence_base.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"@context": {
"case-investigation": "https://ontology.caseontology.org/case/investigation/",
"drafting": "http://example.org/ontology/drafting#",
"drafting": "http://example.org/ontology/drafting/",
"kb": "http://example.org/kb/",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"uco-action": "https://ontology.unifiedcyberontology.org/uco/action/",
"uco-core": "https://ontology.unifiedcyberontology.org/uco/core/",
"uco-identity": "https://ontology.unifiedcyberontology.org/uco/identity/",
Expand Down Expand Up @@ -772,13 +774,23 @@
"@id": "kb:subject-device-uuid-1"
}
},
{
"@id": "drafting:image/jpeg",
"@type": "uco-types:IANAMediaType",
"rdfs:seeAlso": {
"@id": "https://github.com/ucoProject/UCO/Issues/363"
},
"skos:notation": "image/jpeg"
},
{
"@id": "kb:subject-device-photograph-uuid-1",
"@type": "uco-observable:File",
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 4929041,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -856,7 +868,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 4491816,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -934,7 +948,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 3236101,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -1012,7 +1028,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 3777924,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -1090,7 +1108,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 5010291,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -1168,7 +1188,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 4565505,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -1246,7 +1268,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 2964571,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -1319,7 +1343,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 3963541,
"uco-observable:hash": [
{
Expand Down Expand Up @@ -1392,7 +1418,9 @@
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContentDataFacet",
"uco-observable:mimeType": "image/jpeg",
"uco-observable:mimeType": {
"@id": "drafting:image/jpeg"
},
"uco-observable:sizeInBytes": 4007352,
"uco-observable:hash": [
{
Expand Down

0 comments on commit d229489

Please sign in to comment.