> For the complete documentation index, see [llms.txt](https://docs.os.uk/os-downloads/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/code-lists-and-enumerations/function.md).

# Function

All features will have a primary function. Where appropriate for the feature, a secondary function may also be recorded.

## **Code List: Function**

Value defining the function of the greenspace feature.

| Code                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                        |
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Allotments Or Community Growing Spaces | Areas of land for growing fruit, vegetables, and other plants, either in individual allotments or as a community activity. Produce is for the growers’ own consumption and not primarily for commercial activity.                                                                                                                                                                                                                  |
| Amenity – Residential or Business      | Landscaped areas providing visual amenity or separating different buildings or land uses for environmental, visual or safety reasons. Where the area is better described by another category this will be used in preference (for example, playing field, public park, play space).                                                                                                                                                |
| Amenity – Transport                    | Landscaped areas providing visual amenity or separating different buildings or land uses for environmental, visual or safety reasons when related to a transport function, such as a road, or within a transport hub.                                                                                                                                                                                                              |
| Land Use Changing                      | Areas of land that are currently under development or awaiting redevelopment.                                                                                                                                                                                                                                                                                                                                                      |
| Bowling Green                          | A specially prepared area intended for playing bowls.                                                                                                                                                                                                                                                                                                                                                                              |
| Camping Or Caravan Park                | An organised area of ground designated for tents or caravans, intended for temporary occupation by holidaymakers.                                                                                                                                                                                                                                                                                                                  |
| Cemetery                               | Areas of land associated with burial areas or crematoriums.                                                                                                                                                                                                                                                                                                                                                                        |
| Golf Course                            | A specially prepared area intended for playing golf                                                                                                                                                                                                                                                                                                                                                                                |
| Institutional Grounds                  | <p>Areas of land normally enclosed and associated with institutions. Grounds may be reserved for private use or have restricted access.</p><p>Includes: Universities, Hospitals, Nursing homes, Emergency Services, Prisons, Military Sites, Government and Community Buildings providing public services, Libraries, Museums, Zoos and Theatres.</p>                                                                              |
| Natural                                | Land use areas with no other greenspace function but with Form attribute of woodland, open semi-natural, open water, beach or foreshore.                                                                                                                                                                                                                                                                                           |
| Other Sports Facility                  | Land used for other sports not specifically described by other categories. Includes facilities for sports spectating (for example, stadiums) as well as participation.                                                                                                                                                                                                                                                             |
| Religious Grounds                      | Areas of land associated with churches and other places of worship.                                                                                                                                                                                                                                                                                                                                                                |
| Play Space                             | A specially prepared area intended for children’s play, usually linked to housing areas or parks and containing purpose-built equipment. Not captured if within schools or paid-for tourist attractions.                                                                                                                                                                                                                           |
| Playing Field                          | Large, flat areas of grass or specially designed surfaces, generally with marked pitches, used primarily for outdoor sports (i.e. football, rugby, cricket).                                                                                                                                                                                                                                                                       |
| Private Garden                         | Areas of land normally enclosed and associated with private residences and reserved for private use.                                                                                                                                                                                                                                                                                                                               |
| Public Park or Garden                  | <p>Areas of land designed, constructed, managed and maintained as a public park or garden. These normally have a defined perimeter and free public access, and generally sit within or close to urban areas.</p><p>Access is granted for a wide range of uses and not usually restricted to paths or tracks within the area. May include areas with managed facilities such as benches and flowerbeds, and more natural areas.</p> |
| School Grounds                         | Areas of land normally enclosed that is associated with a school and primarily reserved for their use.                                                                                                                                                                                                                                                                                                                             |
| Tennis Court                           | A specially prepared area intended for playing tennis.                                                                                                                                                                                                                                                                                                                                                                             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.os.uk/os-downloads/products/land-and-terrain-portfolio/os-mastermap-greenspace-layer/os-mastermap-greenspace-layer-technical-specification/code-lists-and-enumerations/function.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
