Skip to content

Commit

Permalink
manage.py pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
odscjen committed Nov 13, 2023
1 parent f187b85 commit 6026cab
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/_static/i18n.csv
Original file line number Diff line number Diff line change
Expand Up @@ -366,3 +366,35 @@ completion/finalValueDetails,Final value details,True,
completion/finalScope,Final scope,True,
completion/finalScopeDetails,Final scope details,True,
language,Language,True,
lobbyingMeetings,Lobbying meetings,False,
lobbyingMeetings,Meeting,False,
lobbyingMeetings/id,ID,True,
lobbyingMeetings/date,Date,False,
lobbyingMeetings/location,Location,False,
lobbyingMeetings/location,Delivery Location,False,
lobbyingMeetings/location/id,Identifier,True,
lobbyingMeetings/location/description,Description,True,
lobbyingMeetings/location/geometry,Geometry,False,
lobbyingMeetings/location/geometry/type,Type,False,
lobbyingMeetings/location/geometry/coordinates,Coordinates,False,
lobbyingMeetings/location/gazetteer,Gazetteer,False,
lobbyingMeetings/location/gazetteer/scheme,Gazetteer scheme,False,
lobbyingMeetings/location/gazetteer/identifiers,Identifiers,False,
lobbyingMeetings/location/uri,URI,True,
lobbyingMeetings/location/address,Address,False,
lobbyingMeetings/location/address,Address,False,
lobbyingMeetings/location/address/streetAddress,Street address,True,
lobbyingMeetings/location/address/locality,Locality,True,
lobbyingMeetings/location/address/region,Region,True,
lobbyingMeetings/location/address/postalCode,Postal code,True,
lobbyingMeetings/location/address/countryName,Country name,True,
lobbyingMeetings/numberOfParticipants,Participant count,False,
lobbyingMeetings/publicOfficial,Public official,False,
lobbyingMeetings/publicOfficial,Public official,False,
lobbyingMeetings/publicOfficial/person,Person.,False,
lobbyingMeetings/publicOfficial/person/name,Name,True,
lobbyingMeetings/publicOfficial/person/organization,Organization,False,
lobbyingMeetings/publicOfficial/person/organization,Organization reference,False,
lobbyingMeetings/publicOfficial/person/organization/name,Organization name,True,
lobbyingMeetings/publicOfficial/person/organization/id,Organization ID,True,
lobbyingMeetings/publicOfficial/jobTitle,Job title,True,
87 changes: 87 additions & 0 deletions docs/reference/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ Each `Classification` has the following fields:

This sub-schema is referenced by the following properties:
* [`locations`](project-schema.json,,locations)
* [`Meeting/location`](project-schema.json,/definitions/Meeting,location)

Each `Location` has the following fields:

Expand All @@ -345,6 +346,11 @@ Each `Location` has the following fields:
:title: locations
```
```{jsoninclude} ../../docs/examples/example.json
:jsonpointer: /projects/0/lobbyingMeetings/0/location
:title: lobbyingMeetings/0/location
```
````
`````
Expand Down Expand Up @@ -489,6 +495,7 @@ This sub-schema is referenced by the following properties:
* [`BudgetBreakdown/sourceParty`](project-schema.json,/definitions/BudgetBreakdown,sourceParty)
* [`Transaction/payer`](project-schema.json,/definitions/Transaction,payer)
* [`Transaction/payee`](project-schema.json,/definitions/Transaction,payee)
* [`PublicOfficial/person/organization`](project-schema.json,/definitions/PublicOfficial,person/organization)

Each `OrganizationReference` has the following fields:

Expand Down Expand Up @@ -556,6 +563,11 @@ Each `OrganizationReference` has the following fields:
:title: transactions/0/payee
```
```{jsoninclude} ../../docs/examples/example.json
:jsonpointer: /projects/0/lobbyingMeetings/0/publicOfficial/person/organization
:title: lobbyingMeetings/0/publicOfficial/person/organization
```
````
`````
Expand Down Expand Up @@ -601,6 +613,11 @@ Each `Address` has the following fields:
:title: parties/0/address
```
```{jsoninclude} ../../docs/examples/example.json
:jsonpointer: /projects/0/lobbyingMeetings/0/location/address
:title: lobbyingMeetings/0/location/address
```
````
`````
Expand Down Expand Up @@ -1076,3 +1093,73 @@ Each `MilestoneReference` has the following fields:
````
`````

### Meeting

`Meeting` is defined as:

```{field-description} ../../build/current_lang/project-schema.json /definitions/Meeting
```

This sub-schema is referenced by the following properties:
* [`lobbyingMeetings`](project-schema.json,,lobbyingMeetings)

Each `Meeting` has the following fields:

`````{tab-set}
````{tab-item} Schema
```{jsonschema} ../../build/current_lang/project-schema.json
:pointer: /definitions/Meeting
:collapse: id,date,location,numberOfParticipants,publicOfficial
:addtargets:
```
````
````{tab-item} Examples
```{jsoninclude} ../../docs/examples/example.json
:jsonpointer: /projects/0/lobbyingMeetings
:title: lobbyingMeetings
```
````
`````

### PublicOfficial

`PublicOfficial` is defined as:

```{field-description} ../../build/current_lang/project-schema.json /definitions/PublicOfficial
```

This sub-schema is referenced by the following properties:
* [`Meeting/publicOfficial`](project-schema.json,/definitions/Meeting,publicOfficial)

Each `PublicOfficial` has the following fields:

`````{tab-set}
````{tab-item} Schema
```{jsonschema} ../../build/current_lang/project-schema.json
:pointer: /definitions/PublicOfficial
:collapse: jobTitle
:addtargets:
```
````
````{tab-item} Examples
```{jsoninclude} ../../docs/examples/example.json
:jsonpointer: /projects/0/lobbyingMeetings/0/publicOfficial
:title: lobbyingMeetings/0/publicOfficial
```
````
`````

0 comments on commit 6026cab

Please sign in to comment.