components:
  schemas:
    AlertCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        external_link:
          nullable: true
          title: External Link
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        originator:
          nullable: true
          title: Originator
          type: string
      title: AlertCreate
      type: object
    AlertRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        external_link:
          nullable: true
          title: External Link
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        originator:
          nullable: true
          title: Originator
          type: string
      required:
        - id
      title: AlertRead
      type: object
    AlertUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        external_link:
          nullable: true
          title: External Link
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        originator:
          nullable: true
          title: Originator
          type: string
      title: AlertUpdate
      type: object
    CaseCreate:
      properties:
        assignee:
          $ref: '#/components/schemas/ParticipantUpdate'
        case_priority:
          $ref: '#/components/schemas/CasePriorityRead'
        case_severity:
          $ref: '#/components/schemas/CaseSeverityRead'
        case_type:
          $ref: '#/components/schemas/CaseTypeRead'
        description:
          title: Description
          type: string
        project:
          $ref: '#/components/schemas/dispatch__case__models__ProjectRead'
        reporter:
          $ref: '#/components/schemas/ParticipantUpdate'
        resolution:
          title: Resolution
          type: string
        resolution_reason:
          $ref: '#/components/schemas/CaseResolutionReason'
        status:
          $ref: '#/components/schemas/CaseStatus'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        title:
          title: Title
          type: string
        visibility:
          $ref: '#/components/schemas/Visibility'
      required:
        - title
      title: CaseCreate
      type: object
    CasePriorityBase:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_assignee:
          title: Page Assignee
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: CasePriorityBase
      type: object
    CasePriorityCreate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_assignee:
          title: Page Assignee
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: CasePriorityCreate
      type: object
    CasePriorityPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/CasePriorityRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: CasePriorityPagination
      type: object
    CasePriorityRead:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_assignee:
          title: Page Assignee
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
        - id
      title: CasePriorityRead
      type: object
    CasePriorityUpdate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_assignee:
          title: Page Assignee
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: CasePriorityUpdate
      type: object
    CaseReadMinimal:
      properties:
        assignee:
          $ref: '#/components/schemas/ParticipantReadMinimal'
        case_priority:
          $ref: '#/components/schemas/CasePriorityRead'
        case_severity:
          $ref: '#/components/schemas/CaseSeverityRead'
        case_type:
          $ref: '#/components/schemas/CaseTypeRead'
        closed_at:
          format: date-time
          title: Closed At
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          title: Description
          type: string
        duplicates:
          default: []
          items:
            $ref: '#/components/schemas/CaseReadMinimal'
          title: Duplicates
          type: array
        escalated_at:
          format: date-time
          title: Escalated At
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incidents:
          default: []
          items:
            $ref: '#/components/schemas/IncidentReadMinimal'
          title: Incidents
          type: array
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__case__models__ProjectRead'
        related:
          default: []
          items:
            $ref: '#/components/schemas/CaseReadMinimal'
          title: Related
          type: array
        reported_at:
          format: date-time
          title: Reported At
          type: string
        resolution:
          title: Resolution
          type: string
        resolution_reason:
          $ref: '#/components/schemas/CaseResolutionReason'
        status:
          $ref: '#/components/schemas/CaseStatus'
        title:
          title: Title
          type: string
        triage_at:
          format: date-time
          title: Triage At
          type: string
        visibility:
          $ref: '#/components/schemas/Visibility'
      required:
        - title
        - id
        - case_priority
        - case_severity
        - case_type
        - project
      title: CaseReadMinimal
      type: object
    CaseResolutionReason:
      description: An enumeration.
      enum:
        - False Positive
        - User Acknowledged
        - Mitigated
        - Escalated
      title: CaseResolutionReason
      type: string
    CaseSeverityBase:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: CaseSeverityBase
      type: object
    CaseSeverityCreate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: CaseSeverityCreate
      type: object
    CaseSeverityPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/CaseSeverityRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: CaseSeverityPagination
      type: object
    CaseSeverityRead:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
        - id
      title: CaseSeverityRead
      type: object
    CaseSeverityUpdate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: CaseSeverityUpdate
      type: object
    CaseStatus:
      description: An enumeration.
      enum:
        - New
        - Triage
        - Escalated
        - Stable
        - Closed
      title: CaseStatus
      type: string
    CaseTypeBase:
      properties:
        case_template_document:
          $ref: '#/components/schemas/dispatch__case__type__models__Document'
        conversation_target:
          title: Conversation Target
          type: string
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        incident_type:
          $ref: '#/components/schemas/IncidentType'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        oncall_service:
          $ref: '#/components/schemas/dispatch__case__type__models__Service'
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
      title: CaseTypeBase
      type: object
    CaseTypeCreate:
      properties:
        case_template_document:
          $ref: '#/components/schemas/dispatch__case__type__models__Document'
        conversation_target:
          title: Conversation Target
          type: string
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        incident_type:
          $ref: '#/components/schemas/IncidentType'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        oncall_service:
          $ref: '#/components/schemas/dispatch__case__type__models__Service'
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
      title: CaseTypeCreate
      type: object
    CaseTypePagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/CaseTypeRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: CaseTypePagination
      type: object
    CaseTypeRead:
      properties:
        case_template_document:
          $ref: '#/components/schemas/dispatch__case__type__models__Document'
        conversation_target:
          title: Conversation Target
          type: string
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_type:
          $ref: '#/components/schemas/IncidentType'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        oncall_service:
          $ref: '#/components/schemas/dispatch__case__type__models__Service'
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
        - id
      title: CaseTypeRead
      type: object
    CaseTypeUpdate:
      properties:
        case_template_document:
          $ref: '#/components/schemas/dispatch__case__type__models__Document'
        conversation_target:
          title: Conversation Target
          type: string
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_type:
          $ref: '#/components/schemas/IncidentType'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        oncall_service:
          $ref: '#/components/schemas/dispatch__case__type__models__Service'
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
      title: CaseTypeUpdate
      type: object
    CaseUpdate:
      properties:
        assignee:
          $ref: '#/components/schemas/ParticipantUpdate'
        case_priority:
          $ref: '#/components/schemas/CasePriorityBase'
        case_severity:
          $ref: '#/components/schemas/CaseSeverityBase'
        case_type:
          $ref: '#/components/schemas/CaseTypeBase'
        description:
          title: Description
          type: string
        duplicates:
          default: []
          items:
            $ref: '#/components/schemas/dispatch__case__models__CaseRead'
          title: Duplicates
          type: array
        escalated_at:
          format: date-time
          title: Escalated At
          type: string
        incidents:
          default: []
          items:
            $ref: '#/components/schemas/IncidentReadMinimal'
          title: Incidents
          type: array
        related:
          default: []
          items:
            $ref: '#/components/schemas/dispatch__case__models__CaseRead'
          title: Related
          type: array
        reported_at:
          format: date-time
          title: Reported At
          type: string
        resolution:
          title: Resolution
          type: string
        resolution_reason:
          $ref: '#/components/schemas/CaseResolutionReason'
        status:
          $ref: '#/components/schemas/CaseStatus'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        title:
          title: Title
          type: string
        triage_at:
          format: date-time
          title: Triage At
          type: string
        visibility:
          $ref: '#/components/schemas/Visibility'
      required:
        - title
      title: CaseUpdate
      type: object
    ConferenceRead:
      properties:
        conference_challenge:
          nullable: true
          title: Conference Challenge
          type: string
        conference_id:
          nullable: true
          title: Conference Id
          type: string
        description:
          nullable: true
          title: Description
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      title: ConferenceRead
      type: object
    ConversationRead:
      properties:
        channel_id:
          nullable: true
          title: Channel Id
          type: string
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        thread_id:
          nullable: true
          title: Thread Id
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - id
      title: ConversationRead
      type: object
    DefinitionCreate:
      properties:
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          nullable: true
          title: Source
          type: string
        terms:
          default: []
          items:
            $ref: '#/components/schemas/DefinitionTerm'
          title: Terms
          type: array
        text:
          title: Text
          type: string
      required:
        - text
        - project
      title: DefinitionCreate
      type: object
    DefinitionPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/DefinitionRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: DefinitionPagination
      type: object
    DefinitionRead:
      properties:
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        source:
          nullable: true
          title: Source
          type: string
        terms:
          items:
            $ref: '#/components/schemas/DefinitionTerm'
          title: Terms
          type: array
        text:
          title: Text
          type: string
      required:
        - text
        - id
      title: DefinitionRead
      type: object
    DefinitionTerm:
      properties:
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        text:
          title: Text
          type: string
      title: DefinitionTerm
      type: object
    DefinitionUpdate:
      properties:
        source:
          nullable: true
          title: Source
          type: string
        terms:
          default: []
          items:
            $ref: '#/components/schemas/DefinitionTerm'
          title: Terms
          type: array
        text:
          title: Text
          type: string
      required:
        - text
      title: DefinitionUpdate
      type: object
    DocumentCreate:
      properties:
        created_at:
          format: date-time
          nullable: true
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        updated_at:
          format: date-time
          nullable: true
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - name
        - project
      title: DocumentCreate
      type: object
    DocumentPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/DocumentRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: DocumentPagination
      type: object
    DocumentRead:
      properties:
        created_at:
          format: date-time
          nullable: true
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        updated_at:
          format: date-time
          nullable: true
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - name
        - id
      title: DocumentRead
      type: object
    DocumentUpdate:
      properties:
        created_at:
          format: date-time
          nullable: true
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        updated_at:
          format: date-time
          nullable: true
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - name
      title: DocumentUpdate
      type: object
    EntityCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        entity_type:
          $ref: '#/components/schemas/EntityTypeCreate'
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: true
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          nullable: true
          title: Source
          type: string
        value:
          nullable: true
          title: Value
          type: string
      required:
        - entity_type
        - project
      title: EntityCreate
      type: object
    EntityPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/EntityRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: EntityPagination
      type: object
    EntityRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        entity_type:
          $ref: '#/components/schemas/EntityTypeRead'
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: true
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          nullable: true
          title: Source
          type: string
        value:
          nullable: true
          title: Value
          type: string
      required:
        - id
        - project
      title: EntityRead
      type: object
    EntityTypeCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        global_find:
          title: Global Find
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        jpath:
          nullable: true
          title: Jpath
          type: string
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        regular_expression:
          nullable: true
          title: Regular Expression
          type: string
      required:
        - project
      title: EntityTypeCreate
      type: object
    EntityTypePagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/EntityTypeRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: EntityTypePagination
      type: object
    EntityTypeRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        global_find:
          title: Global Find
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        jpath:
          nullable: true
          title: Jpath
          type: string
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        regular_expression:
          nullable: true
          title: Regular Expression
          type: string
      required:
        - id
        - project
      title: EntityTypeRead
      type: object
    EntityTypeUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        global_find:
          title: Global Find
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        jpath:
          nullable: true
          title: Jpath
          type: string
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        regular_expression:
          nullable: true
          title: Regular Expression
          type: string
      title: EntityTypeUpdate
      type: object
    EntityUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        entity_type:
          $ref: '#/components/schemas/EntityTypeUpdate'
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: true
          title: Name
          type: string
        source:
          nullable: true
          title: Source
          type: string
        value:
          nullable: true
          title: Value
          type: string
      title: EntityUpdate
      type: object
    ErrorMessage:
      properties:
        msg:
          title: Msg
          type: string
      required:
        - msg
      title: ErrorMessage
      type: object
    ErrorResponse:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ErrorMessage'
          title: Detail
          type: array
      title: ErrorResponse
      type: object
    EventRead:
      properties:
        description:
          title: Description
          type: string
        details:
          title: Details
          type: object
        ended_at:
          format: date-time
          title: Ended At
          type: string
        source:
          title: Source
          type: string
        started_at:
          format: date-time
          title: Started At
          type: string
        uuid:
          format: uuid
          title: Uuid
          type: string
      required:
        - uuid
        - started_at
        - ended_at
        - source
        - description
      title: EventRead
      type: object
    ExecutiveReportCreate:
      properties:
        current_status:
          title: Current Status
          type: string
        next_steps:
          title: Next Steps
          type: string
        overview:
          title: Overview
          type: string
      required:
        - current_status
        - overview
        - next_steps
      title: ExecutiveReportCreate
      type: object
    FeedbackCreate:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        feedback:
          nullable: true
          title: Feedback
          type: string
        incident:
          $ref: '#/components/schemas/IncidentReadMinimal'
        participant:
          $ref: '#/components/schemas/ParticipantRead'
        rating:
          allOf:
            - $ref: '#/components/schemas/FeedbackRating'
          default: Very satisfied
      title: FeedbackCreate
      type: object
    FeedbackPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/FeedbackRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: FeedbackPagination
      type: object
    FeedbackRating:
      description: An enumeration.
      enum:
        - Very satisfied
        - Somewhat satisfied
        - Neither satisfied nor dissatisfied
        - Somewhat dissatisfied
        - Very dissatisfied
      title: FeedbackRating
      type: string
    FeedbackRead:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        feedback:
          nullable: true
          title: Feedback
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident:
          $ref: '#/components/schemas/IncidentReadMinimal'
        participant:
          $ref: '#/components/schemas/ParticipantRead'
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        rating:
          allOf:
            - $ref: '#/components/schemas/FeedbackRating'
          default: Very satisfied
      required:
        - id
      title: FeedbackRead
      type: object
    FeedbackUpdate:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        feedback:
          nullable: true
          title: Feedback
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident:
          $ref: '#/components/schemas/IncidentReadMinimal'
        participant:
          $ref: '#/components/schemas/ParticipantRead'
        rating:
          allOf:
            - $ref: '#/components/schemas/FeedbackRating'
          default: Very satisfied
      title: FeedbackUpdate
      type: object
    GroupRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        email:
          format: email
          title: Email
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - name
        - email
        - id
      title: GroupRead
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    IncidentCostCreate:
      properties:
        amount:
          default: 0
          title: Amount
          type: number
        incident_cost_type:
          $ref: '#/components/schemas/IncidentCostTypeRead'
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - incident_cost_type
        - project
      title: IncidentCostCreate
      type: object
    IncidentCostPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/IncidentCostRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: IncidentCostPagination
      type: object
    IncidentCostRead:
      properties:
        amount:
          default: 0
          title: Amount
          type: number
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_cost_type:
          $ref: '#/components/schemas/IncidentCostTypeRead'
      required:
        - id
        - incident_cost_type
      title: IncidentCostRead
      type: object
    IncidentCostTypeCreate:
      properties:
        category:
          nullable: true
          title: Category
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        details:
          default: {}
          title: Details
          type: object
        editable:
          title: Editable
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - name
        - project
      title: IncidentCostTypeCreate
      type: object
    IncidentCostTypePagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/IncidentCostTypeRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: IncidentCostTypePagination
      type: object
    IncidentCostTypeRead:
      properties:
        category:
          nullable: true
          title: Category
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        details:
          default: {}
          title: Details
          type: object
        editable:
          title: Editable
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - name
        - id
      title: IncidentCostTypeRead
      type: object
    IncidentCostTypeUpdate:
      properties:
        category:
          nullable: true
          title: Category
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        details:
          default: {}
          title: Details
          type: object
        editable:
          title: Editable
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - name
      title: IncidentCostTypeUpdate
      type: object
    IncidentCostUpdate:
      properties:
        amount:
          default: 0
          title: Amount
          type: number
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_cost_type:
          $ref: '#/components/schemas/IncidentCostTypeRead'
      required:
        - incident_cost_type
      title: IncidentCostUpdate
      type: object
    IncidentCreate:
      properties:
        commander:
          $ref: '#/components/schemas/ParticipantUpdate'
        description:
          title: Description
          type: string
        incident_priority:
          $ref: '#/components/schemas/IncidentPriorityCreate'
        incident_severity:
          $ref: '#/components/schemas/IncidentSeverityCreate'
        incident_type:
          $ref: '#/components/schemas/IncidentTypeCreate'
        project:
          $ref: '#/components/schemas/dispatch__incident__models__ProjectRead'
        reporter:
          $ref: '#/components/schemas/ParticipantUpdate'
        resolution:
          title: Resolution
          type: string
        status:
          $ref: '#/components/schemas/IncidentStatus'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        title:
          title: Title
          type: string
        visibility:
          $ref: '#/components/schemas/Visibility'
      required:
        - title
        - description
      title: IncidentCreate
      type: object
    IncidentPriorityBase:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        executive_report_reminder:
          title: Executive Report Reminder
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_commander:
          title: Page Commander
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        tactical_report_reminder:
          title: Tactical Report Reminder
          type: integer
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: IncidentPriorityBase
      type: object
    IncidentPriorityCreate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        executive_report_reminder:
          title: Executive Report Reminder
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_commander:
          title: Page Commander
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        tactical_report_reminder:
          title: Tactical Report Reminder
          type: integer
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: IncidentPriorityCreate
      type: object
    IncidentPriorityPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/IncidentPriorityRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: IncidentPriorityPagination
      type: object
    IncidentPriorityRead:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        executive_report_reminder:
          title: Executive Report Reminder
          type: integer
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_commander:
          title: Page Commander
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        tactical_report_reminder:
          title: Tactical Report Reminder
          type: integer
        view_order:
          title: View Order
          type: integer
      required:
        - name
        - id
      title: IncidentPriorityRead
      type: object
    IncidentPriorityReadMinimal:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        executive_report_reminder:
          title: Executive Report Reminder
          type: integer
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_commander:
          title: Page Commander
          type: boolean
        tactical_report_reminder:
          title: Tactical Report Reminder
          type: integer
        view_order:
          title: View Order
          type: integer
      required:
        - id
        - name
      title: IncidentPriorityReadMinimal
      type: object
    IncidentPriorityUpdate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        executive_report_reminder:
          title: Executive Report Reminder
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        page_commander:
          title: Page Commander
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        tactical_report_reminder:
          title: Tactical Report Reminder
          type: integer
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: IncidentPriorityUpdate
      type: object
    IncidentRead:
      properties:
        cases:
          default: []
          items:
            $ref: '#/components/schemas/dispatch__incident__models__CaseRead'
          title: Cases
          type: array
        closed_at:
          format: date-time
          title: Closed At
          type: string
        commander:
          $ref: '#/components/schemas/ParticipantRead'
        commanders_location:
          title: Commanders Location
          type: string
        conference:
          $ref: '#/components/schemas/ConferenceRead'
        conversation:
          $ref: '#/components/schemas/ConversationRead'
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          title: Description
          type: string
        documents:
          default: []
          items:
            $ref: '#/components/schemas/DocumentRead'
          title: Documents
          type: array
        duplicates:
          default: []
          items:
            $ref: '#/components/schemas/IncidentReadMinimal'
          title: Duplicates
          type: array
        events:
          default: []
          items:
            $ref: '#/components/schemas/EventRead'
          title: Events
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_costs:
          default: []
          items:
            $ref: '#/components/schemas/IncidentCostRead'
          title: Incident Costs
          type: array
        incident_priority:
          $ref: '#/components/schemas/IncidentPriorityRead'
        incident_severity:
          $ref: '#/components/schemas/IncidentSeverityRead'
        incident_type:
          $ref: '#/components/schemas/IncidentTypeRead'
        last_executive_report:
          $ref: '#/components/schemas/ReportRead'
        last_tactical_report:
          $ref: '#/components/schemas/ReportRead'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        participants:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantRead'
          title: Participants
          type: array
        participants_location:
          title: Participants Location
          type: string
        participants_team:
          title: Participants Team
          type: string
        project:
          $ref: '#/components/schemas/dispatch__incident__models__ProjectRead'
        reported_at:
          format: date-time
          title: Reported At
          type: string
        reporter:
          $ref: '#/components/schemas/ParticipantRead'
        reporters_location:
          title: Reporters Location
          type: string
        resolution:
          title: Resolution
          type: string
        stable_at:
          format: date-time
          title: Stable At
          type: string
        status:
          $ref: '#/components/schemas/IncidentStatus'
        storage:
          $ref: '#/components/schemas/StorageRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        tasks:
          default: []
          items:
            $ref: '#/components/schemas/dispatch__incident__models__TaskRead'
          title: Tasks
          type: array
        terms:
          default: []
          items:
            $ref: '#/components/schemas/TermRead'
          title: Terms
          type: array
        ticket:
          $ref: '#/components/schemas/TicketRead'
        title:
          title: Title
          type: string
        total_cost:
          title: Total Cost
          type: number
        visibility:
          $ref: '#/components/schemas/Visibility'
        workflow_instances:
          default: []
          items:
            $ref: '#/components/schemas/WorkflowInstanceRead'
          title: Workflow Instances
          type: array
      required:
        - title
        - description
        - id
        - incident_priority
        - incident_severity
        - incident_type
        - project
      title: IncidentRead
      type: object
    IncidentReadMinimal:
      properties:
        closed_at:
          format: date-time
          title: Closed At
          type: string
        commander:
          $ref: '#/components/schemas/ParticipantReadMinimal'
        commanders_location:
          title: Commanders Location
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          title: Description
          type: string
        duplicates:
          default: []
          items:
            $ref: '#/components/schemas/IncidentReadMinimal'
          title: Duplicates
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_costs:
          default: []
          items:
            $ref: '#/components/schemas/IncidentCostRead'
          title: Incident Costs
          type: array
        incident_priority:
          $ref: '#/components/schemas/IncidentPriorityReadMinimal'
        incident_severity:
          $ref: '#/components/schemas/IncidentSeverityReadMinimal'
        incident_type:
          $ref: '#/components/schemas/IncidentTypeReadMinimal'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        participants_location:
          title: Participants Location
          type: string
        participants_team:
          title: Participants Team
          type: string
        project:
          $ref: '#/components/schemas/dispatch__incident__models__ProjectRead'
        reported_at:
          format: date-time
          title: Reported At
          type: string
        reporter:
          $ref: '#/components/schemas/ParticipantReadMinimal'
        reporters_location:
          title: Reporters Location
          type: string
        resolution:
          title: Resolution
          type: string
        stable_at:
          format: date-time
          title: Stable At
          type: string
        status:
          $ref: '#/components/schemas/IncidentStatus'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        title:
          title: Title
          type: string
        total_cost:
          title: Total Cost
          type: number
        visibility:
          $ref: '#/components/schemas/Visibility'
      required:
        - title
        - description
        - id
        - incident_priority
        - incident_severity
        - incident_type
        - project
      title: IncidentReadMinimal
      type: object
    IncidentRoleCreateUpdate:
      properties:
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_priorities:
          items:
            $ref: '#/components/schemas/IncidentPriorityRead'
          title: Incident Priorities
          type: array
        incident_types:
          items:
            $ref: '#/components/schemas/IncidentTypeRead'
          title: Incident Types
          type: array
        individual:
          $ref: '#/components/schemas/IndividualContactRead'
        order:
          exclusiveMinimum: 0
          title: Order
          type: integer
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        service:
          $ref: '#/components/schemas/ServiceRead'
        tags:
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
      title: IncidentRoleCreateUpdate
      type: object
    IncidentRoleRead:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_priorities:
          items:
            $ref: '#/components/schemas/IncidentPriorityRead'
          title: Incident Priorities
          type: array
        incident_types:
          items:
            $ref: '#/components/schemas/IncidentTypeRead'
          title: Incident Types
          type: array
        individual:
          $ref: '#/components/schemas/IndividualContactRead'
        order:
          exclusiveMinimum: 0
          title: Order
          type: integer
        role:
          $ref: '#/components/schemas/ParticipantRoleType'
        service:
          $ref: '#/components/schemas/ServiceRead'
        tags:
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - id
        - role
      title: IncidentRoleRead
      type: object
    IncidentRoles:
      properties:
        policies:
          default: []
          items:
            $ref: '#/components/schemas/IncidentRoleRead'
          title: Policies
          type: array
      title: IncidentRoles
      type: object
    IncidentRolesCreateUpdate:
      properties:
        policies:
          items:
            $ref: '#/components/schemas/IncidentRoleCreateUpdate'
          title: Policies
          type: array
      required:
        - policies
      title: IncidentRolesCreateUpdate
      type: object
    IncidentSeverityBase:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: IncidentSeverityBase
      type: object
    IncidentSeverityCreate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: IncidentSeverityCreate
      type: object
    IncidentSeverityPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/IncidentSeverityRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: IncidentSeverityPagination
      type: object
    IncidentSeverityRead:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
        - id
      title: IncidentSeverityRead
      type: object
    IncidentSeverityReadMinimal:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - id
        - name
      title: IncidentSeverityReadMinimal
      type: object
    IncidentSeverityUpdate:
      properties:
        color:
          format: color
          nullable: true
          title: Color
          type: string
        default:
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        view_order:
          title: View Order
          type: integer
      required:
        - name
      title: IncidentSeverityUpdate
      type: object
    IncidentStatus:
      description: An enumeration.
      enum:
        - Active
        - Stable
        - Closed
      title: IncidentStatus
      type: string
    IncidentType:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - id
        - name
      title: IncidentType
      type: object
    IncidentTypeBase:
      properties:
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        executive_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        incident_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        review_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        tracking_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
      title: IncidentTypeBase
      type: object
    IncidentTypeCreate:
      properties:
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        executive_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        incident_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        review_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        tracking_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
      title: IncidentTypeCreate
      type: object
    IncidentTypePagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/IncidentTypeRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: IncidentTypePagination
      type: object
    IncidentTypeRead:
      properties:
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        executive_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        review_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        tracking_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
        - id
      title: IncidentTypeRead
      type: object
    IncidentTypeReadMinimal:
      properties:
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - id
        - name
      title: IncidentTypeReadMinimal
      type: object
    IncidentTypeUpdate:
      properties:
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        exclude_from_metrics:
          default: false
          title: Exclude From Metrics
          type: boolean
        executive_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        plugin_metadata:
          default: []
          items:
            $ref: '#/components/schemas/PluginMetadata'
          title: Plugin Metadata
          type: array
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        review_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        tracking_template_document:
          $ref: '#/components/schemas/dispatch__incident__type__models__Document'
        visibility:
          nullable: true
          title: Visibility
          type: string
      required:
        - name
      title: IncidentTypeUpdate
      type: object
    IncidentUpdate:
      properties:
        cases:
          default: []
          items:
            $ref: '#/components/schemas/dispatch__incident__models__CaseRead'
          title: Cases
          type: array
        commander:
          $ref: '#/components/schemas/ParticipantUpdate'
        description:
          title: Description
          type: string
        duplicates:
          default: []
          items:
            $ref: '#/components/schemas/IncidentReadMinimal'
          title: Duplicates
          type: array
        incident_costs:
          default: []
          items:
            $ref: '#/components/schemas/IncidentCostUpdate'
          title: Incident Costs
          type: array
        incident_priority:
          $ref: '#/components/schemas/IncidentPriorityBase'
        incident_severity:
          $ref: '#/components/schemas/IncidentSeverityBase'
        incident_type:
          $ref: '#/components/schemas/IncidentTypeBase'
        reported_at:
          format: date-time
          title: Reported At
          type: string
        reporter:
          $ref: '#/components/schemas/ParticipantUpdate'
        resolution:
          title: Resolution
          type: string
        stable_at:
          format: date-time
          title: Stable At
          type: string
        status:
          $ref: '#/components/schemas/IncidentStatus'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        terms:
          default: []
          items:
            $ref: '#/components/schemas/TermRead'
          title: Terms
          type: array
        title:
          title: Title
          type: string
        visibility:
          $ref: '#/components/schemas/Visibility'
      required:
        - title
        - description
        - incident_priority
        - incident_severity
        - incident_type
      title: IncidentUpdate
      type: object
    IndividualContactCreate:
      properties:
        company:
          nullable: true
          title: Company
          type: string
        contact_type:
          nullable: true
          title: Contact Type
          type: string
        email:
          format: email
          title: Email
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        filters:
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        is_active:
          default: true
          title: Is Active
          type: boolean
        is_external:
          default: false
          title: Is External
          type: boolean
        mobile_phone:
          nullable: true
          title: Mobile Phone
          type: string
        name:
          nullable: true
          title: Name
          type: string
        notes:
          nullable: true
          title: Notes
          type: string
        office_phone:
          nullable: true
          title: Office Phone
          type: string
        owner:
          nullable: true
          title: Owner
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        title:
          nullable: true
          title: Title
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - email
        - project
      title: IndividualContactCreate
      type: object
    IndividualContactPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/IndividualContactRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: IndividualContactPagination
      type: object
    IndividualContactRead:
      properties:
        company:
          nullable: true
          title: Company
          type: string
        contact_type:
          nullable: true
          title: Contact Type
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        email:
          format: email
          title: Email
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        is_active:
          default: true
          title: Is Active
          type: boolean
        is_external:
          default: false
          title: Is External
          type: boolean
        mobile_phone:
          nullable: true
          title: Mobile Phone
          type: string
        name:
          nullable: true
          title: Name
          type: string
        notes:
          nullable: true
          title: Notes
          type: string
        office_phone:
          nullable: true
          title: Office Phone
          type: string
        owner:
          nullable: true
          title: Owner
          type: string
        title:
          nullable: true
          title: Title
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - email
      title: IndividualContactRead
      type: object
    IndividualContactReadMinimal:
      properties:
        company:
          nullable: true
          title: Company
          type: string
        contact_type:
          nullable: true
          title: Contact Type
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        email:
          format: email
          title: Email
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        is_active:
          default: true
          title: Is Active
          type: boolean
        is_external:
          default: false
          title: Is External
          type: boolean
        mobile_phone:
          nullable: true
          title: Mobile Phone
          type: string
        name:
          nullable: true
          title: Name
          type: string
        notes:
          nullable: true
          title: Notes
          type: string
        office_phone:
          nullable: true
          title: Office Phone
          type: string
        owner:
          nullable: true
          title: Owner
          type: string
        title:
          nullable: true
          title: Title
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - email
      title: IndividualContactReadMinimal
      type: object
    IndividualContactUpdate:
      properties:
        company:
          nullable: true
          title: Company
          type: string
        contact_type:
          nullable: true
          title: Contact Type
          type: string
        email:
          format: email
          title: Email
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        filters:
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        is_active:
          default: true
          title: Is Active
          type: boolean
        is_external:
          default: false
          title: Is External
          type: boolean
        mobile_phone:
          nullable: true
          title: Mobile Phone
          type: string
        name:
          nullable: true
          title: Name
          type: string
        notes:
          nullable: true
          title: Notes
          type: string
        office_phone:
          nullable: true
          title: Office Phone
          type: string
        owner:
          nullable: true
          title: Owner
          type: string
        title:
          nullable: true
          title: Title
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - email
      title: IndividualContactUpdate
      type: object
    KeyValue:
      properties:
        key:
          title: Key
          type: string
        value:
          title: Value
          type: string
      required:
        - key
        - value
      title: KeyValue
      type: object
    NotificationCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        target:
          title: Target
          type: string
        type:
          $ref: '#/components/schemas/NotificationTypeEnum'
      required:
        - name
        - type
        - target
        - project
      title: NotificationCreate
      type: object
    NotificationPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/NotificationRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: NotificationPagination
      type: object
    NotificationRead:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        target:
          title: Target
          type: string
        type:
          $ref: '#/components/schemas/NotificationTypeEnum'
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - name
        - type
        - target
        - id
      title: NotificationRead
      type: object
    NotificationTypeEnum:
      description: An enumeration.
      enum:
        - conversation
        - email
      title: NotificationTypeEnum
      type: string
    NotificationUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          items:
            $ref: '#/components/schemas/SearchFilterUpdate'
          title: Filters
          type: array
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        target:
          title: Target
          type: string
        type:
          $ref: '#/components/schemas/NotificationTypeEnum'
      required:
        - name
        - type
        - target
      title: NotificationUpdate
      type: object
    OrganizationCreate:
      properties:
        banner_color:
          format: color
          nullable: true
          title: Banner Color
          type: string
        banner_enabled:
          default: false
          nullable: true
          title: Banner Enabled
          type: boolean
        banner_text:
          minLength: 3
          nullable: true
          pattern: ^(?!\s*$).+
          title: Banner Text
          type: string
        default:
          default: false
          nullable: true
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - name
      title: OrganizationCreate
      type: object
    OrganizationPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/OrganizationRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: OrganizationPagination
      type: object
    OrganizationRead:
      properties:
        banner_color:
          format: color
          nullable: true
          title: Banner Color
          type: string
        banner_enabled:
          default: false
          nullable: true
          title: Banner Enabled
          type: boolean
        banner_text:
          minLength: 3
          nullable: true
          pattern: ^(?!\s*$).+
          title: Banner Text
          type: string
        default:
          default: false
          nullable: true
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        slug:
          minLength: 3
          pattern: ^[\w]+(?:_[\w]+)*$
          title: Slug
          type: string
      required:
        - name
      title: OrganizationRead
      type: object
    OrganizationUpdate:
      properties:
        banner_color:
          format: color
          nullable: true
          title: Banner Color
          type: string
        banner_enabled:
          default: false
          nullable: true
          title: Banner Enabled
          type: boolean
        banner_text:
          minLength: 3
          nullable: true
          pattern: ^(?!\s*$).+
          title: Banner Text
          type: string
        default:
          default: false
          nullable: true
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
      title: OrganizationUpdate
      type: object
    ParticipantRead:
      properties:
        added_reason:
          nullable: true
          title: Added Reason
          type: string
        department:
          nullable: true
          title: Department
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        individual:
          $ref: '#/components/schemas/IndividualContactRead'
        location:
          nullable: true
          title: Location
          type: string
        participant_roles:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantRoleRead'
          title: Participant Roles
          type: array
        team:
          nullable: true
          title: Team
          type: string
      required:
        - id
      title: ParticipantRead
      type: object
    ParticipantReadMinimal:
      properties:
        added_reason:
          nullable: true
          title: Added Reason
          type: string
        department:
          nullable: true
          title: Department
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        individual:
          $ref: '#/components/schemas/IndividualContactReadMinimal'
        location:
          nullable: true
          title: Location
          type: string
        participant_roles:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantRoleReadMinimal'
          title: Participant Roles
          type: array
        team:
          nullable: true
          title: Team
          type: string
      required:
        - id
      title: ParticipantReadMinimal
      type: object
    ParticipantRoleRead:
      properties:
        activity:
          title: Activity
          type: integer
        assumed_at:
          format: date-time
          title: Assumed At
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        renounced_at:
          format: date-time
          title: Renounced At
          type: string
        role:
          title: Role
          type: string
      required:
        - role
        - id
      title: ParticipantRoleRead
      type: object
    ParticipantRoleReadMinimal:
      properties:
        activity:
          title: Activity
          type: integer
        assumed_at:
          format: date-time
          title: Assumed At
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        renounced_at:
          format: date-time
          title: Renounced At
          type: string
        role:
          title: Role
          type: string
      required:
        - role
        - id
      title: ParticipantRoleReadMinimal
      type: object
    ParticipantRoleType:
      description: An enumeration.
      enum:
        - Assignee
        - Incident Commander
        - Liaison
        - Scribe
        - Participant
        - Observer
        - Reporter
      title: ParticipantRoleType
      type: string
    ParticipantUpdate:
      properties:
        added_reason:
          nullable: true
          title: Added Reason
          type: string
        department:
          nullable: true
          title: Department
          type: string
        individual:
          $ref: '#/components/schemas/IndividualContactRead'
        location:
          nullable: true
          title: Location
          type: string
        team:
          nullable: true
          title: Team
          type: string
      title: ParticipantUpdate
      type: object
    PluginInstanceCreate:
      properties:
        configuration:
          title: Configuration
          type: object
        enabled:
          title: Enabled
          type: boolean
        plugin:
          $ref: '#/components/schemas/PluginRead'
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - plugin
        - project
      title: PluginInstanceCreate
      type: object
    PluginInstancePagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/PluginInstanceRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: PluginInstancePagination
      type: object
    PluginInstanceRead:
      properties:
        configuration:
          title: Configuration
          type: object
        configuration_schema:
          title: Configuration Schema
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        plugin:
          $ref: '#/components/schemas/PluginRead'
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - id
        - plugin
      title: PluginInstanceRead
      type: object
    PluginInstanceUpdate:
      properties:
        configuration:
          title: Configuration
          type: object
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
      title: PluginInstanceUpdate
      type: object
    PluginMetadata:
      properties:
        metadata:
          default: []
          items:
            $ref: '#/components/schemas/KeyValue'
          title: Metadata
          type: array
        slug:
          title: Slug
          type: string
      required:
        - slug
      title: PluginMetadata
      type: object
    PluginPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/PluginRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: PluginPagination
      type: object
    PluginRead:
      properties:
        author:
          title: Author
          type: string
        author_url:
          title: Author Url
          type: string
        configuration_schema:
          title: Configuration Schema
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        multiple:
          title: Multiple
          type: boolean
        slug:
          title: Slug
          type: string
        title:
          title: Title
          type: string
        type:
          title: Type
          type: string
      required:
        - id
        - title
        - slug
        - author
        - author_url
        - type
        - multiple
      title: PluginRead
      type: object
    ProjectCreate:
      properties:
        annual_employee_cost:
          title: Annual Employee Cost
          type: integer
        business_year_hours:
          title: Business Year Hours
          type: integer
        color:
          nullable: true
          title: Color
          type: string
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        organization:
          $ref: '#/components/schemas/OrganizationRead'
        owner_conversation:
          nullable: true
          title: Owner Conversation
          type: string
        owner_email:
          format: email
          nullable: true
          title: Owner Email
          type: string
      required:
        - name
        - organization
      title: ProjectCreate
      type: object
    ProjectPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: ProjectPagination
      type: object
    ProjectUpdate:
      properties:
        annual_employee_cost:
          title: Annual Employee Cost
          type: integer
        business_year_hours:
          title: Business Year Hours
          type: integer
        color:
          nullable: true
          title: Color
          type: string
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        owner_conversation:
          nullable: true
          title: Owner Conversation
          type: string
        owner_email:
          format: email
          nullable: true
          title: Owner Email
          type: string
      required:
        - name
      title: ProjectUpdate
      type: object
    QueryCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        language:
          nullable: true
          title: Language
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          $ref: '#/components/schemas/SourceRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        text:
          nullable: true
          title: Text
          type: string
      required:
        - source
        - project
      title: QueryCreate
      type: object
    QueryPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/QueryRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: QueryPagination
      type: object
    QueryRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        language:
          nullable: true
          title: Language
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          $ref: '#/components/schemas/SourceRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        text:
          nullable: true
          title: Text
          type: string
      required:
        - source
        - project
        - id
      title: QueryRead
      type: object
    QueryReadMinimal:
      properties:
        description:
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          title: Name
          type: string
      required:
        - id
        - name
        - description
      title: QueryReadMinimal
      type: object
    QueryUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        language:
          nullable: true
          title: Language
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          $ref: '#/components/schemas/SourceRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        text:
          nullable: true
          title: Text
          type: string
      required:
        - source
        - project
      title: QueryUpdate
      type: object
    ReportRead:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        details:
          title: Details
          type: object
        id:
          title: Id
          type: integer
        type:
          $ref: '#/components/schemas/ReportTypes'
      required:
        - type
        - id
      title: ReportRead
      type: object
    ReportTypes:
      description: An enumeration.
      enum:
        - Tactical Report
        - Executive Report
      title: ReportTypes
      type: string
    SearchFilterCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        expression:
          items:
            type: object
          title: Expression
          type: array
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        subject:
          allOf:
            - $ref: '#/components/schemas/SearchFilterSubject'
          default: incident
      required:
        - expression
        - name
        - project
      title: SearchFilterCreate
      type: object
    SearchFilterPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SearchFilterPagination
      type: object
    SearchFilterRead:
      properties:
        creator:
          $ref: '#/components/schemas/UserRead'
        description:
          nullable: true
          title: Description
          type: string
        expression:
          items:
            type: object
          title: Expression
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        subject:
          allOf:
            - $ref: '#/components/schemas/SearchFilterSubject'
          default: incident
      required:
        - expression
        - name
        - id
      title: SearchFilterRead
      type: object
    SearchFilterSubject:
      description: An enumeration.
      enum:
        - case
        - incident
      title: SearchFilterSubject
      type: string
    SearchFilterUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        expression:
          items:
            type: object
          title: Expression
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        subject:
          allOf:
            - $ref: '#/components/schemas/SearchFilterSubject'
          default: incident
      required:
        - expression
        - name
      title: SearchFilterUpdate
      type: object
    SearchTypes:
      description: An enumeration.
      enum:
        - Definition
        - Document
        - Incident
        - IncidentPriority
        - IncidentType
        - IndividualContact
        - Plugin
        - Query
        - SearchFilter
        - Case
        - Service
        - Source
        - Tag
        - Task
        - TeamContact
        - Term
      title: SearchTypes
      type: string
    ServiceCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        external_id:
          nullable: true
          title: External Id
          type: string
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        is_active:
          title: Is Active
          type: boolean
        name:
          nullable: true
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        type:
          nullable: true
          title: Type
          type: string
      required:
        - project
      title: ServiceCreate
      type: object
    ServicePagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/ServiceRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: ServicePagination
      type: object
    ServiceRead:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        external_id:
          nullable: true
          title: External Id
          type: string
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        is_active:
          title: Is Active
          type: boolean
        name:
          nullable: true
          title: Name
          type: string
        type:
          nullable: true
          title: Type
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - id
      title: ServiceRead
      type: object
    ServiceUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        external_id:
          nullable: true
          title: External Id
          type: string
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        is_active:
          title: Is Active
          type: boolean
        name:
          nullable: true
          title: Name
          type: string
        type:
          nullable: true
          title: Type
          type: string
      title: ServiceUpdate
      type: object
    SignalCreate:
      properties:
        case_priority:
          $ref: '#/components/schemas/CasePriorityRead'
        case_type:
          $ref: '#/components/schemas/CaseTypeRead'
        conversation_target:
          title: Conversation Target
          type: string
        create_case:
          default: true
          title: Create Case
          type: boolean
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          title: Description
          type: string
        enabled:
          default: false
          title: Enabled
          type: boolean
        entity_types:
          default: []
          items:
            $ref: '#/components/schemas/EntityTypeRead'
          title: Entity Types
          type: array
        external_id:
          title: External Id
          type: string
        external_url:
          title: External Url
          type: string
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SignalFilterRead'
          title: Filters
          type: array
        name:
          title: Name
          type: string
        oncall_service:
          $ref: '#/components/schemas/dispatch__signal__models__Service'
        owner:
          title: Owner
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          $ref: '#/components/schemas/SourceBase'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        variant:
          title: Variant
          type: string
        workflows:
          default: []
          items:
            $ref: '#/components/schemas/WorkflowRead'
          title: Workflows
          type: array
      required:
        - name
        - owner
        - external_id
        - project
      title: SignalCreate
      type: object
    SignalFilterAction:
      description: An enumeration.
      enum:
        - deduplicate
        - snooze
      title: SignalFilterAction
      type: string
    SignalFilterCreate:
      properties:
        action:
          allOf:
            - $ref: '#/components/schemas/SignalFilterAction'
          default: snooze
        description:
          nullable: true
          title: Description
          type: string
        expiration:
          format: date-time
          nullable: true
          title: Expiration
          type: string
        expression:
          items:
            type: object
          title: Expression
          type: array
        mode:
          allOf:
            - $ref: '#/components/schemas/SignalFilterMode'
          default: active
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        window:
          default: 600
          title: Window
          type: integer
      required:
        - expression
        - name
        - project
      title: SignalFilterCreate
      type: object
    SignalFilterMode:
      description: An enumeration.
      enum:
        - active
        - monitor
        - inactive
        - expired
      title: SignalFilterMode
      type: string
    SignalFilterPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SignalFilterRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SignalFilterPagination
      type: object
    SignalFilterRead:
      properties:
        action:
          allOf:
            - $ref: '#/components/schemas/SignalFilterAction'
          default: snooze
        description:
          nullable: true
          title: Description
          type: string
        expiration:
          format: date-time
          nullable: true
          title: Expiration
          type: string
        expression:
          items:
            type: object
          title: Expression
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        mode:
          allOf:
            - $ref: '#/components/schemas/SignalFilterMode'
          default: active
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        window:
          default: 600
          title: Window
          type: integer
      required:
        - expression
        - name
        - id
      title: SignalFilterRead
      type: object
    SignalFilterUpdate:
      properties:
        action:
          allOf:
            - $ref: '#/components/schemas/SignalFilterAction'
          default: snooze
        description:
          nullable: true
          title: Description
          type: string
        expiration:
          format: date-time
          nullable: true
          title: Expiration
          type: string
        expression:
          items:
            type: object
          title: Expression
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        mode:
          allOf:
            - $ref: '#/components/schemas/SignalFilterMode'
          default: active
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        window:
          default: 600
          title: Window
          type: integer
      required:
        - expression
        - name
        - id
      title: SignalFilterUpdate
      type: object
    SignalInstanceCreate:
      properties:
        case:
          $ref: '#/components/schemas/dispatch__case__models__CaseRead'
        created_at:
          format: date-time
          title: Created At
          type: string
        entities:
          default: []
          items:
            $ref: '#/components/schemas/EntityRead'
          title: Entities
          type: array
        filter_action:
          $ref: '#/components/schemas/SignalFilterAction'
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        raw:
          title: Raw
          type: object
        signal:
          $ref: '#/components/schemas/dispatch__signal__models__SignalRead'
      required:
        - project
        - raw
      title: SignalInstanceCreate
      type: object
    SignalInstancePagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dispatch__signal__models__SignalInstanceRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SignalInstancePagination
      type: object
    SignalPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/dispatch__signal__models__SignalRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SignalPagination
      type: object
    SignalUpdate:
      properties:
        case_priority:
          $ref: '#/components/schemas/CasePriorityRead'
        case_type:
          $ref: '#/components/schemas/CaseTypeRead'
        conversation_target:
          title: Conversation Target
          type: string
        create_case:
          default: true
          title: Create Case
          type: boolean
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          title: Description
          type: string
        enabled:
          default: false
          title: Enabled
          type: boolean
        entity_types:
          default: []
          items:
            $ref: '#/components/schemas/EntityTypeRead'
          title: Entity Types
          type: array
        external_id:
          title: External Id
          type: string
        external_url:
          title: External Url
          type: string
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SignalFilterRead'
          title: Filters
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          title: Name
          type: string
        oncall_service:
          $ref: '#/components/schemas/dispatch__signal__models__Service'
        owner:
          title: Owner
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          $ref: '#/components/schemas/SourceBase'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        variant:
          title: Variant
          type: string
        workflows:
          default: []
          items:
            $ref: '#/components/schemas/WorkflowRead'
          title: Workflows
          type: array
      required:
        - name
        - owner
        - external_id
        - project
        - id
      title: SignalUpdate
      type: object
    SourceBase:
      properties:
        aggregated:
          default: false
          nullable: true
          title: Aggregated
          type: boolean
        alerts:
          default: []
          items:
            $ref: '#/components/schemas/AlertRead'
          title: Alerts
          type: array
        cost:
          title: Cost
          type: number
        data_last_loaded_at:
          format: date-time
          nullable: true
          title: Last Loaded
          type: string
        delay:
          nullable: true
          title: Delay
          type: integer
        description:
          nullable: true
          title: Description
          type: string
        documentation:
          nullable: true
          title: Documentation
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        incidents:
          default: []
          items:
            $ref: '#/components/schemas/IncidentRead'
          title: Incidents
          type: array
        links:
          default: []
          items: {}
          title: Links
          type: array
        name:
          nullable: false
          title: Name
          type: string
        owner:
          allOf:
            - $ref: '#/components/schemas/ServiceRead'
          nullable: true
          title: Owner
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        queries:
          default: []
          items:
            $ref: '#/components/schemas/QueryReadMinimal'
          title: Queries
          type: array
        retention:
          nullable: true
          title: Retention
          type: integer
        sampling_rate:
          description: >-
            Rate at which data is sampled (as a percentage) 100% meaning all
            data is captured.
          exclusiveMaximum: 101
          exclusiveMinimum: 1
          nullable: true
          title: Sampling Rate
          type: integer
        size:
          nullable: true
          title: Size
          type: integer
        source_data_format:
          $ref: '#/components/schemas/SourceDataFormatRead'
        source_environment:
          $ref: '#/components/schemas/SourceEnvironmentRead'
        source_schema:
          nullable: true
          title: Source Schema
          type: string
        source_status:
          $ref: '#/components/schemas/SourceStatusRead'
        source_transport:
          $ref: '#/components/schemas/SourceTransportRead'
        source_type:
          $ref: '#/components/schemas/SourceTypeRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
      required:
        - project
      title: SourceBase
      type: object
    SourceCreate:
      properties:
        aggregated:
          default: false
          nullable: true
          title: Aggregated
          type: boolean
        alerts:
          default: []
          items:
            $ref: '#/components/schemas/AlertRead'
          title: Alerts
          type: array
        cost:
          title: Cost
          type: number
        data_last_loaded_at:
          format: date-time
          nullable: true
          title: Last Loaded
          type: string
        delay:
          nullable: true
          title: Delay
          type: integer
        description:
          nullable: true
          title: Description
          type: string
        documentation:
          nullable: true
          title: Documentation
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        incidents:
          default: []
          items:
            $ref: '#/components/schemas/IncidentRead'
          title: Incidents
          type: array
        links:
          default: []
          items: {}
          title: Links
          type: array
        name:
          nullable: false
          title: Name
          type: string
        owner:
          allOf:
            - $ref: '#/components/schemas/ServiceRead'
          nullable: true
          title: Owner
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        queries:
          default: []
          items:
            $ref: '#/components/schemas/QueryReadMinimal'
          title: Queries
          type: array
        retention:
          nullable: true
          title: Retention
          type: integer
        sampling_rate:
          description: >-
            Rate at which data is sampled (as a percentage) 100% meaning all
            data is captured.
          exclusiveMaximum: 101
          exclusiveMinimum: 1
          nullable: true
          title: Sampling Rate
          type: integer
        size:
          nullable: true
          title: Size
          type: integer
        source_data_format:
          $ref: '#/components/schemas/SourceDataFormatRead'
        source_environment:
          $ref: '#/components/schemas/SourceEnvironmentRead'
        source_schema:
          nullable: true
          title: Source Schema
          type: string
        source_status:
          $ref: '#/components/schemas/SourceStatusRead'
        source_transport:
          $ref: '#/components/schemas/SourceTransportRead'
        source_type:
          $ref: '#/components/schemas/SourceTypeRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
      required:
        - project
      title: SourceCreate
      type: object
    SourceDataFormatCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - project
      title: SourceDataFormatCreate
      type: object
    SourceDataFormatPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SourceDataFormatRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SourceDataFormatPagination
      type: object
    SourceDataFormatRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - id
        - project
      title: SourceDataFormatRead
      type: object
    SourceDataFormatUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
      required:
        - id
      title: SourceDataFormatUpdate
      type: object
    SourceEnvironmentCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - project
      title: SourceEnvironmentCreate
      type: object
    SourceEnvironmentPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SourceEnvironmentRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SourceEnvironmentPagination
      type: object
    SourceEnvironmentRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - id
        - project
      title: SourceEnvironmentRead
      type: object
    SourceEnvironmentUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
      required:
        - id
      title: SourceEnvironmentUpdate
      type: object
    SourcePagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SourceRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SourcePagination
      type: object
    SourceRead:
      properties:
        aggregated:
          default: false
          nullable: true
          title: Aggregated
          type: boolean
        alerts:
          default: []
          items:
            $ref: '#/components/schemas/AlertRead'
          title: Alerts
          type: array
        cost:
          title: Cost
          type: number
        data_last_loaded_at:
          format: date-time
          nullable: true
          title: Last Loaded
          type: string
        delay:
          nullable: true
          title: Delay
          type: integer
        description:
          nullable: true
          title: Description
          type: string
        documentation:
          nullable: true
          title: Documentation
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incidents:
          default: []
          items:
            $ref: '#/components/schemas/IncidentRead'
          title: Incidents
          type: array
        links:
          default: []
          items: {}
          title: Links
          type: array
        name:
          nullable: false
          title: Name
          type: string
        owner:
          allOf:
            - $ref: '#/components/schemas/ServiceRead'
          nullable: true
          title: Owner
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        queries:
          default: []
          items:
            $ref: '#/components/schemas/QueryReadMinimal'
          title: Queries
          type: array
        retention:
          nullable: true
          title: Retention
          type: integer
        sampling_rate:
          description: >-
            Rate at which data is sampled (as a percentage) 100% meaning all
            data is captured.
          exclusiveMaximum: 101
          exclusiveMinimum: 1
          nullable: true
          title: Sampling Rate
          type: integer
        size:
          nullable: true
          title: Size
          type: integer
        source_data_format:
          $ref: '#/components/schemas/SourceDataFormatRead'
        source_environment:
          $ref: '#/components/schemas/SourceEnvironmentRead'
        source_schema:
          nullable: true
          title: Source Schema
          type: string
        source_status:
          $ref: '#/components/schemas/SourceStatusRead'
        source_transport:
          $ref: '#/components/schemas/SourceTransportRead'
        source_type:
          $ref: '#/components/schemas/SourceTypeRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
      required:
        - project
        - id
      title: SourceRead
      type: object
    SourceStatusCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - project
      title: SourceStatusCreate
      type: object
    SourceStatusPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SourceStatusRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SourceStatusPagination
      type: object
    SourceStatusRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - id
        - project
      title: SourceStatusRead
      type: object
    SourceStatusUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
      required:
        - id
      title: SourceStatusUpdate
      type: object
    SourceTransportCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - project
      title: SourceTransportCreate
      type: object
    SourceTransportPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SourceTransportRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SourceTransportPagination
      type: object
    SourceTransportRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - id
        - project
      title: SourceTransportRead
      type: object
    SourceTransportUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
      required:
        - id
      title: SourceTransportUpdate
      type: object
    SourceTypeCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - project
      title: SourceTypeCreate
      type: object
    SourceTypePagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SourceTypeRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: SourceTypePagination
      type: object
    SourceTypeRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - id
        - project
      title: SourceTypeRead
      type: object
    SourceTypeUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: false
          title: Name
          type: string
      required:
        - id
      title: SourceTypeUpdate
      type: object
    SourceUpdate:
      properties:
        aggregated:
          default: false
          nullable: true
          title: Aggregated
          type: boolean
        alerts:
          default: []
          items:
            $ref: '#/components/schemas/AlertRead'
          title: Alerts
          type: array
        cost:
          title: Cost
          type: number
        data_last_loaded_at:
          format: date-time
          nullable: true
          title: Last Loaded
          type: string
        delay:
          nullable: true
          title: Delay
          type: integer
        description:
          nullable: true
          title: Description
          type: string
        documentation:
          nullable: true
          title: Documentation
          type: string
        external_id:
          nullable: true
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incidents:
          default: []
          items:
            $ref: '#/components/schemas/IncidentRead'
          title: Incidents
          type: array
        links:
          default: []
          items: {}
          title: Links
          type: array
        name:
          nullable: false
          title: Name
          type: string
        owner:
          allOf:
            - $ref: '#/components/schemas/ServiceRead'
          nullable: true
          title: Owner
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        queries:
          default: []
          items:
            $ref: '#/components/schemas/QueryReadMinimal'
          title: Queries
          type: array
        retention:
          nullable: true
          title: Retention
          type: integer
        sampling_rate:
          description: >-
            Rate at which data is sampled (as a percentage) 100% meaning all
            data is captured.
          exclusiveMaximum: 101
          exclusiveMinimum: 1
          nullable: true
          title: Sampling Rate
          type: integer
        size:
          nullable: true
          title: Size
          type: integer
        source_data_format:
          $ref: '#/components/schemas/SourceDataFormatRead'
        source_environment:
          $ref: '#/components/schemas/SourceEnvironmentRead'
        source_schema:
          nullable: true
          title: Source Schema
          type: string
        source_status:
          $ref: '#/components/schemas/SourceStatusRead'
        source_transport:
          $ref: '#/components/schemas/SourceTransportRead'
        source_type:
          $ref: '#/components/schemas/SourceTypeRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
      required:
        - project
      title: SourceUpdate
      type: object
    StorageRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      title: StorageRead
      type: object
    TacticalReportCreate:
      properties:
        actions:
          title: Actions
          type: string
        conditions:
          title: Conditions
          type: string
        needs:
          title: Needs
          type: string
      required:
        - conditions
        - actions
        - needs
      title: TacticalReportCreate
      type: object
    TagCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        discoverable:
          default: true
          title: Discoverable
          type: boolean
        external_id:
          nullable: true
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: true
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          nullable: true
          title: Source
          type: string
        tag_type:
          $ref: '#/components/schemas/TagTypeCreate'
        uri:
          nullable: true
          title: Uri
          type: string
      required:
        - tag_type
        - project
      title: TagCreate
      type: object
    TagPagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/TagRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: TagPagination
      type: object
    TagRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        discoverable:
          default: true
          title: Discoverable
          type: boolean
        external_id:
          nullable: true
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: true
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          nullable: true
          title: Source
          type: string
        tag_type:
          $ref: '#/components/schemas/TagTypeRead'
        uri:
          nullable: true
          title: Uri
          type: string
      required:
        - id
        - project
      title: TagRead
      type: object
    TagTypeCreate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        exclusive:
          default: false
          title: Exclusive
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - name
        - project
      title: TagTypeCreate
      type: object
    TagTypePagination:
      properties:
        items:
          items:
            $ref: '#/components/schemas/TagTypeRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - items
        - total
      title: TagTypePagination
      type: object
    TagTypeRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        exclusive:
          default: false
          title: Exclusive
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - name
        - id
        - project
      title: TagTypeRead
      type: object
    TagTypeUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        exclusive:
          default: false
          title: Exclusive
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - name
      title: TagTypeUpdate
      type: object
    TagUpdate:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        discoverable:
          default: true
          title: Discoverable
          type: boolean
        external_id:
          nullable: true
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          nullable: true
          title: Name
          type: string
        source:
          nullable: true
          title: Source
          type: string
        tag_type:
          $ref: '#/components/schemas/TagTypeUpdate'
        uri:
          nullable: true
          title: Uri
          type: string
      title: TagUpdate
      type: object
    TaskCreate:
      properties:
        assignees:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantUpdate'
          title: Assignees
          type: array
        created_at:
          format: date-time
          title: Created At
          type: string
        creator:
          $ref: '#/components/schemas/ParticipantUpdate'
        description:
          nullable: true
          title: Description
          type: string
        incident:
          $ref: '#/components/schemas/IncidentReadMinimal'
        owner:
          $ref: '#/components/schemas/ParticipantUpdate'
        priority:
          nullable: true
          title: Priority
          type: string
        resolve_by:
          format: date-time
          title: Resolve By
          type: string
        resolved_at:
          format: date-time
          title: Resolved At
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          title: Resource Type
          type: string
        source:
          nullable: true
          title: Source
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/TaskStatus'
          default: Open
        updated_at:
          format: date-time
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - incident
      title: TaskCreate
      type: object
    TaskStatus:
      description: An enumeration.
      enum:
        - Open
        - Resolved
      title: TaskStatus
      type: string
    TaskUpdate:
      properties:
        assignees:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantUpdate'
          title: Assignees
          type: array
        created_at:
          format: date-time
          title: Created At
          type: string
        creator:
          $ref: '#/components/schemas/ParticipantUpdate'
        description:
          nullable: true
          title: Description
          type: string
        incident:
          $ref: '#/components/schemas/IncidentReadMinimal'
        owner:
          $ref: '#/components/schemas/ParticipantUpdate'
        priority:
          nullable: true
          title: Priority
          type: string
        resolve_by:
          format: date-time
          title: Resolve By
          type: string
        resolved_at:
          format: date-time
          title: Resolved At
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        source:
          nullable: true
          title: Source
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/TaskStatus'
          default: Open
        updated_at:
          format: date-time
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - incident
      title: TaskUpdate
      type: object
    TeamContactCreate:
      properties:
        company:
          nullable: true
          title: Company
          type: string
        contact_type:
          nullable: true
          title: Contact Type
          type: string
        email:
          format: email
          title: Email
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        is_active:
          default: true
          title: Is Active
          type: boolean
        is_external:
          default: false
          title: Is External
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        notes:
          nullable: true
          title: Notes
          type: string
        owner:
          nullable: true
          title: Owner
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
      required:
        - email
        - name
        - project
      title: TeamContactCreate
      type: object
    TeamContactRead:
      properties:
        company:
          nullable: true
          title: Company
          type: string
        contact_type:
          nullable: true
          title: Contact Type
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        email:
          format: email
          title: Email
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        is_active:
          default: true
          title: Is Active
          type: boolean
        is_external:
          default: false
          title: Is External
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        notes:
          nullable: true
          title: Notes
          type: string
        owner:
          nullable: true
          title: Owner
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - email
        - name
        - id
        - created_at
        - updated_at
      title: TeamContactRead
      type: object
    TeamContactUpdate:
      properties:
        company:
          nullable: true
          title: Company
          type: string
        contact_type:
          nullable: true
          title: Contact Type
          type: string
        email:
          format: email
          title: Email
          type: string
        evergreen:
          default: false
          title: Evergreen
          type: boolean
        evergreen_last_reminder_at:
          format: date-time
          nullable: true
          title: Evergreen Last Reminder At
          type: string
        evergreen_owner:
          format: email
          title: Evergreen Owner
          type: string
        evergreen_reminder_interval:
          default: 90
          title: Evergreen Reminder Interval
          type: integer
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SearchFilterRead'
          title: Filters
          type: array
        is_active:
          default: true
          title: Is Active
          type: boolean
        is_external:
          default: false
          title: Is External
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        notes:
          nullable: true
          title: Notes
          type: string
        owner:
          nullable: true
          title: Owner
          type: string
      required:
        - email
        - name
      title: TeamContactUpdate
      type: object
    TeamPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/TeamContactRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: TeamPagination
      type: object
    TermCreate:
      properties:
        definitions:
          default: []
          items:
            $ref: '#/components/schemas/DefinitionRead'
          title: Definitions
          type: array
        discoverable:
          default: true
          title: Discoverable
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        text:
          nullable: true
          title: Text
          type: string
      required:
        - project
      title: TermCreate
      type: object
    TermPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/TermRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: TermPagination
      type: object
    TermRead:
      properties:
        definitions:
          default: []
          items:
            $ref: '#/components/schemas/DefinitionRead'
          title: Definitions
          type: array
        discoverable:
          default: true
          title: Discoverable
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        text:
          nullable: true
          title: Text
          type: string
      required:
        - id
      title: TermRead
      type: object
    TermUpdate:
      properties:
        definitions:
          default: []
          items:
            $ref: '#/components/schemas/DefinitionRead'
          title: Definitions
          type: array
        discoverable:
          default: true
          title: Discoverable
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        text:
          nullable: true
          title: Text
          type: string
      title: TermUpdate
      type: object
    TicketRead:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      title: TicketRead
      type: object
    UserLogin:
      properties:
        email:
          format: email
          title: Email
          type: string
        organizations:
          default: []
          items:
            $ref: '#/components/schemas/UserOrganization'
          title: Organizations
          type: array
        password:
          title: Password
          type: string
        projects:
          default: []
          items:
            $ref: '#/components/schemas/UserProject'
          title: Projects
          type: array
      required:
        - email
        - password
      title: UserLogin
      type: object
    UserLoginResponse:
      properties:
        projects:
          items:
            $ref: '#/components/schemas/UserProject'
          title: Projects
          type: array
        token:
          nullable: true
          title: Token
          type: string
      title: UserLoginResponse
      type: object
    UserOrganization:
      properties:
        default:
          default: false
          title: Default
          type: boolean
        organization:
          $ref: '#/components/schemas/OrganizationRead'
        role:
          nullable: true
          title: Role
          type: string
      required:
        - organization
      title: UserOrganization
      type: object
    UserPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/UserRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: UserPagination
      type: object
    UserProject:
      properties:
        default:
          default: false
          title: Default
          type: boolean
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        role:
          nullable: true
          title: Role
          type: string
      required:
        - project
      title: UserProject
      type: object
    UserRead:
      properties:
        email:
          format: email
          title: Email
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        organizations:
          default: []
          items:
            $ref: '#/components/schemas/UserOrganization'
          title: Organizations
          type: array
        projects:
          default: []
          items:
            $ref: '#/components/schemas/UserProject'
          title: Projects
          type: array
        role:
          nullable: true
          title: Role
          type: string
      required:
        - email
        - id
      title: UserRead
      type: object
    UserRegister:
      properties:
        email:
          format: email
          title: Email
          type: string
        organizations:
          default: []
          items:
            $ref: '#/components/schemas/UserOrganization'
          title: Organizations
          type: array
        password:
          nullable: true
          title: Password
          type: string
        projects:
          default: []
          items:
            $ref: '#/components/schemas/UserProject'
          title: Projects
          type: array
      required:
        - email
      title: UserRegister
      type: object
    UserRegisterResponse:
      properties:
        token:
          nullable: true
          title: Token
          type: string
      title: UserRegisterResponse
      type: object
    UserUpdate:
      properties:
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        organizations:
          items:
            $ref: '#/components/schemas/UserOrganization'
          title: Organizations
          type: array
        password:
          nullable: true
          title: Password
          type: string
        projects:
          items:
            $ref: '#/components/schemas/UserProject'
          title: Projects
          type: array
        role:
          nullable: true
          title: Role
          type: string
      required:
        - id
      title: UserUpdate
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    Visibility:
      description: An enumeration.
      enum:
        - Open
        - Restricted
      title: Visibility
      type: string
    WorkflowCase:
      properties:
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - id
      title: WorkflowCase
      type: object
    WorkflowCreate:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        parameters:
          default: []
          items:
            type: object
          title: Parameters
          type: array
        plugin_instance:
          $ref: '#/components/schemas/PluginInstanceRead'
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        resource_id:
          title: Resource Id
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - name
        - resource_id
        - plugin_instance
        - project
      title: WorkflowCreate
      type: object
    WorkflowIncident:
      properties:
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - id
      title: WorkflowIncident
      type: object
    WorkflowInstanceCreate:
      properties:
        artifacts:
          default: []
          items:
            $ref: '#/components/schemas/DocumentCreate'
          title: Artifacts
          type: array
        case:
          $ref: '#/components/schemas/WorkflowCase'
        created_at:
          format: date-time
          title: Created At
          type: string
        creator:
          $ref: '#/components/schemas/ParticipantRead'
        incident:
          $ref: '#/components/schemas/WorkflowIncident'
        parameters:
          default: []
          items:
            type: object
          title: Parameters
          type: array
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        run_reason:
          nullable: true
          title: Run Reason
          type: string
        signal:
          $ref: '#/components/schemas/WorkflowSignal'
        status:
          $ref: '#/components/schemas/WorkflowInstanceStatus'
        updated_at:
          format: date-time
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      title: WorkflowInstanceCreate
      type: object
    WorkflowInstanceRead:
      properties:
        artifacts:
          default: []
          items:
            $ref: '#/components/schemas/DocumentCreate'
          title: Artifacts
          type: array
        case:
          $ref: '#/components/schemas/WorkflowCase'
        created_at:
          format: date-time
          title: Created At
          type: string
        creator:
          $ref: '#/components/schemas/ParticipantRead'
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident:
          $ref: '#/components/schemas/WorkflowIncident'
        parameters:
          default: []
          items:
            type: object
          title: Parameters
          type: array
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        run_reason:
          nullable: true
          title: Run Reason
          type: string
        signal:
          $ref: '#/components/schemas/WorkflowSignal'
        status:
          $ref: '#/components/schemas/WorkflowInstanceStatus'
        updated_at:
          format: date-time
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
        workflow:
          $ref: '#/components/schemas/WorkflowRead'
      required:
        - id
        - workflow
      title: WorkflowInstanceRead
      type: object
    WorkflowInstanceStatus:
      description: An enumeration.
      enum:
        - Submitted
        - Created
        - Running
        - Completed
        - Failed
      title: WorkflowInstanceStatus
      type: string
    WorkflowPagination:
      properties:
        items:
          default: []
          items:
            $ref: '#/components/schemas/WorkflowRead'
          title: Items
          type: array
        total:
          title: Total
          type: integer
      required:
        - total
      title: WorkflowPagination
      type: object
    WorkflowRead:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        parameters:
          default: []
          items:
            type: object
          title: Parameters
          type: array
        plugin_instance:
          $ref: '#/components/schemas/PluginInstanceRead'
        resource_id:
          title: Resource Id
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - name
        - resource_id
        - plugin_instance
        - id
      title: WorkflowRead
      type: object
    WorkflowSignal:
      properties:
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - id
      title: WorkflowSignal
      type: object
    WorkflowUpdate:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        enabled:
          title: Enabled
          type: boolean
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        parameters:
          default: []
          items:
            type: object
          title: Parameters
          type: array
        plugin_instance:
          $ref: '#/components/schemas/PluginInstanceRead'
        resource_id:
          title: Resource Id
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - name
        - resource_id
        - plugin_instance
      title: WorkflowUpdate
      type: object
    dispatch__case__models__CaseRead:
      properties:
        assignee:
          $ref: '#/components/schemas/ParticipantRead'
        case_priority:
          $ref: '#/components/schemas/CasePriorityRead'
        case_severity:
          $ref: '#/components/schemas/CaseSeverityRead'
        case_type:
          $ref: '#/components/schemas/CaseTypeRead'
        closed_at:
          format: date-time
          title: Closed At
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          title: Description
          type: string
        documents:
          default: []
          items:
            $ref: '#/components/schemas/DocumentRead'
          title: Documents
          type: array
        duplicates:
          default: []
          items:
            $ref: '#/components/schemas/CaseReadMinimal'
          title: Duplicates
          type: array
        escalated_at:
          format: date-time
          title: Escalated At
          type: string
        events:
          default: []
          items:
            $ref: '#/components/schemas/EventRead'
          title: Events
          type: array
        groups:
          default: []
          items:
            $ref: '#/components/schemas/GroupRead'
          title: Groups
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incidents:
          default: []
          items:
            $ref: '#/components/schemas/IncidentReadMinimal'
          title: Incidents
          type: array
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        participants:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantRead'
          title: Participants
          type: array
        project:
          $ref: '#/components/schemas/dispatch__case__models__ProjectRead'
        related:
          default: []
          items:
            $ref: '#/components/schemas/CaseReadMinimal'
          title: Related
          type: array
        reported_at:
          format: date-time
          title: Reported At
          type: string
        resolution:
          title: Resolution
          type: string
        resolution_reason:
          $ref: '#/components/schemas/CaseResolutionReason'
        signal_instances:
          default: []
          items:
            $ref: '#/components/schemas/dispatch__case__models__SignalInstanceRead'
          title: Signal Instances
          type: array
        status:
          $ref: '#/components/schemas/CaseStatus'
        storage:
          $ref: '#/components/schemas/StorageRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        ticket:
          $ref: '#/components/schemas/TicketRead'
        title:
          title: Title
          type: string
        triage_at:
          format: date-time
          title: Triage At
          type: string
        visibility:
          $ref: '#/components/schemas/Visibility'
        workflow_instances:
          default: []
          items:
            $ref: '#/components/schemas/WorkflowInstanceRead'
          title: Workflow Instances
          type: array
      required:
        - title
        - id
        - case_priority
        - case_severity
        - case_type
        - project
      title: CaseRead
      type: object
    dispatch__case__models__ProjectRead:
      properties:
        color:
          title: Color
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - name
      title: ProjectRead
      type: object
    dispatch__case__models__SignalInstanceRead:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        entities:
          default: []
          items:
            $ref: '#/components/schemas/EntityRead'
          title: Entities
          type: array
        fingerprint:
          title: Fingerprint
          type: string
        raw:
          title: Raw
        signal:
          $ref: '#/components/schemas/dispatch__case__models__SignalRead'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
      required:
        - signal
        - created_at
      title: SignalInstanceRead
      type: object
    dispatch__case__models__SignalRead:
      properties:
        description:
          title: Description
          type: string
        external_id:
          title: External Id
          type: string
        external_url:
          title: External Url
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          title: Name
          type: string
        owner:
          title: Owner
          type: string
        variant:
          title: Variant
          type: string
        workflow_instances:
          default: []
          items:
            $ref: '#/components/schemas/WorkflowInstanceRead'
          title: Workflow Instances
          type: array
      required:
        - id
        - name
        - owner
        - external_id
      title: SignalRead
      type: object
    dispatch__case__type__models__Document:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        weblink:
          title: Weblink
          type: string
      required:
        - id
        - name
        - weblink
      title: Document
      type: object
    dispatch__case__type__models__Service:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        external_id:
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        is_active:
          title: Is Active
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        type:
          nullable: true
          title: Type
          type: string
      required:
        - id
        - external_id
        - name
      title: Service
      type: object
    dispatch__incident__models__CaseRead:
      properties:
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - id
      title: CaseRead
      type: object
    dispatch__incident__models__ProjectRead:
      properties:
        color:
          title: Color
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
      required:
        - name
      title: ProjectRead
      type: object
    dispatch__incident__models__TaskRead:
      properties:
        assignees:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantRead'
          title: Assignees
          type: array
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        status:
          allOf:
            - $ref: '#/components/schemas/TaskStatus'
          default: Open
        weblink:
          title: Weblink
          type: string
      required:
        - id
      title: TaskRead
      type: object
    dispatch__incident__type__models__Document:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        weblink:
          title: Weblink
          type: string
      required:
        - id
        - name
        - weblink
      title: Document
      type: object
    dispatch__project__models__ProjectRead:
      properties:
        annual_employee_cost:
          title: Annual Employee Cost
          type: integer
        business_year_hours:
          title: Business Year Hours
          type: integer
        color:
          nullable: true
          title: Color
          type: string
        default:
          default: false
          title: Default
          type: boolean
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        owner_conversation:
          nullable: true
          title: Owner Conversation
          type: string
        owner_email:
          format: email
          nullable: true
          title: Owner Email
          type: string
      required:
        - name
      title: ProjectRead
      type: object
    dispatch__signal__models__Service:
      properties:
        description:
          nullable: true
          title: Description
          type: string
        external_id:
          title: External Id
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        is_active:
          title: Is Active
          type: boolean
        name:
          minLength: 3
          pattern: ^(?!\s*$).+
          title: Name
          type: string
        type:
          nullable: true
          title: Type
          type: string
      required:
        - id
        - external_id
        - name
      title: Service
      type: object
    dispatch__signal__models__SignalInstanceRead:
      properties:
        case:
          $ref: '#/components/schemas/dispatch__case__models__CaseRead'
        created_at:
          format: date-time
          title: Created At
          type: string
        entities:
          default: []
          items:
            $ref: '#/components/schemas/EntityRead'
          title: Entities
          type: array
        filter_action:
          $ref: '#/components/schemas/SignalFilterAction'
        fingerprint:
          title: Fingerprint
          type: string
        id:
          format: uuid
          title: Id
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        raw:
          title: Raw
          type: object
        signal:
          $ref: '#/components/schemas/dispatch__signal__models__SignalRead'
      required:
        - project
        - raw
        - id
        - signal
      title: SignalInstanceRead
      type: object
    dispatch__signal__models__SignalRead:
      properties:
        case_priority:
          $ref: '#/components/schemas/CasePriorityRead'
        case_type:
          $ref: '#/components/schemas/CaseTypeRead'
        conversation_target:
          title: Conversation Target
          type: string
        create_case:
          default: true
          title: Create Case
          type: boolean
        created_at:
          format: date-time
          title: Created At
          type: string
        description:
          title: Description
          type: string
        enabled:
          default: false
          title: Enabled
          type: boolean
        entity_types:
          default: []
          items:
            $ref: '#/components/schemas/EntityTypeRead'
          title: Entity Types
          type: array
        external_id:
          title: External Id
          type: string
        external_url:
          title: External Url
          type: string
        filters:
          default: []
          items:
            $ref: '#/components/schemas/SignalFilterRead'
          title: Filters
          type: array
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        name:
          title: Name
          type: string
        oncall_service:
          $ref: '#/components/schemas/dispatch__signal__models__Service'
        owner:
          title: Owner
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        source:
          $ref: '#/components/schemas/SourceBase'
        tags:
          default: []
          items:
            $ref: '#/components/schemas/TagRead'
          title: Tags
          type: array
        variant:
          title: Variant
          type: string
        workflows:
          default: []
          items:
            $ref: '#/components/schemas/WorkflowRead'
          title: Workflows
          type: array
      required:
        - name
        - owner
        - external_id
        - project
        - id
      title: SignalRead
      type: object
    dispatch__task__models__TaskRead:
      properties:
        assignees:
          default: []
          items:
            $ref: '#/components/schemas/ParticipantRead'
          title: Assignees
          type: array
        created_at:
          format: date-time
          title: Created At
          type: string
        creator:
          $ref: '#/components/schemas/ParticipantRead'
        description:
          nullable: true
          title: Description
          type: string
        id:
          exclusiveMaximum: 2147483647
          exclusiveMinimum: 0
          title: Id
          type: integer
        incident:
          $ref: '#/components/schemas/IncidentReadMinimal'
        owner:
          $ref: '#/components/schemas/ParticipantRead'
        priority:
          nullable: true
          title: Priority
          type: string
        project:
          $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
        resolve_by:
          format: date-time
          title: Resolve By
          type: string
        resolved_at:
          format: date-time
          title: Resolved At
          type: string
        resource_id:
          nullable: true
          title: Resource Id
          type: string
        resource_type:
          nullable: true
          title: Resource Type
          type: string
        source:
          nullable: true
          title: Source
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/TaskStatus'
          default: Open
        updated_at:
          format: date-time
          title: Updated At
          type: string
        weblink:
          nullable: true
          title: Weblink
          type: string
      required:
        - incident
        - id
      title: TaskRead
      type: object
info:
  description: >-
    Welcome to Dispatch's API documentation! Here you will able to discover all
    of the ways you can interact with the Dispatch API.
  title: Dispatch
  version: 0.1.0
openapi: 3.0.2
paths:
  /organizations:
    get:
      description: Get all organizations.
      operationId: get_organizations_organizations_get
      parameters:
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Organizations
      tags:
        - organizations
    post:
      description: Create a new organization.
      operationId: create_organization_organizations_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Organization
      tags:
        - organizations
  /organizations/{organization_id}:
    get:
      description: Get an organization.
      operationId: get_organization_organizations__organization_id__get
      parameters:
        - in: path
          name: organization_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Organization Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Organization
      tags:
        - organizations
    put:
      description: Update an organization.
      operationId: update_organization_organizations__organization_id__put
      parameters:
        - in: path
          name: organization_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Organization Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Organization
      tags:
        - organizations
  /{organization}/auth/login:
    post:
      operationId: login_user__organization__auth_login_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserLogin'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserLoginResponse'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Login User
      tags:
        - auth
  /{organization}/auth/me:
    get:
      operationId: get_me__organization__auth_me_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Me
      tags:
        - auth
  /{organization}/auth/register:
    post:
      operationId: register_user__organization__auth_register_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserRegister'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRegisterResponse'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Register User
      tags:
        - auth
  /{organization}/case_priorities:
    get:
      description: Returns all case priorities.
      operationId: get_case_priorities__organization__case_priorities_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasePriorityPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Case Priorities
      tags:
        - case_priorities
        - case_priorities
    post:
      description: Creates a new case priority.
      operationId: create_case_priority__organization__case_priorities_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CasePriorityCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasePriorityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Case Priority
      tags:
        - case_priorities
  /{organization}/case_priorities/{case_priority_id}:
    get:
      description: Gets a case priority.
      operationId: get_case_priority__organization__case_priorities__case_priority_id__get
      parameters:
        - in: path
          name: case_priority_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Priority Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasePriorityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Case Priority
      tags:
        - case_priorities
    put:
      description: Updates an existing case priority.
      operationId: >-
        update_case_priority__organization__case_priorities__case_priority_id__put
      parameters:
        - in: path
          name: case_priority_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Priority Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CasePriorityUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CasePriorityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Case Priority
      tags:
        - case_priorities
  /{organization}/case_severities:
    get:
      description: Returns all case severities.
      operationId: get_case_severities__organization__case_severities_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseSeverityPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Case Severities
      tags:
        - case_severities
        - case_severities
    post:
      description: Creates a new case severity.
      operationId: create_case_severity__organization__case_severities_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaseSeverityCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseSeverityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Case Severity
      tags:
        - case_severities
  /{organization}/case_severities/{case_severity_id}:
    get:
      description: Gets a case severity.
      operationId: get_case_severity__organization__case_severities__case_severity_id__get
      parameters:
        - in: path
          name: case_severity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Severity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseSeverityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Case Severity
      tags:
        - case_severities
    put:
      description: Updates an existing case severity.
      operationId: >-
        update_case_severity__organization__case_severities__case_severity_id__put
      parameters:
        - in: path
          name: case_severity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Severity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaseSeverityUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseSeverityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Case Severity
      tags:
        - case_severities
  /{organization}/case_types:
    get:
      description: Returns all case types.
      operationId: get_case_types__organization__case_types_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseTypePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Case Types
      tags:
        - case_types
        - case_types
    post:
      description: Creates a new case type.
      operationId: create_case_type__organization__case_types_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaseTypeCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Case Type
      tags:
        - case_types
  /{organization}/case_types/{case_type_id}:
    get:
      description: Gets a case type.
      operationId: get_case_type__organization__case_types__case_type_id__get
      parameters:
        - in: path
          name: case_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Case Type
      tags:
        - case_types
    put:
      description: Updates an existing case type.
      operationId: update_case_type__organization__case_types__case_type_id__put
      parameters:
        - in: path
          name: case_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaseTypeUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Case Type
      tags:
        - case_types
  /{organization}/cases:
    get:
      description: Retrieves all cases.
      operationId: get_cases__organization__cases_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: include[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Include[]
            type: array
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Retrieves a list of cases.
      tags:
        - cases
    post:
      description: Creates a new case.
      operationId: create_case__organization__cases_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaseCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__case__models__CaseRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Creates a new case.
      tags:
        - cases
  /{organization}/cases/{case_id}:
    delete:
      description: Deletes an existing case and its external resources.
      operationId: delete_case__organization__cases__case_id__delete
      parameters:
        - in: path
          name: case_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Deletes an existing case and its external resources.
      tags:
        - cases
    get:
      description: Retrieves the details of a single case.
      operationId: get_case__organization__cases__case_id__get
      parameters:
        - in: path
          name: case_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__case__models__CaseRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Retrieves a single case.
      tags:
        - cases
    put:
      description: Updates an existing case.
      operationId: update_case__organization__cases__case_id__put
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: path
          name: case_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Case Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CaseUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__case__models__CaseRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Updates an existing case.
      tags:
        - cases
  /{organization}/cases/{case_id}/escalate:
    put:
      description: Escalates an existing case.
      operationId: escalate_case__organization__cases__case_id__escalate_put
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Escalates an existing case.
      tags:
        - cases
  /{organization}/data/alerts:
    post:
      description: Creates a new alert.
      operationId: create_alert__organization__data_alerts_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Alert
      tags:
        - alerts
  /{organization}/data/alerts/{alert_id}:
    delete:
      description: Deletes an alert, returning only an HTTP 200 OK if successful.
      operationId: delete_alert__organization__data_alerts__alert_id__delete
      parameters:
        - in: path
          name: alert_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Alert Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Alert
      tags:
        - alerts
    get:
      description: Given its unique id, retrieve details about a single alert.
      operationId: get_alert__organization__data_alerts__alert_id__get
      parameters:
        - in: path
          name: alert_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Alert Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Alert
      tags:
        - alerts
    put:
      description: Updates an alert.
      operationId: update_alert__organization__data_alerts__alert_id__put
      parameters:
        - in: path
          name: alert_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Alert Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Alert
      tags:
        - alerts
  /{organization}/data/queries:
    get:
      description: Get all queries, or only those matching a given search term.
      operationId: get_queries__organization__data_queries_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Queries
      tags:
        - queries
    post:
      description: Creates a new data query.
      operationId: create_query__organization__data_queries_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Query
      tags:
        - queries
  /{organization}/data/queries/{query_id}:
    delete:
      description: Deletes a data query, returning only an HTTP 200 OK if successful.
      operationId: delete_query__organization__data_queries__query_id__delete
      parameters:
        - in: path
          name: query_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Query Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Query
      tags:
        - queries
    get:
      description: Given its unique ID, retrieve details about a single query.
      operationId: get_query__organization__data_queries__query_id__get
      parameters:
        - in: path
          name: query_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Query Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Query
      tags:
        - queries
    put:
      description: Updates a data query.
      operationId: update_query__organization__data_queries__query_id__put
      parameters:
        - in: path
          name: query_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Query Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Query
      tags:
        - queries
  /{organization}/data/sources:
    get:
      description: Get all sources, or only those matching a given search term.
      operationId: get_sources__organization__data_sources_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourcePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Sources
      tags:
        - sources
    post:
      description: Creates a new source.
      operationId: create_source__organization__data_sources_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Source
      tags:
        - sources
  /{organization}/data/sources/dataFormats:
    get:
      description: Get all source data formats, or only those matching a given search term.
      operationId: get_source_data_formats__organization__data_sources_dataFormats_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceDataFormatPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Data Formats
      tags:
        - source_data_formats
    post:
      description: Creates a new source data format.
      operationId: create_source_data_format__organization__data_sources_dataFormats_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceDataFormatCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceDataFormatRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Source Data Format
      tags:
        - source_data_formats
  /{organization}/data/sources/dataFormats/{source_data_format_id}:
    delete:
      description: >-
        Delete a source data format, returning only an HTTP 200 OK if
        successful.
      operationId: >-
        delete_source_data_format__organization__data_sources_dataFormats__source_data_format_id__delete
      parameters:
        - in: path
          name: source_data_format_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Data Format Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Source Data Format
      tags:
        - source_data_formats
    get:
      description: Given its unique id, retrieve details about a source data format.
      operationId: >-
        get_source_data_format__organization__data_sources_dataFormats__source_data_format_id__get
      parameters:
        - in: path
          name: source_data_format_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Data Format Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceDataFormatRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Data Format
      tags:
        - source_data_formats
    put:
      description: Updates a source data format.
      operationId: >-
        update_source_data_format__organization__data_sources_dataFormats__source_data_format_id__put
      parameters:
        - in: path
          name: source_data_format_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Data Format Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceDataFormatUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceDataFormatRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Source Data Format
      tags:
        - source_data_formats
  /{organization}/data/sources/environments:
    get:
      description: >-
        Get all source_environment environments, or only those matching a given
        search term.
      operationId: get_source_environments__organization__data_sources_environments_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceEnvironmentPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Environments
      tags:
        - source_environments
    post:
      description: Creates a new source environment.
      operationId: create_source_environment__organization__data_sources_environments_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceEnvironmentCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceEnvironmentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Source Environment
      tags:
        - source_environments
  /{organization}/data/sources/environments/{source_environment_id}:
    delete:
      description: >-
        Delete a source environment, returning only an HTTP 200 OK if
        successful.
      operationId: >-
        delete_source_environment__organization__data_sources_environments__source_environment_id__delete
      parameters:
        - in: path
          name: source_environment_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Environment Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Source Environment
      tags:
        - source_environments
    get:
      description: >-
        Given its unique id, retrieve details about a single source_environment
        environment.
      operationId: >-
        get_source_environment__organization__data_sources_environments__source_environment_id__get
      parameters:
        - in: path
          name: source_environment_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Environment Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceEnvironmentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Environment
      tags:
        - source_environments
    put:
      description: Updates a source environment.
      operationId: >-
        update_source_environment__organization__data_sources_environments__source_environment_id__put
      parameters:
        - in: path
          name: source_environment_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Environment Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceEnvironmentUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceEnvironmentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Source Environment
      tags:
        - source_environments
  /{organization}/data/sources/statuses:
    get:
      description: Get all source statuses, or only those matching a given search term.
      operationId: get_source_statuses__organization__data_sources_statuses_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceStatusPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Statuses
      tags:
        - source_statuses
    post:
      description: Creates a new source status.
      operationId: create_source_status__organization__data_sources_statuses_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceStatusCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceStatusRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Source Status
      tags:
        - source_statuses
  /{organization}/data/sources/statuses/{source_status_id}:
    delete:
      description: Deletes a source status, returning only an HTTP 200 OK if successful.
      operationId: >-
        delete_source_status__organization__data_sources_statuses__source_status_id__delete
      parameters:
        - in: path
          name: source_status_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Status Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Source Status
      tags:
        - source_statuses
    get:
      description: Given its unique id, retrieve details about a single source status.
      operationId: >-
        get_source_status__organization__data_sources_statuses__source_status_id__get
      parameters:
        - in: path
          name: source_status_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Status Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceStatusRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Status
      tags:
        - source_statuses
    put:
      description: Updates a source status.
      operationId: >-
        update_source_status__organization__data_sources_statuses__source_status_id__put
      parameters:
        - in: path
          name: source_status_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Status Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceStatusUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceStatusRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Source Status
      tags:
        - source_statuses
  /{organization}/data/sources/transports:
    get:
      description: Get all source transports, or only those matching a given search term.
      operationId: get_source_transports__organization__data_sources_transports_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTransportPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Transports
      tags:
        - source_transports
    post:
      description: Creates a new source transport.
      operationId: create_source_transport__organization__data_sources_transports_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceTransportCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTransportRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Source Transport
      tags:
        - source_transports
  /{organization}/data/sources/transports/{source_transport_id}:
    delete:
      description: Deletes a source transport, returning only an HTTP 200 OK if successful.
      operationId: >-
        delete_source_transport__organization__data_sources_transports__source_transport_id__delete
      parameters:
        - in: path
          name: source_transport_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Transport Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Source Transport
      tags:
        - source_transports
    get:
      description: Given its unique id, retrieve details about a single source transport.
      operationId: >-
        get_source_transport__organization__data_sources_transports__source_transport_id__get
      parameters:
        - in: path
          name: source_transport_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Transport Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTransportRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Transport
      tags:
        - source_transports
    put:
      description: Updates a source transport.
      operationId: >-
        update_source_transport__organization__data_sources_transports__source_transport_id__put
      parameters:
        - in: path
          name: source_transport_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Transport Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceTransportUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTransportRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Source Transport
      tags:
        - source_transports
  /{organization}/data/sources/types:
    get:
      description: Get all source types, or only those matching a given search term.
      operationId: get_source_types__organization__data_sources_types_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTypePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Types
      tags:
        - source_types
    post:
      description: Creates a new source type.
      operationId: create_source_type__organization__data_sources_types_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceTypeCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Source Type
      tags:
        - source_types
  /{organization}/data/sources/types/{source_type_id}:
    delete:
      description: Deletes a source type, returning only an HTTP 200 OK if successful.
      operationId: >-
        delete_source_type__organization__data_sources_types__source_type_id__delete
      parameters:
        - in: path
          name: source_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Source Type
      tags:
        - source_types
    get:
      description: Given its unique id, retrieve details about a single source type.
      operationId: get_source_type__organization__data_sources_types__source_type_id__get
      parameters:
        - in: path
          name: source_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source Type
      tags:
        - source_types
    put:
      description: Updates a source type.
      operationId: >-
        update_source_type__organization__data_sources_types__source_type_id__put
      parameters:
        - in: path
          name: source_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceTypeUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Source Type
      tags:
        - source_types
  /{organization}/data/sources/{source_id}:
    delete:
      description: Deletes a source, returning only an HTTP 200 OK if successful.
      operationId: delete_source__organization__data_sources__source_id__delete
      parameters:
        - in: path
          name: source_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Source
      tags:
        - sources
    get:
      description: Given its unique id, retrieve details about a single source.
      operationId: get_source__organization__data_sources__source_id__get
      parameters:
        - in: path
          name: source_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Source
      tags:
        - sources
    put:
      description: Updates a source.
      operationId: update_source__organization__data_sources__source_id__put
      parameters:
        - in: path
          name: source_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Source Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SourceUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Source
      tags:
        - sources
  /{organization}/definitions:
    get:
      description: Get all definitions.
      operationId: get_definitions__organization__definitions_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefinitionPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Definitions
      tags:
        - definitions
    post:
      description: Create a new definition.
      operationId: create_definition__organization__definitions_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DefinitionCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefinitionRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Definition
      tags:
        - definitions
  /{organization}/definitions/{definition_id}:
    delete:
      description: Delete a definition.
      operationId: delete_definition__organization__definitions__definition_id__delete
      parameters:
        - in: path
          name: definition_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Definition Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Definition
      tags:
        - definitions
    get:
      description: Update a definition.
      operationId: get_definition__organization__definitions__definition_id__get
      parameters:
        - in: path
          name: definition_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Definition Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefinitionRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Definition
      tags:
        - definitions
    put:
      description: Update a definition.
      operationId: update_definition__organization__definitions__definition_id__put
      parameters:
        - in: path
          name: definition_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Definition Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DefinitionUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefinitionRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Definition
      tags:
        - definitions
  /{organization}/documents:
    get:
      description: Get all documents.
      operationId: get_documents__organization__documents_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Documents
      tags:
        - documents
    post:
      description: Create a new document.
      operationId: create_document__organization__documents_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Document
      tags:
        - documents
  /{organization}/documents/{document_id}:
    delete:
      description: Delete a document.
      operationId: delete_document__organization__documents__document_id__delete
      parameters:
        - in: path
          name: document_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Document Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Document
      tags:
        - documents
    get:
      description: Update a document.
      operationId: get_document__organization__documents__document_id__get
      parameters:
        - in: path
          name: document_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Document Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Document
      tags:
        - documents
    put:
      description: Update a document.
      operationId: update_document__organization__documents__document_id__put
      parameters:
        - in: path
          name: document_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Document Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DocumentUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Document
      tags:
        - documents
  /{organization}/entity:
    get:
      description: Get all entities, or only those matching a given search term.
      operationId: get_entities__organization__entity_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Entities
      tags:
        - entities
    post:
      description: Creates a new entity.
      operationId: create_entity__organization__entity_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Entity
      tags:
        - entities
  /{organization}/entity/{entity_id}:
    delete:
      description: Deletes a entity, returning only an HTTP 200 OK if successful.
      operationId: delete_entity__organization__entity__entity_id__delete
      parameters:
        - in: path
          name: entity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Entity
      tags:
        - entities
    get:
      description: Given its unique id, retrieve details about a single entity.
      operationId: get_entity__organization__entity__entity_id__get
      parameters:
        - in: path
          name: entity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Entity
      tags:
        - entities
    put:
      description: Updates an existing entity.
      operationId: update_entity__organization__entity__entity_id__put
      parameters:
        - in: path
          name: entity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Entity
      tags:
        - entities
  /{organization}/entity/{entity_id}/cases/{days_back}:
    get:
      operationId: >-
        count_cases_with_entity__organization__entity__entity_id__cases__days_back__get
      parameters:
        - in: path
          name: days_back
          required: true
          schema:
            title: Days Back
            type: integer
        - in: path
          name: entity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Count Cases With Entity
      tags:
        - entities
  /{organization}/entity/{entity_id}/signal_instances/{days_back}:
    get:
      operationId: >-
        get_signal_instances_by_entity__organization__entity__entity_id__signal_instances__days_back__get
      parameters:
        - in: path
          name: days_back
          required: true
          schema:
            title: Days Back
            type: integer
        - in: path
          name: entity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Signal Instances By Entity
      tags:
        - entities
  /{organization}/entity_type:
    get:
      description: Get all entities, or only those matching a given search term.
      operationId: get_entity_types__organization__entity_type_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityTypePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Entity Types
      tags:
        - entity_types
    post:
      description: Create a new entity.
      operationId: create_entity_type__organization__entity_type_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityTypeCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Entity Type
      tags:
        - entity_types
  /{organization}/entity_type/{entity_type_id}:
    delete:
      description: Delete an entity.
      operationId: delete_entity_type__organization__entity_type__entity_type_id__delete
      parameters:
        - in: path
          name: entity_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Entity Type
      tags:
        - entity_types
    get:
      description: Get a entity by its id.
      operationId: get_entity_type__organization__entity_type__entity_type_id__get
      parameters:
        - in: path
          name: entity_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Entity Type
      tags:
        - entity_types
    put:
      description: Update an entity.
      operationId: update_entity_type__organization__entity_type__entity_type_id__put
      parameters:
        - in: path
          name: entity_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityTypeUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Entity Type
      tags:
        - entity_types
  /{organization}/entity_type/{entity_type_id}/process:
    put:
      description: Process an entity type.
      operationId: >-
        process_entity_type__organization__entity_type__entity_type_id__process_put
      parameters:
        - in: path
          name: entity_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Entity Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EntityTypeUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntityTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Process Entity Type
      tags:
        - entity_types
  /{organization}/events/slack/action:
    post:
      description: Handle all incoming Slack actions.
      operationId: slack_actions__organization__events_slack_action_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Slack Actions
      tags:
        - events
  /{organization}/events/slack/command:
    post:
      description: Handle all incoming Slack commands.
      operationId: slack_commands__organization__events_slack_command_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Slack Commands
      tags:
        - events
  /{organization}/events/slack/event:
    post:
      description: Handle all incoming Slack events.
      operationId: slack_events__organization__events_slack_event_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Slack Events
      tags:
        - events
  /{organization}/events/slack/menu:
    post:
      description: Handle all incoming Slack actions.
      operationId: slack_menus__organization__events_slack_menu_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Slack Menus
      tags:
        - events
  /{organization}/feedback:
    get:
      description: Get all feedback entries, or only those matching a given search term.
      operationId: get_feedback_entries__organization__feedback_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Feedback Entries
      tags:
        - feedback
    post:
      description: Create a new feedback entry.
      operationId: create_feedback__organization__feedback_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedbackCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Feedback
      tags:
        - feedback
  /{organization}/feedback/{feedback_id}:
    delete:
      description: Delete a feedback entry, returning only an HTTP 200 OK if successful.
      operationId: delete_feedback__organization__feedback__feedback_id__delete
      parameters:
        - in: path
          name: feedback_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Feedback Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Feedback
      tags:
        - feedback
    get:
      description: Get a feedback entry by its id.
      operationId: get_feedback__organization__feedback__feedback_id__get
      parameters:
        - in: path
          name: feedback_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Feedback Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Feedback
      tags:
        - feedback
    put:
      description: Updates a feedback entry by its id.
      operationId: update_feedback__organization__feedback__feedback_id__put
      parameters:
        - in: path
          name: feedback_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Feedback Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedbackUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeedbackRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Feedback
      tags:
        - feedback
  /{organization}/incident_cost_types:
    get:
      description: Get all incident cost types, or only those matching a given search term.
      operationId: get_incident_cost_types__organization__incident_cost_types_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostTypePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Cost Types
      tags:
        - incident_cost_types
    post:
      description: Create an incident cost type.
      operationId: create_incident_cost_type__organization__incident_cost_types_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentCostTypeCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Incident Cost Type
      tags:
        - incident_cost_types
  /{organization}/incident_cost_types/{incident_cost_type_id}:
    delete:
      description: >-
        Delete an incident cost type, returning only an HTTP 200 OK if
        successful.
      operationId: >-
        delete_incident_cost_type__organization__incident_cost_types__incident_cost_type_id__delete
      parameters:
        - in: path
          name: incident_cost_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Cost Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Incident Cost Type
      tags:
        - incident_cost_types
    get:
      description: Get an incident cost type by its id.
      operationId: >-
        get_incident_cost_type__organization__incident_cost_types__incident_cost_type_id__get
      parameters:
        - in: path
          name: incident_cost_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Cost Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Cost Type
      tags:
        - incident_cost_types
    put:
      description: Update an incident cost type by its id.
      operationId: >-
        update_incident_cost_type__organization__incident_cost_types__incident_cost_type_id__put
      parameters:
        - in: path
          name: incident_cost_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Cost Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentCostTypeUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Incident Cost Type
      tags:
        - incident_cost_types
  /{organization}/incident_costs:
    get:
      description: Get all incident costs, or only those matching a given search term.
      operationId: get_incident_costs__organization__incident_costs_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Costs
      tags:
        - incident_costs
    post:
      description: Create an incident cost.
      operationId: create_incident_cost__organization__incident_costs_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentCostCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Incident Cost
      tags:
        - incident_costs
  /{organization}/incident_costs/{incident_cost_id}:
    delete:
      description: Delete an incident cost, returning only an HTTP 200 OK if successful.
      operationId: >-
        delete_incident_cost__organization__incident_costs__incident_cost_id__delete
      parameters:
        - in: path
          name: incident_cost_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Cost Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Incident Cost
      tags:
        - incident_costs
    get:
      description: Get an incident cost by its id.
      operationId: get_incident_cost__organization__incident_costs__incident_cost_id__get
      parameters:
        - in: path
          name: incident_cost_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Cost Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Cost
      tags:
        - incident_costs
    put:
      description: Update an incident cost by its id.
      operationId: >-
        update_incident_cost__organization__incident_costs__incident_cost_id__put
      parameters:
        - in: path
          name: incident_cost_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Cost Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentCostUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentCostRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Incident Cost
      tags:
        - incident_costs
  /{organization}/incident_priorities:
    get:
      description: Returns all incident priorities.
      operationId: get_incident_priorities__organization__incident_priorities_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentPriorityPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Priorities
      tags:
        - incident_priorities
        - incident_priorities
    post:
      description: Create a new incident priority.
      operationId: create_incident_priority__organization__incident_priorities_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentPriorityCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentPriorityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Incident Priority
      tags:
        - incident_priorities
  /{organization}/incident_priorities/{incident_priority_id}:
    get:
      description: Get an incident priority.
      operationId: >-
        get_incident_priority__organization__incident_priorities__incident_priority_id__get
      parameters:
        - in: path
          name: incident_priority_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Priority Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentPriorityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Priority
      tags:
        - incident_priorities
    put:
      description: Update an existing incident priority.
      operationId: >-
        update_incident_priority__organization__incident_priorities__incident_priority_id__put
      parameters:
        - in: path
          name: incident_priority_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Priority Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentPriorityUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentPriorityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Incident Priority
      tags:
        - incident_priorities
  /{organization}/incident_roles/{role}:
    get:
      description: Get all incident role mappings.
      operationId: get_incident_roles__organization__incident_roles__role__get
      parameters:
        - in: path
          name: role
          required: true
          schema:
            $ref: '#/components/schemas/ParticipantRoleType'
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: projectName
          required: true
          schema:
            title: Projectname
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentRoles'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Roles
      tags:
        - role
    put:
      description: Update a incident role mapping by its id.
      operationId: update_incident_role__organization__incident_roles__role__put
      parameters:
        - in: path
          name: role
          required: true
          schema:
            $ref: '#/components/schemas/ParticipantRoleType'
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: projectName
          required: true
          schema:
            title: Projectname
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentRolesCreateUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentRoles'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Incident Role
      tags:
        - role
  /{organization}/incident_severities:
    get:
      description: Returns all incident severities.
      operationId: get_incident_severities__organization__incident_severities_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentSeverityPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Severities
      tags:
        - incident_severities
        - incident_severities
    post:
      description: Creates a new incident severity.
      operationId: create_incident_severity__organization__incident_severities_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentSeverityCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentSeverityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Incident Severity
      tags:
        - incident_severities
  /{organization}/incident_severities/{incident_severity_id}:
    get:
      description: Gets an incident severity.
      operationId: >-
        get_incident_severity__organization__incident_severities__incident_severity_id__get
      parameters:
        - in: path
          name: incident_severity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Severity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentSeverityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Severity
      tags:
        - incident_severities
    put:
      description: Updates an existing incident severity.
      operationId: >-
        update_incident_severity__organization__incident_severities__incident_severity_id__put
      parameters:
        - in: path
          name: incident_severity_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Severity Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentSeverityUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentSeverityRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Incident Severity
      tags:
        - incident_severities
  /{organization}/incident_types:
    get:
      description: Returns all incident types.
      operationId: get_incident_types__organization__incident_types_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTypePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Types
      tags:
        - incident_types
        - incident_types
    post:
      description: Create a new incident type.
      operationId: create_incident_type__organization__incident_types_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentTypeCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Incident Type
      tags:
        - incident_types
  /{organization}/incident_types/{incident_type_id}:
    get:
      description: Get an incident type.
      operationId: get_incident_type__organization__incident_types__incident_type_id__get
      parameters:
        - in: path
          name: incident_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Incident Type
      tags:
        - incident_types
    put:
      description: Update an existing incident type.
      operationId: >-
        update_incident_type__organization__incident_types__incident_type_id__put
      parameters:
        - in: path
          name: incident_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentTypeUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Incident Type
      tags:
        - incident_types
  /{organization}/incidents:
    get:
      description: Retrieves a list of incidents.
      operationId: get_incidents__organization__incidents_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: include[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Include[]
            type: array
        - in: query
          name: expand
          required: false
          schema:
            default: false
            title: Expand
            type: boolean
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Retrieve a list of incidents.
      tags:
        - incidents
    post:
      description: Creates a new incident.
      operationId: create_incident__organization__incidents_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Creates a new incident.
      tags:
        - incidents
  /{organization}/incidents/metric/forecast:
    get:
      description: Gets incident forecast data.
      operationId: get_incident_forecast__organization__incidents_metric_forecast_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Gets incident forecast data.
      tags:
        - incidents
  /{organization}/incidents/{incident_id}:
    delete:
      description: Deletes an incident and its external resources.
      operationId: delete_incident__organization__incidents__incident_id__delete
      parameters:
        - in: path
          name: incident_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Deletes an incident and its external resources.
      tags:
        - incidents
    get:
      description: Retrieves the details of a single incident.
      operationId: get_incident__organization__incidents__incident_id__get
      parameters:
        - in: path
          name: incident_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Retrieves a single incident.
      tags:
        - incidents
    put:
      description: Updates an existing incident.
      operationId: update_incident__organization__incidents__incident_id__put
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: path
          name: incident_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IncidentUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Updates an existing incident.
      tags:
        - incidents
  /{organization}/incidents/{incident_id}/join:
    post:
      description: Adds an individual to an incident.
      operationId: join_incident__organization__incidents__incident_id__join_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: path
          name: incident_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Adds an individual to an incident.
      tags:
        - incidents
  /{organization}/incidents/{incident_id}/report/executive:
    post:
      description: Creates an executive report.
      operationId: >-
        create_executive_report__organization__incidents__incident_id__report_executive_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: path
          name: incident_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExecutiveReportCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Creates an executive report.
      tags:
        - incidents
  /{organization}/incidents/{incident_id}/report/tactical:
    post:
      description: Creates a tactical report.
      operationId: >-
        create_tactical_report__organization__incidents__incident_id__report_tactical_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: path
          name: incident_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Id
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TacticalReportCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Creates a tactical report.
      tags:
        - incidents
  /{organization}/incidents/{incident_id}/subscribe:
    post:
      description: Subscribes an individual to an incident.
      operationId: >-
        subscribe_to_incident__organization__incidents__incident_id__subscribe_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: path
          name: incident_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Incident Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Subscribes an individual to an incident.
      tags:
        - incidents
  /{organization}/individuals:
    get:
      description: Retrieve individual contacts.
      operationId: get_individuals__organization__individuals_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndividualContactPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Individuals
      tags:
        - individuals
    post:
      description: Creates a new individual contact.
      operationId: create_individual__organization__individuals_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IndividualContactCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndividualContactRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Individual
      tags:
        - individuals
  /{organization}/individuals/{individual_contact_id}:
    delete:
      description: Deletes an individual contact.
      operationId: >-
        delete_individual__organization__individuals__individual_contact_id__delete
      parameters:
        - in: path
          name: individual_contact_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Individual Contact Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Deletes an individual contact.
      tags:
        - individuals
    get:
      description: Gets an individual contact.
      operationId: get_individual__organization__individuals__individual_contact_id__get
      parameters:
        - in: path
          name: individual_contact_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Individual Contact Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndividualContactRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Individual
      tags:
        - individuals
    put:
      description: Updates an individual contact.
      operationId: update_individual__organization__individuals__individual_contact_id__put
      parameters:
        - in: path
          name: individual_contact_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Individual Contact Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IndividualContactUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndividualContactRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Updates an individual's contact information.
      tags:
        - individuals
  /{organization}/notifications:
    get:
      description: Get all notifications, or only those matching a given search term.
      operationId: get_notifications__organization__notifications_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Notifications
      tags:
        - notifications
    post:
      description: Create a notification.
      operationId: create_notification__organization__notifications_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Notification
      tags:
        - notifications
  /{organization}/notifications/{notification_id}:
    delete:
      description: Delete a notification, returning only an HTTP 200 OK if successful.
      operationId: >-
        delete_notification__organization__notifications__notification_id__delete
      parameters:
        - in: path
          name: notification_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Notification Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Notification
      tags:
        - notifications
    get:
      description: Get a notification by its id.
      operationId: get_notification__organization__notifications__notification_id__get
      parameters:
        - in: path
          name: notification_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Notification Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Notification
      tags:
        - notifications
    put:
      description: Update a notification by its id.
      operationId: update_notification__organization__notifications__notification_id__put
      parameters:
        - in: path
          name: notification_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Notification Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Notification
      tags:
        - notifications
  /{organization}/plugins:
    get:
      description: Get all plugins.
      operationId: get_plugins__organization__plugins_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PluginPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Plugins
      tags:
        - plugins
  /{organization}/plugins/instances:
    get:
      description: Get all plugin instances.
      operationId: get_plugin_instances__organization__plugins_instances_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PluginInstancePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Plugin Instances
      tags:
        - plugins
    post:
      description: Create a new plugin instance.
      operationId: create_plugin_instance__organization__plugins_instances_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PluginInstanceCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PluginInstanceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Plugin Instance
      tags:
        - plugins
  /{organization}/plugins/instances/{plugin_instance_id}:
    delete:
      description: Deletes an existing plugin instance.
      operationId: >-
        delete_plugin_instances__organization__plugins_instances__plugin_instance_id__delete
      parameters:
        - in: path
          name: plugin_instance_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Plugin Instance Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Plugin Instances
      tags:
        - plugins
    get:
      description: Get a plugin instance.
      operationId: >-
        get_plugin_instance__organization__plugins_instances__plugin_instance_id__get
      parameters:
        - in: path
          name: plugin_instance_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Plugin Instance Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PluginInstanceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Plugin Instance
      tags:
        - plugins
    put:
      description: Update a plugin instance.
      operationId: >-
        update_plugin_instance__organization__plugins_instances__plugin_instance_id__put
      parameters:
        - in: path
          name: plugin_instance_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Plugin Instance Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PluginInstanceUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PluginInstanceCreate'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Plugin Instance
      tags:
        - plugins
  /{organization}/projects:
    get:
      description: Get all projects.
      operationId: get_projects__organization__projects_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Projects
      tags:
        - projects
    post:
      description: Create a new project.
      operationId: create_project__organization__projects_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create a new project.
      tags:
        - projects
  /{organization}/projects/{project_id}:
    delete:
      description: Delete a project.
      operationId: delete_project__organization__projects__project_id__delete
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Project Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Project
      tags:
        - projects
    get:
      description: Get a project.
      operationId: get_project__organization__projects__project_id__get
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Project Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get a project.
      tags:
        - projects
    put:
      description: Update a project.
      operationId: update_project__organization__projects__project_id__put
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Project Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__project__models__ProjectRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Project
      tags:
        - projects
  /{organization}/search:
    get:
      description: Perform a search.
      operationId: search__organization__search_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: type[]
          required: true
          schema:
            items:
              $ref: '#/components/schemas/SearchTypes'
            type: array
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Search
      tags:
        - search
  /{organization}/search/filters:
    get:
      description: Retrieve filters.
      operationId: get_filters__organization__search_filters_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchFilterPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Filters
      tags:
        - search_filters
    post:
      description: Create a new filter.
      operationId: create_search_filter__organization__search_filters_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchFilterCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchFilterRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Search Filter
      tags:
        - search_filters
  /{organization}/search/filters/{search_filter_id}:
    delete:
      description: Delete a search filter.
      operationId: delete_filter__organization__search_filters__search_filter_id__delete
      parameters:
        - in: path
          name: search_filter_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Search Filter Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Filter
      tags:
        - search_filters
    put:
      description: Update a search filter.
      operationId: >-
        update_search_filter__organization__search_filters__search_filter_id__put
      parameters:
        - in: path
          name: search_filter_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Search Filter Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchFilterUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchFilterRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Search Filter
      tags:
        - search_filters
  /{organization}/services:
    get:
      description: Retrieves all services.
      operationId: get_services__organization__services_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServicePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Services
      tags:
        - services
    post:
      description: Creates a new service.
      operationId: create_service__organization__services_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            example:
              external_id: '234234'
              is_active: true
              name: myService
              type: pagerduty
            schema:
              $ref: '#/components/schemas/ServiceCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Service
      tags:
        - services
  /{organization}/services/{service_id}:
    delete:
      description: Deletes a service.
      operationId: delete_service__organization__services__service_id__delete
      parameters:
        - in: path
          name: service_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Service Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Service
      tags:
        - services
    get:
      description: Gets a service.
      operationId: get_service__organization__services__service_id__get
      parameters:
        - in: path
          name: service_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Service Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Service
      tags:
        - services
    put:
      description: Updates an existing service.
      operationId: update_service__organization__services__service_id__put
      parameters:
        - in: path
          name: service_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Service Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Service
      tags:
        - services
  /{organization}/signals:
    get:
      description: Get all signal definitions.
      operationId: get_signals__organization__signals_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignalPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Signals
      tags:
        - signals
    post:
      description: Create a new signal.
      operationId: create_signal__organization__signals_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignalCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__signal__models__SignalRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Signal
      tags:
        - signals
  /{organization}/signals/filters:
    get:
      description: Get all signal filters.
      operationId: get_signal_filters__organization__signals_filters_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignalFilterPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Signal Filters
      tags:
        - signals
    post:
      description: Create a new signal filter.
      operationId: create_filter__organization__signals_filters_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignalFilterCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignalFilterRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Filter
      tags:
        - signals
  /{organization}/signals/filters/{signal_filter_id}:
    delete:
      description: Deletes a signal filter.
      operationId: delete_filter__organization__signals_filters__signal_filter_id__delete
      parameters:
        - in: path
          name: signal_filter_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Signal Filter Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Filter
      tags:
        - signals
    put:
      description: Updates an existing signal filter.
      operationId: update_filter__organization__signals_filters__signal_filter_id__put
      parameters:
        - in: path
          name: signal_filter_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Signal Filter Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignalFilterUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__signal__models__SignalRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Filter
      tags:
        - signals
  /{organization}/signals/instances:
    get:
      description: Get all signal instances.
      operationId: get_signal_instances__organization__signals_instances_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignalInstancePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Signal Instances
      tags:
        - signals
    post:
      description: Create a new signal instance.
      operationId: create_signal_instance__organization__signals_instances_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignalInstanceCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/dispatch__signal__models__SignalInstanceRead
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Signal Instance
      tags:
        - signals
  /{organization}/signals/{signal_id}:
    delete:
      description: Deletes a signal.
      operationId: delete_signal__organization__signals__signal_id__delete
      parameters:
        - in: path
          name: signal_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Signal Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Signal
      tags:
        - signals
    get:
      description: Get a signal by it's ID.
      operationId: get_signal__organization__signals__signal_id__get
      parameters:
        - in: path
          name: signal_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Signal Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__signal__models__SignalRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Signal
      tags:
        - signals
    put:
      description: Updates an existing signal.
      operationId: update_signal__organization__signals__signal_id__put
      parameters:
        - in: path
          name: signal_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Signal Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignalUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__signal__models__SignalRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Signal
      tags:
        - signals
  /{organization}/tag_types:
    get:
      description: Get all tag types, or only those matching a given search term.
      operationId: get_tag_types__organization__tag_types_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagTypePagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Tag Types
      tags:
        - tag_types
    post:
      description: Create a new tag type.
      operationId: create_tag_type__organization__tag_types_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagTypeCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Tag Type
      tags:
        - tag_types
  /{organization}/tag_types/{tag_type_id}:
    delete:
      description: Delete a tag type.
      operationId: delete_tag_type__organization__tag_types__tag_type_id__delete
      parameters:
        - in: path
          name: tag_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Tag Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Tag Type
      tags:
        - tag_types
    get:
      description: Get a tag type by its id.
      operationId: get_tag_type__organization__tag_types__tag_type_id__get
      parameters:
        - in: path
          name: tag_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Tag Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Tag Type
      tags:
        - tag_types
    put:
      description: Update a tag type.
      operationId: update_tag_type__organization__tag_types__tag_type_id__put
      parameters:
        - in: path
          name: tag_type_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Tag Type Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagTypeUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagTypeRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Tag Type
      tags:
        - tag_types
  /{organization}/tags:
    get:
      description: Get all tags, or only those matching a given search term.
      operationId: get_tags__organization__tags_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Tags
      tags:
        - tags
    post:
      description: Creates a new tag.
      operationId: create_tag__organization__tags_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Tag
      tags:
        - tags
  /{organization}/tags/recommendations/{model_name}/{id}:
    get:
      description: Retrieves a tag recommendation based on the model and model id.
      operationId: >-
        get_tag_recommendations__organization__tags_recommendations__model_name___id__get
      parameters:
        - in: path
          name: model_name
          required: true
          schema:
            title: Model Name
            type: string
        - in: path
          name: id
          required: true
          schema:
            title: Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Tag Recommendations
      tags:
        - tags
  /{organization}/tags/{tag_id}:
    delete:
      description: Deletes a tag, returning only an HTTP 200 OK if successful.
      operationId: delete_tag__organization__tags__tag_id__delete
      parameters:
        - in: path
          name: tag_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Tag Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Tag
      tags:
        - tags
    get:
      description: Given its unique id, retrieve details about a single tag.
      operationId: get_tag__organization__tags__tag_id__get
      parameters:
        - in: path
          name: tag_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Tag Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Tag
      tags:
        - tags
    put:
      description: Updates an existing tag.
      operationId: update_tag__organization__tags__tag_id__put
      parameters:
        - in: path
          name: tag_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Tag Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Tag
      tags:
        - tags
  /{organization}/tasks:
    get:
      description: Retrieve all tasks.
      operationId: get_tasks__organization__tasks_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: include[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Include[]
            type: array
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Retrieve a list of all tasks.
      tags:
        - tasks
    post:
      description: Creates a new task.
      operationId: create_task__organization__tasks_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__task__models__TaskRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Task
      tags:
        - tasks
        - tasks
  /{organization}/tasks/{task_id}:
    delete:
      description: Deletes an existing task.
      operationId: delete_task__organization__tasks__task_id__delete
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Task Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Task
      tags:
        - tasks
        - tasks
    put:
      description: Updates an existing task.
      operationId: update_task__organization__tasks__task_id__put
      parameters:
        - in: path
          name: task_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Task Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaskUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dispatch__task__models__TaskRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Task
      tags:
        - tasks
        - tasks
  /{organization}/teams:
    get:
      description: Get all team contacts.
      operationId: get_teams__organization__teams_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Teams
      tags:
        - teams
    post:
      description: Create a new team contact.
      operationId: create_team__organization__teams_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamContactCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamContactRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Team
      tags:
        - teams
  /{organization}/teams/{team_contact_id}:
    delete:
      description: Delete a team contact.
      operationId: delete_team__organization__teams__team_contact_id__delete
      parameters:
        - in: path
          name: team_contact_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Team Contact Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Team
      tags:
        - teams
    get:
      description: Get a team contact.
      operationId: get_team__organization__teams__team_contact_id__get
      parameters:
        - in: path
          name: team_contact_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Team Contact Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamContactRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Team
      tags:
        - teams
    put:
      description: Update a team contact.
      operationId: update_team__organization__teams__team_contact_id__put
      parameters:
        - in: path
          name: team_contact_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Team Contact Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamContactUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamContactRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Team
      tags:
        - teams
  /{organization}/terms:
    get:
      description: Retrieve all terms.
      operationId: get_terms__organization__terms_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TermPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Terms
      tags:
        - terms
    post:
      description: Create a new term.
      operationId: create_term__organization__terms_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TermCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TermRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Term
      tags:
        - terms
  /{organization}/terms/{term_id}:
    delete:
      description: Delete a term.
      operationId: delete_term__organization__terms__term_id__delete
      parameters:
        - in: path
          name: term_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Term Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Term
      tags:
        - terms
    get:
      description: Get a term.
      operationId: get_term__organization__terms__term_id__get
      parameters:
        - in: path
          name: term_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Term Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TermRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Term
      tags:
        - terms
    put:
      description: Update a term.
      operationId: update_term__organization__terms__term_id__put
      parameters:
        - in: path
          name: term_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Term Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TermUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TermRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Term
      tags:
        - terms
  /{organization}/users:
    get:
      description: Get all users.
      operationId: get_users__organization__users_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Users
      tags:
        - users
  /{organization}/users/{user_id}:
    get:
      description: Get a user.
      operationId: get_user__organization__users__user_id__get
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: User Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get User
      tags:
        - users
    put:
      description: Update a user.
      operationId: update_user__organization__users__user_id__put
      parameters:
        - in: path
          name: user_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: User Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update User
      tags:
        - users
  /{organization}/workflows:
    get:
      description: Get all workflows.
      operationId: get_workflows__organization__workflows_get
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
        - in: query
          name: page
          required: false
          schema:
            default: 1
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Page
            type: integer
        - in: query
          name: itemsPerPage
          required: false
          schema:
            default: 5
            exclusiveMaximum: 2147483647
            exclusiveMinimum: -2
            title: Itemsperpage
            type: integer
        - in: query
          name: q
          required: false
          schema:
            minLength: 1
            pattern: ^[ -~]+$
            title: Q
            type: string
        - in: query
          name: filter
          required: false
          schema:
            default: []
            format: json-string
            title: Filter
            type: string
        - in: query
          name: sortBy[]
          required: false
          schema:
            default: []
            items:
              type: string
            title: Sortby[]
            type: array
        - in: query
          name: descending[]
          required: false
          schema:
            default: []
            items:
              type: boolean
            title: Descending[]
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowPagination'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Workflows
      tags:
        - workflows
    post:
      description: Create a new workflow.
      operationId: create_workflow__organization__workflows_post
      parameters:
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Create Workflow
      tags:
        - workflows
  /{organization}/workflows/instances/{workflow_instance_id}:
    get:
      description: Get a workflow instance.
      operationId: >-
        get_workflow_instance__organization__workflows_instances__workflow_instance_id__get
      parameters:
        - in: path
          name: workflow_instance_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Workflow Instance Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowInstanceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Workflow Instance
      tags:
        - workflows
  /{organization}/workflows/{workflow_id}:
    delete:
      description: Delete a workflow.
      operationId: delete_workflow__organization__workflows__workflow_id__delete
      parameters:
        - in: path
          name: workflow_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Workflow Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Delete Workflow
      tags:
        - workflows
    get:
      description: Get a workflow.
      operationId: get_workflow__organization__workflows__workflow_id__get
      parameters:
        - in: path
          name: workflow_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Workflow Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Get Workflow
      tags:
        - workflows
    put:
      description: Update a workflow.
      operationId: update_workflow__organization__workflows__workflow_id__put
      parameters:
        - in: path
          name: workflow_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Workflow Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Update Workflow
      tags:
        - workflows
  /{organization}/workflows/{workflow_id}/run:
    post:
      description: Runs a workflow with a given set of parameters.
      operationId: run_workflow__organization__workflows__workflow_id__run_post
      parameters:
        - in: path
          name: workflow_id
          required: true
          schema:
            exclusiveMaximum: 2147483647
            exclusiveMinimum: 0
            title: Workflow Id
            type: integer
        - in: path
          name: organization
          required: true
          schema:
            minLength: 3
            pattern: ^[\w]+(?:_[\w]+)*$
            title: Organization
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowInstanceCreate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowInstanceRead'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      summary: Run Workflow
      tags:
        - workflows
