All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m3s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 5m2s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 2m53s
466 lines
9.2 KiB
JSON
466 lines
9.2 KiB
JSON
{
|
|
"AttachmentUnavailableError": {
|
|
"type": "object",
|
|
"properties": {
|
|
"success": {
|
|
"type": "boolean",
|
|
"enum": [
|
|
false
|
|
]
|
|
},
|
|
"errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"code": {
|
|
"type": "string",
|
|
"enum": [
|
|
"attachment_unavailable"
|
|
]
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"code",
|
|
"message"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"success",
|
|
"errors"
|
|
]
|
|
},
|
|
"IntegratedStructureSummary": {
|
|
"type": "object",
|
|
"properties": {
|
|
"events_count": {
|
|
"type": "integer"
|
|
},
|
|
"document_links_count": {
|
|
"type": "integer"
|
|
},
|
|
"unique_documents_count": {
|
|
"type": "integer"
|
|
},
|
|
"first_event_date": {
|
|
"type": "string"
|
|
},
|
|
"latest_event_date": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"events_count",
|
|
"document_links_count",
|
|
"unique_documents_count",
|
|
"first_event_date",
|
|
"latest_event_date"
|
|
]
|
|
},
|
|
"IntegratedStructureAttachment": {
|
|
"type": "object",
|
|
"properties": {
|
|
"available": {
|
|
"type": "boolean"
|
|
},
|
|
"download_allowed": {
|
|
"type": "boolean"
|
|
},
|
|
"filename": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"mime_type": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sha256": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"size": {
|
|
"type": "integer",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"required": [
|
|
"available",
|
|
"download_allowed",
|
|
"filename",
|
|
"mime_type",
|
|
"sha256",
|
|
"size"
|
|
]
|
|
},
|
|
"IntegratedStructureDocument": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"number": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string"
|
|
},
|
|
"dsp": {
|
|
"type": "boolean"
|
|
},
|
|
"have_text": {
|
|
"type": "boolean"
|
|
},
|
|
"consultant_web_url": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"attachment": {
|
|
"$ref": "#/components/schemas/IntegratedStructureAttachment"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"type",
|
|
"number",
|
|
"date",
|
|
"dsp",
|
|
"have_text",
|
|
"attachment"
|
|
]
|
|
},
|
|
"IntegratedStructureEvent": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"type": "string"
|
|
},
|
|
"note": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"documents_count": {
|
|
"type": "integer"
|
|
},
|
|
"documents": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/IntegratedStructureDocument"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"date",
|
|
"note",
|
|
"documents_count",
|
|
"documents"
|
|
]
|
|
},
|
|
"IntegratedStructureListPayload": {
|
|
"type": "object",
|
|
"properties": {
|
|
"structure": {
|
|
"$ref": "#/components/schemas/IntegratedStructureSummary"
|
|
}
|
|
},
|
|
"required": [
|
|
"structure"
|
|
]
|
|
},
|
|
"IntegratedStructureDetailPayload": {
|
|
"type": "object",
|
|
"properties": {
|
|
"structure": {
|
|
"$ref": "#/components/schemas/IntegratedStructureSummary"
|
|
},
|
|
"events": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/IntegratedStructureEvent"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"structure",
|
|
"events"
|
|
]
|
|
},
|
|
"FedresursRenderedNode": {
|
|
"type": "object",
|
|
"properties": {
|
|
"tag": {
|
|
"type": "string"
|
|
},
|
|
"attributes": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"children": {
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FedresursRenderedNode"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"tag",
|
|
"attributes",
|
|
"children"
|
|
]
|
|
},
|
|
"FedresursRenderedPage": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"tree": {
|
|
"$ref": "#/components/schemas/FedresursRenderedNode"
|
|
},
|
|
"attributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"label",
|
|
"value"
|
|
]
|
|
}
|
|
},
|
|
"links": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
},
|
|
"required": [
|
|
"text",
|
|
"url"
|
|
]
|
|
}
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
},
|
|
"page_type": {
|
|
"type": "string"
|
|
},
|
|
"reported_records_count": {
|
|
"type": "integer"
|
|
},
|
|
"records": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/FedresursRenderedPage"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"text",
|
|
"tree",
|
|
"attributes",
|
|
"links"
|
|
]
|
|
},
|
|
"FedresursStatus": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"code": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"is_active": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"code",
|
|
"is_active"
|
|
]
|
|
},
|
|
"FedresursCompanyProfileListPayload": {
|
|
"type": "object",
|
|
"properties": {
|
|
"fedresurs_guid": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
},
|
|
"short_name": {
|
|
"type": "string"
|
|
},
|
|
"kpp": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"status": {
|
|
"$ref": "#/components/schemas/FedresursStatus"
|
|
},
|
|
"executive_body_name": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"registration_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"nullable": true
|
|
},
|
|
"publication_count": {
|
|
"type": "integer"
|
|
},
|
|
"reorganization_count": {
|
|
"type": "integer"
|
|
},
|
|
"has_bankruptcy_information": {
|
|
"type": "boolean"
|
|
},
|
|
"captured_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"source_url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
},
|
|
"sections": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string",
|
|
"enum": [
|
|
"loaded",
|
|
"empty",
|
|
"not_available",
|
|
"blocked",
|
|
"schema_unverified"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"fedresurs_guid",
|
|
"short_name",
|
|
"kpp",
|
|
"status",
|
|
"registration_date",
|
|
"publication_count",
|
|
"reorganization_count",
|
|
"has_bankruptcy_information",
|
|
"captured_at",
|
|
"source_url",
|
|
"sections"
|
|
]
|
|
},
|
|
"FedresursCompanyProfileDetailPayload": {
|
|
"type": "object",
|
|
"properties": {
|
|
"profile": {
|
|
"type": "object",
|
|
"properties": {
|
|
"full_name": {
|
|
"type": "string"
|
|
},
|
|
"inn": {
|
|
"type": "string"
|
|
},
|
|
"ogrn": {
|
|
"type": "string"
|
|
},
|
|
"kpp": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"registration_date": {
|
|
"type": "string",
|
|
"format": "date",
|
|
"nullable": true
|
|
},
|
|
"status": {
|
|
"$ref": "#/components/schemas/FedresursStatus"
|
|
}
|
|
},
|
|
"required": [
|
|
"full_name",
|
|
"inn",
|
|
"ogrn",
|
|
"status"
|
|
],
|
|
"additionalProperties": true
|
|
},
|
|
"rendered_sections": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/FedresursRenderedPage"
|
|
}
|
|
},
|
|
"rendered_page": {
|
|
"$ref": "#/components/schemas/FedresursRenderedPage"
|
|
},
|
|
"related_pages": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/FedresursRenderedPage"
|
|
}
|
|
},
|
|
"message_details": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/FedresursRenderedPage"
|
|
}
|
|
},
|
|
"lineage": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"required": [
|
|
"profile",
|
|
"rendered_page",
|
|
"rendered_sections",
|
|
"related_pages",
|
|
"message_details",
|
|
"lineage"
|
|
]
|
|
}
|
|
}
|