Skip to content

Instantly share code, notes, and snippets.

@simonbrowndotje
Created February 10, 2015 11:54
Show Gist options
  • Save simonbrowndotje/ee9ad5110c849c5de0df to your computer and use it in GitHub Desktop.
Save simonbrowndotje/ee9ad5110c849c5de0df to your computer and use it in GitHub Desktop.
Getting started with Structurizr for Java
{
"id" : 0,
"name" : "Model name",
"description" : "This is a model of my software system.",
"model" : {
"people" : [ {
"id" : "2",
"name" : "Anonymous User",
"description" : "An anonymous user on the Internet",
"tags" : "Person",
"relationships" : [ {
"id" : "3",
"sourceId" : "2",
"destinationId" : "1",
"description" : "Uses"
} ],
"location" : "External",
"type" : "Person"
} ],
"softwareSystems" : [ {
"id" : "1",
"name" : "My System",
"description" : "Does something interesting",
"tags" : "Software System",
"relationships" : [ {
"id" : "5",
"sourceId" : "1",
"destinationId" : "4",
"description" : "Gets some information from"
} ],
"location" : "Internal",
"containers" : [ ],
"type" : "SoftwareSystem"
}, {
"id" : "4",
"name" : "System A",
"description" : "A system that does something else",
"tags" : "Software System",
"relationships" : [ ],
"location" : "External",
"containers" : [ ],
"type" : "SoftwareSystem"
} ]
},
"views" : {
"systemContextViews" : [ {
"softwareSystemId" : "1",
"description" : "",
"paperSize" : "A4_Portrait",
"name" : "My System - System Context",
"type" : "SystemContext",
"relationships" : [ {
"id" : "3"
}, {
"id" : "5"
} ],
"elements" : [ {
"id" : "1",
"x" : 0,
"y" : 0
}, {
"id" : "4",
"x" : 0,
"y" : 0
}, {
"id" : "2",
"x" : 0,
"y" : 0
} ]
} ],
"containerViews" : [ ],
"componentViews" : [ ],
"styles" : {
"elements" : [ ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment