{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/devarmor/json-schema/devarmor-data-flow-update-schema.json",
  "title": "DataFlowUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/devarmor-data-flows-api-openapi.yml#/components/schemas/DataFlowUpdate",
  "properties": {
    "symbolic_name": {
      "type": "null",
      "title": "Symbolic Name"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "has_sensitive_data": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Has Sensitive Data"
    },
    "encrypted": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Encrypted"
    },
    "source_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/DataFlowNodeType"
        },
        {
          "type": "null"
        }
      ]
    },
    "source_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Id"
    },
    "destination_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/DataFlowNodeType"
        },
        {
          "type": "null"
        }
      ]
    },
    "destination_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Destination Id"
    }
  },
  "type": "object",
  "$defs": {
    "DataFlowNodeType": {
      "type": "string",
      "enum": [
        "component",
        "data_store",
        "actor"
      ],
      "title": "DataFlowNodeType"
    }
  }
}