Raw schema
{
"type": "object",
"properties": {
"project_id": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Public project id (from storerocket_list_projects), kept as a string."
},
"location_id": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Public location id (from storerocket_list_locations), kept as a string."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "New location name."
},
"city": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "New city."
},
"address_line_1": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"description": "Street address. Send null to clear it."
},
"address_line_2": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"description": "Additional address information. Send null to clear it."
},
"state": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"description": "State or region. Send null to clear it."
},
"postcode": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"description": "Postal code. Send null to clear it."
},
"country": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"description": "Country. Send null to clear it."
},
"lat": {
"description": "Latitude, -90 to 90. When moving a location, send the new lat and lng together (an address change alone keeps the old pin).",
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"description": "Longitude, -180 to 180.",
"type": "number",
"minimum": -180,
"maximum": 180
},
"visible": {
"description": "Show (true) or hide (false) the location on the locator.",
"type": "boolean"
},
"phone": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"description": "Phone number. Send null to clear it."
},
"email": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"description": "Email address. Send null to clear it."
},
"url": {
"description": "Website URL. Send null to clear it.",
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"timezone": {
"description": "Location timezone, e.g. Europe/London.",
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
]
},
"location_type": {
"description": "Name of a location type in the project; null restores the project default.",
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"marker_id": {
"description": "Id of a marker in the project; null restores the project default.",
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"cover": {
"description": "Cover image URL or the project's stored image name; null clears it.",
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
]
},
"hours": {
"description": "Days to change (mon..sun or full names), each 'HH:MM-HH:MM', 'closed' or null to clear; null removes the schedule; {} keeps it.",
"anyOf": [
{
"type": "object",
"properties": {
"mon": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"tue": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"wed": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"thu": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"fri": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"sat": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"sun": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"monday": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"tuesday": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"wednesday": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"thursday": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"friday": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"saturday": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
},
"sunday": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60
},
{
"type": "null"
}
],
"description": "A time range such as \"09:00-17:00\", \"closed\", or null to clear that day."
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"filters": {
"description": "REPLACES the filter list; [] or null clears it.",
"anyOf": [
{
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
{
"type": "null"
}
]
},
"fields": {
"description": "Custom fields to add or update by name, e.g. {\"Manager\":\"Sam\",\"Old\":null}; null clears all.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"calls_to_action": {
"description": "Calls to action to add or update by name, e.g. {\"Book\":\"https://example.com/book\"}; null clears all.",
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"additionalProperties": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"facebook": {
"description": "facebook profile handle or URL; null clears it (update only).",
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"instagram": {
"description": "instagram profile handle or URL; null clears it (update only).",
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"twitter": {
"description": "twitter profile handle or URL; null clears it (update only).",
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"yelp": {
"description": "yelp profile handle or URL; null clears it (update only).",
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"youtube": {
"description": "youtube profile handle or URL; null clears it (update only).",
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"tiktok": {
"description": "tiktok profile handle or URL; null clears it (update only).",
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
}
},
"required": [
"project_id",
"location_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}