{
  "$id": "https://schema.nfh.global/NoShowPolicy/v2.0",
  "x-iri": "https://schema.nfh.global/NoShowPolicy/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NoShowPolicy",
  "type": "object",
  "description": "Rules governing the consequences and fees applied when a passenger fails to appear for a confirmed transport service booking.",
  "properties": {
    "noShowFee": {
      "description": "Flat fee charged for a no-show",
      "type": "number"
    },
    "gracePeriodMinutes": {
      "description": "Grace period in minutes before a no-show is recorded",
      "type": "number"
    },
    "currency": {
      "description": "ISO 4217 currency code for the no-show fee",
      "type": "string"
    },
    "id": {
      "description": "Unique identifier for the policy",
      "type": "string"
    },
    "policyType": {
      "description": "Type of policy (extensible term)",
      "type": "string"
    },
    "descriptor": {
      "description": "Human-readable description of the policy",
      "$ref": "https://schema.nfh.global/Descriptor/v2.1/schema.json"
    },
    "validity": {
      "description": "Validity window for this policy version",
      "$ref": "https://schema.nfh.global/TimePeriod/v2.1/schema.json"
    },
    "policyAttributes": {
      "description": "Extensible domain-specific policy attributes",
      "$ref": "https://schema.nfh.global/Attributes/v2.0/schema.json"
    }
  },
  "additionalProperties": false,
  "x-tags": [
    "mobility",
    "ride-hailing"
  ]
}
