---
title: "DeviceSearch"
url: "https://developer.mla.com.au/apis/device-public-production/versions/1cf272f5-2ff6-4b07-8a8c-ecb73eab03b2/schemas/DeviceSearch"
---

> Full API specification: https://developer.mla.com.au/apis/device-public-production/versions/1cf272f5-2ff6-4b07-8a8c-ecb73eab03b2.md

# DeviceSearch

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Device Public
  version: v1.0.0
servers:
  - url: https://7d40e2d8b1.gateways.konggateway.com
components:
  schemas:
    DeviceSearch:
      type: object
      additionalProperties: false
      properties:
        manufacturerCode:
          type: string
        deviceType:
          type: object
          additionalProperties: false
          properties:
            code:
              type: string
            colorCode:
              type: string
        EID:
          type: array
          description: >
            An array of EID objects, where each object contains either: -
            `rfid`: A 15–16 digit number - `nlisId`: A 16-character alphanumeric
            value
          items:
            oneOf:
              - type: object
                properties:
                  rfid:
                    type: string
                    description: |
                      The RFID is 16 character number
                    minLength: 15
                    maxLength: 16
              - type: object
                properties:
                  nlisId:
                    type: string
                    description: The NLISID is 16 character alphanumeric value. Optional if object
                      is a non-NLIS device
                    minLength: 16
                    maxLength: 16
        productCode:
          type: string
          description: |-
            Product codes uniquely identify the type of identification
                device, including its specific characteristics such as
                type, colour, and usage.
        currentPIC:
          type: string
        picOfIssue:
          type: string
        species:
          type: array
          items:
            type: string
        lifetimeTraceability:
          type: boolean
        issueDate:
          type: array
          items:
            type: string
            minItems: 2
            maxItems: 2
        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:
            type: object
            additionalProperties: false
            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
```
