# Models

## The PublicEventContentSummary object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventContentSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"event_type":{"title":"Event type","type":"string","readOnly":true,"enum":["text","message","meeting","call","email","note","status","weekly_summary","monthly_summary","quarterly_summary","yearly_summary","slack_transcript","signal_state_change"]},"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"meeting_status":{"title":"Meeting status","type":"string","description":"Status of the meeting if this is a meeting event","nullable":true,"readOnly":true,"enum":["scheduled","started","in_progress","recording","ended","completed","failed","cancelled"]},"has_negative_sentiment":{"title":"Has negative sentiment","type":"string","readOnly":true},"is_empty_content":{"title":"Is empty content","type":"string","readOnly":true}}}}}}
```

## The PublicEventEntityRelation object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventEntityRelation":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"entity_type":{"title":"Entity type","type":"string","readOnly":true},"object_id":{"title":"Object id","type":"integer","readOnly":true},"participation_type":{"title":"Participation type","type":"string","readOnly":true,"enum":["from","to","cc","bcc","attendee","facilitator","mentioned","referenced","observer","annotator","generator"]}}}}}}
```

## The PublicEventList object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventList":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"source":{"title":"Source","type":"string","readOnly":true,"enum":["INT","API","HUB","SF","ZOH"]},"external_id":{"title":"External id","minLength":1,"type":"string","readOnly":true},"event_date":{"title":"Event date","type":"string","format":"date-time","nullable":true,"readOnly":true},"content":{"$ref":"#/components/schemas/PublicEventContentSummary"},"entity_relations":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicEventEntityRelation"}},"tags":{"title":"Tags","type":"string","readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true}}},"PublicEventContentSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"event_type":{"title":"Event type","type":"string","readOnly":true,"enum":["text","message","meeting","call","email","note","status","weekly_summary","monthly_summary","quarterly_summary","yearly_summary","slack_transcript","signal_state_change"]},"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"meeting_status":{"title":"Meeting status","type":"string","description":"Status of the meeting if this is a meeting event","nullable":true,"readOnly":true,"enum":["scheduled","started","in_progress","recording","ended","completed","failed","cancelled"]},"has_negative_sentiment":{"title":"Has negative sentiment","type":"string","readOnly":true},"is_empty_content":{"title":"Is empty content","type":"string","readOnly":true}}},"PublicEventEntityRelation":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"entity_type":{"title":"Entity type","type":"string","readOnly":true},"object_id":{"title":"Object id","type":"integer","readOnly":true},"participation_type":{"title":"Participation type","type":"string","readOnly":true,"enum":["from","to","cc","bcc","attendee","facilitator","mentioned","referenced","observer","annotator","generator"]}}}}}}
```

## The PublicEventContentWrite object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventContentWrite":{"required":["event_type"],"type":"object","properties":{"event_type":{"title":"Event type","type":"string","enum":["text","message","meeting","call","email","note","status","weekly_summary","monthly_summary","quarterly_summary","yearly_summary","slack_transcript","signal_state_change"]},"name":{"title":"Name","type":"string","nullable":true},"value":{"title":"Value","type":"string","nullable":true},"metadata":{"title":"Metadata","type":"object","properties":{}}}}}}}
```

## The PublicEventParticipant object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventParticipant":{"required":["email"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"type":"string","format":"email"},"first_name":{"title":"First name","type":"string","nullable":true},"last_name":{"title":"Last name","type":"string","nullable":true},"role":{"title":"Role","type":"string","nullable":true}}}}}}
```

## The PublicEventWrite object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventWrite":{"required":["content"],"type":"object","properties":{"source":{"title":"Source","type":"string","readOnly":true,"enum":["INT","API","HUB","SF","ZOH"]},"external_id":{"title":"External id","type":"string"},"event_date":{"title":"Event date","type":"string","format":"date-time","nullable":true},"content":{"$ref":"#/components/schemas/PublicEventContentWrite"},"participants":{"type":"array","items":{"$ref":"#/components/schemas/PublicEventParticipant"}}}},"PublicEventContentWrite":{"required":["event_type"],"type":"object","properties":{"event_type":{"title":"Event type","type":"string","enum":["text","message","meeting","call","email","note","status","weekly_summary","monthly_summary","quarterly_summary","yearly_summary","slack_transcript","signal_state_change"]},"name":{"title":"Name","type":"string","nullable":true},"value":{"title":"Value","type":"string","nullable":true},"metadata":{"title":"Metadata","type":"object","properties":{}}}},"PublicEventParticipant":{"required":["email"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"type":"string","format":"email"},"first_name":{"title":"First name","type":"string","nullable":true},"last_name":{"title":"Last name","type":"string","nullable":true},"role":{"title":"Role","type":"string","nullable":true}}}}}}
```

## The PublicEventConversationMessage object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventConversationMessage":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"person":{"title":"Person","type":"string","readOnly":true},"message_type":{"title":"Message type","type":"string","readOnly":true,"enum":["ai","human","system"]},"value":{"title":"Value","minLength":1,"type":"string","readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```

## The PublicEventConversation object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventConversation":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"conversation_type":{"title":"Conversation type","type":"string","readOnly":true,"enum":["comments","summary","ai_discussion"]},"messages":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicEventConversationMessage"}}}},"PublicEventConversationMessage":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"person":{"title":"Person","type":"string","readOnly":true},"message_type":{"title":"Message type","type":"string","readOnly":true,"enum":["ai","human","system"]},"value":{"title":"Value","minLength":1,"type":"string","readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```

## The PublicEventContentDetail object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEventContentDetail":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"event_type":{"title":"Event type","type":"string","readOnly":true,"enum":["text","message","meeting","call","email","note","status","weekly_summary","monthly_summary","quarterly_summary","yearly_summary","slack_transcript","signal_state_change"]},"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"meeting_status":{"title":"Meeting status","type":"string","description":"Status of the meeting if this is a meeting event","nullable":true,"readOnly":true,"enum":["scheduled","started","in_progress","recording","ended","completed","failed","cancelled"]},"has_negative_sentiment":{"title":"Has negative sentiment","type":"string","readOnly":true},"is_empty_content":{"title":"Is empty content","type":"string","readOnly":true},"value":{"title":"Value","type":"string","readOnly":true},"conversations":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicEventConversation"}}}},"PublicEventConversation":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"conversation_type":{"title":"Conversation type","type":"string","readOnly":true,"enum":["comments","summary","ai_discussion"]},"messages":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicEventConversationMessage"}}}},"PublicEventConversationMessage":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"person":{"title":"Person","type":"string","readOnly":true},"message_type":{"title":"Message type","type":"string","readOnly":true,"enum":["ai","human","system"]},"value":{"title":"Value","minLength":1,"type":"string","readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```

## The PublicEvent object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicEvent":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"source":{"title":"Source","type":"string","readOnly":true,"enum":["INT","API","HUB","SF","ZOH"]},"external_id":{"title":"External id","minLength":1,"type":"string","readOnly":true},"event_date":{"title":"Event date","type":"string","format":"date-time","nullable":true,"readOnly":true},"content":{"$ref":"#/components/schemas/PublicEventContentDetail"},"entity_relations":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicEventEntityRelation"}},"tags":{"title":"Tags","type":"string","readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true}}},"PublicEventContentDetail":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"event_type":{"title":"Event type","type":"string","readOnly":true,"enum":["text","message","meeting","call","email","note","status","weekly_summary","monthly_summary","quarterly_summary","yearly_summary","slack_transcript","signal_state_change"]},"name":{"title":"Name","minLength":1,"type":"string","nullable":true,"readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"meeting_status":{"title":"Meeting status","type":"string","description":"Status of the meeting if this is a meeting event","nullable":true,"readOnly":true,"enum":["scheduled","started","in_progress","recording","ended","completed","failed","cancelled"]},"has_negative_sentiment":{"title":"Has negative sentiment","type":"string","readOnly":true},"is_empty_content":{"title":"Is empty content","type":"string","readOnly":true},"value":{"title":"Value","type":"string","readOnly":true},"conversations":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicEventConversation"}}}},"PublicEventConversation":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"conversation_type":{"title":"Conversation type","type":"string","readOnly":true,"enum":["comments","summary","ai_discussion"]},"messages":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicEventConversationMessage"}}}},"PublicEventConversationMessage":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"person":{"title":"Person","type":"string","readOnly":true},"message_type":{"title":"Message type","type":"string","readOnly":true,"enum":["ai","human","system"]},"value":{"title":"Value","minLength":1,"type":"string","readOnly":true},"metadata":{"title":"Metadata","type":"object","properties":{},"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}},"PublicEventEntityRelation":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"entity_type":{"title":"Entity type","type":"string","readOnly":true},"object_id":{"title":"Object id","type":"integer","readOnly":true},"participation_type":{"title":"Participation type","type":"string","readOnly":true,"enum":["from","to","cc","bcc","attendee","facilitator","mentioned","referenced","observer","annotator","generator"]}}}}}}
```

## The OrganizationDomain object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"OrganizationDomain":{"required":["domain"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"domain":{"title":"Domain","maxLength":255,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}}}}}
```

## The OrganizationWebsite object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"OrganizationWebsite":{"required":["url"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"url":{"title":"Url","maxLength":500,"minLength":1,"type":"string","format":"uri"},"description":{"title":"Description","maxLength":255,"type":"string","nullable":true},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}}}}}
```

## The OrganizationIndustry object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"OrganizationIndustry":{"required":["industry"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"industry":{"title":"Industry","maxLength":100,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}}}}}
```

## The OrganizationLocation object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"OrganizationLocation":{"required":["location"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"location":{"title":"Location","maxLength":255,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}}}}}
```

## The OrganizationV2WithLastContact object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"OrganizationV2WithLastContact":{"required":["name","type"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","maxLength":255,"minLength":1,"type":"string"},"type":{"title":"Type","maxLength":100,"minLength":1,"type":"string"},"domains":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/OrganizationDomain"}},"websites":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/OrganizationWebsite"}},"industries":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/OrganizationIndustry"}},"locations":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/OrganizationLocation"}},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true},"last_contact":{"title":"Last contact","type":"string","format":"date-time","readOnly":true},"relationship_type":{"title":"Relationship type","minLength":1,"type":"string","readOnly":true}}},"OrganizationDomain":{"required":["domain"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"domain":{"title":"Domain","maxLength":255,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}},"OrganizationWebsite":{"required":["url"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"url":{"title":"Url","maxLength":500,"minLength":1,"type":"string","format":"uri"},"description":{"title":"Description","maxLength":255,"type":"string","nullable":true},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}},"OrganizationIndustry":{"required":["industry"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"industry":{"title":"Industry","maxLength":100,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}},"OrganizationLocation":{"required":["location"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"location":{"title":"Location","maxLength":255,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}}}}}
```

## The PublicCreateOrganization object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicCreateOrganization":{"required":["name","type"],"type":"object","properties":{"name":{"title":"Name","minLength":1,"type":"string"},"type":{"title":"Type","minLength":1,"type":"string"},"domain":{"title":"Domain","type":"string","nullable":true},"website":{"title":"Website","type":"string","nullable":true},"industry":{"title":"Industry","type":"string","nullable":true},"company_size":{"title":"Company size","type":"integer","nullable":true},"location":{"title":"Location","type":"string","nullable":true},"description":{"title":"Description","type":"string","nullable":true}}}}}}
```

## The OrganizationV2CreateUpdate object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"OrganizationV2CreateUpdate":{"required":["name","type"],"type":"object","properties":{"name":{"title":"Name","maxLength":255,"minLength":1,"type":"string"},"type":{"title":"Type","maxLength":100,"minLength":1,"type":"string"},"domains":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationDomain"}},"websites":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationWebsite"}},"industries":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationIndustry"}},"locations":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationLocation"}}}},"OrganizationDomain":{"required":["domain"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"domain":{"title":"Domain","maxLength":255,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}},"OrganizationWebsite":{"required":["url"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"url":{"title":"Url","maxLength":500,"minLength":1,"type":"string","format":"uri"},"description":{"title":"Description","maxLength":255,"type":"string","nullable":true},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}},"OrganizationIndustry":{"required":["industry"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"industry":{"title":"Industry","maxLength":100,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}},"OrganizationLocation":{"required":["location"],"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"location":{"title":"Location","maxLength":255,"minLength":1,"type":"string"},"is_primary":{"title":"Is primary","type":"boolean"},"organization":{"title":"Organization","type":"integer","readOnly":true}}}}}}
```

## The PublicPersonSummary object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicPersonSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"first_name":{"title":"First name","minLength":1,"type":"string","readOnly":true},"last_name":{"title":"Last name","minLength":1,"type":"string","readOnly":true},"preferred_name":{"title":"Preferred name","minLength":1,"type":"string","nullable":true,"readOnly":true},"linkedin_url":{"title":"Linkedin url","minLength":1,"type":"string","format":"uri","nullable":true,"readOnly":true},"phone":{"title":"Phone","minLength":1,"type":"string","nullable":true,"readOnly":true},"primary_work_email":{"title":"Primary work email","type":"string","nullable":true,"readOnly":true},"primary_personal_email":{"title":"Primary personal email","type":"string","nullable":true,"readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```

## The PublicCreatePerson object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicCreatePerson":{"required":["email"],"type":"object","properties":{"email":{"title":"Email","minLength":1,"type":"string","format":"email"},"display_name":{"title":"Display name","type":"string","nullable":true},"first_name":{"title":"First name","type":"string","nullable":true},"last_name":{"title":"Last name","type":"string","nullable":true},"phone":{"title":"Phone","type":"string","nullable":true},"linkedin_url":{"title":"Linkedin url","type":"string","nullable":true},"website":{"title":"Website","type":"string","nullable":true},"company":{"title":"Company","type":"string","nullable":true},"job_title":{"title":"Job title","type":"string","nullable":true},"industry":{"title":"Industry","type":"string","nullable":true},"address":{"title":"Address","type":"string","nullable":true},"city":{"title":"City","type":"string","nullable":true},"state":{"title":"State","type":"string","nullable":true},"postal_code":{"title":"Postal code","type":"string","nullable":true},"country":{"title":"Country","type":"string","nullable":true},"slack_member_id":{"title":"Slack member id","type":"string","nullable":true}}}}}}
```

## The PublicPersonEmail object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicPersonEmail":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"is_primary":{"title":"Is primary","type":"boolean","readOnly":true},"is_work":{"title":"Is work","type":"boolean","readOnly":true},"role_id":{"title":"Role id","type":"integer","readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```

## The PublicPersonAddress object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicPersonAddress":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"street_address":{"title":"Street address","minLength":1,"type":"string","nullable":true,"readOnly":true},"city":{"title":"City","minLength":1,"type":"string","nullable":true,"readOnly":true},"state":{"title":"State","minLength":1,"type":"string","nullable":true,"readOnly":true},"country":{"title":"Country","minLength":1,"type":"string","nullable":true,"readOnly":true},"postal_code":{"title":"Postal code","minLength":1,"type":"string","nullable":true,"readOnly":true}}}}}}
```

## The PublicOrganizationSummary object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicOrganizationSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"type":{"title":"Type","minLength":1,"type":"string","readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true}}}}}}
```

## The PublicRoleSummary object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicRoleSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"title":{"title":"Title","minLength":1,"type":"string","readOnly":true},"organization":{"$ref":"#/components/schemas/PublicOrganizationSummary"},"start_date":{"title":"Start date","type":"string","format":"date","readOnly":true},"end_date":{"title":"End date","type":"string","format":"date","nullable":true,"readOnly":true},"is_primary":{"title":"Is primary","type":"boolean","readOnly":true},"role_type":{"title":"Role type","type":"string","readOnly":true,"enum":["employee","contractor","candidate","contact"]}}},"PublicOrganizationSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"type":{"title":"Type","minLength":1,"type":"string","readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true}}}}}}
```

## The PublicPersonDetail object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicPersonDetail":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"first_name":{"title":"First name","minLength":1,"type":"string","readOnly":true},"last_name":{"title":"Last name","minLength":1,"type":"string","readOnly":true},"preferred_name":{"title":"Preferred name","minLength":1,"type":"string","nullable":true,"readOnly":true},"linkedin_url":{"title":"Linkedin url","minLength":1,"type":"string","format":"uri","nullable":true,"readOnly":true},"phone":{"title":"Phone","minLength":1,"type":"string","nullable":true,"readOnly":true},"primary_work_email":{"title":"Primary work email","type":"string","nullable":true,"readOnly":true},"primary_personal_email":{"title":"Primary personal email","type":"string","nullable":true,"readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true},"emails":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicPersonEmail"}},"addresses":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicPersonAddress"}},"roles":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicRoleSummary"}}}},"PublicPersonEmail":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"is_primary":{"title":"Is primary","type":"boolean","readOnly":true},"is_work":{"title":"Is work","type":"boolean","readOnly":true},"role_id":{"title":"Role id","type":"integer","readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}},"PublicPersonAddress":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"street_address":{"title":"Street address","minLength":1,"type":"string","nullable":true,"readOnly":true},"city":{"title":"City","minLength":1,"type":"string","nullable":true,"readOnly":true},"state":{"title":"State","minLength":1,"type":"string","nullable":true,"readOnly":true},"country":{"title":"Country","minLength":1,"type":"string","nullable":true,"readOnly":true},"postal_code":{"title":"Postal code","minLength":1,"type":"string","nullable":true,"readOnly":true}}},"PublicRoleSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"title":{"title":"Title","minLength":1,"type":"string","readOnly":true},"organization":{"$ref":"#/components/schemas/PublicOrganizationSummary"},"start_date":{"title":"Start date","type":"string","format":"date","readOnly":true},"end_date":{"title":"End date","type":"string","format":"date","nullable":true,"readOnly":true},"is_primary":{"title":"Is primary","type":"boolean","readOnly":true},"role_type":{"title":"Role type","type":"string","readOnly":true,"enum":["employee","contractor","candidate","contact"]}}},"PublicOrganizationSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"type":{"title":"Type","minLength":1,"type":"string","readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true}}}}}}
```

## The PublicRelationshipRoleContext object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicRelationshipRoleContext":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"relationship":{"title":"Relationship","type":"integer","readOnly":true},"relationship_uuid":{"title":"Relationship uuid","type":"string","format":"uuid","readOnly":true},"relationship_role":{"title":"Relationship role","minLength":1,"type":"string","readOnly":true},"description":{"title":"Description","minLength":1,"type":"string","description":"Description of the role in this relationship context","nullable":true,"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```

## The PublicRelationship object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicRelationship":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"from_content_type":{"title":"From content type","type":"integer","readOnly":true},"from_object_id":{"title":"From object id","type":"integer","readOnly":true},"to_content_type":{"title":"To content type","type":"integer","readOnly":true},"to_object_id":{"title":"To object id","type":"integer","readOnly":true},"from_entity":{"title":"From entity","type":"object","properties":{},"nullable":true,"readOnly":true},"to_entity":{"title":"To entity","type":"object","properties":{},"nullable":true,"readOnly":true},"aspect_type":{"title":"Aspect type","type":"string","nullable":true,"readOnly":true,"enum":["mentor","vendor","contact","manager","customer","prospect","investor","advisor","self"]},"strength":{"title":"Strength","type":"number","nullable":true,"readOnly":true},"start_date":{"title":"Start date","type":"string","format":"date","readOnly":true},"end_date":{"title":"End date","type":"string","format":"date","nullable":true,"readOnly":true},"meta":{"title":"Meta","type":"object","properties":{},"readOnly":true},"is_private":{"title":"Is private","type":"boolean","readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true},"role_contexts":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicRelationshipRoleContext"}},"current_state":{"title":"Current state","type":"object","properties":{},"nullable":true,"readOnly":true}}},"PublicRelationshipRoleContext":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"relationship":{"title":"Relationship","type":"integer","readOnly":true},"relationship_uuid":{"title":"Relationship uuid","type":"string","format":"uuid","readOnly":true},"relationship_role":{"title":"Relationship role","minLength":1,"type":"string","readOnly":true},"description":{"title":"Description","minLength":1,"type":"string","description":"Description of the role in this relationship context","nullable":true,"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```

## The PublicRelationshipCreate object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicRelationshipCreate":{"required":["entity_type","from_id","start_date","to_id"],"type":"object","properties":{"entity_type":{"title":"Entity type","type":"string","enum":["person","organization","role"]},"from_id":{"title":"From id","type":"integer"},"to_id":{"title":"To id","type":"integer"},"start_date":{"title":"Start date","type":"string","format":"date"},"end_date":{"title":"End date","type":"string","format":"date","nullable":true},"aspect_type":{"title":"Aspect type","type":"string","nullable":true,"enum":["mentor","vendor","contact","manager","customer","prospect","investor","advisor","self"]},"strength":{"title":"Strength","type":"number","nullable":true},"is_private":{"title":"Is private","type":"boolean","default":false},"meta":{"title":"Meta","type":"object","additionalProperties":{"type":"string","nullable":true}}}}}}}
```

## The PublicRelationshipUpdate object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicRelationshipUpdate":{"type":"object","properties":{"start_date":{"title":"Start date","type":"string","format":"date"},"end_date":{"title":"End date","type":"string","format":"date","nullable":true},"aspect_type":{"title":"Aspect type","type":"string","nullable":true,"enum":["mentor","vendor","contact","manager","customer","prospect","investor","advisor","self"]},"strength":{"title":"Strength","type":"number","nullable":true},"is_private":{"title":"Is private","type":"boolean"},"meta":{"title":"Meta","type":"object","additionalProperties":{"type":"string","nullable":true}}}}}}}
```

## The PublicRole object

```json
{"openapi":"3.0.1","info":{"title":"Relabase Public API","version":"v1"},"components":{"schemas":{"PublicRole":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"title":{"title":"Title","minLength":1,"type":"string","readOnly":true},"organization":{"$ref":"#/components/schemas/PublicOrganizationSummary"},"start_date":{"title":"Start date","type":"string","format":"date","readOnly":true},"end_date":{"title":"End date","type":"string","format":"date","nullable":true,"readOnly":true},"is_primary":{"title":"Is primary","type":"boolean","readOnly":true},"role_type":{"title":"Role type","type":"string","readOnly":true,"enum":["employee","contractor","candidate","contact"]},"person":{"$ref":"#/components/schemas/PublicPersonSummary"},"relationship_contexts":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/PublicRelationshipRoleContext"}},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}},"PublicOrganizationSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"type":{"title":"Type","minLength":1,"type":"string","readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true}}},"PublicPersonSummary":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"uuid":{"title":"Uuid","type":"string","format":"uuid","readOnly":true},"name":{"title":"Name","minLength":1,"type":"string","readOnly":true},"first_name":{"title":"First name","minLength":1,"type":"string","readOnly":true},"last_name":{"title":"Last name","minLength":1,"type":"string","readOnly":true},"preferred_name":{"title":"Preferred name","minLength":1,"type":"string","nullable":true,"readOnly":true},"linkedin_url":{"title":"Linkedin url","minLength":1,"type":"string","format":"uri","nullable":true,"readOnly":true},"phone":{"title":"Phone","minLength":1,"type":"string","nullable":true,"readOnly":true},"primary_work_email":{"title":"Primary work email","type":"string","nullable":true,"readOnly":true},"primary_personal_email":{"title":"Primary personal email","type":"string","nullable":true,"readOnly":true},"archived":{"title":"Archived","type":"string","format":"date-time","nullable":true,"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}},"PublicRelationshipRoleContext":{"type":"object","properties":{"id":{"title":"ID","type":"integer","readOnly":true},"relationship":{"title":"Relationship","type":"integer","readOnly":true},"relationship_uuid":{"title":"Relationship uuid","type":"string","format":"uuid","readOnly":true},"relationship_role":{"title":"Relationship role","minLength":1,"type":"string","readOnly":true},"description":{"title":"Description","minLength":1,"type":"string","description":"Description of the role in this relationship context","nullable":true,"readOnly":true},"created":{"title":"Created","type":"string","format":"date-time","readOnly":true},"modified":{"title":"Modified","type":"string","format":"date-time","readOnly":true}}}}}}
```
