|
95 | 95 | schema:
|
96 | 96 | type: object
|
97 | 97 | properties:
|
98 |
| - data: |
99 | 98 | prisonerOffenderSearch:
|
100 | 99 | $ref: "#/components/schemas/Person"
|
101 | 100 | probationOffenderSearch:
|
@@ -1722,84 +1721,42 @@ components:
|
1722 | 1721 | Person:
|
1723 | 1722 | type: object
|
1724 | 1723 | properties:
|
1725 |
| - prisonerOffenderSearch: |
1726 |
| - type: object |
1727 |
| - properties: |
1728 |
| - firstName: |
1729 |
| - type: string |
1730 |
| - description: First name |
1731 |
| - lastName: |
1732 |
| - type: string |
1733 |
| - description: Last name |
1734 |
| - middleName: |
1735 |
| - type: string |
1736 |
| - nullable: true |
1737 |
| - description: Middle name |
1738 |
| - dateOfBirth: |
1739 |
| - type: string |
1740 |
| - format: date |
1741 |
| - description: Date of birth |
1742 |
| - gender: |
1743 |
| - type: string |
1744 |
| - description: Gender |
1745 |
| - ethnicity: |
1746 |
| - type: string |
1747 |
| - nullable: true |
1748 |
| - description: Ethnicity |
1749 |
| - aliases: |
1750 |
| - type: array |
1751 |
| - items: |
1752 |
| - $ref: "#/components/schemas/Alias" |
1753 |
| - description: List of aliases |
1754 |
| - identifiers: |
1755 |
| - $ref: "#/components/schemas/Identifiers" |
1756 |
| - pncId: |
1757 |
| - type: string |
1758 |
| - description: An identifier from the Police National Computer (PNC) |
1759 |
| - hmppsId: |
1760 |
| - type: string |
1761 |
| - description: Hmpps identifier |
1762 |
| - contactDetails: |
1763 |
| - $ref: "#/components/schemas/ContactDetails" |
1764 |
| - probationOffenderSearch: |
1765 |
| - type: object |
1766 |
| - properties: |
1767 |
| - firstName: |
1768 |
| - type: string |
1769 |
| - description: First name |
1770 |
| - lastName: |
1771 |
| - type: string |
1772 |
| - description: Last name |
1773 |
| - middleName: |
1774 |
| - type: string |
1775 |
| - nullable: true |
1776 |
| - description: Middle name |
1777 |
| - dateOfBirth: |
1778 |
| - type: string |
1779 |
| - format: date |
1780 |
| - description: Date of birth |
1781 |
| - gender: |
1782 |
| - type: string |
1783 |
| - description: Gender |
1784 |
| - ethnicity: |
1785 |
| - type: string |
1786 |
| - nullable: true |
1787 |
| - description: Ethnicity |
1788 |
| - aliases: |
1789 |
| - type: array |
1790 |
| - items: |
1791 |
| - $ref: "#/components/schemas/Alias" |
1792 |
| - description: List of aliases |
1793 |
| - identifiers: |
1794 |
| - $ref: "#/components/schemas/Identifiers" |
1795 |
| - pncId: |
1796 |
| - type: string |
1797 |
| - description: An identifier from the Police National Computer (PNC) |
1798 |
| - hmppsId: |
1799 |
| - type: string |
1800 |
| - description: Hmpps identifier |
1801 |
| - contactDetails: |
1802 |
| - $ref: "#/components/schemas/ContactDetails" |
| 1724 | + firstName: |
| 1725 | + type: string |
| 1726 | + description: First name |
| 1727 | + lastName: |
| 1728 | + type: string |
| 1729 | + description: Last name |
| 1730 | + middleName: |
| 1731 | + type: string |
| 1732 | + nullable: true |
| 1733 | + description: Middle name |
| 1734 | + dateOfBirth: |
| 1735 | + type: string |
| 1736 | + format: date |
| 1737 | + description: Date of birth |
| 1738 | + gender: |
| 1739 | + type: string |
| 1740 | + description: Gender |
| 1741 | + ethnicity: |
| 1742 | + type: string |
| 1743 | + nullable: true |
| 1744 | + description: Ethnicity |
| 1745 | + aliases: |
| 1746 | + type: array |
| 1747 | + items: |
| 1748 | + $ref: "#/components/schemas/Alias" |
| 1749 | + description: List of aliases |
| 1750 | + identifiers: |
| 1751 | + $ref: "#/components/schemas/Identifiers" |
| 1752 | + pncId: |
| 1753 | + type: string |
| 1754 | + description: An identifier from the Police National Computer (PNC) |
| 1755 | + hmppsId: |
| 1756 | + type: string |
| 1757 | + description: Hmpps identifier |
| 1758 | + contactDetails: |
| 1759 | + $ref: "#/components/schemas/ContactDetails" |
1803 | 1760 | PersonResponsibleOfficerName:
|
1804 | 1761 | type: object
|
1805 | 1762 | properties:
|
|
0 commit comments