---
title: "Device"
url: "https://stg.developer.mla.com.au/apis/device-public-staging/versions/51bbd5df-9d52-4e96-8fab-3c0fd2f54a36/schemas/Device"
---

> Full API specification: https://stg.developer.mla.com.au/apis/device-public-staging/versions/51bbd5df-9d52-4e96-8fab-3c0fd2f54a36.md

# Device

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Device Public
  version: v1.0.0
servers:
  - url: https://6dc8806175.gateways.konggateway.com
components:
  schemas:
    DeviceStatus:
      type: object
      properties:
        status:
          type: string
        statusCode:
          type: string
        category:
          type: string
        programCode:
          type: string
        effectiveDate:
          type: string
        expiryDate:
          type: string
        lastAuditDate:
          type: string
        auditFrequency:
          type: string
      required:
        - status
        - statusCode
        - category
        - lastAuditDate
        - auditFrequency
        - expiryDate
        - programCode
        - effectiveDate
    Device:
      type: object
      properties:
        manufacturerCode:
          type: string
        deviceType:
          type: object
          properties:
            code:
              type: string
            colorCode:
              type: string
          required:
            - code
            - colorCode
          description: Optional if object is a non-NLIS device
        EID:
          oneOf:
            - type: object
              properties:
                rfid:
                  type: string
                  description: |
                    The RFID is 16 character number
              required:
                - rfid
            - type: object
              properties:
                rfid:
                  type: string
                  description: |
                    The RFID is 16 character number
                nlisId:
                  type: string
                  description: The NLISID is 16 character alphanumeric value. Optional if object
                    is a non-NLIS device
              required:
                - rfid
                - nlisId
        productCode:
          type: string
          description: Product codes uniquely identify the type of identification device,
            including its specific characteristics such as type, colour, and
            usage.
        pic:
          type: string
        issueDate:
          type: string
        managementEarTagId:
          type: string
        isNLISDevice:
          type: boolean
          description: True if device object is an NLIS device. False if device object is
            a non NLIS device.
        statuses:
          type: array
          items:
            $ref: "#/components/schemas/DeviceStatus"
      required:
        - manufacturerCode
        - deviceType
        - productCode
        - pic
        - issueDate
        - isNLISDevice
        - statuses
        - EID
```
