{
  "format": "formdesigner.forms.v1",
  "active_form_index": 0,
  "form_tree": [
    {
      "kind": "form",
      "document_id": "237e9ff0-1d2e-4cdf-9031-4a10ef3e9b17"
    },
    {
      "kind": "diagram",
      "document_id": "d181598e-5c7d-445b-970a-a4b2de2f75dc"
    },
    {
      "kind": "diagram",
      "document_id": "85fa872e-9a68-4dfd-813e-a4e1ad2afa71"
    },
    {
      "kind": "diagram",
      "document_id": "dce11ffa-33d5-4082-ac6a-04575188d712"
    },
    {
      "kind": "diagram",
      "document_id": "a5da4a09-deb7-4402-a9e5-4de3db9e1ac4"
    },
    {
      "kind": "diagram",
      "document_id": "46e43dd4-fa9f-4397-afd6-4fe9b99de184"
    },
    {
      "kind": "diagram",
      "document_id": "feb8e8d1-a077-401d-8444-543035d5cec9"
    }
  ],
  "forms": [
    {
      "document_id": "237e9ff0-1d2e-4cdf-9031-4a10ef3e9b17",
      "form": {
        "name": "Formulario",
        "x": 24.0,
        "y": 16.0,
        "w": 620.0,
        "h": 520.0,
        "descs": [],
        "show_icon": false,
        "icon_name": "home",
        "show_header_separator": true
      },
      "elements": []
    }
  ],
  "diagrams": [
    {
      "document_id": "d181598e-5c7d-445b-970a-a4b2de2f75dc",
      "diagram": {
        "name": "01 · Proceso de atención",
        "family": "bpmn",
        "nodes": [
          {
            "id": "s",
            "kind": {
              "kind": "event_start"
            },
            "x": 183.20001,
            "y": 60.0,
            "width": 180.0,
            "height": 96.0,
            "title": "Solicitud recibida",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "v",
            "kind": {
              "kind": "task"
            },
            "x": 174.20001,
            "y": 169.0,
            "width": 180.0,
            "height": 96.0,
            "title": "Validar requisitos",
            "compartments": {},
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "g",
            "kind": {
              "kind": "gateway_exclusive"
            },
            "x": 213.6,
            "y": 275.0,
            "width": 180.0,
            "min_size": [
              86.0,
              80.0
            ],
            "height": 96.0,
            "title": "¿Conforme?",
            "compartments": {},
            "color": {
              "r": 235,
              "g": 210,
              "b": 156,
              "a": 255
            }
          },
          {
            "id": "a",
            "kind": {
              "kind": "task"
            },
            "x": 60.0,
            "y": 403.0,
            "width": 180.0,
            "min_size": [
              157.2,
              80.0
            ],
            "height": 96.0,
            "title": "Evaluar solicitud",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "o",
            "kind": {
              "kind": "task"
            },
            "x": 273.2,
            "y": 531.0,
            "width": 180.0,
            "height": 96.0,
            "title": "Notificar observaciones",
            "compartments": {},
            "color": {
              "r": 228,
              "g": 171,
              "b": 192,
              "a": 255
            }
          },
          {
            "id": "r",
            "kind": {
              "kind": "task"
            },
            "x": 60.0,
            "y": 531.0,
            "width": 180.0,
            "min_size": [
              157.2,
              80.0
            ],
            "height": 96.0,
            "title": "Emitir resolución",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "e",
            "kind": {
              "kind": "event_end"
            },
            "x": 179.4,
            "y": 659.0,
            "width": 180.0,
            "height": 96.0,
            "title": "Atención finalizada",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          }
        ],
        "edges": [
          {
            "id": "2c463ae2-b2d8-446a-b612-269b41a288fe",
            "from": "s",
            "to": "v",
            "kind": "sequence_flow"
          },
          {
            "id": "ce8585ed-203c-41b2-a7bd-bc177556bbe4",
            "from": "v",
            "to": "g",
            "kind": "sequence_flow"
          },
          {
            "id": "7a6200d2-f1e2-4b82-8d93-0afbbc8c3c8d",
            "from": "g",
            "to": "a",
            "kind": "sequence_flow",
            "label": "Sí"
          },
          {
            "id": "e6e36e4e-c1be-4eb5-902f-329d364b6d6b",
            "from": "g",
            "to": "o",
            "kind": "sequence_flow",
            "label": "No",
            "waypoints": [
              [
                374.6,
                403.0
              ],
              [
                374.6,
                483.0
              ]
            ]
          },
          {
            "id": "186b91e4-cf29-4217-a3b3-7c887e6b8f84",
            "from": "a",
            "to": "r",
            "kind": "sequence_flow"
          },
          {
            "id": "c0f1c297-3782-4962-8800-646a37fd1d0c",
            "from": "r",
            "to": "e",
            "kind": "sequence_flow"
          },
          {
            "id": "87e27e14-537d-4378-9bfa-16ae97a9cbd6",
            "from": "o",
            "to": "e",
            "kind": "sequence_flow"
          }
        ]
      }
    },
    {
      "document_id": "85fa872e-9a68-4dfd-813e-a4e1ad2afa71",
      "diagram": {
        "name": "02 · Casos de uso",
        "family": "uml",
        "nodes": [
          {
            "id": "a",
            "kind": {
              "kind": "actor"
            },
            "x": 23.2,
            "y": 104.0,
            "width": 180.0,
            "height": 96.0,
            "title": "Solicitante",
            "compartments": {},
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "b",
            "kind": {
              "kind": "actor"
            },
            "x": 464.0,
            "y": 245.0,
            "width": 180.0,
            "height": 96.0,
            "title": "Analista",
            "compartments": {},
            "color": {
              "r": 228,
              "g": 171,
              "b": 192,
              "a": 255
            }
          },
          {
            "id": "u0",
            "kind": {
              "kind": "use_case"
            },
            "x": 174.0,
            "y": 19.5,
            "width": 260.0,
            "height": 80.0,
            "title": "Registrar solicitud",
            "compartments": {},
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "u1",
            "kind": {
              "kind": "use_case"
            },
            "x": 174.0,
            "y": 104.0,
            "width": 260.0,
            "height": 80.0,
            "title": "Consultar estado",
            "compartments": {},
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "u2",
            "kind": {
              "kind": "use_case"
            },
            "x": 174.0,
            "y": 188.5,
            "width": 260.0,
            "height": 80.0,
            "title": "Evaluar expediente",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "u3",
            "kind": {
              "kind": "use_case"
            },
            "x": 174.0,
            "y": 273.0,
            "width": 260.0,
            "height": 80.0,
            "title": "Emitir resolución",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          }
        ],
        "edges": [
          {
            "id": "7782710a-97fc-4f24-8122-917d61db97b3",
            "from": "a",
            "to": "u0",
            "kind": "association"
          },
          {
            "id": "aa9ed135-30bf-4285-9f2b-305dfd6561f3",
            "from": "a",
            "to": "u1",
            "kind": "association"
          },
          {
            "id": "576e6221-4647-4a7a-a6b1-4ce9eb419dec",
            "from": "b",
            "to": "u2",
            "kind": "association"
          },
          {
            "id": "9123179e-893a-4826-966a-b6dd72c5f8c4",
            "from": "b",
            "to": "u3",
            "kind": "association"
          }
        ]
      }
    },
    {
      "document_id": "dce11ffa-33d5-4082-ac6a-04575188d712",
      "diagram": {
        "name": "03 · Modelo de dominio",
        "family": "uml",
        "nodes": [
          {
            "id": "p",
            "kind": {
              "kind": "class"
            },
            "x": 11.6,
            "y": 71.5,
            "width": 250.0,
            "height": 160.0,
            "title": "Solicitante",
            "compartments": {
              "attributes": [
                "+ nombre: Texto",
                "+ correo: Texto"
              ]
            },
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "s",
            "kind": {
              "kind": "class"
            },
            "x": 237.8,
            "y": 71.5,
            "width": 250.0,
            "height": 180.0,
            "title": "Solicitud",
            "compartments": {
              "attributes": [
                "+ fecha: Fecha",
                "+ estado: EstadoSolicitud"
              ],
              "methods": [
                "+ evaluar(): Resultado"
              ]
            },
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "d",
            "kind": {
              "kind": "class"
            },
            "x": 464.0,
            "y": 13.0,
            "width": 250.0,
            "height": 150.0,
            "title": "Documento",
            "compartments": {
              "attributes": [
                "+ nombre: Texto",
                "+ ubicación: URI"
              ]
            },
            "color": {
              "r": 235,
              "g": 210,
              "b": 156,
              "a": 255
            }
          },
          {
            "id": "r",
            "kind": {
              "kind": "class"
            },
            "x": 464.0,
            "y": 195.0,
            "width": 250.0,
            "height": 150.0,
            "title": "Resolución",
            "compartments": {
              "attributes": [
                "+ número: Texto",
                "+ resultado: Texto"
              ]
            },
            "color": {
              "r": 228,
              "g": 171,
              "b": 192,
              "a": 255
            }
          }
        ],
        "edges": [
          {
            "id": "2a644a15-1d6d-4515-a69f-f9ef84d74d1c",
            "from": "p",
            "to": "s",
            "kind": "association",
            "label": "presenta",
            "from_label": "1",
            "to_label": "0..*"
          },
          {
            "id": "ae523e9e-0e95-4515-8827-c4f797a5e85e",
            "from": "s",
            "to": "d",
            "kind": "composition",
            "label": "adjuntos",
            "from_label": "1",
            "to_label": "0..*"
          },
          {
            "id": "925ce6d1-e64d-4eec-b43e-2d8ec1590518",
            "from": "s",
            "to": "r",
            "kind": "association",
            "label": "concluye con",
            "from_label": "1",
            "to_label": "0..1"
          }
        ]
      }
    },
    {
      "document_id": "a5da4a09-deb7-4402-a9e5-4de3db9e1ac4",
      "diagram": {
        "name": "04 · Modelo relacional",
        "family": "er",
        "nodes": [
          {
            "id": "p",
            "kind": {
              "kind": "table"
            },
            "x": 11.6,
            "y": 84.5,
            "width": 260.0,
            "height": 96.0,
            "title": "solicitantes",
            "compartments": {},
            "columns": [
              {
                "name": "id",
                "data_type": "uuid",
                "key": "primary",
                "nullable": false
              },
              {
                "name": "nombre",
                "data_type": "varchar(160)",
                "nullable": false
              },
              {
                "name": "correo",
                "data_type": "varchar(180)",
                "nullable": false
              }
            ],
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "s",
            "kind": {
              "kind": "table"
            },
            "x": 249.4,
            "y": 84.5,
            "width": 280.0,
            "height": 96.0,
            "title": "solicitudes",
            "compartments": {},
            "columns": [
              {
                "name": "id",
                "data_type": "uuid",
                "key": "primary",
                "nullable": false
              },
              {
                "name": "solicitante_id",
                "data_type": "uuid",
                "key": "foreign",
                "nullable": false
              },
              {
                "name": "fecha",
                "data_type": "timestamp",
                "nullable": false
              },
              {
                "name": "estado",
                "data_type": "varchar(30)",
                "nullable": false
              }
            ],
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "d",
            "kind": {
              "kind": "table"
            },
            "x": 516.2,
            "y": 13.0,
            "width": 280.0,
            "height": 96.0,
            "title": "documentos",
            "compartments": {},
            "columns": [
              {
                "name": "id",
                "data_type": "uuid",
                "key": "primary",
                "nullable": false
              },
              {
                "name": "solicitud_id",
                "data_type": "uuid",
                "key": "foreign",
                "nullable": false
              },
              {
                "name": "ubicacion",
                "data_type": "text",
                "nullable": false
              }
            ],
            "color": {
              "r": 235,
              "g": 210,
              "b": 156,
              "a": 255
            }
          },
          {
            "id": "r",
            "kind": {
              "kind": "table"
            },
            "x": 516.2,
            "y": 227.5,
            "width": 280.0,
            "height": 96.0,
            "title": "resoluciones",
            "compartments": {},
            "columns": [
              {
                "name": "solicitud_id",
                "data_type": "uuid",
                "key": "primary_foreign",
                "nullable": false
              },
              {
                "name": "numero",
                "data_type": "varchar(50)",
                "nullable": false
              },
              {
                "name": "resultado",
                "data_type": "text",
                "nullable": false
              }
            ],
            "color": {
              "r": 228,
              "g": 171,
              "b": 192,
              "a": 255
            }
          }
        ],
        "edges": [
          {
            "id": "3f5487a0-8e5b-4f29-860e-2660e204ac4c",
            "from": "p",
            "to": "s",
            "kind": "relation",
            "from_card": "one",
            "to_card": "zero_or_many"
          },
          {
            "id": "f9186174-e3d5-4bad-84a6-f5b599466f84",
            "from": "s",
            "to": "d",
            "kind": "relation",
            "from_card": "one",
            "to_card": "zero_or_many"
          },
          {
            "id": "4f1e8ba5-8e5e-48e5-8f2c-d97ebf11cd7e",
            "from": "s",
            "to": "r",
            "kind": "relation",
            "from_card": "one",
            "to_card": "zero_or_one"
          }
        ]
      }
    },
    {
      "document_id": "46e43dd4-fa9f-4397-afd6-4fe9b99de184",
      "diagram": {
        "name": "05 · Componentes",
        "family": "uml",
        "nodes": [
          {
            "id": "ui",
            "kind": {
              "kind": "component"
            },
            "x": 11.6,
            "y": 52.0,
            "width": 220.0,
            "height": 96.0,
            "title": "Interfaz web",
            "compartments": {},
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "api",
            "kind": {
              "kind": "component"
            },
            "x": 214.6,
            "y": 52.0,
            "width": 220.0,
            "height": 96.0,
            "title": "API / HTTP",
            "compartments": {},
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "app",
            "kind": {
              "kind": "component"
            },
            "x": 214.6,
            "y": 195.0,
            "width": 220.0,
            "height": 96.0,
            "title": "Casos de uso",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "dom",
            "kind": {
              "kind": "component"
            },
            "x": 440.8,
            "y": 52.0,
            "width": 220.0,
            "height": 96.0,
            "title": "Dominio",
            "compartments": {},
            "color": {
              "r": 235,
              "g": 210,
              "b": 156,
              "a": 255
            }
          },
          {
            "id": "port",
            "kind": {
              "kind": "interface"
            },
            "x": 440.8,
            "y": 195.0,
            "width": 220.0,
            "height": 96.0,
            "title": "Repositorio",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "db",
            "kind": {
              "kind": "component"
            },
            "x": 649.6,
            "y": 195.0,
            "width": 220.0,
            "height": 96.0,
            "title": "Persistencia",
            "compartments": {},
            "color": {
              "r": 228,
              "g": 171,
              "b": 192,
              "a": 255
            }
          }
        ],
        "edges": [
          {
            "id": "2df82fdb-92d9-475c-a022-8ac78bda655b",
            "from": "ui",
            "to": "api",
            "kind": "dependency",
            "label": "HTTPS"
          },
          {
            "id": "b81f03d3-4c61-4f4a-b6ee-f87d60bef3d6",
            "from": "api",
            "to": "app",
            "kind": "dependency"
          },
          {
            "id": "0c0ac0c5-9a5b-46c2-971b-66dd0b080f39",
            "from": "app",
            "to": "dom",
            "kind": "dependency"
          },
          {
            "id": "1b1dd397-e0c4-4864-bd7d-be397adb08f5",
            "from": "app",
            "to": "port",
            "kind": "dependency"
          },
          {
            "id": "152c5c54-e3c5-43dc-bc2f-d990b0f1b70e",
            "from": "db",
            "to": "port",
            "kind": "realization"
          }
        ]
      }
    },
    {
      "document_id": "feb8e8d1-a077-401d-8444-543035d5cec9",
      "diagram": {
        "name": "06 · Despliegue",
        "family": "uml",
        "nodes": [
          {
            "id": "web",
            "kind": {
              "kind": "node3d"
            },
            "x": 11.6,
            "y": 117.0,
            "width": 220.0,
            "height": 120.0,
            "title": "Navegador",
            "compartments": {},
            "color": {
              "r": 156,
              "g": 214,
              "b": 223,
              "a": 255
            }
          },
          {
            "id": "proxy",
            "kind": {
              "kind": "node3d"
            },
            "x": 226.2,
            "y": 117.0,
            "width": 240.0,
            "height": 120.0,
            "title": "Proxy HTTPS",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "static",
            "kind": {
              "kind": "artifact"
            },
            "x": 464.0,
            "y": 13.0,
            "width": 240.0,
            "height": 120.0,
            "title": "HTML / CSS / JS",
            "compartments": {},
            "color": {
              "r": 235,
              "g": 210,
              "b": 156,
              "a": 255
            }
          },
          {
            "id": "api",
            "kind": {
              "kind": "node3d"
            },
            "x": 464.0,
            "y": 195.0,
            "width": 240.0,
            "height": 120.0,
            "title": "Servicio API",
            "compartments": {},
            "color": {
              "r": 168,
              "g": 213,
              "b": 186,
              "a": 255
            }
          },
          {
            "id": "db",
            "kind": {
              "kind": "database"
            },
            "x": 690.2,
            "y": 195.0,
            "width": 240.0,
            "height": 130.0,
            "title": "Base de datos",
            "compartments": {},
            "color": {
              "r": 228,
              "g": 171,
              "b": 192,
              "a": 255
            }
          }
        ],
        "edges": [
          {
            "id": "ca99d812-6a95-4cc8-84a5-9622ace8892f",
            "from": "web",
            "to": "proxy",
            "kind": "association",
            "label": "HTTPS"
          },
          {
            "id": "5a0e35f2-d58d-4dac-9093-47af22f37537",
            "from": "proxy",
            "to": "static",
            "kind": "dependency",
            "label": "archivos"
          },
          {
            "id": "3f7f72d8-869d-4a73-ae24-66f684801f5e",
            "from": "proxy",
            "to": "api",
            "kind": "association",
            "label": "/api · red interna"
          },
          {
            "id": "0b840107-510b-498e-8700-eaabf2f85b4a",
            "from": "api",
            "to": "db",
            "kind": "association",
            "label": "SQL"
          }
        ]
      }
    }
  ]
}