1. Get markdown in structured and readable state of attached document. Pay attention to…
- User
- Get markdown in structured and readable state of attached document. Pay attention to the order of data about shareholders.
-
Structure of sensitive information like this: Shareholding 1: {count of shares} {type of shares} {some static text} Name: {name of shareholder 1} This info could be splitted two different pages.
-
Shareholder line couldn't be empty and don't have name.
- Use the markdown that you've got in result of 1st step and extract JSON for total shareholding for each share class (from the Statement of Capital), and shareholding details including:
- individual or company shareholder name,
- number of shares held,
- number of shares transferred (if any),
- and share class,
for all shareholders from the attached text file.
Requirements:
- Treat each 'Shareholding X:' block as an independent record, even if the shareholder name appears multiple times.
- Do not group or merge shareholdings by name.
- Create separate records for each shareholding paragraph in the source document.
- Do not skip any shareholdings.
- List the total count of shareholdings extracted.
- Assign a counter to each shareholding in the JSON.
- If there are no shareholders, return an empty JSON.
- Do not include any entries listed under the 'Persons with Significant Control (PSC)' section.
- Ensure the number of entries in the Shareholders array equals the number of shareholding blocks in the source text.
Each paragraph including shareholder info typically follows this format: Shareholding {shareholder number}: {amount of shares} ORDINARY CLASS... Name: {Shareholder Name}
Use the following JSON format: { "Company Name": "", "Company Number": "", "Confirmation Date": "dd/mm/yyyy", "Statement of Capital": { "Currency": "", "Total Number of Shares": "", // as string "Total Aggregate Nominal Value": "", // as string "Share Classes": [ { "Class": "", "Number of Shares": "", // as string "Aggregate Nominal Value": "" // as string } ] }, "Shareholders": [ { "Shareholder ID": "", "Name": "", "Shares Held": [ { "Share Class": "", "Number of Shares Held": "" // as string } ] } ], "Total number of shareholders": "0" // as string }
- Assistant
Please provide the attached document or text file you want me to process so I can convert it into structured markdown and extract the requested JSON data.