{
  "$id": "https://schema.nfh.global/Rider/v2.0",
  "x-iri": "https://schema.nfh.global/Rider/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Rider",
  "type": "object",
  "description": "A person using a shared mobility service (such as a bike-share, scooter, or car-share) who has a registered account with the provider.",
  "properties": {
    "riderId": {
      "description": "Unique identifier for the rider account",
      "type": "string"
    },
    "preferredPaymentMethod": {
      "description": "Rider preferred payment method",
      "type": "string"
    },
    "membershipPlan": {
      "description": "Active membership or subscription plan",
      "type": "string"
    },
    "id": {
      "description": "Unique identifier for the participant",
      "type": "string"
    },
    "person": {
      "description": "Personal details of the participant",
      "$ref": "https://schema.nfh.global/Person/v2.0/schema.json"
    },
    "organization": {
      "description": "Organisation the participant belongs to",
      "$ref": "https://schema.nfh.global/Organization/v2.0/schema.json"
    },
    "entitlements": {
      "description": "Entitlements held by the participant",
      "$ref": "https://schema.nfh.global/Entitlement/v2.0/schema.json"
    }
  },
  "additionalProperties": false,
  "x-tags": [
    "mobility",
    "ride-hailing"
  ]
}
