{
"title": "DiscoverableProgramMerchantSignupInfo",
"description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#LoyaltyClass.DiscoverableProgramMerchantSigninInfo",
"type": "object",
"properties": {
"signupWebsite": {
"$ref": "#/$defs/Uri"
},
"signupSharedDatas": {
"items": {
"$ref": "#/$defs/SharedDataType"
},
"title": "Signupshareddatas",
"type": "array"
}
},
"$defs": {
"LocalizedString": {
"description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString",
"properties": {
"defaultValue": {
"$ref": "#/$defs/TranslatedString"
},
"translatedValues": {
"default": [],
"items": {
"$ref": "#/$defs/TranslatedString"
},
"title": "Translatedvalues",
"type": "array"
}
},
"required": [
"defaultValue"
],
"title": "LocalizedString",
"type": "object"
},
"SharedDataType": {
"description": "see: https://developers.google.com/wallet/retail/loyalty-cards/rest/v1/loyaltyclass#shareddatatype",
"enum": [
"SHARED_DATA_TYPE_UNSPECIFIED",
"FIRST_NAME",
"LAST_NAME",
"STREET_ADDRESS",
"ADDRESS_LINE_1",
"ADDRESS_LINE_2",
"ADDRESS_LINE_3",
"CITY",
"STATE",
"ZIPCODE",
"COUNTRY",
"EMAIL",
"PHONE"
],
"title": "SharedDataType",
"type": "string"
},
"TranslatedString": {
"description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString#translatedstring",
"properties": {
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Language"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Value"
}
},
"title": "TranslatedString",
"type": "object"
},
"Uri": {
"description": "see: https://developers.google.com/wallet/generic/rest/v1/Uri",
"properties": {
"uri": {
"anyOf": [
{
"format": "uri",
"minLength": 1,
"type": "string"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Uri"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"localizedDescription": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedString"
},
{
"type": "null"
}
],
"default": null
},
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Id"
}
},
"title": "Uri",
"type": "object"
}
},
"required": [
"signupWebsite",
"signupSharedDatas"
]
}