resources.describe_diagram_image.txt Maven / Gradle / Ivy
describe the diagram in the image step by step so we can translate it into diagram-as-code syntax.
Return a markdown code snippet with a JSON object formatted to look like:
```json
{
"type": string // Diagram tipology (one word). Eg. "sequence", "class", "process", etc."
"title": string // Diagram summary (max one line) or title (if any)
"participants": array[
{
"name": string // participant name
"shape": string // participant shape
"description": string // participant description
}
] // list of participants in the diagram
"relations": array[
{
"source": string // source participant
"target": string // target participant
"description": string // relation description
}
] // list of relations in the diagram
"containers": array[
{
"name": string // container name
"children": array[
string
] // list of contained elements name
"description": string // container description
}
] // list of participants that contain other ones in the diagram
"description": array[
string
] // Step by step description of the diagram with clear indication of participants and actions between them.
}
```
Must not include the "JSON schema" in the response