| |
| // Feeds declaration |
| syntax = "proto3"; |
| |
| package madden.ingestion; |
| |
| message ActionFeed { |
| repeated ActionDetail data = 1; |
| } |
| |
| message ActionDetail { |
| // Reference to entity id |
| optional string entity_id = 2; |
| // Link id for action detail |
| optional string link_id = 3; |
| // Deep link for action detail |
| optional string url = 4; |
| repeated Action actions = 1; |
| } |
| |
| // Information about an Action which could be performed. |
| message Action { |
| // Deprecated fields not to be reused. |
| reserved 1; |
| oneof action_info { |
| AppointmentInfo appointment_info = 2; |
| FoodOrderingInfo food_ordering_info = 3; |
| } |
| } |
| |
| message AppointmentInfo { |
| // Deep link for appointment action. |
| string url = 1; |
| } |
| |
| message FoodOrderingInfo { |
| // Service type for food ordering action. |
| enum ServiceType { |
| UNKNOWN = 0; |
| DELIVERY = 1; |
| TAKEOUT = 2; |
| } |
| ServiceType service_type = 1; |
| } |
| |