# Subjects

Type: Subjects

A SubjectEntry defines who is addressed.

Schema: [Subjects](https://sourcey-ditto.pages.dev/http-api-doc/models/subjects.md)

- `nginx:subjectId1` (optional)
  Reference: [SubjectEntry](https://sourcey-ditto.pages.dev/http-api-doc/models/subjectentry.md); Type: SubjectEntry
  
  Single (Authorization) Subject entry holding its type.
  
  Example:
  
  ```json
  {
    "type": "This is some description for this subject, adjust as needed.",
    "expiry": "2020-12-07T11:36:40Z",
    "announcement": {
      "beforeExpiry": "5m",
      "whenDeleted": true
    }
  }
  ```

- `nginx:subjectIdN` (optional)
  Reference: [SubjectEntry](https://sourcey-ditto.pages.dev/http-api-doc/models/subjectentry.md); Type: SubjectEntry
  
  Single (Authorization) Subject entry holding its type.
  
  Example:
  
  ```json
  {
    "type": "This is some description for this subject, adjust as needed.",
    "expiry": "2020-12-07T11:36:40Z",
    "announcement": {
      "beforeExpiry": "5m",
      "whenDeleted": true
    }
  }
  ```