struct_data_action.json 554 B

12345678910111213141516171819202122
  1. {
  2. "target": {
  3. "@type": "EntryPoint",
  4. "urlTemplate": "{{self.target}}",
  5. "inLanguage": "{{self.language}}",
  6. "actionPlatform": [
  7. "http://schema.org/DesktopWebPlatform",
  8. "http://schema.org/IOSPlatform",
  9. "http://schema.org/AndroidPlatform"
  10. ]
  11. },
  12. {% if self.result_type %}
  13. "result": {
  14. "@type": "{{self.result_type}}",
  15. "name": "{{self.result_name}}"
  16. },
  17. {% endif %}
  18. {% if self.extra_json %}
  19. {{self.extra_json}},
  20. {% endif %}
  21. "@type": "{{self.action_type}}"
  22. }