# praha-mesto

`https://joinedcontext.com/models/praha/praha-mesto/views/cvlxwa7u3ea4vtbnvhvnojt7by5gkrhx`

## Any

Any value: an inlined object whose class this view does not show.

No slots.

## CityWork

One work or event that occupies a Prague street, as the city's opravujeme.to service lists it for drivers: what and where, from when until when, its state, how hard it restricts traffic and who invests in it. The responsible people, their phones and e-mails and the contractor are left out, and so are the free-text restrictions, which name contact people.

| Slot | Range | Kind | Required | Multivalued | Description |
|---|---|---|---|---|---|
| location | string | GeoProperty | yes | no | Where the entity is, as GeoJSON geometry. |
| name | string | LanguageProperty | no | no | The name, per language, as the publisher writes it. |
| address | Any | Property | no | no | The Smart Data Models PostalAddress: the street address as the publisher writes it, one line, in \`streetAddress\`, and the city and country every Prague source shares. |
| startDate | datetime | Property | yes | no | When the work on the street starts, as the opravujeme.to record gives it in Europe/Prague time. |
| endDate | datetime | Property | yes | no | When the work on the street is planned to end, in Europe/Prague time. |
| workState | WorkState | Property | yes | no | Where the work stands, in the Smart Data Model's terms \(planned, open, completed\). |
| workCategory | WorkCategory | Property | no | no | What occupies the street, as opravujeme.to classes it \(construction, cultural, sport, others\). |
| trafficImpact | TrafficImpact | Property | no | no | How hard the work restricts traffic, opravujeme.to's colour as a word \(minor green, moderate yellow, severe red\). |
| contractingAuthority | string | Property | no | no | The work's investor, a public body, utility or company; left out when it does not read as an organisation, because a private investor is a person. |
| dataProvider | string | Property | no | no | Who publishes the data the entity was read from, with the credit its licence asks for, as an application shows it beside the data. |
| source | uri | Property | no | no | The open-data service the entity was read from. |

## TrafficImpact (enum)

- minor: Little restriction, opravujeme.to's green.
- moderate: Lanes or turns closed, opravujeme.to's yellow.
- severe: A street or ramp closed, opravujeme.to's red.

## WorkCategory (enum)

- construction: Construction or repair work \(CONSTRUCTION\).
- cultural: A cultural event on the street \(CULTURAL\).
- other: Anything else \(OTHERS\).
- sport: A sports event on the street \(SPORT\).

## WorkState (enum)

The CityWork \`workState\` values opravujeme.to's states map to, a subset of the Smart Data Model's enum.

- completed: Finished \(DONE\).
- open: Under way now \(ACTIVE\).
- planned: Announced and not started yet \(FUTURE\).
