{
  "info": {
    "title": "DEMO SUCCESS TITLE",
    "version": "1.0.0"
  },
  "openapi": "3.0.2",
  "paths": {
    "/organization": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Get Organization",
        "security": [
          {
            "HTTPBasic": []
          },
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "title": "Response Get Organization Organization Get",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "parameters": [
          {
            "description": "Alpha-2 or Alpha-3 ISO 3166 country code",
            "required": true,
            "schema": {
              "title": "Country",
              "type": "string",
              "description": "Alpha-2 or Alpha-3 ISO 3166 country code"
            },
            "example": "US",
            "name": "country",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Name",
              "maxLength": 240,
              "type": "string"
            },
            "example": "Bridgeport Benefits of Hawaii, LLC",
            "name": "name",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "Street1",
              "type": "string"
            },
            "example": "700 Bishop St Ste 502",
            "name": "street1",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Street2",
              "type": "string",
              "default": "Suite 20"
            },
            "example": "Suite 20",
            "name": "street2",
            "in": "query"
          },
          {
            "required": true,
            "schema": {
              "title": "City",
              "type": "string"
            },
            "example": "Honolulu",
            "name": "city",
            "in": "query"
          },
          {
            "description": "Use last two letters of ISO 3166-2:US",
            "required": false,
            "schema": {
              "title": "State",
              "type": "string",
              "description": "Use last two letters of ISO 3166-2:US",
              "default": "HI"
            },
            "example": "HI",
            "name": "state",
            "in": "query"
          },
          {
            "required": false,
            "schema": {
              "title": "Postcode",
              "type": "string",
              "default": "96813",
              "example": "96813"
            },
            "example": "96813",
            "name": "postCode",
            "in": "query"
          }
        ],
        "x-page-slug": "get-organization",
        "description": "Search for an organization by organization Name and Address.\nAn organization is considered a match when we are able to find a record with the given organization name\nand the given Address for a particular organization.\n\nReturns a list to be TMF compliant, but will be one or none",
        "operationId": "get_organization_organization_get"
      },
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Create Organization",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "x-page-slug": "create-organization",
        "operationId": "create_organization_organization_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUnverifiedDataRequest"
              }
            }
          },
          "required": true
        }
      }
    },
    "/organization/{id}": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Get Organization By Id",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Id",
              "type": "string"
            },
            "example": "2e490bb5-7c56-5dc6-bed9-8668ddc21017",
            "name": "id",
            "in": "path"
          },
          {
            "required": false,
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/FilterDropdown"
                }
              ],
              "default": "ALL"
            },
            "name": "correlated_id_type",
            "in": "query"
          }
        ],
        "x-page-slug": "get-org-by-id",
        "description": "Retrieves an organization using the CIMS Company ID.\nFilter Correlated IDs by Correlated Type.",
        "operationId": "get_organization_by_id_organization__id__get"
      }
    },
    "/organization/{id}/correlation": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Create Correlations",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Id",
              "type": "string"
            },
            "example": "2e490bb5-7c56-5dc6-bed9-8668ddc21017",
            "name": "id",
            "in": "path"
          }
        ],
        "x-page-slug": "create-correlations",
        "description": "Add Correlation ID Type and Correlation ID to existing CoID.",
        "operationId": "create_correlations_organization__id__correlation_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            }
          },
          "required": true
        }
      },
      "patch": {
        "tags": [
          "Organization"
        ],
        "summary": "Update Correlated Id",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Id",
              "type": "string"
            },
            "example": "2e490bb5-7c56-5dc6-bed9-8668ddc21017",
            "name": "id",
            "in": "path"
          }
        ],
        "x-page-slug": "update-correlated-id",
        "description": "Update/replace existing Correlated ID for a given Correlated Type and CoID.",
        "operationId": "update_correlated_id_organization__id__correlation_patch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCorrelatedIdRequest"
              }
            }
          },
          "required": true
        }
      }
    },
    "/organization/correlation-lookup": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Get Organizations By Correlated Ids",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "x-page-slug": "get-orgs-by-correlated-ids",
        "description": "Retrieves multiple organizations using a list of Correlated Type and Correlated ID pairs.",
        "operationId": "get_organizations_by_correlated_ids_organization_correlation_lookup_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "title": "Bulk Search Items",
                "items": {
                  "$ref": "#/components/schemas/CorrelatedIdsSearchRequest"
                }
              },
              "example": [
                {
                  "correlated_id_type": "duns_number",
                  "correlated_id": "example_id"
                },
                {
                  "correlated_id_type": "C-NODE",
                  "correlated_id": "example_id"
                },
                {
                  "correlated_id_type": "SAART_L2",
                  "correlated_id": "example_id"
                },
                {
                  "correlated_id_type": "SAART_L3",
                  "correlated_id": "example_id"
                }
              ]
            }
          },
          "required": true
        }
      }
    },
    "/organization/{correlated_id_type}/{correlated_id}": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Get Organization By Correlated Id",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "parameters": [
          {
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/CorrelatedSource"
            },
            "example": "duns_number",
            "name": "correlated_id_type",
            "in": "path"
          },
          {
            "required": true,
            "schema": {
              "title": "Correlated Id",
              "type": "string"
            },
            "example": "002330017",
            "name": "correlated_id",
            "in": "path"
          }
        ],
        "x-page-slug": "get-org-by-correlated-id",
        "description": "Retrieves an organization using the Correlated Type and Correlated ID.",
        "operationId": "get_organization_by_correlated_id_organization__correlated_id_type___correlated_id__get"
      }
    },
    "/organization/{id}/correlation/{correlated_id_type}/{correlated_id}": {
      "delete": {
        "tags": [
          "Organization"
        ],
        "summary": "Delete Correlated Id",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Validation Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "parameters": [
          {
            "required": true,
            "schema": {
              "title": "Id",
              "type": "string"
            },
            "example": "2e490bb5-7c56-5dc6-bed9-8668ddc21017",
            "name": "id",
            "in": "path"
          },
          {
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/UpdateDeleteCorrelatedSource"
            },
            "example": "C-NODE",
            "name": "correlated_id_type",
            "in": "path"
          },
          {
            "required": true,
            "schema": {
              "title": "Correlated Id",
              "type": "string"
            },
            "example": "123456",
            "name": "correlated_id",
            "in": "path"
          }
        ],
        "x-page-slug": "delete-correlated-id",
        "description": "Delete Correlated ID for given Correlated Type and CoID.",
        "operationId": "delete_correlated_id_organization__id__correlation__correlated_id_type___correlated_id__delete"
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "title": "Error",
        "required": [
          "code",
          "reason"
        ],
        "properties": {
          "code": {
            "type": "string",
            "title": "Code",
            "description": "HTTP Error Code."
          },
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "Error"
          },
          "reason": {
            "type": "string",
            "title": "Reason",
            "description": "Explanation of the reason for the error which can be shown to a client user."
          },
          "status": {
            "type": "string",
            "title": "Status"
          },
          "message": {
            "type": "string",
            "title": "Message"
          },
          "@basetype": {
            "type": "string",
            "title": "@Basetype"
          },
          "referenceError": {
            "type": "string",
            "title": "Referenceerror"
          }
        },
        "description": "Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)"
      },
      "TimePeriod": {
        "type": "object",
        "title": "TimePeriod",
        "properties": {
          "endDateTime": {
            "type": "string",
            "title": "Enddatetime",
            "format": "date-time"
          },
          "startDateTime": {
            "type": "string",
            "title": "Startdatetime",
            "format": "date-time"
          }
        },
        "description": "A period of time, either as a deadline (endDateTime only) a startDateTime only, or both"
      },
      "Organization": {
        "type": "object",
        "title": "Organization",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "example": "a8216bbf-fb08-48cd-982f-e238d3ecb828",
            "description": "Company ID generated by CIMS. Unique identifier of the organization."
          },
          "href": {
            "type": "string",
            "title": "Href",
            "example": "https://cims-westus2-poc-cims-container-as.azurewebsites.net/organization/a8216bbf-fb08-48cd-982f-e238d3ecb828",
            "description": "Hyperlink to access the organization."
          },
          "name": {
            "type": "string",
            "title": "Name",
            "example": "Florida Department of Labor and Employment Security",
            "description": "Organization/Business name"
          },
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "Organization"
          },
          "status": {
            "$ref": "#/components/schemas/OrganizationStateType"
          },
          "otherName": {
            "type": "array",
            "title": "Othername",
            "items": {
              "$ref": "#/components/schemas/OtherNameOrganization"
            }
          },
          "tradingName": {
            "type": "string",
            "title": "Tradingname",
            "example": "Bureau of Compliance",
            "description": "Name that the organization (unit) trades under."
          },
          "isHeadOffice": {
            "type": "boolean",
            "title": "Isheadoffice",
            "description": "If value is true, the organization is the head office i.e the Global Ultimate in D&B terms."
          },
          "existsDuring": {
            "$ref": "#/components/schemas/TimePeriod"
          },
          "relatedParty": {
            "type": "array",
            "title": "Relatedparty",
            "items": {
              "$ref": "#/components/schemas/RelatedParty"
            }
          },
          "contactMedium": {
            "type": "array",
            "title": "Contactmedium",
            "items": {
              "$ref": "#/components/schemas/ContactMedium"
            }
          },
          "organizationIdentification": {
            "type": "array",
            "title": "Organizationidentification",
            "items": {
              "$ref": "#/components/schemas/OrganizationIdentification"
            }
          },
          "organizationChildRelationship": {
            "type": "array",
            "title": "Organizationchildrelationship",
            "items": {
              "$ref": "#/components/schemas/OrganizationChildRelationship"
            }
          },
          "organizationParentRelationship": {
            "$ref": "#/components/schemas/OrganizationParentRelationship"
          }
        },
        "description": "Organization represents a group of people identified by shared interests or purpose. Examples include business, department and enterprise.\nCIMS uses this Organization model to provide a single Company Identifier based on Company Name + Location uniqueness from sources like D&B."
      },
      "RelatedParty": {
        "type": "object",
        "title": "RelatedParty",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "example": "0daf2215-f76f-48ff-8959-a440c0d3bd2b",
            "description": "Company ID generated by CIMS. Unique identifier of the organization."
          },
          "href": {
            "type": "string",
            "title": "Href",
            "example": "https://cims-westus2-poc-cims-container-as.azurewebsites.net/organization/0daf2215-f76f-48ff-8959-a440c0d3bd2b",
            "description": "Hyperlink to access the organization."
          },
          "name": {
            "type": "string",
            "title": "Name",
            "description": "Name of the root organization."
          },
          "role": {
            "type": "string",
            "title": "Role",
            "description": "Role played by the related party. Example: Global Ultimate"
          },
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "RelatedParty"
          },
          "@referredType": {
            "type": "string",
            "title": "@Referredtype",
            "default": "Organization"
          }
        },
        "description": "Related Entity reference. A related party defines party or party role linked to a specific entity.\nOne of the entities in the list contains the reference to the Global Ultimate/Root Organization in a structure of organizations."
      },
      "ContactMedium": {
        "type": "object",
        "title": "ContactMedium",
        "properties": {
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "ContactMedium"
          },
          "validFor": {
            "$ref": "#/components/schemas/TimePeriod"
          },
          "preferred": {
            "type": "boolean",
            "title": "Preferred",
            "description": "If true, indicates that is the preferred contact medium."
          },
          "mediumType": {
            "type": "string",
            "title": "Mediumtype",
            "example": "Postal Address",
            "description": "Type of the contact medium, such as: email address, telephone number, postal address."
          },
          "characteristic": {
            "$ref": "#/components/schemas/MediumCharacteristic"
          }
        },
        "description": "Indicates the contact medium that could be used to contact the organization."
      },
      "FilterDropdown": {
        "enum": [
          "ALL",
          "NONE",
          "DUNS",
          "C-NODE",
          "SAART_L2",
          "SAART_L3"
        ],
        "type": "string",
        "title": "FilterDropdown",
        "description": "An enumeration."
      },
      "OrganizationRef": {
        "type": "object",
        "title": "OrganizationRef",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "example": "348882b5-4072-4f5f-a931-7134252b266b",
            "description": "Unique identifier of a related entity. Company ID of the related Organization."
          },
          "href": {
            "type": "string",
            "title": "Href",
            "example": "https://cims-westus2-poc-cims-container-as.azurewebsites.net/organization/348882b5-4072-4f5f-a931-7134252b266b",
            "description": "Hyperlink to access the related organization."
          },
          "name": {
            "type": "string",
            "title": "Name",
            "description": "Name of the related organization."
          },
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "OrganizationRef"
          },
          "@referredType": {
            "type": "string",
            "title": "@Referredtype",
            "default": "Organization"
          }
        }
      },
      "CorrelatedSource": {
        "enum": [
          "duns_number",
          "C-NODE",
          "SAART_L2",
          "SAART_L3"
        ],
        "type": "string",
        "title": "CorrelatedSource",
        "description": "An enumeration."
      },
      "MediumCharacteristic": {
        "type": "object",
        "title": "MediumCharacteristic",
        "properties": {
          "city": {
            "type": "string",
            "title": "City",
            "example": "Miami",
            "description": "The City"
          },
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "MediumCharacteristic"
          },
          "country": {
            "type": "string",
            "title": "Country",
            "example": "US",
            "description": "The Country"
          },
          "street1": {
            "type": "string",
            "title": "Street1",
            "example": "492 KOLLER STREET",
            "description": "Describes the street."
          },
          "street2": {
            "type": "string",
            "title": "Street2",
            "description": "Complementary street description."
          },
          "postCode": {
            "type": "string",
            "title": "Postcode",
            "example": "94110",
            "description": "Postcode"
          },
          "faxNumber": {
            "type": "string",
            "title": "Faxnumber",
            "description": "The fax number of the contact."
          },
          "contactType": {
            "type": "string",
            "title": "Contacttype",
            "example": "Telephone Number",
            "description": "The type of contact, for example: phone number such as mobile, fixed home, fixed office. postal address such as shipping instalation."
          },
          "phoneNumber": {
            "type": "string",
            "title": "Phonenumber",
            "example": "14135273445",
            "description": "The primary phone number of the contact."
          },
          "emailAddress": {
            "type": "string",
            "title": "Emailaddress",
            "example": "florida_labor@gmail.com",
            "description": "Full email address in standard format."
          },
          "stateOrProvince": {
            "type": "string",
            "title": "Stateorprovince",
            "example": "FL",
            "description": "State or province"
          }
        },
        "description": "Describes the contact medium characteristics that could be used to contact an organization."
      },
      "OrganizationStateType": {
        "enum": [
          "initiated",
          "validated",
          "closed"
        ],
        "type": "string",
        "title": "OrganizationStateType",
        "description": "Valid values for the lifecycle state of the organization."
      },
      "OtherNameOrganization": {
        "type": "object",
        "title": "OtherNameOrganization",
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "description": "Organization/Business name"
          },
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "OtherNameOrganization"
          },
          "validFor": {
            "$ref": "#/components/schemas/TimePeriod"
          },
          "tradingName": {
            "type": "string",
            "title": "Tradingname",
            "description": "Name that the organization (unit) trades under."
          }
        },
        "description": "Keeps track of other names, for example the old name of an organization."
      },
      "UpdateCorrelatedIdRequest": {
        "type": "object",
        "title": "UpdateCorrelatedIdRequest",
        "required": [
          "correlated_id_type",
          "correlated_id",
          "updated_correlated_id"
        ],
        "properties": {
          "correlated_id": {
            "type": "string",
            "title": "Correlated Id"
          },
          "correlated_id_type": {
            "$ref": "#/components/schemas/UpdateDeleteCorrelatedSource"
          },
          "updated_correlated_id": {
            "type": "string",
            "title": "Updated Correlated Id"
          }
        }
      },
      "UpdateOrganizationRequest": {
        "type": "object",
        "title": "UpdateOrganizationRequest",
        "required": [
          "correlated_id_type",
          "correlated_id"
        ],
        "properties": {
          "correlated_id": {
            "type": "string",
            "title": "Correlated Id"
          },
          "correlated_id_type": {
            "$ref": "#/components/schemas/UpdateDeleteCorrelatedSource"
          }
        }
      },
      "CorrelatedIdsSearchRequest": {
        "type": "object",
        "title": "CorrelatedIdsSearchRequest",
        "required": [
          "correlated_id_type",
          "correlated_id"
        ],
        "properties": {
          "correlated_id": {
            "type": "string",
            "title": "Correlated Id"
          },
          "correlated_id_type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CorrelatedSource"
              }
            ],
            "description": "Possible values: duns_number, C-NODE, SAART_L2, SAART_L3"
          }
        }
      },
      "OrganizationIdentification": {
        "type": "object",
        "title": "OrganizationIdentification",
        "properties": {
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "OrganizationIdentification"
          },
          "identificationId": {
            "type": "string",
            "title": "Identificationid",
            "example": "001000905",
            "description": "Unique Identifier assigned by a recognized external authority that either uniquely identifies or helps to identify the organization in a country or internationally."
          },
          "identificationType": {
            "type": "string",
            "title": "Identificationtype",
            "example": "D&B",
            "description": "The official name of the organization identifier assigned by a recognized external authority (e.g. D&B Number, Federal Taxpayer Identification Number, Value Added Tax Number)."
          }
        },
        "description": "Represents our registration of information used as proof of identity by an organization."
      },
      "CreateUnverifiedDataRequest": {
        "type": "object",
        "title": "CreateUnverifiedDataRequest",
        "required": [
          "country",
          "name",
          "street1",
          "city",
          "source",
          "source_id"
        ],
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "city": {
            "type": "string",
            "title": "City"
          },
          "state": {
            "type": "string",
            "title": "State"
          },
          "source": {
            "$ref": "#/components/schemas/CorrelatedSource"
          },
          "country": {
            "type": "string",
            "title": "Country"
          },
          "street1": {
            "type": "string",
            "title": "Street1"
          },
          "street2": {
            "type": "string",
            "title": "Street2"
          },
          "postCode": {
            "type": "string",
            "title": "Postcode"
          },
          "source_id": {
            "type": "string",
            "title": "Source Id"
          }
        }
      },
      "UpdateDeleteCorrelatedSource": {
        "enum": [
          "C-NODE",
          "SAART_L2"
        ],
        "type": "string",
        "title": "UpdateDeleteCorrelatedSource",
        "description": "An enumeration."
      },
      "OrganizationChildRelationship": {
        "type": "object",
        "title": "OrganizationChildRelationship",
        "required": [
          "organization"
        ],
        "properties": {
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "OrganizationChildRelationship"
          },
          "organization": {
            "$ref": "#/components/schemas/OrganizationRef"
          },
          "relationshipType": {
            "type": "string",
            "title": "Relationshiptype",
            "description": "Type of the relationship. Could be juridical, hierarchical, geographical, functional for example."
          }
        },
        "description": "Child references of an organization in a structure of organizations."
      },
      "OrganizationParentRelationship": {
        "type": "object",
        "title": "OrganizationParentRelationship",
        "required": [
          "organization"
        ],
        "properties": {
          "@type": {
            "type": "string",
            "title": "@Type",
            "default": "OrganizationParentRelationship"
          },
          "organization": {
            "$ref": "#/components/schemas/OrganizationRef"
          },
          "relationshipType": {
            "type": "string",
            "title": "Relationshiptype",
            "description": "Type of the relationship. Could be juridical, hierarchical, geographical, functional for example."
          }
        },
        "description": "Parent reference of an organization in a structure of organizations."
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}