{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-rest-recipient-schema.json",
  "title": "RestRecipient",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-recipients-api-openapi.yml#/components/schemas/RestRecipient",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Recipient ID"
    },
    "created": {
      "type": "string",
      "description": "Creation date",
      "format": "date-time"
    },
    "modified": {
      "type": "string",
      "description": "Modification date",
      "format": "date-time"
    },
    "optInMailId": {
      "type": "string",
      "description": "Mail ID in case of double/confirmed opt-in process"
    },
    "links": {
      "type": "array",
      "description": "Restful links",
      "items": {
        "type": "object",
        "properties": {
          "uriBuilder": {
            "type": "object"
          },
          "rels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "rel": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "params": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "title": {
            "type": "string"
          },
          "uri": {
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Restful links"
      }
    }
  }
}