# TenderItem

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    TenderItem:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              tender_uid:
                type: string
              reference_number:
                type: string
              tender_name:
                type: string
              tender_number:
                type: string
              branch_name:
                type: string
              agency_name:
                type: string
              tender_status_name:
                type: string
              tender_type_name:
                type: string
              conditional_booklet_price:
                type: string
              offers_opening_date:
                type: 'null'
              inside_ksa:
                type: boolean
              submission_date:
                type: string
              has_invitations:
                type: integer
              remaining_days:
                type: integer
              remaining_hours:
                type: integer
              remaining_mins:
                type: number
              etimad_link:
                type: string
              submission_method:
                type: string
              tender_docs_fees_as_is:
                type: integer
              offer_opening_date:
                type: 'null'
              offer_study_date:
                type: string
              tender_accept_date:
                type: string
              exc_start_date:
                type: string
              tender_specifications:
                type: 'null'
              description:
                type: string
              submitted_at:
                type: string
              last_presentation_at:
                type: string
              inquires_opening_date:
                type: string
              inquires_answers_days:
                type: 'null'
              procurement:
                type: boolean
              construction:
                type: boolean
              maintenance:
                type: boolean
              tender_purpose:
                type: string
              contract_duration:
                type: string
              contract_days:
                type: integer
              insured_tender:
                type: integer
              required_warranty:
                type: string
              is_required_warranty:
                type: boolean
              required_warranty_amount:
                type: 'null'
              offers_opening_location:
                type: string
              contractor_category:
                type: string
              is_required_contractor_category:
                type: boolean
              is_local_prefered:
                type: boolean
              is_sme_prefered:
                type: boolean
              initial_warranty_location:
                type: 'null'
              region:
                type: object
                properties:
                  text:
                    type: string
                  id:
                    type: integer
                required:
                  - text
                  - id
                x-apidog-orders:
                  - text
                  - id
              city:
                type: object
                properties:
                  text:
                    type: string
                  id:
                    type: integer
                required:
                  - text
                  - id
                x-apidog-orders:
                  - text
                  - id
              activity:
                type: object
                properties:
                  text:
                    type: string
                  id:
                    type: integer
                required:
                  - text
                  - id
                x-apidog-orders:
                  - text
                  - id
              sub_activity:
                type: object
                properties:
                  text:
                    type: string
                  id:
                    type: integer
                required:
                  - text
                  - id
                x-apidog-orders:
                  - text
                  - id
              agency:
                type: object
                properties:
                  text:
                    type: string
                  id:
                    type: integer
                required:
                  - text
                  - id
                x-apidog-orders:
                  - text
                  - id
              tender_type:
                type: object
                properties:
                  text:
                    type: string
                  id:
                    type: integer
                required:
                  - text
                  - id
                x-apidog-orders:
                  - text
                  - id
              tender_source:
                type: string
              tender_tsd_data:
                type: object
                properties:
                  id:
                    type: integer
                  tender_id:
                    type: integer
                  quantity_tables:
                    type: array
                    items:
                      type: array
                      items:
                        type: array
                        items:
                          type: string
                  contact_info:
                    type: array
                    items:
                      type: array
                      items:
                        type: string
                required:
                  - id
                  - tender_id
                  - quantity_tables
                  - contact_info
                x-apidog-orders:
                  - id
                  - tender_id
                  - quantity_tables
                  - contact_info
              proposals:
                type: array
                items:
                  type: object
                  properties:
                    vendor_name:
                      type: string
                    technical_match:
                      type: boolean
                    price:
                      type: integer
                    formatted_price:
                      type: string
                    awarding_value:
                      type: integer
                    formatted_awarding_value:
                      type: string
                    status:
                      type: boolean
                  x-apidog-orders:
                    - vendor_name
                    - technical_match
                    - price
                    - formatted_price
                    - awarding_value
                    - formatted_awarding_value
                    - status
              tsd_url:
                type: string
              attachments:
                type: object
                properties:
                  tender_id:
                    type: integer
                  files_count:
                    type: integer
                  urls:
                    type: array
                    items:
                      type: object
                      properties:
                        original_name:
                          type: string
                        url:
                          type: string
                      required:
                        - original_name
                        - url
                      x-apidog-orders:
                        - original_name
                        - url
                  expires_in_minutes:
                    type: integer
                required:
                  - tender_id
                  - files_count
                  - urls
                  - expires_in_minutes
                x-apidog-orders:
                  - tender_id
                  - files_count
                  - urls
                  - expires_in_minutes
              criteria:
                type: object
                properties:
                  id:
                    type: integer
                  tender_id:
                    type: integer
                  simplified_data:
                    type: array
                    items:
                      type: object
                      properties:
                        weight:
                          type: integer
                        criteria:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              weight:
                                type: 'null'
                              passScore:
                                type: 'null'
                              childCriteria:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    name:
                                      type: string
                                    weight:
                                      type: integer
                                    passScore:
                                      type: integer
                                      nullable: true
                                    evaluationScore:
                                      type: 'null'
                                  required:
                                    - name
                                    - weight
                                    - passScore
                                    - evaluationScore
                                  x-apidog-orders:
                                    - name
                                    - weight
                                    - passScore
                                    - evaluationScore
                              evaluationScore:
                                type: 'null'
                            required:
                              - name
                              - weight
                              - passScore
                              - childCriteria
                              - evaluationScore
                            x-apidog-orders:
                              - name
                              - weight
                              - passScore
                              - childCriteria
                              - evaluationScore
                        passScore:
                          type: integer
                          nullable: true
                        criterionType:
                          type: integer
                        criterionTypeName:
                          type: string
                      required:
                        - weight
                        - criteria
                        - passScore
                        - criterionType
                        - criterionTypeName
                      x-apidog-orders:
                        - weight
                        - criteria
                        - passScore
                        - criterionType
                        - criterionTypeName
                  created_at:
                    type: string
                  updated_at:
                    type: string
                required:
                  - id
                  - tender_id
                  - simplified_data
                  - created_at
                  - updated_at
                x-apidog-orders:
                  - id
                  - tender_id
                  - simplified_data
                  - created_at
                  - updated_at
            x-apidog-orders:
              - tender_uid
              - reference_number
              - tender_name
              - tender_number
              - branch_name
              - agency_name
              - tender_status_name
              - tender_type_name
              - conditional_booklet_price
              - offers_opening_date
              - inside_ksa
              - submission_date
              - has_invitations
              - remaining_days
              - remaining_hours
              - remaining_mins
              - etimad_link
              - submission_method
              - tender_docs_fees_as_is
              - offer_opening_date
              - offer_study_date
              - tender_accept_date
              - exc_start_date
              - tender_specifications
              - description
              - submitted_at
              - last_presentation_at
              - inquires_opening_date
              - inquires_answers_days
              - procurement
              - construction
              - maintenance
              - tender_purpose
              - contract_duration
              - contract_days
              - insured_tender
              - required_warranty
              - is_required_warranty
              - required_warranty_amount
              - offers_opening_location
              - contractor_category
              - is_required_contractor_category
              - is_local_prefered
              - is_sme_prefered
              - initial_warranty_location
              - region
              - city
              - activity
              - sub_activity
              - agency
              - tender_type
              - tender_source
              - tender_tsd_data
              - proposals
              - tsd_url
              - attachments
              - criteria
        tender_uid:
          type: string
          description: The unique identifier for the tender.
          examples:
            - '878910'
        reference_number:
          type: string
          description: The reference number of the tender.
          examples:
            - '241239003005'
        tender_name:
          type: string
          description: The name of the tender.
          examples:
            - تشغيل وتنفيذ إدارة المخاطر المؤسسية
        branch_name:
          type: string
          description: The branch handling the tender.
          examples:
            - إدارة المشتريات والعقود
        agency_name:
          type: string
          description: The agency issuing the tender.
          examples:
            - وزارة العدل - الديوان العام
        tender_status_name:
          type: string
          description: The status of the tender.
          examples:
            - معتمدة
        tender_type_name:
          type: string
          description: The type of the tender.
          examples:
            - منافسة عامة
        conditional_booklet_price:
          type: string
          description: The price for the booklet if conditional.
          examples:
            - '0.00'
        offers_opening_date:
          type: string
          format: date-time
          description: The date and time for opening offers.
          examples:
            - '2025-01-27T10:00:00Z'
        inside_ksa:
          type: boolean
          description: Indicates if the tender is inside Saudi Arabia.
          examples:
            - true
        submission_date:
          type: string
          format: date-time
          description: The submission deadline for the tender.
          examples:
            - '2024-12-27T10:21:49Z'
        has_invitations:
          type: integer
          description: Indicates whether the tender has invitations.
          examples:
            - 0
        remaining_days:
          type: integer
          description: Remaining days to submit the tender.
          examples:
            - 29
        remaining_hours:
          type: integer
          description: Remaining hours to submit the tender.
          examples:
            - 12
        remaining_mins:
          type: number
          description: Remaining minutes to submit the tender.
          examples:
            - 19.08527
        etimad_link:
          type: string
          description: The Etimad link for the tender details.
          examples:
            - >-
              https://tenders.etimad.sa/Tender/DetailsForVisitor?STenderId=iDRHuS8M%20I9B5G6cjMQ*@@**5g==
        submission_method:
          type: string
          description: The method of submission for the tender.
          examples:
            - ملفين منفصلين ( فني ومالي)
        tender_docs_fees_as_is:
          type: integer
          description: The fees for the tender documents.
          examples:
            - 1000
        offer_opening_date:
          type: string
          format: date-time
          description: The date and time for opening offers.
          examples:
            - '2025-01-27T00:00:00Z'
        offer_study_date:
          type: string
          format: date-time
          description: The date for studying the offers.
          examples:
            - null
        tender_accept_date:
          type: string
          format: date-time
          description: The date for accepting the tender.
          examples:
            - '2025-02-16T00:00:00Z'
        exc_start_date:
          type: string
          format: date-time
          description: The date for starting execution of the tender.
          examples:
            - '2025-03-09T00:00:00Z'
        tender_specifications:
          type: string
          description: Specifications of the tender.
          examples:
            - null
        description:
          type: string
          description: Detailed description of the tender.
          examples:
            - منافسة تشغيل وتنفيذ...
        submitted_at:
          type: string
          format: date-time
          description: The submission time of the tender.
          examples:
            - '2024-12-27T10:21:48Z'
        last_presentation_at:
          type: string
          format: date-time
          description: The last presentation time for the tender.
          examples:
            - '2025-01-27T09:59:00.000000Z'
        inquires_opening_date:
          type: string
          format: date-time
          description: The date for opening inquiries.
          examples:
            - '2024-12-27T00:00:00Z'
        inquires_answers_days:
          type: integer
          description: Number of days to answer inquiries.
          examples:
            - 7
        procurement:
          type: boolean
          description: Indicates if the tender is for procurement.
          examples:
            - false
        construction:
          type: boolean
          description: Indicates if the tender is for construction.
          examples:
            - false
        maintenance:
          type: boolean
          description: Indicates if the tender is for maintenance.
          examples:
            - false
        tender_purpose:
          type: string
          description: The purpose of the tender.
          examples:
            - لاحقا للقرار الصادر...
        contract_duration:
          type: string
          description: The contract duration of the tender.
          examples:
            - 36 شهر
        contract_days:
          type: integer
          description: The contract duration in days.
          examples:
            - 1080
        insured_tender:
          type: integer
          description: Indicates if the tender is insured.
          examples:
            - 0
        required_warranty:
          type: string
          description: The type of warranty required.
          examples:
            - ضمان إبتدائى
        is_required_warranty:
          type: boolean
          description: Indicates if a warranty is required.
          examples:
            - true
        required_warranty_amount:
          type: string
          description: The amount of the warranty required.
          examples:
            - '5.00'
        offers_opening_location:
          type: string
          description: The location for opening offers.
          examples:
            - الرياض
        contractor_category:
          type: string
          description: The category of contractors required.
          examples:
            - غير مطلوب
        is_required_contractor_category:
          type: boolean
          description: Indicates if a contractor category is required.
          examples:
            - false
        is_local_prefered:
          type: boolean
          description: Indicates if local contractors are preferred.
          examples:
            - false
        is_sme_prefered:
          type: boolean
          description: Indicates if SMEs are preferred.
          examples:
            - true
        initial_warranty_location:
          type: string
          description: The location for submitting the initial warranty.
          examples:
            - شارع الجامعة ديوان الوزارة الدور الخامس
        region:
          type: object
          description: The region related to the tender.
          properties:
            text:
              type: string
              description: The name of the region.
              examples:
                - منطقة الرياض
            id:
              type: integer
              description: The ID of the region.
              examples:
                - 1
          x-apidog-orders:
            - text
            - id
        city:
          type: object
          description: The city related to the tender.
          properties:
            text:
              type: string
              description: The name of the city.
              examples:
                - الرياض
            id:
              type: integer
              description: The ID of the city.
              examples:
                - 3
          x-apidog-orders:
            - text
            - id
        activity:
          type: object
          description: The activity related to the tender.
          properties:
            text:
              type: string
              description: The name of the activity.
              examples:
                - المهن الاستشارية
            id:
              type: integer
              description: The ID of the activity.
              examples:
                - 16
          x-apidog-orders:
            - text
            - id
        agency:
          type: object
          description: The agency related to the tender.
          properties:
            text:
              type: string
              description: The name of the agency.
              examples:
                - وزارة العدل - الديوان العام
            id:
              type: integer
              description: The ID of the agency.
              examples:
                - 816
          x-apidog-orders:
            - text
            - id
        tender_source:
          type: string
          description: The source of the tender.
          examples:
            - https://tendersalerts.com
      required:
        - data
      x-apidog-orders:
        - data
        - tender_uid
        - reference_number
        - tender_name
        - branch_name
        - agency_name
        - tender_status_name
        - tender_type_name
        - conditional_booklet_price
        - offers_opening_date
        - inside_ksa
        - submission_date
        - has_invitations
        - remaining_days
        - remaining_hours
        - remaining_mins
        - etimad_link
        - submission_method
        - tender_docs_fees_as_is
        - offer_opening_date
        - offer_study_date
        - tender_accept_date
        - exc_start_date
        - tender_specifications
        - description
        - submitted_at
        - last_presentation_at
        - inquires_opening_date
        - inquires_answers_days
        - procurement
        - construction
        - maintenance
        - tender_purpose
        - contract_duration
        - contract_days
        - insured_tender
        - required_warranty
        - is_required_warranty
        - required_warranty_amount
        - offers_opening_location
        - contractor_category
        - is_required_contractor_category
        - is_local_prefered
        - is_sme_prefered
        - initial_warranty_location
        - region
        - city
        - activity
        - agency
        - tender_source
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.tendersalerts.com/api/integration
    description: Prod Env
security: []

```
