Stellar · Schema

User

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
id string
first_name string
last_name string
email string
roles array
is_active boolean
View JSON Schema on GitHub

JSON Schema

stellar-sdp-user.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/sdp/User.json",
  "title": "User",
  "required": [
    "email",
    "first_name",
    "id",
    "is_active",
    "last_name",
    "roles"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "1736bed3-7b92-4760-8ff2-51fb08ee079f"
    },
    "first_name": {
      "type": "string",
      "example": "John"
    },
    "last_name": {
      "type": "string",
      "example": "Doe"
    },
    "email": {
      "type": "string"
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "is_active": {
      "type": "boolean"
    }
  },
  "example": [
    {
      "id": "7a4c6555-1f73-49b3-a211-f95bd2b8ec90",
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "roles": [
        "developer"
      ],
      "is_active": true
    },
    {
      "id": "5f4df1dd-c84f-482a-84ad-541ffd46e75a",
      "first_name": "Jane",
      "last_name": "Doe",
      "email": "[email protected]",
      "roles": [
        "financial_controller"
      ],
      "is_active": false
    }
  ]
}