# `OCSF.Service`
[🔗](https://github.com/docjerem/ocsf/blob/v0.1.0/lib/ocsf/objects/service.ex#L1)

OCSF Service object.

Represents a service or application involved in an OCSF event, such
as the service being authenticated against or the API being called.

Corresponds to the OCSF
[Service](https://schema.ocsf.io/1.8.0/objects/service) object.

## Fields

- `:name` -- service name. Classified as `:taxonomic`.
- `:uid` -- unique service identifier. Classified as `:identifier`.
- `:version` -- service version string. Classified as `:taxonomic`.

## PII classification

See `OCSF.Classification` for data class definitions. Call
`__ocsf_fields__/0` to inspect this module's field classifications.

See `OCSF.Product` and `OCSF.Feature` for product-level identification.

# `t`

```elixir
@type t() :: %OCSF.Service{
  name: String.t() | nil,
  uid: String.t() | nil,
  version: String.t() | nil
}
```

# `__ocsf_fields__`

```elixir
@spec __ocsf_fields__() :: keyword()
```

Return field classification metadata for PII policy enforcement.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
