{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/workday-benefits/json-schema/workday-benefits-benefit-programs-view-0216b21ecae410002d4cc96bee440000-schema.json",
  "title": "benefitProgramsView_0216b21ecae410002d4cc96bee440000",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/workday-benefits-programs-api-openapi.yml#/components/schemas/benefitProgramsView_0216b21ecae410002d4cc96bee440000",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "wellbeingInterest": {
          "$ref": "#/$defs/wellbeingInterest_385dba18341910000a58c69aa2730000"
        },
        "programPartner": {
          "$ref": "#/$defs/programPartner_cc61b1e2830310000c6b33d908470000"
        },
        "description": {
          "type": "string",
          "description": "The text description of the benefit program that the employee sees on the program card.  Charater limit: 375 or less.",
          "x-workday-type": "Text"
        },
        "adminNotes": {
          "type": "string",
          "description": "Descriptive text from the benefit program partner to Workday administrators about the benefit program.",
          "x-workday-type": "Text"
        },
        "image": {
          "$ref": "#/$defs/image_0216b21ecae410002d4cca0591140004"
        },
        "endDate": {
          "type": "string",
          "description": "The date when the benefit program ends. Must be after the start date.",
          "format": "date",
          "x-workday-type": "Date"
        },
        "title": {
          "type": "string",
          "description": "The title of the benefit program card.   Character limit: 40 or less.",
          "x-workday-type": "Text"
        },
        "startDate": {
          "type": "string",
          "description": "The date when the benefit program begins. Must be before the end date.",
          "format": "date",
          "x-workday-type": "Date"
        },
        "urlAlias": {
          "type": "string",
          "description": "A text string that masks the URL to simplify the URL, making it shorter and easier to use.",
          "x-workday-type": "Text"
        },
        "url": {
          "type": "string",
          "description": "A external or internal web link to the benefit program that must begin with http or https.",
          "x-workday-type": "Text"
        },
        "id": {
          "type": "string",
          "description": "The id for Benefit Program"
        }
      }
    }
  ],
  "$defs": {
    "INSTANCE_MODEL_REFERENCE": {
      "required": [
        "id"
      ],
      "type": "object",
      "properties": {
        "id": {
          "pattern": "^(([0-9a-f]{32})|(\\S+=\\S+))$",
          "type": "string",
          "description": "Workday Id or Reference Id of the instance."
        },
        "descriptor": {
          "type": "string",
          "description": "The display name of the instance",
          "readOnly": true
        },
        "href": {
          "type": "string",
          "description": "A link to the instance",
          "readOnly": true
        }
      }
    },
    "benefitProgramImageData_1fb0576459ce100013ab27700b0e0000": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "alternativeText": {
              "type": "string",
              "description": "Specify a description of the image in the Alternative Text field for users of assistive technology.",
              "x-workday-type": "Text"
            },
            "file": {
              "type": "string",
              "description": "Base64 encoded data",
              "format": "binary",
              "x-workday-type": "File"
            },
            "fileLength": {
              "type": "integer",
              "description": "length of the file",
              "format": "int32",
              "x-workday-type": "Numeric"
            },
            "fileName": {
              "maxLength": 255,
              "type": "string",
              "description": "Name of the file",
              "x-workday-type": "Text"
            },
            "contentType": {
              "$ref": "#/$defs/contentType_1fb0576459ce100013ab2834e1a50000"
            },
            "id": {
              "type": "string",
              "description": "The id for Attachment Representation (Blobitory)"
            }
          }
        }
      ]
    },
    "contentType_1fb0576459ce100013ab2834e1a50000": {
      "description": "Image content Type",
      "allOf": [
        {
          "$ref": "#/$defs/INSTANCE_MODEL_REFERENCE"
        },
        {
          "type": "object"
        }
      ]
    },
    "image_0216b21ecae410002d4cca0591140004": {
      "description": "The image for the benefit program card.   Supported file types: jpeg, png, bmp, and tiff.  Size maximum: 5 MB.  Width and height limits: w 528 X h 276 pixels.",
      "allOf": [
        {
          "$ref": "#/$defs/benefitProgramImageData_1fb0576459ce100013ab27700b0e0000"
        },
        {
          "type": "object"
        }
      ]
    },
    "programPartner_cc61b1e2830310000c6b33d908470000": {
      "description": "The name of the software partner implementing the benefit program on behalf of the customer. To get the program partner ID, use the Benefit Provider Report in Workday.",
      "allOf": [
        {
          "$ref": "#/$defs/INSTANCE_MODEL_REFERENCE"
        },
        {
          "type": "object"
        }
      ]
    },
    "wellbeingInterest_385dba18341910000a58c69aa2730000": {
      "description": "The Wellbeing Interest implementing the Benefit Program on behalf of the customer.",
      "allOf": [
        {
          "$ref": "#/$defs/INSTANCE_MODEL_REFERENCE"
        },
        {
          "type": "object"
        }
      ]
    }
  }
}