{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Service for a particular household at a food pantry",
    "properties": {
        "createdAt": {
            "_format": "date-time",
            "description": "[Output only] Creation time of the user role",
            "minLength": 1,
            "type": "string"
        },
        "createdBy": {
            "description": "[Output only] Creator of the user role",
            "minLength": 1,
            "type": "string"
        },
        "disabledCount": {
            "description": "Count of disabled household members receiving service",
            "type": "number"
        },
        "genderFemaleCount": {
            "description": "Count of female gender household members receiving service",
            "type": "number"
        },
        "genderMaleCount": {
            "description": "Count of male gender household members receiving service",
            "type": "number"
        },
        "genderOtherCount": {
            "description": "Count of other gender household members receiving service",
            "type": "number"
        },
        "headOfHouseholdGender": {
            "description": "Gender of the Head of Household",
            "enum": [
                "Male",
                "Female",
                "Other"
            ],
            "type": "string"
        },
        "hispanicCount": {
            "description": "Count of hispanic household members receiving service",
            "type": "number"
        },
        "householdCity": {
            "description": "City of household",
            "minLength": 1,
            "type": "string"
        },
        "householdId": {
            "description": "Unique ID of pantry household",
            "minLength": 1,
            "type": "string"
        },
        "householdNumber": {
            "description": "Household number receiving pantry service",
            "minLength": 1,
            "type": "number"
        },
        "householdZip": {
            "description": "Zip code of household",
            "minLength": 1,
            "type": "number"
        },
        "hudCategory": {
            "description": "HUD category of the household",
            "enum": [
                "Extremely Low",
                "Very Low",
                "Low",
                "Moderate"
            ],
            "type": "string"
        },
        "isHomeless": {
            "description": "Flag to indicate if a service was provided to a homeless household",
            "type": "boolean"
        },
        "isInCityLimits": {
            "description": "Flag to indicate if a service was provided to a household in city limits",
            "type": "boolean"
        },
        "isSingleParentHousehold": {
            "description": "Flag to indicate if a service was provided to a single parent household",
            "type": "boolean"
        },
        "numberPoundsBaby": {
            "description": "Number of pounds of baby services received",
            "minLength": 1,
            "type": "number"
        },
        "numberPoundsEFAP": {
            "description": "Number of pounds of EFAP service received",
            "minLength": 1,
            "type": "number"
        },
        "numberPoundsFullService": {
            "description": "Number of pounds of full service received",
            "minLength": 1,
            "type": "number"
        },
        "numberPoundsNonFood": {
            "description": "Number of pounds of non-food service received",
            "minLength": 1,
            "type": "number"
        },
        "numberPoundsOther": {
            "description": "Number of pounds of other services received",
            "minLength": 1,
            "type": "number"
        },
        "numberPoundsSupplemental": {
            "description": "Number of pounds of supplemental service received",
            "minLength": 1,
            "type": "number"
        },
        "pantryId": {
            "description": "Unique ID of food pantry",
            "minLength": 1,
            "type": "string"
        },
        "personPresentFirstName": {
            "description": "First name of the person picking up the service items",
            "minLength": 1,
            "type": "string"
        },
        "serviceId": {
            "description": "[Output Only] Unique ID of pantry household service",
            "minLength": 1,
            "type": "string"
        },
        "specialNeedsCount": {
            "description": "Count of special needs household members receiving service",
            "type": "number"
        },
        "timeOfService": {
            "_format": "date-time",
            "description": "Date/time when service was rendered",
            "minLength": 1,
            "type": "string"
        },
        "transportationType": {
            "description": "Type of transportation for the household",
            "enum": [
                "By Bus",
                "By Car",
                "On Foot"
            ],
            "type": "string"
        },
        "updatedAt": {
            "_format": "date-time",
            "description": "[Output only] Last modification time of the user role",
            "minLength": 1,
            "type": "string"
        },
        "updatedBy": {
            "description": "[Output only] User to last modify the user role",
            "minLength": 1,
            "type": "string"
        }
    },
    "required": [
        "timeOfService",
        "householdNumber",
        "hudCategory",
        "transportationType",
        "householdCity",
        "householdZip",
        "personPresentFirstName",
        "headOfHouseholdGender",
        "isHomeless",
        "isInCityLimits",
        "isSingleParentHousehold",
        "disabledCount",
        "hispanicCount",
        "specialNeedsCount",
        "genderMaleCount",
        "genderFemaleCount",
        "genderOtherCount",
        "numberPoundsFullService",
        "numberPoundsEFAP",
        "numberPoundsSupplemental",
        "numberPoundsNonFood",
        "numberPoundsBaby",
        "numberPoundsOther"
    ],
    "title": "Service",
    "type": "object"
}