Files
ARCADIA-Studio/harness/experiments/textual-authoring-20260911-local/http-results.json
T

991 lines
36 KiB
JSON

[
{
"method": "POST",
"path": "/api/v1/projects/import-source-project",
"status": 201,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r1\"",
"location": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268",
"seconds": 0.04514070000004722,
"body": {
"elements": 4,
"migration": null,
"model_id": "59d44355-d4a1-4e59-905c-ae415209e93a",
"name": "Distress response",
"relations": 3,
"resource_id": "988a0812-0719-4084-89aa-3a8473d5e268",
"revision": 1,
"schema_version": 7
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r1\"",
"location": null,
"seconds": 0.0015170999995461898,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"59d44355-d4a1-4e59-905c-ae415209e93a\" {\n oa_actor vessel \"Vessel in distress\" id \"dde90260-064b-4360-90df-2082bc4b25a2\" {}\n oa_entity rescue \"Rescue coordination\" id \"2d1f63d3-a6b5-4912-9109-50a1bfb736da\" {}\n oa_activity report \"Report distress\" id \"82839234-23ed-4d8c-abdc-84f0e4db89e3\" {}\n oa_activity assess \"Assess incident\" id \"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2\" {}\n allocation vessel_reports \"Crew reports\" id \"988baf52-2159-4769-a4a2-6bb76134fbb5\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"450a369f-785c-422d-ad17-48a95a174410\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b\" { source @report; target @assess; }\n}\n"
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/model",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r1\"",
"location": null,
"seconds": 0.0013882000002922723,
"body": {
"schema_version": 7,
"id": "59d44355-d4a1-4e59-905c-ae415209e93a",
"alias": "distress",
"name": "Distress response",
"description": "",
"elements": {
"2d1f63d3-a6b5-4912-9109-50a1bfb736da": {
"id": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"alias": "rescue",
"name": "Rescue coordination",
"description": "",
"parent": null,
"body": {
"Oa": "Entity"
}
},
"82839234-23ed-4d8c-abdc-84f0e4db89e3": {
"id": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"alias": "report",
"name": "Report distress",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
},
"dde90260-064b-4360-90df-2082bc4b25a2": {
"id": "dde90260-064b-4360-90df-2082bc4b25a2",
"alias": "vessel",
"name": "Vessel in distress",
"description": "",
"parent": null,
"body": {
"Oa": "Actor"
}
},
"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2": {
"id": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"alias": "assess",
"name": "Assess incident",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
}
},
"relations": {
"450a369f-785c-422d-ad17-48a95a174410": {
"id": "450a369f-785c-422d-ad17-48a95a174410",
"alias": "rescue_assesses",
"name": "Team assesses",
"description": "",
"body": {
"Allocation": {
"source": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2"
}
}
},
"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b": {
"id": "60f3d1b7-cced-49f6-9a1c-189ecbec1f3b",
"alias": "distress_report",
"name": "Distress report",
"description": "",
"body": {
"Interaction": {
"source": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"items": []
}
}
},
"988baf52-2159-4769-a4a2-6bb76134fbb5": {
"id": "988baf52-2159-4769-a4a2-6bb76134fbb5",
"alias": "vessel_reports",
"name": "Crew reports",
"description": "",
"body": {
"Allocation": {
"source": "dde90260-064b-4360-90df-2082bc4b25a2",
"target": "82839234-23ed-4d8c-abdc-84f0e4db89e3"
}
}
}
},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r1\"",
"location": null,
"seconds": 0.002903800001149648,
"body": {
"changed": false,
"issues": [
{
"code": "work_without_behavior_context",
"column": 5,
"line": 5,
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
"object_id": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 351,
"start": 270
}
},
{
"code": "work_without_behavior_context",
"column": 5,
"line": 6,
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
"object_id": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 437,
"start": 356
}
},
{
"code": "exchange_without_behavior_context",
"column": 5,
"line": 9,
"message": "Use this exchange in a process/chain or scenario.",
"object_id": "60f3d1b7-cced-49f6-9a1c-189ecbec1f3b",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 813,
"start": 690
}
}
],
"migration": null,
"revision": 1,
"source_project": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"59d44355-d4a1-4e59-905c-ae415209e93a\" {\n oa_actor vessel \"Vessel in distress\" id \"dde90260-064b-4360-90df-2082bc4b25a2\" {}\n oa_entity rescue \"Rescue coordination\" id \"2d1f63d3-a6b5-4912-9109-50a1bfb736da\" {}\n oa_activity report \"Report distress\" id \"82839234-23ed-4d8c-abdc-84f0e4db89e3\" {}\n oa_activity assess \"Assess incident\" id \"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2\" {}\n allocation vessel_reports \"Crew reports\" id \"988baf52-2159-4769-a4a2-6bb76134fbb5\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"450a369f-785c-422d-ad17-48a95a174410\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b\" { source @report; target @assess; }\n}\n"
}
}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r2\"",
"location": null,
"seconds": 0.013732199999139993,
"body": {
"changed": true,
"issues": [
{
"code": "work_without_behavior_context",
"column": 5,
"line": 5,
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
"object_id": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 351,
"start": 270
}
},
{
"code": "work_without_behavior_context",
"column": 5,
"line": 6,
"message": "Include this leaf activity/function in a process/chain or scenario through a work action or exchange occurrence.",
"object_id": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 447,
"start": 356
}
},
{
"code": "exchange_without_behavior_context",
"column": 5,
"line": 9,
"message": "Use this exchange in a process/chain or scenario.",
"object_id": "60f3d1b7-cced-49f6-9a1c-189ecbec1f3b",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 823,
"start": 700
}
}
],
"migration": null,
"revision": 2,
"source_project": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"59d44355-d4a1-4e59-905c-ae415209e93a\" {\n oa_actor vessel \"Vessel in distress\" id \"dde90260-064b-4360-90df-2082bc4b25a2\" {}\n oa_entity rescue \"Rescue coordination\" id \"2d1f63d3-a6b5-4912-9109-50a1bfb736da\" {}\n oa_activity report \"Report distress\" id \"82839234-23ed-4d8c-abdc-84f0e4db89e3\" {}\n oa_activity assess \"Assess incident carefully\" id \"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2\" {}\n allocation vessel_reports \"Crew reports\" id \"988baf52-2159-4769-a4a2-6bb76134fbb5\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"450a369f-785c-422d-ad17-48a95a174410\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b\" { source @report; target @assess; }\n}\n"
}
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/model",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r2\"",
"location": null,
"seconds": 0.002524200001062127,
"body": {
"schema_version": 7,
"id": "59d44355-d4a1-4e59-905c-ae415209e93a",
"alias": "distress",
"name": "Distress response",
"description": "",
"elements": {
"2d1f63d3-a6b5-4912-9109-50a1bfb736da": {
"id": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"alias": "rescue",
"name": "Rescue coordination",
"description": "",
"parent": null,
"body": {
"Oa": "Entity"
}
},
"82839234-23ed-4d8c-abdc-84f0e4db89e3": {
"id": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"alias": "report",
"name": "Report distress",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
},
"dde90260-064b-4360-90df-2082bc4b25a2": {
"id": "dde90260-064b-4360-90df-2082bc4b25a2",
"alias": "vessel",
"name": "Vessel in distress",
"description": "",
"parent": null,
"body": {
"Oa": "Actor"
}
},
"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2": {
"id": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"alias": "assess",
"name": "Assess incident carefully",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
}
},
"relations": {
"450a369f-785c-422d-ad17-48a95a174410": {
"id": "450a369f-785c-422d-ad17-48a95a174410",
"alias": "rescue_assesses",
"name": "Team assesses",
"description": "",
"body": {
"Allocation": {
"source": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2"
}
}
},
"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b": {
"id": "60f3d1b7-cced-49f6-9a1c-189ecbec1f3b",
"alias": "distress_report",
"name": "Distress report",
"description": "",
"body": {
"Interaction": {
"source": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"items": []
}
}
},
"988baf52-2159-4769-a4a2-6bb76134fbb5": {
"id": "988baf52-2159-4769-a4a2-6bb76134fbb5",
"alias": "vessel_reports",
"name": "Crew reports",
"description": "",
"body": {
"Allocation": {
"source": "dde90260-064b-4360-90df-2082bc4b25a2",
"target": "82839234-23ed-4d8c-abdc-84f0e4db89e3"
}
}
}
},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 412,
"etag": null,
"location": null,
"seconds": 0.011585599999307306,
"body": {
"type": "urn:arcadia:problem:revision_conflict",
"title": "Precondition Failed",
"status": 412,
"code": "revision_conflict",
"detail": "Project changed. Reload and review the current model before retrying.",
"current_revision": 2
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r2\"",
"location": null,
"seconds": 0.012601500000528176,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"59d44355-d4a1-4e59-905c-ae415209e93a\" {\n oa_actor vessel \"Vessel in distress\" id \"dde90260-064b-4360-90df-2082bc4b25a2\" {}\n oa_entity rescue \"Rescue coordination\" id \"2d1f63d3-a6b5-4912-9109-50a1bfb736da\" {}\n oa_activity report \"Report distress\" id \"82839234-23ed-4d8c-abdc-84f0e4db89e3\" {}\n oa_activity assess \"Assess incident carefully\" id \"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2\" {}\n allocation vessel_reports \"Crew reports\" id \"988baf52-2159-4769-a4a2-6bb76134fbb5\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"450a369f-785c-422d-ad17-48a95a174410\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b\" { source @report; target @assess; }\n}\n"
}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 422,
"etag": null,
"location": null,
"seconds": 0.0024663000003783964,
"body": {
"type": "urn:arcadia:problem:invalid_source_project",
"title": "Unprocessable Entity",
"status": 422,
"code": "invalid_source_project",
"detail": "Source project could not be applied.",
"issues": [
{
"severity": "error",
"code": "invalid_source",
"message": "Unexpected content after the project closing brace.",
"line": 12,
"column": 1,
"path": "project.arcadia",
"span": {
"start": 827,
"end": 828
}
}
]
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r2\"",
"location": null,
"seconds": 0.002105400000800728,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"59d44355-d4a1-4e59-905c-ae415209e93a\" {\n oa_actor vessel \"Vessel in distress\" id \"dde90260-064b-4360-90df-2082bc4b25a2\" {}\n oa_entity rescue \"Rescue coordination\" id \"2d1f63d3-a6b5-4912-9109-50a1bfb736da\" {}\n oa_activity report \"Report distress\" id \"82839234-23ed-4d8c-abdc-84f0e4db89e3\" {}\n oa_activity assess \"Assess incident carefully\" id \"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2\" {}\n allocation vessel_reports \"Crew reports\" id \"988baf52-2159-4769-a4a2-6bb76134fbb5\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"450a369f-785c-422d-ad17-48a95a174410\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b\" { source @report; target @assess; }\n}\n"
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/model",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r2\"",
"location": null,
"seconds": 0.02230009999948379,
"body": {
"schema_version": 7,
"id": "59d44355-d4a1-4e59-905c-ae415209e93a",
"alias": "distress",
"name": "Distress response",
"description": "",
"elements": {
"2d1f63d3-a6b5-4912-9109-50a1bfb736da": {
"id": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"alias": "rescue",
"name": "Rescue coordination",
"description": "",
"parent": null,
"body": {
"Oa": "Entity"
}
},
"82839234-23ed-4d8c-abdc-84f0e4db89e3": {
"id": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"alias": "report",
"name": "Report distress",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
},
"dde90260-064b-4360-90df-2082bc4b25a2": {
"id": "dde90260-064b-4360-90df-2082bc4b25a2",
"alias": "vessel",
"name": "Vessel in distress",
"description": "",
"parent": null,
"body": {
"Oa": "Actor"
}
},
"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2": {
"id": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"alias": "assess",
"name": "Assess incident carefully",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
}
},
"relations": {
"450a369f-785c-422d-ad17-48a95a174410": {
"id": "450a369f-785c-422d-ad17-48a95a174410",
"alias": "rescue_assesses",
"name": "Team assesses",
"description": "",
"body": {
"Allocation": {
"source": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2"
}
}
},
"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b": {
"id": "60f3d1b7-cced-49f6-9a1c-189ecbec1f3b",
"alias": "distress_report",
"name": "Distress report",
"description": "",
"body": {
"Interaction": {
"source": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"items": []
}
}
},
"988baf52-2159-4769-a4a2-6bb76134fbb5": {
"id": "988baf52-2159-4769-a4a2-6bb76134fbb5",
"alias": "vessel_reports",
"name": "Crew reports",
"description": "",
"body": {
"Allocation": {
"source": "dde90260-064b-4360-90df-2082bc4b25a2",
"target": "82839234-23ed-4d8c-abdc-84f0e4db89e3"
}
}
}
},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
},
{
"method": "POST",
"path": "/api/v1/projects/import-source-project",
"status": 201,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r1\"",
"location": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f",
"seconds": 0.0049866000008478295,
"body": {
"elements": 1,
"migration": null,
"model_id": "aba296aa-46c9-4e90-b520-15c692da7b96",
"name": "Distress response",
"relations": 0,
"resource_id": "7e68232b-6c51-4744-ab55-9069e91f1c3f",
"revision": 1,
"schema_version": 7
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r1\"",
"location": null,
"seconds": 0.0014524000016535865,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject response \"Distress response\" id \"aba296aa-46c9-4e90-b520-15c692da7b96\" {\n oa_scenario assessment \"Assess the distress report\" id \"96a98e8f-6434-42be-8de2-5c715bbcf2ca\" {\n viewpoint OperationalActivity;\n }\n}\n"
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/model",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r1\"",
"location": null,
"seconds": 0.02343220000147994,
"body": {
"schema_version": 7,
"id": "aba296aa-46c9-4e90-b520-15c692da7b96",
"alias": "response",
"name": "Distress response",
"description": "",
"elements": {
"96a98e8f-6434-42be-8de2-5c715bbcf2ca": {
"id": "96a98e8f-6434-42be-8de2-5c715bbcf2ca",
"alias": "assessment",
"name": "Assess the distress report",
"description": "",
"parent": null,
"body": {
"Oa": {
"Shared": {
"Scenario": {
"viewpoint": "OperationalActivity",
"context": null,
"precondition": "",
"postcondition": "",
"steps": []
}
}
}
}
}
},
"relations": {},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r1\"",
"location": null,
"seconds": 0.014025200000105542,
"body": {
"changed": false,
"issues": [
{
"code": "empty_sequence",
"column": 5,
"field": "steps",
"line": 3,
"message": "Add ordered occurrences.",
"object_id": "96a98e8f-6434-42be-8de2-5c715bbcf2ca",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 236,
"start": 96
}
}
],
"migration": null,
"revision": 1,
"source_project": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject response \"Distress response\" id \"aba296aa-46c9-4e90-b520-15c692da7b96\" {\n oa_scenario assessment \"Assess the distress report\" id \"96a98e8f-6434-42be-8de2-5c715bbcf2ca\" {\n viewpoint OperationalActivity;\n }\n}\n"
}
}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r2\"",
"location": null,
"seconds": 0.0041495000004942995,
"body": {
"changed": true,
"issues": [
{
"code": "empty_sequence",
"column": 5,
"field": "steps",
"line": 3,
"message": "Add ordered occurrences.",
"object_id": "96a98e8f-6434-42be-8de2-5c715bbcf2ca",
"path": "project.arcadia",
"severity": "warning",
"span": {
"end": 238,
"start": 96
}
}
],
"migration": null,
"revision": 2,
"source_project": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject response \"Distress response\" id \"aba296aa-46c9-4e90-b520-15c692da7b96\" {\n oa_scenario assessment \"Assess the reported distress\" id \"96a98e8f-6434-42be-8de2-5c715bbcf2ca\" {\n viewpoint OperationalActivity;\n }\n}\n"
}
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/model",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r2\"",
"location": null,
"seconds": 0.0017606000001251232,
"body": {
"schema_version": 7,
"id": "aba296aa-46c9-4e90-b520-15c692da7b96",
"alias": "response",
"name": "Distress response",
"description": "",
"elements": {
"96a98e8f-6434-42be-8de2-5c715bbcf2ca": {
"id": "96a98e8f-6434-42be-8de2-5c715bbcf2ca",
"alias": "assessment",
"name": "Assess the reported distress",
"description": "",
"parent": null,
"body": {
"Oa": {
"Shared": {
"Scenario": {
"viewpoint": "OperationalActivity",
"context": null,
"precondition": "",
"postcondition": "",
"steps": []
}
}
}
}
}
},
"relations": {},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 412,
"etag": null,
"location": null,
"seconds": 0.002149799998733215,
"body": {
"type": "urn:arcadia:problem:revision_conflict",
"title": "Precondition Failed",
"status": 412,
"code": "revision_conflict",
"detail": "Project changed. Reload and review the current model before retrying.",
"current_revision": 2
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r2\"",
"location": null,
"seconds": 0.015539500000159023,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject response \"Distress response\" id \"aba296aa-46c9-4e90-b520-15c692da7b96\" {\n oa_scenario assessment \"Assess the reported distress\" id \"96a98e8f-6434-42be-8de2-5c715bbcf2ca\" {\n viewpoint OperationalActivity;\n }\n}\n"
}
}
},
{
"method": "PUT",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 422,
"etag": null,
"location": null,
"seconds": 0.0019488000016281148,
"body": {
"type": "urn:arcadia:problem:invalid_source_project",
"title": "Unprocessable Entity",
"status": 422,
"code": "invalid_source_project",
"detail": "Source project could not be applied.",
"issues": [
{
"severity": "error",
"code": "invalid_source",
"message": "Unexpected content after the project closing brace.",
"line": 8,
"column": 1,
"path": "project.arcadia",
"span": {
"start": 242,
"end": 243
}
}
]
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r2\"",
"location": null,
"seconds": 0.007741199999145465,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject response \"Distress response\" id \"aba296aa-46c9-4e90-b520-15c692da7b96\" {\n oa_scenario assessment \"Assess the reported distress\" id \"96a98e8f-6434-42be-8de2-5c715bbcf2ca\" {\n viewpoint OperationalActivity;\n }\n}\n"
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/model",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r2\"",
"location": null,
"seconds": 0.0016271999993477948,
"body": {
"schema_version": 7,
"id": "aba296aa-46c9-4e90-b520-15c692da7b96",
"alias": "response",
"name": "Distress response",
"description": "",
"elements": {
"96a98e8f-6434-42be-8de2-5c715bbcf2ca": {
"id": "96a98e8f-6434-42be-8de2-5c715bbcf2ca",
"alias": "assessment",
"name": "Assess the reported distress",
"description": "",
"parent": null,
"body": {
"Oa": {
"Shared": {
"Scenario": {
"viewpoint": "OperationalActivity",
"context": null,
"precondition": "",
"postcondition": "",
"steps": []
}
}
}
}
}
},
"relations": {},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/source-project",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r2\"",
"location": null,
"seconds": 0.015101699998922413,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject distress \"Distress response\" id \"59d44355-d4a1-4e59-905c-ae415209e93a\" {\n oa_actor vessel \"Vessel in distress\" id \"dde90260-064b-4360-90df-2082bc4b25a2\" {}\n oa_entity rescue \"Rescue coordination\" id \"2d1f63d3-a6b5-4912-9109-50a1bfb736da\" {}\n oa_activity report \"Report distress\" id \"82839234-23ed-4d8c-abdc-84f0e4db89e3\" {}\n oa_activity assess \"Assess incident carefully\" id \"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2\" {}\n allocation vessel_reports \"Crew reports\" id \"988baf52-2159-4769-a4a2-6bb76134fbb5\" { source @vessel; target @report; }\n allocation rescue_assesses \"Team assesses\" id \"450a369f-785c-422d-ad17-48a95a174410\" { source @rescue; target @assess; }\n interaction distress_report \"Distress report\" id \"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b\" { source @report; target @assess; }\n}\n"
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/988a0812-0719-4084-89aa-3a8473d5e268/model",
"status": 200,
"etag": "\"p-988a0812-0719-4084-89aa-3a8473d5e268-r2\"",
"location": null,
"seconds": 0.0017494000003352994,
"body": {
"schema_version": 7,
"id": "59d44355-d4a1-4e59-905c-ae415209e93a",
"alias": "distress",
"name": "Distress response",
"description": "",
"elements": {
"2d1f63d3-a6b5-4912-9109-50a1bfb736da": {
"id": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"alias": "rescue",
"name": "Rescue coordination",
"description": "",
"parent": null,
"body": {
"Oa": "Entity"
}
},
"82839234-23ed-4d8c-abdc-84f0e4db89e3": {
"id": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"alias": "report",
"name": "Report distress",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
},
"dde90260-064b-4360-90df-2082bc4b25a2": {
"id": "dde90260-064b-4360-90df-2082bc4b25a2",
"alias": "vessel",
"name": "Vessel in distress",
"description": "",
"parent": null,
"body": {
"Oa": "Actor"
}
},
"ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2": {
"id": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"alias": "assess",
"name": "Assess incident carefully",
"description": "",
"parent": null,
"body": {
"Oa": "Activity"
}
}
},
"relations": {
"450a369f-785c-422d-ad17-48a95a174410": {
"id": "450a369f-785c-422d-ad17-48a95a174410",
"alias": "rescue_assesses",
"name": "Team assesses",
"description": "",
"body": {
"Allocation": {
"source": "2d1f63d3-a6b5-4912-9109-50a1bfb736da",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2"
}
}
},
"60f3d1b7-cced-49f6-9a1c-189ecbec1f3b": {
"id": "60f3d1b7-cced-49f6-9a1c-189ecbec1f3b",
"alias": "distress_report",
"name": "Distress report",
"description": "",
"body": {
"Interaction": {
"source": "82839234-23ed-4d8c-abdc-84f0e4db89e3",
"target": "ef1f684c-7cfa-40dc-9db3-d1c4dcd11ec2",
"items": []
}
}
},
"988baf52-2159-4769-a4a2-6bb76134fbb5": {
"id": "988baf52-2159-4769-a4a2-6bb76134fbb5",
"alias": "vessel_reports",
"name": "Crew reports",
"description": "",
"body": {
"Allocation": {
"source": "dde90260-064b-4360-90df-2082bc4b25a2",
"target": "82839234-23ed-4d8c-abdc-84f0e4db89e3"
}
}
}
},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/source-project",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r2\"",
"location": null,
"seconds": 0.02587170000151673,
"body": {
"entry": "project.arcadia",
"files": {
"project.arcadia": "arcadia 7;\nproject response \"Distress response\" id \"aba296aa-46c9-4e90-b520-15c692da7b96\" {\n oa_scenario assessment \"Assess the reported distress\" id \"96a98e8f-6434-42be-8de2-5c715bbcf2ca\" {\n viewpoint OperationalActivity;\n }\n}\n"
}
}
},
{
"method": "GET",
"path": "/api/v1/projects/7e68232b-6c51-4744-ab55-9069e91f1c3f/model",
"status": 200,
"etag": "\"p-7e68232b-6c51-4744-ab55-9069e91f1c3f-r2\"",
"location": null,
"seconds": 0.012360599999738042,
"body": {
"schema_version": 7,
"id": "aba296aa-46c9-4e90-b520-15c692da7b96",
"alias": "response",
"name": "Distress response",
"description": "",
"elements": {
"96a98e8f-6434-42be-8de2-5c715bbcf2ca": {
"id": "96a98e8f-6434-42be-8de2-5c715bbcf2ca",
"alias": "assessment",
"name": "Assess the reported distress",
"description": "",
"parent": null,
"body": {
"Oa": {
"Shared": {
"Scenario": {
"viewpoint": "OperationalActivity",
"context": null,
"precondition": "",
"postcondition": "",
"steps": []
}
}
}
}
}
},
"relations": {},
"diagrams": {},
"artifact_links": {},
"traces": {}
}
}
]