Skip to content

Commit

Permalink
feat: ✨ build the profile
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-travais committed Feb 23, 2024
1 parent 37e3916 commit fd74d01
Show file tree
Hide file tree
Showing 45 changed files with 18,614 additions and 136,532 deletions.
1,247 changes: 78 additions & 1,169 deletions datapackage.json

Large diffs are not rendered by default.

61 changes: 60 additions & 1 deletion docs/schema_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,63 @@ If you wish to generate your reference tables using the compiled schemas availab

If you run `python/generate_schema_reference_page.py`, then this section will contain a reference table for each schema file in your Profile. The script is very naïve, and will insert each reference table in whatever order it reads the files from – you likely want to change the order once you've run the script!

{{insert_schema_reference_tables}}
### attribute

```{jsonschema} ../schema/attribute.json
```
### meta_table_description

```{jsonschema} ../schema/meta_table_description.json
```
### taxonomy

```{jsonschema} ../schema/taxonomy.json
```
### taxonomy_term

```{jsonschema} ../schema/taxonomy_term.json
```
### accessibility

```{jsonschema} ../schema/accessibility.json
```
### address

```{jsonschema} ../schema/address.json
```
### contact

```{jsonschema} ../schema/contact.json
```
### language

```{jsonschema} ../schema/language.json
```
### location

```{jsonschema} ../schema/location.json
```
### organization

```{jsonschema} ../schema/organization.json
```
### phone

```{jsonschema} ../schema/phone.json
```
### required_document

```{jsonschema} ../schema/required_document.json
```
### schedule

```{jsonschema} ../schema/schedule.json
```
### service

```{jsonschema} ../schema/service.json
```
### service_at_location

```{jsonschema} ../schema/service_at_location.json
```
4 changes: 2 additions & 2 deletions examples/csv/accessibility.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,location_id,description,details,url
afcf296e-1cb2-4139-9c88-33d587d1a50b,3a19ff88-4620-4d17-9830-ac1d859eb5d5,The building is equipped with induction loops for hearing aids. Wheelchair access is possible on all levels.,Switch hearing aid to T-coil to access the induction loop facility.,http://example.com
location_id,accessible
1234,true
4 changes: 2 additions & 2 deletions examples/csv/addresses.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,location_id,attention,address_1,address_2,city,region,state_province,postal_code,country,address_type
74706e55-df26-4b84-80fe-ecc30b5befb4,3a19ff88-4620-4d17-9830-ac1d859eb5d5,A. Persona,1-30 Main Street,MyVillage,MyCity,MyRegion,MyState,ABC 1234,US,postal
id,location_id,address_1,city,region,state_province,postal_code,country,address_type,cityCode
1-avenue-de-la-republique-75001-paris-france,1234,1-30 Main Street,MyCity,Auvergne-Rhône-Alpes,Puy-de-Dôme,63000,US,postal,75000
4 changes: 2 additions & 2 deletions examples/csv/contacts.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,organization_id,service_id,service_at_location_id,location_id,name,title,department,email
1e7efce3-639b-4880-940c-b95cd30cdb50,ae67a707-5893-4225-b0b1-320ab9cb596b,ac148810-d857-441c-9679-408f346de14b,93eaf18d-1cd2-4ec7-bffb-3c9172ee5070,3a19ff88-4620-4d17-9830-ac1d859eb5d5,Ann Persona,Reception Manager,Reception,[email protected]
id,organization_id,location_id,name,title,email
1e7efce3-639b-4880-940c-b95cd30cdb50,1234,1234,Ann Persona,Reception Manager,[email protected]
4 changes: 2 additions & 2 deletions examples/csv/languages.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,service_id,location_id,phone_id,name,code,note
2989d3ed-c547-48f8-8f9d-432d81c7892e,ac148810-d857-441c-9679-408f346de14b,3a19ff88-4620-4d17-9830-ac1d859eb5d5,1554f2e2-a373-45db-a3fa-9fc48a61c15e,Urdu,ur,Translation services provided via bilingual staff when they are available
id,location_id,name,code
location-name-fr,1234,Urdu,ur
4 changes: 2 additions & 2 deletions examples/csv/locations.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,location_type,url,organization_id,name,alternate_name,description,transportation,latitude,longitude,external_identifier,external_identifier_type
3a19ff88-4620-4d17-9830-ac1d859eb5d5,physical,http://example.com,985e4a42-bd9f-4edc-911d-0243a4640aca,MyCity Civic Center,Civic Center,MyCity Civic Center is located on Main Street and contains facilities for a number of civic and community services available.,MyCity Civic Center is serviced by the number 1 Bus and is a short walk from the Main Street Metro Station,100,101,10092008082,UPRN
id,url,organization_id,name,description,latitude,longitude
1234,http://example.com,1234,MyCity Civic Center,MyCity Civic Center is located on Main Street and contains facilities for a number of civic and community services available.,100,101
4 changes: 2 additions & 2 deletions examples/csv/organizations.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,name,alternate_name,description,email,website,tax_status,tax_id,year_incorporated,legal_status,logo,uri,parent_organization_id
d9d5e0f5-d3ce-4f73-9a2f-4dd0ecc6c610,Example Organization Inc.,Example Org,Example Org is a non-profit organization dedicated to providing services to qualified beneficiaries,[email protected],http://example.com,tax_status,tax_id,2011,Limited Company,https://openreferral.org/wp-content/uploads/2018/02/OpenReferral_Logo_Green-4-1.png,http://example.com,cd09a387-91f4-4555-94ec-e799c35344cd
id,name,description,email,website,logo
1234,Example Organization Inc.,Example Org is a non-profit organization dedicated to providing services to qualified beneficiaries,[email protected],http://example.com,https://openreferral.org/wp-content/uploads/2018/02/OpenReferral_Logo_Green-4-1.png
4 changes: 2 additions & 2 deletions examples/csv/phones.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,location_id,service_id,organization_id,contact_id,service_at_location_id,number,extension,type,description
1554f2e2-a373-45db-a3fa-9fc48a61c15e,3a19ff88-4620-4d17-9830-ac1d859eb5d5,ac148810-d857-441c-9679-408f346de14b,d9d5e0f5-d3ce-4f73-9a2f-4dd0ecc6c610,1e7efce3-639b-4880-940c-b95cd30cdb50,e94c9f38-1e8f-4564-91d4-d53501ab1765,"""+44 1234 234567""",100,voice,Our main reception phone number. The phones will be available from 0800 (8am) until 1800 (6pm) local time. There may be some slight delays in answering your call if we are busy.
id,location_id,service_id,organization_id,contact_id,number,description
1554f2e2-a373-45db-a3fa-9fc48a61c15e,3a19ff88-4620-4d17-9830-ac1d859eb5d5,ac148810-d857-441c-9679-408f346de14b,d9d5e0f5-d3ce-4f73-9a2f-4dd0ecc6c610,1e7efce3-639b-4880-940c-b95cd30cdb50,"""+44 1234 234567""",Our main reception phone number. The phones will be available from 0800 (8am) until 1800 (6pm) local time. There may be some slight delays in answering your call if we are busy.
4 changes: 2 additions & 2 deletions examples/csv/schedules.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,service_id,location_id,service_at_location_id,valid_from,valid_to,dtstart,timezone,until,count,wkst,freq,interval,byday,byweekno,bymonthday,byyearday,description,opens_at,closes_at,schedule_link,attending_type,notes
48102e86-bb50-41c4-8f1e-e269368c41d1,ac148810-d857-441c-9679-408f346de14b,3a19ff88-4620-4d17-9830-ac1d859eb5d5,e94c9f38-1e8f-4564-91d4-d53501ab1765,2005-01-01,2005-01-01,2005-01-01,3,2005-01-01,3,TU,WEEKLY,1,"TH,FR","41,42","2,3,4","2,3,4",The service is available from 10 am to 6pm weekdays. The service is not available on public holidays.,10:00:00,18:00:00,http://example.com,You can attend this service in-person or remotely via video conferencing,Some of our staff will be unavailable during their lunch break which may be any 30 minute period between 1200 and 1400
id,service_id,location_id,valid_from,valid_to,timezone,wkst,freq,byday,opens_at,closes_at
location-1234-permanent,ac148810-d857-441c-9679-408f346de14b,1234,2005-01-01,2005-01-01,3,TU,WEEKLY,"TH,FR",10:00:00,18:00:00
4 changes: 2 additions & 2 deletions examples/csv/service_at_location.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,service_id,location_id,description
e94c9f38-1e8f-4564-91d4-d53501ab1765,ac148810-d857-441c-9679-408f346de14b,3a19ff88-4620-4d17-9830-ac1d859eb5d5,Counselling Services provided by trained professionals in the MyCity area.
id,service_id,location_id
service-id-1234,ac148810-d857-441c-9679-408f346de14b,1234
4 changes: 2 additions & 2 deletions examples/csv/services.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
id,organization_id,program_id,name,alternate_name,description,url,email,status,interpretation_services,application_process,wait_time,accreditations,eligibility_description,minimum_age,maximum_age,assured_date,assurer_email,licenses,alert,last_modified
ac148810-d857-441c-9679-408f346de14b,d9d5e0f5-d3ce-4f73-9a2f-4dd0ecc6c610,e7ec2e57-4540-43fa-b2c7-6be5a0ef7f42,Community Counselling,MyCity Counselling Services,"Counselling Services provided by trained professionals. Suitable for people with mental health conditions such as anxiety, depression, or eating disorders as well as people experiencing difficult life events and circumstances. ",http://example.com/counselling,[email protected],active,"Interpretation services are available in Urdu, Polish, and Slovak","If you are an NHS patient please ask your GP for a referral letter, we will then be in touch with you directly. If you are not an NHS patient you should ring our reception to arrange an appointment",wait_time,"All of our practitioners are accredited by the BASC, UKCP, and the Professional Standards Body",This service is intended for all people aged 12 and over who require counselling services in the MyCity area,12,100,2005-01-01,[email protected],licences,Following COVID-19 we have moved most of our counselling sessions online. Please contact the reception if you require further information.,2023-03-15T10:30:45.123Z
id,name,description,status,fees_description,fees,minimum_age,maximum_age,assured_date,assurer_email,last_modified
ac148810-d857-441c-9679-408f346de14b,Community Counselling,"Counselling Services provided by trained professionals. Suitable for people with mental health conditions such as anxiety, depression, or eating disorders as well as people experiencing difficult life events and circumstances. ",active,Non-NHS patients are expected to pay for their counselling sessions. We charge a flat rate per hour of counselling. The current rate is £50 per hour. Please see our website for up to date prices.,fees_description,12,100,2005-01-01,[email protected],2023-03-15T10:30:45.123Z
Loading

0 comments on commit fd74d01

Please sign in to comment.