swag-payments/spec/definitions/Contract.yaml
Evgeny Levenets f28bab216c
CAPI-265: support reporting preferences modification (#184) (#186)
* CAPI-265: support reporting preferences modification (#184)

* support reporting preferences modification
* remove tech fields

* rework ContractReportingPreferencesChange

to match more precisely with ReportingPreferences

* add forgotten field to LegalAgreement (#192)
2018-05-16 17:11:42 +03:00

44 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

description: Данные договора с участником
type: object
required:
- id
- createdAt
- status
- contractor
- paymentInstitutionID
properties:
id:
description: Идентификатор договора
type: string
createdAt:
description: Дата и время создания договора
type: string
format: date-time
status:
description: Статус договора
type: string
enum:
- active
- terminated
validSince:
description: Дата и время вступления договора в силу
type: string
format: date-time
validUntil:
description: Дата и время прекращения силы договора
type: string
format: date-time
terminatedAt:
description: Дата и время расторжения договора
type: string
format: date-time
contractor:
$ref: '#/definitions/Contractor'
legalAgreement:
$ref: '#/definitions/LegalAgreement'
paymentInstitutionID:
type: integer
format: int32
reportingPreferences:
$ref: '#/definitions/ReportingPreferences'