Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

2947 строки
84 KiB

  1. openapi: 3.1.0
  2. info:
  3. title: 'Imaq Platform'
  4. description: ''
  5. version: 1.0.0
  6. servers:
  7. -
  8. url: /
  9. description: ''
  10. paths:
  11. /api/auth:
  12. post:
  13. operationId: postCredentialsItem
  14. tags:
  15. - Auth
  16. responses:
  17. '200':
  18. description: 'Get JWT token'
  19. content:
  20. application/json:
  21. schema:
  22. $ref: '#/components/schemas/AuthResponse'
  23. summary: 'Get JWT token to login.'
  24. requestBody:
  25. description: 'Generate new JWT Token'
  26. content:
  27. application/json:
  28. schema:
  29. $ref: '#/components/schemas/Credentials'
  30. required: false
  31. security: []
  32. /api/locations:
  33. get:
  34. operationId: api_locations_get_collection
  35. tags:
  36. - Location
  37. responses:
  38. '200':
  39. description: 'Location collection'
  40. content:
  41. application/ld+json:
  42. schema:
  43. type: object
  44. properties:
  45. member: { type: array, items: { $ref: '#/components/schemas/Location.jsonld' } }
  46. totalItems: { type: integer, minimum: 0 }
  47. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  48. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  49. required:
  50. - member
  51. summary: 'Retrieves the collection of Location resources.'
  52. description: 'Retrieves the collection of Location resources.'
  53. parameters:
  54. -
  55. name: page
  56. in: query
  57. description: 'The collection page number'
  58. required: false
  59. deprecated: false
  60. allowEmptyValue: true
  61. schema:
  62. type: integer
  63. default: 1
  64. style: form
  65. explode: false
  66. allowReserved: false
  67. -
  68. name: itemsPerPage
  69. in: query
  70. description: 'The number of items per page'
  71. required: false
  72. deprecated: false
  73. allowEmptyValue: true
  74. schema:
  75. type: integer
  76. default: 50
  77. minimum: 0
  78. maximum: 100
  79. style: form
  80. explode: false
  81. allowReserved: false
  82. -
  83. name: name
  84. in: query
  85. description: ''
  86. required: false
  87. deprecated: false
  88. allowEmptyValue: false
  89. schema:
  90. type: string
  91. style: form
  92. explode: false
  93. allowReserved: false
  94. -
  95. name: custom_json_filter
  96. in: query
  97. description: ''
  98. required: false
  99. deprecated: false
  100. allowEmptyValue: false
  101. schema:
  102. type: string
  103. style: form
  104. explode: false
  105. allowReserved: false
  106. -
  107. name: custom_json_order
  108. in: query
  109. description: ''
  110. required: false
  111. deprecated: false
  112. allowEmptyValue: false
  113. schema:
  114. type: string
  115. style: form
  116. explode: false
  117. allowReserved: false
  118. deprecated: false
  119. post:
  120. operationId: api_locations_post
  121. tags:
  122. - Location
  123. responses:
  124. '201':
  125. description: 'Location resource created'
  126. content:
  127. application/ld+json:
  128. schema:
  129. $ref: '#/components/schemas/Location.jsonld'
  130. links: { }
  131. '400':
  132. description: 'Invalid input'
  133. '422':
  134. description: 'Unprocessable entity'
  135. summary: 'Creates a Location resource.'
  136. description: 'Creates a Location resource.'
  137. parameters: []
  138. requestBody:
  139. description: 'The new Location resource'
  140. content:
  141. application/ld+json:
  142. schema:
  143. $ref: '#/components/schemas/Location.jsonld'
  144. required: true
  145. deprecated: false
  146. '/api/locations/{id}':
  147. get:
  148. operationId: api_locations_id_get
  149. tags:
  150. - Location
  151. responses:
  152. '200':
  153. description: 'Location resource'
  154. content:
  155. application/ld+json:
  156. schema:
  157. $ref: '#/components/schemas/Location.jsonld'
  158. '404':
  159. description: 'Resource not found'
  160. summary: 'Retrieves a Location resource.'
  161. description: 'Retrieves a Location resource.'
  162. parameters:
  163. -
  164. name: id
  165. in: path
  166. description: 'Location identifier'
  167. required: true
  168. deprecated: false
  169. allowEmptyValue: false
  170. schema:
  171. type: string
  172. style: simple
  173. explode: false
  174. allowReserved: false
  175. deprecated: false
  176. delete:
  177. operationId: api_locations_id_delete
  178. tags:
  179. - Location
  180. responses:
  181. '204':
  182. description: 'Location resource deleted'
  183. '404':
  184. description: 'Resource not found'
  185. summary: 'Removes the Location resource.'
  186. description: 'Removes the Location resource.'
  187. parameters:
  188. -
  189. name: id
  190. in: path
  191. description: 'Location identifier'
  192. required: true
  193. deprecated: false
  194. allowEmptyValue: false
  195. schema:
  196. type: string
  197. style: simple
  198. explode: false
  199. allowReserved: false
  200. deprecated: false
  201. patch:
  202. operationId: api_locations_id_patch
  203. tags:
  204. - Location
  205. responses:
  206. '200':
  207. description: 'Location resource updated'
  208. content:
  209. application/ld+json:
  210. schema:
  211. $ref: '#/components/schemas/Location.jsonld'
  212. links: { }
  213. '400':
  214. description: 'Invalid input'
  215. '422':
  216. description: 'Unprocessable entity'
  217. '404':
  218. description: 'Resource not found'
  219. summary: 'Updates the Location resource.'
  220. description: 'Updates the Location resource.'
  221. parameters:
  222. -
  223. name: id
  224. in: path
  225. description: 'Location identifier'
  226. required: true
  227. deprecated: false
  228. allowEmptyValue: false
  229. schema:
  230. type: string
  231. style: simple
  232. explode: false
  233. allowReserved: false
  234. requestBody:
  235. description: 'The updated Location resource'
  236. content:
  237. application/merge-patch+json:
  238. schema:
  239. $ref: '#/components/schemas/Location'
  240. required: true
  241. deprecated: false
  242. /api/media_objects:
  243. get:
  244. operationId: api_media_objects_get_collection
  245. tags:
  246. - MediaObject
  247. responses:
  248. '200':
  249. description: 'MediaObject collection'
  250. content:
  251. application/ld+json:
  252. schema:
  253. type: object
  254. properties:
  255. member: { type: array, items: { $ref: '#/components/schemas/MediaObject.jsonld' } }
  256. totalItems: { type: integer, minimum: 0 }
  257. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  258. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  259. required:
  260. - member
  261. summary: 'Retrieves the collection of MediaObject resources.'
  262. description: 'Retrieves the collection of MediaObject resources.'
  263. parameters:
  264. -
  265. name: page
  266. in: query
  267. description: 'The collection page number'
  268. required: false
  269. deprecated: false
  270. allowEmptyValue: true
  271. schema:
  272. type: integer
  273. default: 1
  274. style: form
  275. explode: false
  276. allowReserved: false
  277. -
  278. name: itemsPerPage
  279. in: query
  280. description: 'The number of items per page'
  281. required: false
  282. deprecated: false
  283. allowEmptyValue: true
  284. schema:
  285. type: integer
  286. default: 50
  287. minimum: 0
  288. maximum: 100
  289. style: form
  290. explode: false
  291. allowReserved: false
  292. deprecated: false
  293. post:
  294. operationId: api_media_objects_post
  295. tags:
  296. - MediaObject
  297. responses:
  298. '201':
  299. description: 'MediaObject resource created'
  300. content:
  301. application/ld+json:
  302. schema:
  303. $ref: '#/components/schemas/MediaObject.jsonld'
  304. links: { }
  305. '400':
  306. description: 'Invalid input'
  307. '422':
  308. description: 'Unprocessable entity'
  309. summary: 'Creates a MediaObject resource.'
  310. description: 'Creates a MediaObject resource.'
  311. parameters: []
  312. requestBody:
  313. description: 'The new MediaObject resource'
  314. content:
  315. multipart/form-data:
  316. schema:
  317. type: object
  318. properties:
  319. file:
  320. type: string
  321. format: binary
  322. required: false
  323. deprecated: false
  324. '/api/media_objects/{id}':
  325. get:
  326. operationId: api_media_objects_id_get
  327. tags:
  328. - MediaObject
  329. responses:
  330. '200':
  331. description: 'MediaObject resource'
  332. content:
  333. application/ld+json:
  334. schema:
  335. $ref: '#/components/schemas/MediaObject.jsonld'
  336. '404':
  337. description: 'Resource not found'
  338. summary: 'Retrieves a MediaObject resource.'
  339. description: 'Retrieves a MediaObject resource.'
  340. parameters:
  341. -
  342. name: id
  343. in: path
  344. description: 'MediaObject identifier'
  345. required: true
  346. deprecated: false
  347. allowEmptyValue: false
  348. schema:
  349. type: string
  350. style: simple
  351. explode: false
  352. allowReserved: false
  353. deprecated: false
  354. delete:
  355. operationId: api_media_objects_id_delete
  356. tags:
  357. - MediaObject
  358. responses:
  359. '204':
  360. description: 'MediaObject resource deleted'
  361. '404':
  362. description: 'Resource not found'
  363. summary: 'Removes the MediaObject resource.'
  364. description: 'Removes the MediaObject resource.'
  365. parameters:
  366. -
  367. name: id
  368. in: path
  369. description: 'MediaObject identifier'
  370. required: true
  371. deprecated: false
  372. allowEmptyValue: false
  373. schema:
  374. type: string
  375. style: simple
  376. explode: false
  377. allowReserved: false
  378. deprecated: false
  379. /api/shipping_companies:
  380. get:
  381. operationId: api_shipping_companies_get_collection
  382. tags:
  383. - ShippingCompany
  384. responses:
  385. '200':
  386. description: 'ShippingCompany collection'
  387. content:
  388. application/ld+json:
  389. schema:
  390. type: object
  391. properties:
  392. member: { type: array, items: { $ref: '#/components/schemas/ShippingCompany.jsonld' } }
  393. totalItems: { type: integer, minimum: 0 }
  394. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  395. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  396. required:
  397. - member
  398. summary: 'Retrieves the collection of ShippingCompany resources.'
  399. description: 'Retrieves the collection of ShippingCompany resources.'
  400. parameters:
  401. -
  402. name: page
  403. in: query
  404. description: 'The collection page number'
  405. required: false
  406. deprecated: false
  407. allowEmptyValue: true
  408. schema:
  409. type: integer
  410. default: 1
  411. style: form
  412. explode: false
  413. allowReserved: false
  414. -
  415. name: itemsPerPage
  416. in: query
  417. description: 'The number of items per page'
  418. required: false
  419. deprecated: false
  420. allowEmptyValue: true
  421. schema:
  422. type: integer
  423. default: 50
  424. minimum: 0
  425. maximum: 100
  426. style: form
  427. explode: false
  428. allowReserved: false
  429. -
  430. name: name
  431. in: query
  432. description: ''
  433. required: false
  434. deprecated: false
  435. allowEmptyValue: false
  436. schema:
  437. type: string
  438. style: form
  439. explode: false
  440. allowReserved: false
  441. -
  442. name: custom_json_filter
  443. in: query
  444. description: ''
  445. required: false
  446. deprecated: false
  447. allowEmptyValue: false
  448. schema:
  449. type: string
  450. style: form
  451. explode: false
  452. allowReserved: false
  453. -
  454. name: custom_json_order
  455. in: query
  456. description: ''
  457. required: false
  458. deprecated: false
  459. allowEmptyValue: false
  460. schema:
  461. type: string
  462. style: form
  463. explode: false
  464. allowReserved: false
  465. deprecated: false
  466. post:
  467. operationId: api_shipping_companies_post
  468. tags:
  469. - ShippingCompany
  470. responses:
  471. '201':
  472. description: 'ShippingCompany resource created'
  473. content:
  474. application/ld+json:
  475. schema:
  476. $ref: '#/components/schemas/ShippingCompany.jsonld'
  477. links: { }
  478. '400':
  479. description: 'Invalid input'
  480. '422':
  481. description: 'Unprocessable entity'
  482. summary: 'Creates a ShippingCompany resource.'
  483. description: 'Creates a ShippingCompany resource.'
  484. parameters: []
  485. requestBody:
  486. description: 'The new ShippingCompany resource'
  487. content:
  488. application/ld+json:
  489. schema:
  490. $ref: '#/components/schemas/ShippingCompany.jsonld'
  491. required: true
  492. deprecated: false
  493. '/api/shipping_companies/{id}':
  494. get:
  495. operationId: api_shipping_companies_id_get
  496. tags:
  497. - ShippingCompany
  498. responses:
  499. '200':
  500. description: 'ShippingCompany resource'
  501. content:
  502. application/ld+json:
  503. schema:
  504. $ref: '#/components/schemas/ShippingCompany.jsonld'
  505. '404':
  506. description: 'Resource not found'
  507. summary: 'Retrieves a ShippingCompany resource.'
  508. description: 'Retrieves a ShippingCompany resource.'
  509. parameters:
  510. -
  511. name: id
  512. in: path
  513. description: 'ShippingCompany identifier'
  514. required: true
  515. deprecated: false
  516. allowEmptyValue: false
  517. schema:
  518. type: string
  519. style: simple
  520. explode: false
  521. allowReserved: false
  522. deprecated: false
  523. delete:
  524. operationId: api_shipping_companies_id_delete
  525. tags:
  526. - ShippingCompany
  527. responses:
  528. '204':
  529. description: 'ShippingCompany resource deleted'
  530. '404':
  531. description: 'Resource not found'
  532. summary: 'Removes the ShippingCompany resource.'
  533. description: 'Removes the ShippingCompany resource.'
  534. parameters:
  535. -
  536. name: id
  537. in: path
  538. description: 'ShippingCompany identifier'
  539. required: true
  540. deprecated: false
  541. allowEmptyValue: false
  542. schema:
  543. type: string
  544. style: simple
  545. explode: false
  546. allowReserved: false
  547. deprecated: false
  548. patch:
  549. operationId: api_shipping_companies_id_patch
  550. tags:
  551. - ShippingCompany
  552. responses:
  553. '200':
  554. description: 'ShippingCompany resource updated'
  555. content:
  556. application/ld+json:
  557. schema:
  558. $ref: '#/components/schemas/ShippingCompany.jsonld'
  559. links: { }
  560. '400':
  561. description: 'Invalid input'
  562. '422':
  563. description: 'Unprocessable entity'
  564. '404':
  565. description: 'Resource not found'
  566. summary: 'Updates the ShippingCompany resource.'
  567. description: 'Updates the ShippingCompany resource.'
  568. parameters:
  569. -
  570. name: id
  571. in: path
  572. description: 'ShippingCompany identifier'
  573. required: true
  574. deprecated: false
  575. allowEmptyValue: false
  576. schema:
  577. type: string
  578. style: simple
  579. explode: false
  580. allowReserved: false
  581. requestBody:
  582. description: 'The updated ShippingCompany resource'
  583. content:
  584. application/merge-patch+json:
  585. schema:
  586. $ref: '#/components/schemas/ShippingCompany'
  587. required: true
  588. deprecated: false
  589. /api/trips:
  590. get:
  591. operationId: api_trips_get_collection
  592. tags:
  593. - Trip
  594. responses:
  595. '200':
  596. description: 'Trip collection'
  597. content:
  598. application/ld+json:
  599. schema:
  600. type: object
  601. properties:
  602. member: { type: array, items: { $ref: '#/components/schemas/Trip.jsonld' } }
  603. totalItems: { type: integer, minimum: 0 }
  604. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  605. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  606. required:
  607. - member
  608. summary: 'Retrieves the collection of Trip resources.'
  609. description: 'Retrieves the collection of Trip resources.'
  610. parameters:
  611. -
  612. name: page
  613. in: query
  614. description: 'The collection page number'
  615. required: false
  616. deprecated: false
  617. allowEmptyValue: true
  618. schema:
  619. type: integer
  620. default: 1
  621. style: form
  622. explode: false
  623. allowReserved: false
  624. -
  625. name: itemsPerPage
  626. in: query
  627. description: 'The number of items per page'
  628. required: false
  629. deprecated: false
  630. allowEmptyValue: true
  631. schema:
  632. type: integer
  633. default: 50
  634. minimum: 0
  635. maximum: 100
  636. style: form
  637. explode: false
  638. allowReserved: false
  639. deprecated: false
  640. post:
  641. operationId: api_trips_post
  642. tags:
  643. - Trip
  644. responses:
  645. '201':
  646. description: 'Trip resource created'
  647. content:
  648. application/ld+json:
  649. schema:
  650. $ref: '#/components/schemas/Trip.jsonld'
  651. links: { }
  652. '400':
  653. description: 'Invalid input'
  654. '422':
  655. description: 'Unprocessable entity'
  656. summary: 'Creates a Trip resource.'
  657. description: 'Creates a Trip resource.'
  658. parameters: []
  659. requestBody:
  660. description: 'The new Trip resource'
  661. content:
  662. application/ld+json:
  663. schema:
  664. $ref: '#/components/schemas/Trip.jsonld'
  665. required: true
  666. deprecated: false
  667. '/api/trips/{id}':
  668. get:
  669. operationId: api_trips_id_get
  670. tags:
  671. - Trip
  672. responses:
  673. '200':
  674. description: 'Trip resource'
  675. content:
  676. application/ld+json:
  677. schema:
  678. $ref: '#/components/schemas/Trip.jsonld'
  679. '404':
  680. description: 'Resource not found'
  681. summary: 'Retrieves a Trip resource.'
  682. description: 'Retrieves a Trip resource.'
  683. parameters:
  684. -
  685. name: id
  686. in: path
  687. description: 'Trip identifier'
  688. required: true
  689. deprecated: false
  690. allowEmptyValue: false
  691. schema:
  692. type: string
  693. style: simple
  694. explode: false
  695. allowReserved: false
  696. deprecated: false
  697. patch:
  698. operationId: api_trips_id_patch
  699. tags:
  700. - Trip
  701. responses:
  702. '200':
  703. description: 'Trip resource updated'
  704. content:
  705. application/ld+json:
  706. schema:
  707. $ref: '#/components/schemas/Trip.jsonld'
  708. links: { }
  709. '400':
  710. description: 'Invalid input'
  711. '422':
  712. description: 'Unprocessable entity'
  713. '404':
  714. description: 'Resource not found'
  715. summary: 'Updates the Trip resource.'
  716. description: 'Updates the Trip resource.'
  717. parameters:
  718. -
  719. name: id
  720. in: path
  721. description: 'Trip identifier'
  722. required: true
  723. deprecated: false
  724. allowEmptyValue: false
  725. schema:
  726. type: string
  727. style: simple
  728. explode: false
  729. allowReserved: false
  730. requestBody:
  731. description: 'The updated Trip resource'
  732. content:
  733. application/merge-patch+json:
  734. schema:
  735. $ref: '#/components/schemas/Trip'
  736. required: true
  737. deprecated: false
  738. /api/trip_locations:
  739. get:
  740. operationId: api_trip_locations_get_collection
  741. tags:
  742. - TripLocation
  743. responses:
  744. '200':
  745. description: 'TripLocation collection'
  746. content:
  747. application/ld+json:
  748. schema:
  749. type: object
  750. properties:
  751. member: { type: array, items: { $ref: '#/components/schemas/TripLocation.jsonld' } }
  752. totalItems: { type: integer, minimum: 0 }
  753. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  754. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  755. required:
  756. - member
  757. summary: 'Retrieves the collection of TripLocation resources.'
  758. description: 'Retrieves the collection of TripLocation resources.'
  759. parameters:
  760. -
  761. name: page
  762. in: query
  763. description: 'The collection page number'
  764. required: false
  765. deprecated: false
  766. allowEmptyValue: true
  767. schema:
  768. type: integer
  769. default: 1
  770. style: form
  771. explode: false
  772. allowReserved: false
  773. -
  774. name: itemsPerPage
  775. in: query
  776. description: 'The number of items per page'
  777. required: false
  778. deprecated: false
  779. allowEmptyValue: true
  780. schema:
  781. type: integer
  782. default: 50
  783. minimum: 0
  784. maximum: 100
  785. style: form
  786. explode: false
  787. allowReserved: false
  788. deprecated: false
  789. post:
  790. operationId: api_trip_locations_post
  791. tags:
  792. - TripLocation
  793. responses:
  794. '201':
  795. description: 'TripLocation resource created'
  796. content:
  797. application/ld+json:
  798. schema:
  799. $ref: '#/components/schemas/TripLocation.jsonld'
  800. links: { }
  801. '400':
  802. description: 'Invalid input'
  803. '422':
  804. description: 'Unprocessable entity'
  805. summary: 'Creates a TripLocation resource.'
  806. description: 'Creates a TripLocation resource.'
  807. parameters: []
  808. requestBody:
  809. description: 'The new TripLocation resource'
  810. content:
  811. application/ld+json:
  812. schema:
  813. $ref: '#/components/schemas/TripLocation.jsonld'
  814. required: true
  815. deprecated: false
  816. '/api/trip_locations/{id}':
  817. get:
  818. operationId: api_trip_locations_id_get
  819. tags:
  820. - TripLocation
  821. responses:
  822. '200':
  823. description: 'TripLocation resource'
  824. content:
  825. application/ld+json:
  826. schema:
  827. $ref: '#/components/schemas/TripLocation.jsonld'
  828. '404':
  829. description: 'Resource not found'
  830. summary: 'Retrieves a TripLocation resource.'
  831. description: 'Retrieves a TripLocation resource.'
  832. parameters:
  833. -
  834. name: id
  835. in: path
  836. description: 'TripLocation identifier'
  837. required: true
  838. deprecated: false
  839. allowEmptyValue: false
  840. schema:
  841. type: string
  842. style: simple
  843. explode: false
  844. allowReserved: false
  845. deprecated: false
  846. patch:
  847. operationId: api_trip_locations_id_patch
  848. tags:
  849. - TripLocation
  850. responses:
  851. '200':
  852. description: 'TripLocation resource updated'
  853. content:
  854. application/ld+json:
  855. schema:
  856. $ref: '#/components/schemas/TripLocation.jsonld'
  857. links: { }
  858. '400':
  859. description: 'Invalid input'
  860. '422':
  861. description: 'Unprocessable entity'
  862. '404':
  863. description: 'Resource not found'
  864. summary: 'Updates the TripLocation resource.'
  865. description: 'Updates the TripLocation resource.'
  866. parameters:
  867. -
  868. name: id
  869. in: path
  870. description: 'TripLocation identifier'
  871. required: true
  872. deprecated: false
  873. allowEmptyValue: false
  874. schema:
  875. type: string
  876. style: simple
  877. explode: false
  878. allowReserved: false
  879. requestBody:
  880. description: 'The updated TripLocation resource'
  881. content:
  882. application/merge-patch+json:
  883. schema:
  884. $ref: '#/components/schemas/TripLocation'
  885. required: true
  886. deprecated: false
  887. /api/users:
  888. get:
  889. operationId: api_users_get_collection
  890. tags:
  891. - User
  892. responses:
  893. '200':
  894. description: 'User collection'
  895. content:
  896. application/ld+json:
  897. schema:
  898. type: object
  899. properties:
  900. member: { type: array, items: { $ref: '#/components/schemas/User.jsonld' } }
  901. totalItems: { type: integer, minimum: 0 }
  902. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  903. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  904. required:
  905. - member
  906. summary: 'Retrieves the collection of User resources.'
  907. description: 'Retrieves the collection of User resources.'
  908. parameters:
  909. -
  910. name: page
  911. in: query
  912. description: 'The collection page number'
  913. required: false
  914. deprecated: false
  915. allowEmptyValue: true
  916. schema:
  917. type: integer
  918. default: 1
  919. style: form
  920. explode: false
  921. allowReserved: false
  922. -
  923. name: itemsPerPage
  924. in: query
  925. description: 'The number of items per page'
  926. required: false
  927. deprecated: false
  928. allowEmptyValue: true
  929. schema:
  930. type: integer
  931. default: 50
  932. minimum: 0
  933. maximum: 100
  934. style: form
  935. explode: false
  936. allowReserved: false
  937. -
  938. name: firstName
  939. in: query
  940. description: ''
  941. required: false
  942. deprecated: false
  943. allowEmptyValue: false
  944. schema:
  945. type: string
  946. style: form
  947. explode: false
  948. allowReserved: false
  949. -
  950. name: lastName
  951. in: query
  952. description: ''
  953. required: false
  954. deprecated: false
  955. allowEmptyValue: false
  956. schema:
  957. type: string
  958. style: form
  959. explode: false
  960. allowReserved: false
  961. -
  962. name: userNameSearch
  963. in: query
  964. description: ''
  965. required: false
  966. deprecated: false
  967. allowEmptyValue: false
  968. schema:
  969. type: string
  970. style: form
  971. explode: false
  972. allowReserved: false
  973. -
  974. name: custom_json_order
  975. in: query
  976. description: ''
  977. required: false
  978. deprecated: false
  979. allowEmptyValue: false
  980. schema:
  981. type: string
  982. style: form
  983. explode: false
  984. allowReserved: false
  985. deprecated: false
  986. post:
  987. operationId: api_users_post
  988. tags:
  989. - User
  990. responses:
  991. '201':
  992. description: 'User resource created'
  993. content:
  994. application/ld+json:
  995. schema:
  996. $ref: '#/components/schemas/User.jsonld'
  997. links: { }
  998. '400':
  999. description: 'Invalid input'
  1000. '422':
  1001. description: 'Unprocessable entity'
  1002. summary: 'Creates a User resource.'
  1003. description: 'Creates a User resource.'
  1004. parameters: []
  1005. requestBody:
  1006. description: 'The new User resource'
  1007. content:
  1008. application/ld+json:
  1009. schema:
  1010. $ref: '#/components/schemas/User.jsonld'
  1011. required: true
  1012. deprecated: false
  1013. '/api/users/{id}':
  1014. get:
  1015. operationId: api_users_id_get
  1016. tags:
  1017. - User
  1018. responses:
  1019. '200':
  1020. description: 'User resource'
  1021. content:
  1022. application/ld+json:
  1023. schema:
  1024. $ref: '#/components/schemas/User.jsonld'
  1025. '404':
  1026. description: 'Resource not found'
  1027. summary: 'Retrieves a User resource.'
  1028. description: 'Retrieves a User resource.'
  1029. parameters:
  1030. -
  1031. name: id
  1032. in: path
  1033. description: 'User identifier'
  1034. required: true
  1035. deprecated: false
  1036. allowEmptyValue: false
  1037. schema:
  1038. type: string
  1039. style: simple
  1040. explode: false
  1041. allowReserved: false
  1042. deprecated: false
  1043. delete:
  1044. operationId: api_users_id_delete
  1045. tags:
  1046. - User
  1047. responses:
  1048. '204':
  1049. description: 'User resource deleted'
  1050. '404':
  1051. description: 'Resource not found'
  1052. summary: 'Removes the User resource.'
  1053. description: 'Removes the User resource.'
  1054. parameters:
  1055. -
  1056. name: id
  1057. in: path
  1058. description: 'User identifier'
  1059. required: true
  1060. deprecated: false
  1061. allowEmptyValue: false
  1062. schema:
  1063. type: string
  1064. style: simple
  1065. explode: false
  1066. allowReserved: false
  1067. deprecated: false
  1068. patch:
  1069. operationId: api_users_id_patch
  1070. tags:
  1071. - User
  1072. responses:
  1073. '200':
  1074. description: 'User resource updated'
  1075. content:
  1076. application/ld+json:
  1077. schema:
  1078. $ref: '#/components/schemas/User.jsonld'
  1079. links: { }
  1080. '400':
  1081. description: 'Invalid input'
  1082. '422':
  1083. description: 'Unprocessable entity'
  1084. '404':
  1085. description: 'Resource not found'
  1086. summary: 'Updates the User resource.'
  1087. description: 'Updates the User resource.'
  1088. parameters:
  1089. -
  1090. name: id
  1091. in: path
  1092. description: 'User identifier'
  1093. required: true
  1094. deprecated: false
  1095. allowEmptyValue: false
  1096. schema:
  1097. type: string
  1098. style: simple
  1099. explode: false
  1100. allowReserved: false
  1101. requestBody:
  1102. description: 'The updated User resource'
  1103. content:
  1104. application/merge-patch+json:
  1105. schema:
  1106. $ref: '#/components/schemas/User'
  1107. required: true
  1108. deprecated: false
  1109. /api/user_trips:
  1110. get:
  1111. operationId: api_user_trips_get_collection
  1112. tags:
  1113. - UserTrip
  1114. responses:
  1115. '200':
  1116. description: 'UserTrip collection'
  1117. content:
  1118. application/ld+json:
  1119. schema:
  1120. type: object
  1121. properties:
  1122. member: { type: array, items: { $ref: '#/components/schemas/UserTrip.jsonld' } }
  1123. totalItems: { type: integer, minimum: 0 }
  1124. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  1125. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1126. required:
  1127. - member
  1128. summary: 'Retrieves the collection of UserTrip resources.'
  1129. description: 'Retrieves the collection of UserTrip resources.'
  1130. parameters:
  1131. -
  1132. name: page
  1133. in: query
  1134. description: 'The collection page number'
  1135. required: false
  1136. deprecated: false
  1137. allowEmptyValue: true
  1138. schema:
  1139. type: integer
  1140. default: 1
  1141. style: form
  1142. explode: false
  1143. allowReserved: false
  1144. -
  1145. name: itemsPerPage
  1146. in: query
  1147. description: 'The number of items per page'
  1148. required: false
  1149. deprecated: false
  1150. allowEmptyValue: true
  1151. schema:
  1152. type: integer
  1153. default: 50
  1154. minimum: 0
  1155. maximum: 100
  1156. style: form
  1157. explode: false
  1158. allowReserved: false
  1159. deprecated: false
  1160. post:
  1161. operationId: api_user_trips_post
  1162. tags:
  1163. - UserTrip
  1164. responses:
  1165. '201':
  1166. description: 'UserTrip resource created'
  1167. content:
  1168. application/ld+json:
  1169. schema:
  1170. $ref: '#/components/schemas/UserTrip.jsonld'
  1171. links: { }
  1172. '400':
  1173. description: 'Invalid input'
  1174. '422':
  1175. description: 'Unprocessable entity'
  1176. summary: 'Creates a UserTrip resource.'
  1177. description: 'Creates a UserTrip resource.'
  1178. parameters: []
  1179. requestBody:
  1180. description: 'The new UserTrip resource'
  1181. content:
  1182. application/ld+json:
  1183. schema:
  1184. $ref: '#/components/schemas/UserTrip.jsonld'
  1185. required: true
  1186. deprecated: false
  1187. '/api/user_trips/{id}':
  1188. get:
  1189. operationId: api_user_trips_id_get
  1190. tags:
  1191. - UserTrip
  1192. responses:
  1193. '200':
  1194. description: 'UserTrip resource'
  1195. content:
  1196. application/ld+json:
  1197. schema:
  1198. $ref: '#/components/schemas/UserTrip.jsonld'
  1199. '404':
  1200. description: 'Resource not found'
  1201. summary: 'Retrieves a UserTrip resource.'
  1202. description: 'Retrieves a UserTrip resource.'
  1203. parameters:
  1204. -
  1205. name: id
  1206. in: path
  1207. description: 'UserTrip identifier'
  1208. required: true
  1209. deprecated: false
  1210. allowEmptyValue: false
  1211. schema:
  1212. type: string
  1213. style: simple
  1214. explode: false
  1215. allowReserved: false
  1216. deprecated: false
  1217. patch:
  1218. operationId: api_user_trips_id_patch
  1219. tags:
  1220. - UserTrip
  1221. responses:
  1222. '200':
  1223. description: 'UserTrip resource updated'
  1224. content:
  1225. application/ld+json:
  1226. schema:
  1227. $ref: '#/components/schemas/UserTrip.jsonld'
  1228. links: { }
  1229. '400':
  1230. description: 'Invalid input'
  1231. '422':
  1232. description: 'Unprocessable entity'
  1233. '404':
  1234. description: 'Resource not found'
  1235. summary: 'Updates the UserTrip resource.'
  1236. description: 'Updates the UserTrip resource.'
  1237. parameters:
  1238. -
  1239. name: id
  1240. in: path
  1241. description: 'UserTrip identifier'
  1242. required: true
  1243. deprecated: false
  1244. allowEmptyValue: false
  1245. schema:
  1246. type: string
  1247. style: simple
  1248. explode: false
  1249. allowReserved: false
  1250. requestBody:
  1251. description: 'The updated UserTrip resource'
  1252. content:
  1253. application/merge-patch+json:
  1254. schema:
  1255. $ref: '#/components/schemas/UserTrip'
  1256. required: true
  1257. deprecated: false
  1258. /api/user_trip_locations:
  1259. get:
  1260. operationId: api_user_trip_locations_get_collection
  1261. tags:
  1262. - UserTripLocation
  1263. responses:
  1264. '200':
  1265. description: 'UserTripLocation collection'
  1266. content:
  1267. application/ld+json:
  1268. schema:
  1269. type: object
  1270. properties:
  1271. member: { type: array, items: { $ref: '#/components/schemas/UserTripLocation.jsonld' } }
  1272. totalItems: { type: integer, minimum: 0 }
  1273. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  1274. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1275. required:
  1276. - member
  1277. summary: 'Retrieves the collection of UserTripLocation resources.'
  1278. description: 'Retrieves the collection of UserTripLocation resources.'
  1279. parameters:
  1280. -
  1281. name: page
  1282. in: query
  1283. description: 'The collection page number'
  1284. required: false
  1285. deprecated: false
  1286. allowEmptyValue: true
  1287. schema:
  1288. type: integer
  1289. default: 1
  1290. style: form
  1291. explode: false
  1292. allowReserved: false
  1293. -
  1294. name: itemsPerPage
  1295. in: query
  1296. description: 'The number of items per page'
  1297. required: false
  1298. deprecated: false
  1299. allowEmptyValue: true
  1300. schema:
  1301. type: integer
  1302. default: 50
  1303. minimum: 0
  1304. maximum: 100
  1305. style: form
  1306. explode: false
  1307. allowReserved: false
  1308. deprecated: false
  1309. post:
  1310. operationId: api_user_trip_locations_post
  1311. tags:
  1312. - UserTripLocation
  1313. responses:
  1314. '201':
  1315. description: 'UserTripLocation resource created'
  1316. content:
  1317. application/ld+json:
  1318. schema:
  1319. $ref: '#/components/schemas/UserTripLocation.jsonld'
  1320. links: { }
  1321. '400':
  1322. description: 'Invalid input'
  1323. '422':
  1324. description: 'Unprocessable entity'
  1325. summary: 'Creates a UserTripLocation resource.'
  1326. description: 'Creates a UserTripLocation resource.'
  1327. parameters: []
  1328. requestBody:
  1329. description: 'The new UserTripLocation resource'
  1330. content:
  1331. application/ld+json:
  1332. schema:
  1333. $ref: '#/components/schemas/UserTripLocation.jsonld'
  1334. required: true
  1335. deprecated: false
  1336. '/api/user_trip_locations/{id}':
  1337. get:
  1338. operationId: api_user_trip_locations_id_get
  1339. tags:
  1340. - UserTripLocation
  1341. responses:
  1342. '200':
  1343. description: 'UserTripLocation resource'
  1344. content:
  1345. application/ld+json:
  1346. schema:
  1347. $ref: '#/components/schemas/UserTripLocation.jsonld'
  1348. '404':
  1349. description: 'Resource not found'
  1350. summary: 'Retrieves a UserTripLocation resource.'
  1351. description: 'Retrieves a UserTripLocation resource.'
  1352. parameters:
  1353. -
  1354. name: id
  1355. in: path
  1356. description: 'UserTripLocation identifier'
  1357. required: true
  1358. deprecated: false
  1359. allowEmptyValue: false
  1360. schema:
  1361. type: string
  1362. style: simple
  1363. explode: false
  1364. allowReserved: false
  1365. deprecated: false
  1366. patch:
  1367. operationId: api_user_trip_locations_id_patch
  1368. tags:
  1369. - UserTripLocation
  1370. responses:
  1371. '200':
  1372. description: 'UserTripLocation resource updated'
  1373. content:
  1374. application/ld+json:
  1375. schema:
  1376. $ref: '#/components/schemas/UserTripLocation.jsonld'
  1377. links: { }
  1378. '400':
  1379. description: 'Invalid input'
  1380. '422':
  1381. description: 'Unprocessable entity'
  1382. '404':
  1383. description: 'Resource not found'
  1384. summary: 'Updates the UserTripLocation resource.'
  1385. description: 'Updates the UserTripLocation resource.'
  1386. parameters:
  1387. -
  1388. name: id
  1389. in: path
  1390. description: 'UserTripLocation identifier'
  1391. required: true
  1392. deprecated: false
  1393. allowEmptyValue: false
  1394. schema:
  1395. type: string
  1396. style: simple
  1397. explode: false
  1398. allowReserved: false
  1399. requestBody:
  1400. description: 'The updated UserTripLocation resource'
  1401. content:
  1402. application/merge-patch+json:
  1403. schema:
  1404. $ref: '#/components/schemas/UserTripLocation'
  1405. required: true
  1406. deprecated: false
  1407. /api/user_trip_work_logs:
  1408. get:
  1409. operationId: api_user_trip_work_logs_get_collection
  1410. tags:
  1411. - UserTripWorkLog
  1412. responses:
  1413. '200':
  1414. description: 'UserTripWorkLog collection'
  1415. content:
  1416. application/ld+json:
  1417. schema:
  1418. type: object
  1419. properties:
  1420. member: { type: array, items: { $ref: '#/components/schemas/UserTripWorkLog.jsonld' } }
  1421. totalItems: { type: integer, minimum: 0 }
  1422. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  1423. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1424. required:
  1425. - member
  1426. summary: 'Retrieves the collection of UserTripWorkLog resources.'
  1427. description: 'Retrieves the collection of UserTripWorkLog resources.'
  1428. parameters:
  1429. -
  1430. name: page
  1431. in: query
  1432. description: 'The collection page number'
  1433. required: false
  1434. deprecated: false
  1435. allowEmptyValue: true
  1436. schema:
  1437. type: integer
  1438. default: 1
  1439. style: form
  1440. explode: false
  1441. allowReserved: false
  1442. -
  1443. name: itemsPerPage
  1444. in: query
  1445. description: 'The number of items per page'
  1446. required: false
  1447. deprecated: false
  1448. allowEmptyValue: true
  1449. schema:
  1450. type: integer
  1451. default: 50
  1452. minimum: 0
  1453. maximum: 100
  1454. style: form
  1455. explode: false
  1456. allowReserved: false
  1457. deprecated: false
  1458. post:
  1459. operationId: api_user_trip_work_logs_post
  1460. tags:
  1461. - UserTripWorkLog
  1462. responses:
  1463. '201':
  1464. description: 'UserTripWorkLog resource created'
  1465. content:
  1466. application/ld+json:
  1467. schema:
  1468. $ref: '#/components/schemas/UserTripWorkLog.jsonld'
  1469. links: { }
  1470. '400':
  1471. description: 'Invalid input'
  1472. '422':
  1473. description: 'Unprocessable entity'
  1474. summary: 'Creates a UserTripWorkLog resource.'
  1475. description: 'Creates a UserTripWorkLog resource.'
  1476. parameters: []
  1477. requestBody:
  1478. description: 'The new UserTripWorkLog resource'
  1479. content:
  1480. application/ld+json:
  1481. schema:
  1482. $ref: '#/components/schemas/UserTripWorkLog.jsonld'
  1483. required: true
  1484. deprecated: false
  1485. '/api/user_trip_work_logs/{id}':
  1486. get:
  1487. operationId: api_user_trip_work_logs_id_get
  1488. tags:
  1489. - UserTripWorkLog
  1490. responses:
  1491. '200':
  1492. description: 'UserTripWorkLog resource'
  1493. content:
  1494. application/ld+json:
  1495. schema:
  1496. $ref: '#/components/schemas/UserTripWorkLog.jsonld'
  1497. '404':
  1498. description: 'Resource not found'
  1499. summary: 'Retrieves a UserTripWorkLog resource.'
  1500. description: 'Retrieves a UserTripWorkLog resource.'
  1501. parameters:
  1502. -
  1503. name: id
  1504. in: path
  1505. description: 'UserTripWorkLog identifier'
  1506. required: true
  1507. deprecated: false
  1508. allowEmptyValue: false
  1509. schema:
  1510. type: string
  1511. style: simple
  1512. explode: false
  1513. allowReserved: false
  1514. deprecated: false
  1515. patch:
  1516. operationId: api_user_trip_work_logs_id_patch
  1517. tags:
  1518. - UserTripWorkLog
  1519. responses:
  1520. '200':
  1521. description: 'UserTripWorkLog resource updated'
  1522. content:
  1523. application/ld+json:
  1524. schema:
  1525. $ref: '#/components/schemas/UserTripWorkLog.jsonld'
  1526. links: { }
  1527. '400':
  1528. description: 'Invalid input'
  1529. '422':
  1530. description: 'Unprocessable entity'
  1531. '404':
  1532. description: 'Resource not found'
  1533. summary: 'Updates the UserTripWorkLog resource.'
  1534. description: 'Updates the UserTripWorkLog resource.'
  1535. parameters:
  1536. -
  1537. name: id
  1538. in: path
  1539. description: 'UserTripWorkLog identifier'
  1540. required: true
  1541. deprecated: false
  1542. allowEmptyValue: false
  1543. schema:
  1544. type: string
  1545. style: simple
  1546. explode: false
  1547. allowReserved: false
  1548. requestBody:
  1549. description: 'The updated UserTripWorkLog resource'
  1550. content:
  1551. application/merge-patch+json:
  1552. schema:
  1553. $ref: '#/components/schemas/UserTripWorkLog'
  1554. required: true
  1555. deprecated: false
  1556. /api/vessels:
  1557. get:
  1558. operationId: api_vessels_get_collection
  1559. tags:
  1560. - Vessel
  1561. responses:
  1562. '200':
  1563. description: 'Vessel collection'
  1564. content:
  1565. application/ld+json:
  1566. schema:
  1567. type: object
  1568. properties:
  1569. member: { type: array, items: { $ref: '#/components/schemas/Vessel.jsonld' } }
  1570. totalItems: { type: integer, minimum: 0 }
  1571. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  1572. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1573. required:
  1574. - member
  1575. summary: 'Retrieves the collection of Vessel resources.'
  1576. description: 'Retrieves the collection of Vessel resources.'
  1577. parameters:
  1578. -
  1579. name: page
  1580. in: query
  1581. description: 'The collection page number'
  1582. required: false
  1583. deprecated: false
  1584. allowEmptyValue: true
  1585. schema:
  1586. type: integer
  1587. default: 1
  1588. style: form
  1589. explode: false
  1590. allowReserved: false
  1591. -
  1592. name: itemsPerPage
  1593. in: query
  1594. description: 'The number of items per page'
  1595. required: false
  1596. deprecated: false
  1597. allowEmptyValue: true
  1598. schema:
  1599. type: integer
  1600. default: 50
  1601. minimum: 0
  1602. maximum: 100
  1603. style: form
  1604. explode: false
  1605. allowReserved: false
  1606. -
  1607. name: name
  1608. in: query
  1609. description: ''
  1610. required: false
  1611. deprecated: false
  1612. allowEmptyValue: false
  1613. schema:
  1614. type: string
  1615. style: form
  1616. explode: false
  1617. allowReserved: false
  1618. -
  1619. name: custom_json_filter
  1620. in: query
  1621. description: ''
  1622. required: false
  1623. deprecated: false
  1624. allowEmptyValue: false
  1625. schema:
  1626. type: string
  1627. style: form
  1628. explode: false
  1629. allowReserved: false
  1630. -
  1631. name: custom_json_order
  1632. in: query
  1633. description: ''
  1634. required: false
  1635. deprecated: false
  1636. allowEmptyValue: false
  1637. schema:
  1638. type: string
  1639. style: form
  1640. explode: false
  1641. allowReserved: false
  1642. deprecated: false
  1643. post:
  1644. operationId: api_vessels_post
  1645. tags:
  1646. - Vessel
  1647. responses:
  1648. '201':
  1649. description: 'Vessel resource created'
  1650. content:
  1651. application/ld+json:
  1652. schema:
  1653. $ref: '#/components/schemas/Vessel.jsonld'
  1654. links: { }
  1655. '400':
  1656. description: 'Invalid input'
  1657. '422':
  1658. description: 'Unprocessable entity'
  1659. summary: 'Creates a Vessel resource.'
  1660. description: 'Creates a Vessel resource.'
  1661. parameters: []
  1662. requestBody:
  1663. description: 'The new Vessel resource'
  1664. content:
  1665. application/ld+json:
  1666. schema:
  1667. $ref: '#/components/schemas/Vessel.jsonld'
  1668. required: true
  1669. deprecated: false
  1670. '/api/vessels/{id}':
  1671. get:
  1672. operationId: api_vessels_id_get
  1673. tags:
  1674. - Vessel
  1675. responses:
  1676. '200':
  1677. description: 'Vessel resource'
  1678. content:
  1679. application/ld+json:
  1680. schema:
  1681. $ref: '#/components/schemas/Vessel.jsonld'
  1682. '404':
  1683. description: 'Resource not found'
  1684. summary: 'Retrieves a Vessel resource.'
  1685. description: 'Retrieves a Vessel resource.'
  1686. parameters:
  1687. -
  1688. name: id
  1689. in: path
  1690. description: 'Vessel identifier'
  1691. required: true
  1692. deprecated: false
  1693. allowEmptyValue: false
  1694. schema:
  1695. type: string
  1696. style: simple
  1697. explode: false
  1698. allowReserved: false
  1699. deprecated: false
  1700. delete:
  1701. operationId: api_vessels_id_delete
  1702. tags:
  1703. - Vessel
  1704. responses:
  1705. '204':
  1706. description: 'Vessel resource deleted'
  1707. '404':
  1708. description: 'Resource not found'
  1709. summary: 'Removes the Vessel resource.'
  1710. description: 'Removes the Vessel resource.'
  1711. parameters:
  1712. -
  1713. name: id
  1714. in: path
  1715. description: 'Vessel identifier'
  1716. required: true
  1717. deprecated: false
  1718. allowEmptyValue: false
  1719. schema:
  1720. type: string
  1721. style: simple
  1722. explode: false
  1723. allowReserved: false
  1724. deprecated: false
  1725. patch:
  1726. operationId: api_vessels_id_patch
  1727. tags:
  1728. - Vessel
  1729. responses:
  1730. '200':
  1731. description: 'Vessel resource updated'
  1732. content:
  1733. application/ld+json:
  1734. schema:
  1735. $ref: '#/components/schemas/Vessel.jsonld'
  1736. links: { }
  1737. '400':
  1738. description: 'Invalid input'
  1739. '422':
  1740. description: 'Unprocessable entity'
  1741. '404':
  1742. description: 'Resource not found'
  1743. summary: 'Updates the Vessel resource.'
  1744. description: 'Updates the Vessel resource.'
  1745. parameters:
  1746. -
  1747. name: id
  1748. in: path
  1749. description: 'Vessel identifier'
  1750. required: true
  1751. deprecated: false
  1752. allowEmptyValue: false
  1753. schema:
  1754. type: string
  1755. style: simple
  1756. explode: false
  1757. allowReserved: false
  1758. requestBody:
  1759. description: 'The updated Vessel resource'
  1760. content:
  1761. application/merge-patch+json:
  1762. schema:
  1763. $ref: '#/components/schemas/Vessel'
  1764. required: true
  1765. deprecated: false
  1766. /api/zones:
  1767. get:
  1768. operationId: api_zones_get_collection
  1769. tags:
  1770. - Zone
  1771. responses:
  1772. '200':
  1773. description: 'Zone collection'
  1774. content:
  1775. application/ld+json:
  1776. schema:
  1777. type: object
  1778. properties:
  1779. member: { type: array, items: { $ref: '#/components/schemas/Zone.jsonld' } }
  1780. totalItems: { type: integer, minimum: 0 }
  1781. view: { type: object, properties: { '@id': { type: string, format: iri-reference }, '@type': { type: string }, first: { type: string, format: iri-reference }, last: { type: string, format: iri-reference }, previous: { type: string, format: iri-reference }, next: { type: string, format: iri-reference } }, example: { '@id': string, type: string, first: string, last: string, previous: string, next: string } }
  1782. search: { type: object, properties: { '@type': { type: string }, template: { type: string }, variableRepresentation: { type: string }, mapping: { type: array, items: { type: object, properties: { '@type': { type: string }, variable: { type: string }, property: { type: [string, 'null'] }, required: { type: boolean } } } } } }
  1783. required:
  1784. - member
  1785. summary: 'Retrieves the collection of Zone resources.'
  1786. description: 'Retrieves the collection of Zone resources.'
  1787. parameters:
  1788. -
  1789. name: page
  1790. in: query
  1791. description: 'The collection page number'
  1792. required: false
  1793. deprecated: false
  1794. allowEmptyValue: true
  1795. schema:
  1796. type: integer
  1797. default: 1
  1798. style: form
  1799. explode: false
  1800. allowReserved: false
  1801. -
  1802. name: itemsPerPage
  1803. in: query
  1804. description: 'The number of items per page'
  1805. required: false
  1806. deprecated: false
  1807. allowEmptyValue: true
  1808. schema:
  1809. type: integer
  1810. default: 50
  1811. minimum: 0
  1812. maximum: 100
  1813. style: form
  1814. explode: false
  1815. allowReserved: false
  1816. -
  1817. name: name
  1818. in: query
  1819. description: ''
  1820. required: false
  1821. deprecated: false
  1822. allowEmptyValue: false
  1823. schema:
  1824. type: string
  1825. style: form
  1826. explode: false
  1827. allowReserved: false
  1828. -
  1829. name: custom_json_filter
  1830. in: query
  1831. description: ''
  1832. required: false
  1833. deprecated: false
  1834. allowEmptyValue: false
  1835. schema:
  1836. type: string
  1837. style: form
  1838. explode: false
  1839. allowReserved: false
  1840. -
  1841. name: custom_json_order
  1842. in: query
  1843. description: ''
  1844. required: false
  1845. deprecated: false
  1846. allowEmptyValue: false
  1847. schema:
  1848. type: string
  1849. style: form
  1850. explode: false
  1851. allowReserved: false
  1852. deprecated: false
  1853. post:
  1854. operationId: api_zones_post
  1855. tags:
  1856. - Zone
  1857. responses:
  1858. '201':
  1859. description: 'Zone resource created'
  1860. content:
  1861. application/ld+json:
  1862. schema:
  1863. $ref: '#/components/schemas/Zone.jsonld'
  1864. links: { }
  1865. '400':
  1866. description: 'Invalid input'
  1867. '422':
  1868. description: 'Unprocessable entity'
  1869. summary: 'Creates a Zone resource.'
  1870. description: 'Creates a Zone resource.'
  1871. parameters: []
  1872. requestBody:
  1873. description: 'The new Zone resource'
  1874. content:
  1875. application/ld+json:
  1876. schema:
  1877. $ref: '#/components/schemas/Zone.jsonld'
  1878. required: true
  1879. deprecated: false
  1880. '/api/zones/{id}':
  1881. get:
  1882. operationId: api_zones_id_get
  1883. tags:
  1884. - Zone
  1885. responses:
  1886. '200':
  1887. description: 'Zone resource'
  1888. content:
  1889. application/ld+json:
  1890. schema:
  1891. $ref: '#/components/schemas/Zone.jsonld'
  1892. '404':
  1893. description: 'Resource not found'
  1894. summary: 'Retrieves a Zone resource.'
  1895. description: 'Retrieves a Zone resource.'
  1896. parameters:
  1897. -
  1898. name: id
  1899. in: path
  1900. description: 'Zone identifier'
  1901. required: true
  1902. deprecated: false
  1903. allowEmptyValue: false
  1904. schema:
  1905. type: string
  1906. style: simple
  1907. explode: false
  1908. allowReserved: false
  1909. deprecated: false
  1910. delete:
  1911. operationId: api_zones_id_delete
  1912. tags:
  1913. - Zone
  1914. responses:
  1915. '204':
  1916. description: 'Zone resource deleted'
  1917. '404':
  1918. description: 'Resource not found'
  1919. summary: 'Removes the Zone resource.'
  1920. description: 'Removes the Zone resource.'
  1921. parameters:
  1922. -
  1923. name: id
  1924. in: path
  1925. description: 'Zone identifier'
  1926. required: true
  1927. deprecated: false
  1928. allowEmptyValue: false
  1929. schema:
  1930. type: string
  1931. style: simple
  1932. explode: false
  1933. allowReserved: false
  1934. deprecated: false
  1935. patch:
  1936. operationId: api_zones_id_patch
  1937. tags:
  1938. - Zone
  1939. responses:
  1940. '200':
  1941. description: 'Zone resource updated'
  1942. content:
  1943. application/ld+json:
  1944. schema:
  1945. $ref: '#/components/schemas/Zone.jsonld'
  1946. links: { }
  1947. '400':
  1948. description: 'Invalid input'
  1949. '422':
  1950. description: 'Unprocessable entity'
  1951. '404':
  1952. description: 'Resource not found'
  1953. summary: 'Updates the Zone resource.'
  1954. description: 'Updates the Zone resource.'
  1955. parameters:
  1956. -
  1957. name: id
  1958. in: path
  1959. description: 'Zone identifier'
  1960. required: true
  1961. deprecated: false
  1962. allowEmptyValue: false
  1963. schema:
  1964. type: string
  1965. style: simple
  1966. explode: false
  1967. allowReserved: false
  1968. requestBody:
  1969. description: 'The updated Zone resource'
  1970. content:
  1971. application/merge-patch+json:
  1972. schema:
  1973. $ref: '#/components/schemas/Zone'
  1974. required: true
  1975. deprecated: false
  1976. components:
  1977. schemas:
  1978. Location:
  1979. type: object
  1980. description: ''
  1981. deprecated: false
  1982. properties:
  1983. dbId:
  1984. readOnly: true
  1985. type:
  1986. - integer
  1987. - 'null'
  1988. zone:
  1989. $ref: '#/components/schemas/Zone'
  1990. name:
  1991. type: string
  1992. code:
  1993. type: string
  1994. createdAt:
  1995. readOnly: true
  1996. type:
  1997. - string
  1998. - 'null'
  1999. format: date-time
  2000. required:
  2001. - name
  2002. - code
  2003. Location.jsonld:
  2004. type: object
  2005. description: ''
  2006. deprecated: false
  2007. properties:
  2008. '@context':
  2009. readOnly: true
  2010. oneOf:
  2011. -
  2012. type: string
  2013. -
  2014. type: object
  2015. properties:
  2016. '@vocab':
  2017. type: string
  2018. hydra:
  2019. type: string
  2020. enum: ['http://www.w3.org/ns/hydra/core#']
  2021. required:
  2022. - '@vocab'
  2023. - hydra
  2024. additionalProperties: true
  2025. '@id':
  2026. readOnly: true
  2027. type: string
  2028. '@type':
  2029. readOnly: true
  2030. type: string
  2031. dbId:
  2032. readOnly: true
  2033. type:
  2034. - integer
  2035. - 'null'
  2036. zone:
  2037. $ref: '#/components/schemas/Zone.jsonld'
  2038. name:
  2039. type: string
  2040. code:
  2041. type: string
  2042. createdAt:
  2043. readOnly: true
  2044. type:
  2045. - string
  2046. - 'null'
  2047. format: date-time
  2048. required:
  2049. - name
  2050. - code
  2051. MediaObject.jsonld:
  2052. type: object
  2053. description: ''
  2054. deprecated: false
  2055. properties:
  2056. '@context':
  2057. readOnly: true
  2058. oneOf:
  2059. -
  2060. type: string
  2061. -
  2062. type: object
  2063. properties:
  2064. '@vocab':
  2065. type: string
  2066. hydra:
  2067. type: string
  2068. enum: ['http://www.w3.org/ns/hydra/core#']
  2069. required:
  2070. - '@vocab'
  2071. - hydra
  2072. additionalProperties: true
  2073. '@id':
  2074. readOnly: true
  2075. type: string
  2076. '@type':
  2077. readOnly: true
  2078. type: string
  2079. dbId:
  2080. readOnly: true
  2081. type:
  2082. - integer
  2083. - 'null'
  2084. contentUrl:
  2085. externalDocs:
  2086. url: 'https://schema.org/contentUrl'
  2087. type:
  2088. - string
  2089. - 'null'
  2090. filePath:
  2091. readOnly: true
  2092. type:
  2093. - string
  2094. - 'null'
  2095. createdAt:
  2096. readOnly: true
  2097. type:
  2098. - string
  2099. - 'null'
  2100. format: date-time
  2101. ShippingCompany:
  2102. type: object
  2103. description: ''
  2104. deprecated: false
  2105. properties:
  2106. dbId:
  2107. readOnly: true
  2108. type:
  2109. - integer
  2110. - 'null'
  2111. name:
  2112. type: string
  2113. code:
  2114. type: string
  2115. createdAt:
  2116. readOnly: true
  2117. type:
  2118. - string
  2119. - 'null'
  2120. format: date-time
  2121. required:
  2122. - name
  2123. - code
  2124. ShippingCompany.jsonld:
  2125. type: object
  2126. description: ''
  2127. deprecated: false
  2128. properties:
  2129. '@context':
  2130. readOnly: true
  2131. oneOf:
  2132. -
  2133. type: string
  2134. -
  2135. type: object
  2136. properties:
  2137. '@vocab':
  2138. type: string
  2139. hydra:
  2140. type: string
  2141. enum: ['http://www.w3.org/ns/hydra/core#']
  2142. required:
  2143. - '@vocab'
  2144. - hydra
  2145. additionalProperties: true
  2146. '@id':
  2147. readOnly: true
  2148. type: string
  2149. '@type':
  2150. readOnly: true
  2151. type: string
  2152. dbId:
  2153. readOnly: true
  2154. type:
  2155. - integer
  2156. - 'null'
  2157. name:
  2158. type: string
  2159. code:
  2160. type: string
  2161. createdAt:
  2162. readOnly: true
  2163. type:
  2164. - string
  2165. - 'null'
  2166. format: date-time
  2167. required:
  2168. - name
  2169. - code
  2170. Trip:
  2171. type: object
  2172. description: ''
  2173. deprecated: false
  2174. properties:
  2175. dbId:
  2176. readOnly: true
  2177. type:
  2178. - integer
  2179. - 'null'
  2180. vessel:
  2181. readOnly: true
  2182. type: string
  2183. format: iri-reference
  2184. example: 'https://example.com/'
  2185. pilotReference:
  2186. type: string
  2187. captainName:
  2188. type:
  2189. - string
  2190. - 'null'
  2191. startLocation:
  2192. readOnly: true
  2193. type: string
  2194. format: iri-reference
  2195. example: 'https://example.com/'
  2196. endLocation:
  2197. readOnly: true
  2198. type: string
  2199. format: iri-reference
  2200. example: 'https://example.com/'
  2201. startDate:
  2202. type: string
  2203. format: date-time
  2204. endDate:
  2205. type: string
  2206. format: date-time
  2207. createdAt:
  2208. readOnly: true
  2209. type:
  2210. - string
  2211. - 'null'
  2212. format: date-time
  2213. required:
  2214. - pilotReference
  2215. - startDate
  2216. - endDate
  2217. Trip.jsonld:
  2218. type: object
  2219. description: ''
  2220. deprecated: false
  2221. properties:
  2222. '@context':
  2223. readOnly: true
  2224. oneOf:
  2225. -
  2226. type: string
  2227. -
  2228. type: object
  2229. properties:
  2230. '@vocab':
  2231. type: string
  2232. hydra:
  2233. type: string
  2234. enum: ['http://www.w3.org/ns/hydra/core#']
  2235. required:
  2236. - '@vocab'
  2237. - hydra
  2238. additionalProperties: true
  2239. '@id':
  2240. readOnly: true
  2241. type: string
  2242. '@type':
  2243. readOnly: true
  2244. type: string
  2245. dbId:
  2246. readOnly: true
  2247. type:
  2248. - integer
  2249. - 'null'
  2250. vessel:
  2251. readOnly: true
  2252. $ref: '#/components/schemas/Vessel.jsonld'
  2253. pilotReference:
  2254. type: string
  2255. captainName:
  2256. type:
  2257. - string
  2258. - 'null'
  2259. startLocation:
  2260. readOnly: true
  2261. $ref: '#/components/schemas/Location.jsonld'
  2262. endLocation:
  2263. readOnly: true
  2264. $ref: '#/components/schemas/Location.jsonld'
  2265. startDate:
  2266. type: string
  2267. format: date-time
  2268. endDate:
  2269. type: string
  2270. format: date-time
  2271. createdAt:
  2272. readOnly: true
  2273. type:
  2274. - string
  2275. - 'null'
  2276. format: date-time
  2277. required:
  2278. - pilotReference
  2279. - startDate
  2280. - endDate
  2281. TripLocation:
  2282. type: object
  2283. description: ''
  2284. deprecated: false
  2285. properties:
  2286. dbId:
  2287. readOnly: true
  2288. type:
  2289. - integer
  2290. - 'null'
  2291. trip:
  2292. readOnly: true
  2293. type: string
  2294. format: iri-reference
  2295. example: 'https://example.com/'
  2296. location:
  2297. readOnly: true
  2298. type: string
  2299. format: iri-reference
  2300. example: 'https://example.com/'
  2301. date:
  2302. type: string
  2303. format: date-time
  2304. createdAt:
  2305. readOnly: true
  2306. type:
  2307. - string
  2308. - 'null'
  2309. format: date-time
  2310. required:
  2311. - date
  2312. TripLocation.jsonld:
  2313. type: object
  2314. description: ''
  2315. deprecated: false
  2316. properties:
  2317. '@context':
  2318. readOnly: true
  2319. oneOf:
  2320. -
  2321. type: string
  2322. -
  2323. type: object
  2324. properties:
  2325. '@vocab':
  2326. type: string
  2327. hydra:
  2328. type: string
  2329. enum: ['http://www.w3.org/ns/hydra/core#']
  2330. required:
  2331. - '@vocab'
  2332. - hydra
  2333. additionalProperties: true
  2334. '@id':
  2335. readOnly: true
  2336. type: string
  2337. '@type':
  2338. readOnly: true
  2339. type: string
  2340. dbId:
  2341. readOnly: true
  2342. type:
  2343. - integer
  2344. - 'null'
  2345. trip:
  2346. readOnly: true
  2347. $ref: '#/components/schemas/Trip.jsonld'
  2348. location:
  2349. readOnly: true
  2350. $ref: '#/components/schemas/Location.jsonld'
  2351. date:
  2352. type: string
  2353. format: date-time
  2354. createdAt:
  2355. readOnly: true
  2356. type:
  2357. - string
  2358. - 'null'
  2359. format: date-time
  2360. required:
  2361. - date
  2362. User:
  2363. type: object
  2364. description: ''
  2365. deprecated: false
  2366. properties:
  2367. dbId:
  2368. readOnly: true
  2369. type:
  2370. - integer
  2371. - 'null'
  2372. email:
  2373. format: email
  2374. externalDocs:
  2375. url: 'https://schema.org/email'
  2376. type: string
  2377. firstName:
  2378. type: string
  2379. lastName:
  2380. type: string
  2381. image:
  2382. type:
  2383. - string
  2384. - 'null'
  2385. format: iri-reference
  2386. example: 'https://example.com/'
  2387. imageUrl:
  2388. readOnly: true
  2389. type:
  2390. - string
  2391. - 'null'
  2392. fullName:
  2393. readOnly: true
  2394. type:
  2395. - string
  2396. - 'null'
  2397. password:
  2398. writeOnly: true
  2399. description: 'The plaintext password when being set or changed.'
  2400. type: string
  2401. active:
  2402. type: boolean
  2403. createdAt:
  2404. readOnly: true
  2405. type:
  2406. - string
  2407. - 'null'
  2408. format: date-time
  2409. required:
  2410. - email
  2411. - firstName
  2412. - lastName
  2413. User.jsonld:
  2414. type: object
  2415. description: ''
  2416. deprecated: false
  2417. properties:
  2418. '@context':
  2419. readOnly: true
  2420. oneOf:
  2421. -
  2422. type: string
  2423. -
  2424. type: object
  2425. properties:
  2426. '@vocab':
  2427. type: string
  2428. hydra:
  2429. type: string
  2430. enum: ['http://www.w3.org/ns/hydra/core#']
  2431. required:
  2432. - '@vocab'
  2433. - hydra
  2434. additionalProperties: true
  2435. '@id':
  2436. readOnly: true
  2437. type: string
  2438. '@type':
  2439. readOnly: true
  2440. type: string
  2441. dbId:
  2442. readOnly: true
  2443. type:
  2444. - integer
  2445. - 'null'
  2446. email:
  2447. format: email
  2448. externalDocs:
  2449. url: 'https://schema.org/email'
  2450. type: string
  2451. firstName:
  2452. type: string
  2453. lastName:
  2454. type: string
  2455. image:
  2456. type:
  2457. - string
  2458. - 'null'
  2459. format: iri-reference
  2460. example: 'https://example.com/'
  2461. imageUrl:
  2462. readOnly: true
  2463. type:
  2464. - string
  2465. - 'null'
  2466. fullName:
  2467. readOnly: true
  2468. type:
  2469. - string
  2470. - 'null'
  2471. password:
  2472. writeOnly: true
  2473. description: 'The plaintext password when being set or changed.'
  2474. type: string
  2475. active:
  2476. type: boolean
  2477. createdAt:
  2478. readOnly: true
  2479. type:
  2480. - string
  2481. - 'null'
  2482. format: date-time
  2483. required:
  2484. - email
  2485. - firstName
  2486. - lastName
  2487. UserTrip:
  2488. type: object
  2489. description: ''
  2490. deprecated: false
  2491. properties:
  2492. dbId:
  2493. readOnly: true
  2494. type:
  2495. - integer
  2496. - 'null'
  2497. trip:
  2498. readOnly: true
  2499. type: string
  2500. format: iri-reference
  2501. example: 'https://example.com/'
  2502. user:
  2503. readOnly: true
  2504. type: string
  2505. format: iri-reference
  2506. example: 'https://example.com/'
  2507. captainName:
  2508. type: string
  2509. startDate:
  2510. type: string
  2511. format: date-time
  2512. endDate:
  2513. type: string
  2514. format: date-time
  2515. createdAt:
  2516. readOnly: true
  2517. type:
  2518. - string
  2519. - 'null'
  2520. format: date-time
  2521. required:
  2522. - captainName
  2523. - startDate
  2524. - endDate
  2525. UserTrip.jsonld:
  2526. type: object
  2527. description: ''
  2528. deprecated: false
  2529. properties:
  2530. '@context':
  2531. readOnly: true
  2532. oneOf:
  2533. -
  2534. type: string
  2535. -
  2536. type: object
  2537. properties:
  2538. '@vocab':
  2539. type: string
  2540. hydra:
  2541. type: string
  2542. enum: ['http://www.w3.org/ns/hydra/core#']
  2543. required:
  2544. - '@vocab'
  2545. - hydra
  2546. additionalProperties: true
  2547. '@id':
  2548. readOnly: true
  2549. type: string
  2550. '@type':
  2551. readOnly: true
  2552. type: string
  2553. dbId:
  2554. readOnly: true
  2555. type:
  2556. - integer
  2557. - 'null'
  2558. trip:
  2559. readOnly: true
  2560. $ref: '#/components/schemas/Trip.jsonld'
  2561. user:
  2562. readOnly: true
  2563. $ref: '#/components/schemas/User.jsonld'
  2564. captainName:
  2565. type: string
  2566. startDate:
  2567. type: string
  2568. format: date-time
  2569. endDate:
  2570. type: string
  2571. format: date-time
  2572. createdAt:
  2573. readOnly: true
  2574. type:
  2575. - string
  2576. - 'null'
  2577. format: date-time
  2578. required:
  2579. - captainName
  2580. - startDate
  2581. - endDate
  2582. UserTripLocation:
  2583. type: object
  2584. description: ''
  2585. deprecated: false
  2586. properties:
  2587. dbId:
  2588. readOnly: true
  2589. type:
  2590. - integer
  2591. - 'null'
  2592. userTrip:
  2593. readOnly: true
  2594. type: string
  2595. format: iri-reference
  2596. example: 'https://example.com/'
  2597. location:
  2598. readOnly: true
  2599. type: string
  2600. format: iri-reference
  2601. example: 'https://example.com/'
  2602. plannedDate:
  2603. type: string
  2604. format: date-time
  2605. createdAt:
  2606. readOnly: true
  2607. type:
  2608. - string
  2609. - 'null'
  2610. format: date-time
  2611. required:
  2612. - plannedDate
  2613. UserTripLocation.jsonld:
  2614. type: object
  2615. description: ''
  2616. deprecated: false
  2617. properties:
  2618. '@context':
  2619. readOnly: true
  2620. oneOf:
  2621. -
  2622. type: string
  2623. -
  2624. type: object
  2625. properties:
  2626. '@vocab':
  2627. type: string
  2628. hydra:
  2629. type: string
  2630. enum: ['http://www.w3.org/ns/hydra/core#']
  2631. required:
  2632. - '@vocab'
  2633. - hydra
  2634. additionalProperties: true
  2635. '@id':
  2636. readOnly: true
  2637. type: string
  2638. '@type':
  2639. readOnly: true
  2640. type: string
  2641. dbId:
  2642. readOnly: true
  2643. type:
  2644. - integer
  2645. - 'null'
  2646. userTrip:
  2647. readOnly: true
  2648. $ref: '#/components/schemas/UserTrip.jsonld'
  2649. location:
  2650. readOnly: true
  2651. $ref: '#/components/schemas/Location.jsonld'
  2652. plannedDate:
  2653. type: string
  2654. format: date-time
  2655. createdAt:
  2656. readOnly: true
  2657. type:
  2658. - string
  2659. - 'null'
  2660. format: date-time
  2661. required:
  2662. - plannedDate
  2663. UserTripWorkLog:
  2664. type: object
  2665. description: ''
  2666. deprecated: false
  2667. properties:
  2668. dbId:
  2669. readOnly: true
  2670. type:
  2671. - integer
  2672. - 'null'
  2673. userTrip:
  2674. readOnly: true
  2675. type: string
  2676. format: iri-reference
  2677. example: 'https://example.com/'
  2678. startLocation:
  2679. readOnly: true
  2680. type: string
  2681. format: iri-reference
  2682. example: 'https://example.com/'
  2683. endLocation:
  2684. readOnly: true
  2685. type: string
  2686. format: iri-reference
  2687. example: 'https://example.com/'
  2688. startDate:
  2689. type: string
  2690. format: date-time
  2691. endDate:
  2692. type: string
  2693. format: date-time
  2694. createdAt:
  2695. readOnly: true
  2696. type:
  2697. - string
  2698. - 'null'
  2699. format: date-time
  2700. required:
  2701. - startDate
  2702. - endDate
  2703. UserTripWorkLog.jsonld:
  2704. type: object
  2705. description: ''
  2706. deprecated: false
  2707. properties:
  2708. '@context':
  2709. readOnly: true
  2710. oneOf:
  2711. -
  2712. type: string
  2713. -
  2714. type: object
  2715. properties:
  2716. '@vocab':
  2717. type: string
  2718. hydra:
  2719. type: string
  2720. enum: ['http://www.w3.org/ns/hydra/core#']
  2721. required:
  2722. - '@vocab'
  2723. - hydra
  2724. additionalProperties: true
  2725. '@id':
  2726. readOnly: true
  2727. type: string
  2728. '@type':
  2729. readOnly: true
  2730. type: string
  2731. dbId:
  2732. readOnly: true
  2733. type:
  2734. - integer
  2735. - 'null'
  2736. userTrip:
  2737. readOnly: true
  2738. $ref: '#/components/schemas/UserTrip.jsonld'
  2739. startLocation:
  2740. readOnly: true
  2741. $ref: '#/components/schemas/Location.jsonld'
  2742. endLocation:
  2743. readOnly: true
  2744. $ref: '#/components/schemas/Location.jsonld'
  2745. startDate:
  2746. type: string
  2747. format: date-time
  2748. endDate:
  2749. type: string
  2750. format: date-time
  2751. createdAt:
  2752. readOnly: true
  2753. type:
  2754. - string
  2755. - 'null'
  2756. format: date-time
  2757. required:
  2758. - startDate
  2759. - endDate
  2760. Vessel:
  2761. type: object
  2762. description: ''
  2763. deprecated: false
  2764. properties:
  2765. dbId:
  2766. readOnly: true
  2767. type:
  2768. - integer
  2769. - 'null'
  2770. name:
  2771. type: string
  2772. code:
  2773. type: string
  2774. company:
  2775. $ref: '#/components/schemas/ShippingCompany'
  2776. createdAt:
  2777. readOnly: true
  2778. type:
  2779. - string
  2780. - 'null'
  2781. format: date-time
  2782. required:
  2783. - name
  2784. - code
  2785. Vessel.jsonld:
  2786. type: object
  2787. description: ''
  2788. deprecated: false
  2789. properties:
  2790. '@context':
  2791. readOnly: true
  2792. oneOf:
  2793. -
  2794. type: string
  2795. -
  2796. type: object
  2797. properties:
  2798. '@vocab':
  2799. type: string
  2800. hydra:
  2801. type: string
  2802. enum: ['http://www.w3.org/ns/hydra/core#']
  2803. required:
  2804. - '@vocab'
  2805. - hydra
  2806. additionalProperties: true
  2807. '@id':
  2808. readOnly: true
  2809. type: string
  2810. '@type':
  2811. readOnly: true
  2812. type: string
  2813. dbId:
  2814. readOnly: true
  2815. type:
  2816. - integer
  2817. - 'null'
  2818. name:
  2819. type: string
  2820. code:
  2821. type: string
  2822. company:
  2823. $ref: '#/components/schemas/ShippingCompany.jsonld'
  2824. createdAt:
  2825. readOnly: true
  2826. type:
  2827. - string
  2828. - 'null'
  2829. format: date-time
  2830. required:
  2831. - name
  2832. - code
  2833. Zone:
  2834. type: object
  2835. description: ''
  2836. deprecated: false
  2837. properties:
  2838. dbId:
  2839. readOnly: true
  2840. type:
  2841. - integer
  2842. - 'null'
  2843. name:
  2844. type: string
  2845. createdAt:
  2846. readOnly: true
  2847. type:
  2848. - string
  2849. - 'null'
  2850. format: date-time
  2851. required:
  2852. - name
  2853. Zone.jsonld:
  2854. type: object
  2855. description: ''
  2856. deprecated: false
  2857. properties:
  2858. '@context':
  2859. readOnly: true
  2860. oneOf:
  2861. -
  2862. type: string
  2863. -
  2864. type: object
  2865. properties:
  2866. '@vocab':
  2867. type: string
  2868. hydra:
  2869. type: string
  2870. enum: ['http://www.w3.org/ns/hydra/core#']
  2871. required:
  2872. - '@vocab'
  2873. - hydra
  2874. additionalProperties: true
  2875. '@id':
  2876. readOnly: true
  2877. type: string
  2878. '@type':
  2879. readOnly: true
  2880. type: string
  2881. dbId:
  2882. readOnly: true
  2883. type:
  2884. - integer
  2885. - 'null'
  2886. name:
  2887. type: string
  2888. createdAt:
  2889. readOnly: true
  2890. type:
  2891. - string
  2892. - 'null'
  2893. format: date-time
  2894. required:
  2895. - name
  2896. Credentials:
  2897. type: object
  2898. properties:
  2899. email:
  2900. type: string
  2901. example: user@example.com
  2902. password:
  2903. type: string
  2904. example: password123
  2905. AuthResponse:
  2906. type: object
  2907. properties:
  2908. token:
  2909. type: string
  2910. readOnly: true
  2911. id:
  2912. type: integer
  2913. readOnly: true
  2914. email:
  2915. type: string
  2916. readOnly: true
  2917. firstName:
  2918. type: string
  2919. readOnly: true
  2920. lastName:
  2921. type: string
  2922. readOnly: true
  2923. roles:
  2924. type: array
  2925. items:
  2926. type: string
  2927. readOnly: true
  2928. user:
  2929. $ref: '#/components/schemas/User'
  2930. readOnly: true
  2931. responses: { }
  2932. parameters: { }
  2933. examples: { }
  2934. requestBodies: { }
  2935. headers: { }
  2936. securitySchemes:
  2937. JWT:
  2938. type: http
  2939. scheme: bearer
  2940. bearerFormat: JWT
  2941. security:
  2942. -
  2943. JWT: []
  2944. tags: []
  2945. webhooks: { }