{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-integration/refs/heads/main/json-schema/developer-api-connection-schema.json",
  "title": "Connection",
  "description": "Connection schema from Oracle Integration Developer API.",
  "type": "object",
  "properties": {
    "id": {"type": "string", "description": "Connection identifier."},
    "name": {"type": "string", "description": "Connection display name."},
    "description": {"type": "string", "description": "Connection description."},
    "status": {"type": "string", "description": "Connection status.", "enum": ["CONFIGURED", "DRAFT", "ERROR"]},
    "adapterType": {"type": "string", "description": "Type of adapter used by the connection."},
    "percentageComplete": {"type": "integer", "description": "Percentage of connection configuration completion."},
    "lockedFlag": {"type": "boolean", "description": "Whether the connection is locked."},
    "testStatus": {"type": "string", "description": "Last test status."},
    "lastUpdatedBy": {"type": "string", "description": "User who last updated the connection."},
    "lastUpdated": {"type": "string", "format": "date-time", "description": "Last update timestamp."}
  }
}
