IRoomMetadata.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Calendar\Room;
  7. /**
  8. * Interface IRoomMetadata
  9. *
  10. * This interface provides keys for common metadata.
  11. * Room Backends are not limited to this list and can provide
  12. * any metadata they want.
  13. *
  14. * @since 17.0.0
  15. */
  16. interface IRoomMetadata {
  17. /**
  18. * Type of room
  19. *
  20. * Allowed values for this key are:
  21. * - meeting-room
  22. * - lecture-hall
  23. * - seminar-room
  24. * - other
  25. *
  26. * @since 17.0.0
  27. */
  28. public const ROOM_TYPE = '{http://nextcloud.com/ns}room-type';
  29. /**
  30. * Seating capacity of the room
  31. *
  32. * @since 17.0.0
  33. */
  34. public const CAPACITY = '{http://nextcloud.com/ns}room-seating-capacity';
  35. /**
  36. * The physical address of the building this room is located in
  37. *
  38. * @since 17.0.0
  39. */
  40. public const BUILDING_ADDRESS = '{http://nextcloud.com/ns}room-building-address';
  41. /**
  42. * The story of the building this rooms is located in
  43. *
  44. * @since 17.0.0
  45. */
  46. public const BUILDING_STORY = '{http://nextcloud.com/ns}room-building-story';
  47. /**
  48. * The room-number
  49. *
  50. * @since 17.0.0
  51. */
  52. public const BUILDING_ROOM_NUMBER = '{http://nextcloud.com/ns}room-building-room-number';
  53. /**
  54. * Features provided by the room.
  55. * This is a stringified list of features.
  56. * Example: "PHONE,VIDEO-CONFERENCING"
  57. *
  58. * Standard features include:
  59. * - PHONE: This room is fitted with a phone
  60. * - VIDEO-CONFERENCING: This room is fitted with a video-conferencing system
  61. * - TV: This room is fitted with a TV
  62. * - PROJECTOR: This room is fitted with a projector
  63. * - WHITEBOARD: This room is fitted with a whiteboard
  64. * - WHEELCHAIR-ACCESSIBLE: This room is wheelchair-accessible
  65. *
  66. * @since 17.0.0
  67. */
  68. public const FEATURES = '{http://nextcloud.com/ns}room-features';
  69. }