addedOutput schema / properties / embedded_menu
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "link": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "menus": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "age_days": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "freshness": {
+ "enum": [
+ "fresh",
+ "stale"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "menu_id": {
+ "type": "string"
+ },
+ "receipt": {
+ "additionalProperties": false,
+ "properties": {
+ "assets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "fetched_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sha256": {
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "url": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "sha256",
+ "fetched_at"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "transcribed_by": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "verified_by": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "transcribed_by",
+ "verified_by",
+ "assets"
+ ],
+ "type": "object"
+ },
+ "sections": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "price": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "items"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "source_url": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified_at": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "menu_id",
+ "type",
+ "label",
+ "source_url",
+ "verified_at",
+ "freshness",
+ "age_days",
+ "currency",
+ "sections",
+ "receipt"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "enum": [
+ "snapshot_mismatch",
+ "venue_not_in_snapshot",
+ "catalog_changed_since_snapshot",
+ "no_two_pass_verified_menu",
+ "verified_date_in_future"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "snapshot_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "stale_after_days": {
+ "const": 90,
+ "type": "number"
+ },
+ "truncated": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "items_omitted": {
+ "type": "integer"
+ },
+ "menus_omitted": {
+ "type": "integer"
+ },
+ "sections_omitted": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "items_omitted",
+ "sections_omitted",
+ "menus_omitted"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "menus",
+ "reason",
+ "stale_after_days",
+ "snapshot_id",
+ "link",
+ "truncated"
+ ],
+ "type": "object"
+}