{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aladdin-studio/refs/heads/main/json-structure/aladdin-studio-graph-position-structure.json",
  "name": "Position",
  "type": "object",
  "description": "A security position within a portfolio",
  "properties": {
    "securityId": {
      "type": "string",
      "description": "Security identifier",
      "example": "US0378331005"
    },
    "securityName": {
      "type": "string",
      "description": "Security name",
      "example": "Apple Inc"
    },
    "quantity": {
      "type": "double",
      "description": "Number of shares or units held",
      "example": 1000
    },
    "marketValue": {
      "type": "double",
      "description": "Current market value in portfolio base currency",
      "example": 195000.0
    },
    "weight": {
      "type": "double",
      "description": "Portfolio weight as decimal",
      "example": 0.025
    },
    "currency": {
      "type": "string",
      "description": "Security trading currency",
      "example": "USD"
    },
    "assetClass": {
      "type": "string",
      "description": "Asset class classification",
      "example": "Equity"
    },
    "sector": {
      "type": "string",
      "description": "GICS sector",
      "example": "Technology"
    }
  }
}