Skip to content

API

{
  "openapi": "3.1.0",
  "info": {
    "title": "Indigo REST API",
    "description": "Documentation for interacting with OptionsIRCIL/indigo-backend over HTTP.",
    "version": "0.0.0"
  },
  "paths": {
    "/": {
      "get": {
        "summary": "/",
        "description": "Demo \"Hello World\" endpoint."
      }
    },
    "/auth": {
      "delete": {
        "summary": "/auth",
        "description": "Delete current cookie",
        "responses": {
          "204": {
            "description": "Deleted cookie successfully"
          }
        }
      },
      "post": {
        "summary": "/auth",
        "description": "Authenticate against LDAP to request an authentication token.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginCredentials"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Authentication",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Employee.get"
                }
              }
            }
          },
          "422": {
            "description": "Invalid Credentials",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/community-service-event": {
      "get": {
        "summary": "/community-service-event",
        "description": "Get all community service events",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_CommunityServiceEvent.get"
                }
              }
            }
          }
        }
      }
    },
    "/consumer-service": {
      "get": {
        "summary": "/consumer-service",
        "description": "Get all consumer services",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_ConsumerService.get"
                }
              }
            }
          }
        }
      }
    },
    "/employee": {
      "get": {
        "summary": "/employee",
        "description": "Get all employees",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_Employee.get"
                }
              }
            }
          }
        }
      }
    },
    "/information-and-referral": {
      "get": {
        "summary": "/information-and-referral",
        "description": "Get all Information and Referral entries",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_InformationAndReferral.get"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "/information-and-referral",
        "description": "Create a new Information and Referral entry",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InformationAndReferral.post"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "I\u0026R successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InformationAndReferral.get"
                }
              }
            }
          },
          "422": {
            "description": "Serialization error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/information-and-referral-attachment/{id}": {
      "get": {
        "summary": "/information-and-referral-attachment/{id}",
        "description": "Get attachment details",
        "responses": {
          "200": {
            "description": "File contents"
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      },
      "head": {
        "summary": "/information-and-referral-attachment/{id}",
        "description": "Get attachment details",
        "responses": {
          "200": {
            "description": "File details"
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/information-and-referral/{id}": {
      "get": {
        "summary": "/information-and-referral/{id}",
        "description": "Get an information and referral record",
        "responses": {
          "200": {
            "description": "I\u0026R found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InformationAndReferral.get"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/information-and-referral/{informationAndReferralId}/attachment": {
      "post": {
        "summary": "/information-and-referral/{informationAndReferralId}/attachment",
        "description": "Create a new Information and Referral attachment",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "attachment": {
                    "type": "object",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Attachment successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InformationAndReferralAttachment.get"
                }
              }
            }
          },
          "422": {
            "description": "Serialization error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/information-and-referral/{informationAndReferralId}/effort": {
      "post": {
        "summary": "/information-and-referral/{informationAndReferralId}/effort",
        "description": "Log effort to an Information and Referral record",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InformationAndReferralEffort.post"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Effort log successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InformationAndReferralEffort.get"
                }
              }
            }
          },
          "422": {
            "description": "Serialization error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/organization": {
      "get": {
        "summary": "/organization",
        "description": "Get all organizations",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_Organization.get"
                }
              }
            }
          }
        }
      }
    },
    "/person": {
      "get": {
        "summary": "/person",
        "description": "Get all persons",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_Person.get"
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "/person",
        "description": "Create a new person",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Person.post"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Person successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person.get"
                }
              }
            }
          },
          "422": {
            "description": "Serialization error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/person/{id}": {
      "get": {
        "summary": "/person/{id}",
        "description": "Get a single person",
        "responses": {
          "200": {
            "description": "Person found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person.get"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      },
      "put": {
        "summary": "/person/{id}",
        "description": "Update an existing person",
        "responses": {
          "204": {
            "description": "Person successfully updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person.put"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HttpError"
                }
              }
            }
          }
        }
      }
    },
    "/place": {
      "get": {
        "summary": "/place",
        "description": "Get all places",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_Place.get"
                }
              }
            }
          }
        }
      }
    },
    "/record-def": {
      "get": {
        "summary": "/record-def",
        "description": "Get all record definitions",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/array_RecordDef.get"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Employee.get": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        }
      },
      "HttpError": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          }
        }
      },
      "InformationAndReferral.get": {
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          },
          "date": {
            "type": "string",
            "example": "1970-01-01",
            "format": "YYYY-MM-DD"
          },
          "department": {
            "type": "string"
          },
          "employeeId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "formDate": {
            "type": "string",
            "example": "1970-01-01",
            "format": "YYYY-MM-DD"
          },
          "grant": {
            "type": "string"
          },
          "id": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "organizationId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "outcome": {
            "type": "string"
          },
          "personId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "referrer": {
            "type": "string"
          },
          "serviceRequest": {
            "type": "string"
          },
          "serviceType": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          }
        }
      },
      "InformationAndReferral.post": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "example": "1970-01-01",
            "format": "YYYY-MM-DD"
          },
          "department": {
            "type": "string"
          },
          "employeeId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "formDate": {
            "type": "string",
            "example": "1970-01-01",
            "format": "YYYY-MM-DD"
          },
          "grant": {
            "type": "string"
          },
          "organizationId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "outcome": {
            "type": "string"
          },
          "personId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "referrer": {
            "type": "string"
          },
          "serviceRequest": {
            "type": "string"
          },
          "serviceType": {
            "type": "string"
          }
        }
      },
      "InformationAndReferralAttachment.get": {
        "type": "object",
        "properties": {
          "contentType": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          },
          "employeeId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "fileName": {
            "type": "string"
          },
          "id": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "informationAndReferralId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "size": {
            "type": "integer"
          }
        }
      },
      "InformationAndReferralEffort.get": {
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          },
          "employeeId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "grantId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "id": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "informationAndReferralId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "minutes": {
            "type": "integer"
          },
          "updatedAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          }
        }
      },
      "InformationAndReferralEffort.post": {
        "type": "object",
        "properties": {
          "employeeId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "grantId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "informationAndReferralId": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "minutes": {
            "type": "integer"
          }
        }
      },
      "LoginCredentials": {
        "type": "object",
        "properties": {
          "password": {
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        }
      },
      "Person.get": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "birthday": {
            "type": "string",
            "example": "1970-01-01",
            "format": "YYYY-MM-DD"
          },
          "city": {
            "type": "string"
          },
          "county": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          },
          "deceased": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "ethnicity": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "id": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "lastName": {
            "type": "string"
          },
          "membership": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "optNewsletter": {
            "type": "boolean"
          },
          "phone": {
            "type": "string"
          },
          "salutation": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          }
        }
      },
      "Person.post": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "birthday": {
            "type": "string",
            "example": "1970-01-01",
            "format": "YYYY-MM-DD"
          },
          "city": {
            "type": "string"
          },
          "county": {
            "type": "string"
          },
          "deceased": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "ethnicity": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "membership": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "optNewsletter": {
            "type": "boolean"
          },
          "phone": {
            "type": "string"
          },
          "salutation": {
            "type": "string"
          },
          "state": {
            "type": "string"
          }
        }
      },
      "Person.put": {
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "addressPhones": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "personId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "phoneNumber": {
                  "type": "string"
                },
                "place": {
                  "type": "object",
                  "properties": {
                    "addressLine1": {
                      "type": "string"
                    },
                    "addressLine2": {
                      "type": "string"
                    },
                    "city": {
                      "type": "string"
                    },
                    "country": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string",
                      "example": "00000000-0000-0000-0000-000000000000",
                      "format": "UUIDv4"
                    },
                    "state": {
                      "type": "string"
                    },
                    "zipCode": {
                      "type": "string"
                    }
                  }
                },
                "placeId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "servicesOffered": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "addressPhoneId": {
                        "type": "string",
                        "example": "00000000-0000-0000-0000-000000000000",
                        "format": "UUIDv4"
                      },
                      "consumerServiceId": {
                        "type": "string",
                        "example": "00000000-0000-0000-0000-000000000000",
                        "format": "UUIDv4"
                      },
                      "createdAt": {
                        "type": "string",
                        "example": "2006-01-02T15:04:05Z07:00",
                        "format": "RFC3339"
                      },
                      "deletedAt": {
                        "type": "string",
                        "example": "2006-01-02T15:04:05Z07:00",
                        "format": "RFC3339"
                      },
                      "description": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string",
                        "example": "00000000-0000-0000-0000-000000000000",
                        "format": "UUIDv4"
                      },
                      "serviceName": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string",
                        "example": "2006-01-02T15:04:05Z07:00",
                        "format": "RFC3339"
                      }
                    }
                  }
                },
                "type": {
                  "type": "string"
                }
              }
            }
          },
          "aliases": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "aliasName": {
                  "type": "string"
                },
                "personId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                }
              }
            }
          },
          "birthday": {
            "type": "string",
            "example": "1970-01-01",
            "format": "YYYY-MM-DD"
          },
          "city": {
            "type": "string"
          },
          "consumerServices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "personId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "serviceName": {
                  "type": "string"
                },
                "servicesOffered": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "addressPhoneId": {
                        "type": "string",
                        "example": "00000000-0000-0000-0000-000000000000",
                        "format": "UUIDv4"
                      },
                      "consumerServiceId": {
                        "type": "string",
                        "example": "00000000-0000-0000-0000-000000000000",
                        "format": "UUIDv4"
                      },
                      "createdAt": {
                        "type": "string",
                        "example": "2006-01-02T15:04:05Z07:00",
                        "format": "RFC3339"
                      },
                      "deletedAt": {
                        "type": "string",
                        "example": "2006-01-02T15:04:05Z07:00",
                        "format": "RFC3339"
                      },
                      "description": {
                        "type": "string"
                      },
                      "id": {
                        "type": "string",
                        "example": "00000000-0000-0000-0000-000000000000",
                        "format": "UUIDv4"
                      },
                      "serviceName": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string",
                        "example": "2006-01-02T15:04:05Z07:00",
                        "format": "RFC3339"
                      }
                    }
                  }
                },
                "status": {
                  "type": "string"
                }
              }
            }
          },
          "county": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          },
          "deceased": {
            "type": "boolean"
          },
          "deletedAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          },
          "disabilityInfo": {
            "type": "object",
            "properties": {
              "createdAt": {
                "type": "string",
                "example": "2006-01-02T15:04:05Z07:00",
                "format": "RFC3339"
              },
              "deletedAt": {
                "type": "string",
                "example": "2006-01-02T15:04:05Z07:00",
                "format": "RFC3339"
              },
              "description": {
                "type": "string"
              },
              "disability": {
                "type": "string"
              },
              "id": {
                "type": "string",
                "example": "00000000-0000-0000-0000-000000000000",
                "format": "UUIDv4"
              },
              "personId": {
                "type": "string",
                "example": "00000000-0000-0000-0000-000000000000",
                "format": "UUIDv4"
              },
              "severity": {
                "type": "string"
              },
              "updatedAt": {
                "type": "string",
                "example": "2006-01-02T15:04:05Z07:00",
                "format": "RFC3339"
              }
            }
          },
          "email": {
            "type": "string"
          },
          "ethnicity": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "goals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "createdAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                },
                "deletedAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                },
                "description": {
                  "type": "string"
                },
                "goalName": {
                  "type": "string"
                },
                "id": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "personId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "status": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                }
              }
            }
          },
          "id": {
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000",
            "format": "UUIDv4"
          },
          "informationAndReferrals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "createdAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                },
                "date": {
                  "type": "string",
                  "example": "1970-01-01",
                  "format": "YYYY-MM-DD"
                },
                "deletedAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                },
                "department": {
                  "type": "string"
                },
                "employeeId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "formDate": {
                  "type": "string",
                  "example": "1970-01-01",
                  "format": "YYYY-MM-DD"
                },
                "grant": {
                  "type": "string"
                },
                "id": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "organizationId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "outcome": {
                  "type": "string"
                },
                "personId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "referrer": {
                  "type": "string"
                },
                "serviceRequest": {
                  "type": "string"
                },
                "serviceType": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                }
              }
            }
          },
          "lastName": {
            "type": "string"
          },
          "membership": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "optNewsletter": {
            "type": "boolean"
          },
          "phone": {
            "type": "string"
          },
          "recordDefs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "createdAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                },
                "deletedAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                },
                "id": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "personId": {
                  "type": "string",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "UUIDv4"
                },
                "type": {
                  "type": "string"
                },
                "updatedAt": {
                  "type": "string",
                  "example": "2006-01-02T15:04:05Z07:00",
                  "format": "RFC3339"
                },
                "value": {
                  "type": "string"
                }
              }
            }
          },
          "salutation": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "example": "2006-01-02T15:04:05Z07:00",
            "format": "RFC3339"
          }
        }
      },
      "array_CommunityServiceEvent.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "category": {
              "type": "string"
            },
            "futureReference": {
              "type": "string"
            },
            "generalPublic": {
              "type": "integer"
            },
            "id": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "initialDate": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "outcome": {
              "type": "string"
            },
            "personsWithDisabilities": {
              "type": "integer"
            },
            "publications": {
              "type": "integer"
            },
            "serviceDescription": {
              "type": "string"
            }
          }
        }
      },
      "array_ConsumerService.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "personId": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "serviceName": {
              "type": "string"
            },
            "servicesOffered": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "addressPhoneId": {
                    "type": "string",
                    "example": "00000000-0000-0000-0000-000000000000",
                    "format": "UUIDv4"
                  },
                  "consumerServiceId": {
                    "type": "string",
                    "example": "00000000-0000-0000-0000-000000000000",
                    "format": "UUIDv4"
                  },
                  "createdAt": {
                    "type": "string",
                    "example": "2006-01-02T15:04:05Z07:00",
                    "format": "RFC3339"
                  },
                  "deletedAt": {
                    "type": "string",
                    "example": "2006-01-02T15:04:05Z07:00",
                    "format": "RFC3339"
                  },
                  "description": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string",
                    "example": "00000000-0000-0000-0000-000000000000",
                    "format": "UUIDv4"
                  },
                  "serviceName": {
                    "type": "string"
                  },
                  "updatedAt": {
                    "type": "string",
                    "example": "2006-01-02T15:04:05Z07:00",
                    "format": "RFC3339"
                  }
                }
              }
            },
            "status": {
              "type": "string"
            }
          }
        }
      },
      "array_Employee.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "firstName": {
              "type": "string"
            },
            "lastName": {
              "type": "string"
            },
            "username": {
              "type": "string"
            }
          }
        }
      },
      "array_InformationAndReferral.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "createdAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "date": {
              "type": "string",
              "example": "1970-01-01",
              "format": "YYYY-MM-DD"
            },
            "department": {
              "type": "string"
            },
            "employeeId": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "formDate": {
              "type": "string",
              "example": "1970-01-01",
              "format": "YYYY-MM-DD"
            },
            "grant": {
              "type": "string"
            },
            "id": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "organizationId": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "outcome": {
              "type": "string"
            },
            "personId": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "referrer": {
              "type": "string"
            },
            "serviceRequest": {
              "type": "string"
            },
            "serviceType": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            }
          }
        }
      },
      "array_Organization.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "createdAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "deletedAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "id": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "name": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            }
          }
        }
      },
      "array_Person.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "active": {
              "type": "boolean"
            },
            "addressLine1": {
              "type": "string"
            },
            "addressLine2": {
              "type": "string"
            },
            "birthday": {
              "type": "string",
              "example": "1970-01-01",
              "format": "YYYY-MM-DD"
            },
            "city": {
              "type": "string"
            },
            "county": {
              "type": "string"
            },
            "createdAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "deceased": {
              "type": "boolean"
            },
            "email": {
              "type": "string"
            },
            "ethnicity": {
              "type": "string"
            },
            "firstName": {
              "type": "string"
            },
            "gender": {
              "type": "string"
            },
            "id": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "lastName": {
              "type": "string"
            },
            "membership": {
              "type": "string"
            },
            "notes": {
              "type": "string"
            },
            "optNewsletter": {
              "type": "boolean"
            },
            "phone": {
              "type": "string"
            },
            "salutation": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            }
          }
        }
      },
      "array_Place.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "addressLine1": {
              "type": "string"
            },
            "addressLine2": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "id": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "state": {
              "type": "string"
            },
            "zipCode": {
              "type": "string"
            }
          }
        }
      },
      "array_RecordDef.get": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "createdAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "deletedAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "id": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "personId": {
              "type": "string",
              "example": "00000000-0000-0000-0000-000000000000",
              "format": "UUIDv4"
            },
            "type": {
              "type": "string"
            },
            "updatedAt": {
              "type": "string",
              "example": "2006-01-02T15:04:05Z07:00",
              "format": "RFC3339"
            },
            "value": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}