BlogPost.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. JMS\Serializer\Tests\Fixtures\BlogPost:
  2. xml_root_name: blog-post
  3. xml_namespaces:
  4. "": http://example.com/namespace
  5. gd: http://schemas.google.com/g/2005
  6. atom: http://www.w3.org/2005/Atom
  7. dc: http://purl.org/dc/elements/1.1/
  8. properties:
  9. id:
  10. type: string
  11. groups: [comments, post]
  12. xml_element:
  13. cdata: false
  14. title:
  15. type: string
  16. groups: [comments, post]
  17. xml_element:
  18. namespace: http://purl.org/dc/elements/1.1/
  19. createdAt:
  20. type: DateTime
  21. xml_attribute: true
  22. published:
  23. type: boolean
  24. serialized_name: is_published
  25. xml_attribute: true
  26. groups: [post]
  27. etag:
  28. type: string
  29. groups: [post]
  30. xml_attribute: true
  31. xml_element:
  32. namespace: http://schemas.google.com/g/2005
  33. comments:
  34. type: ArrayCollection<JMS\Serializer\Tests\Fixtures\Comment>
  35. groups: [comments]
  36. xml_list:
  37. inline: true
  38. entry_name: comment
  39. author:
  40. type: JMS\Serializer\Tests\Fixtures\Author
  41. groups: [post]
  42. xml_element:
  43. namespace: http://www.w3.org/2005/Atom