swagger: "2.0"
schemes:
  - https
host: regcheck.local
basePath: /infiniteloopltd/CarRegistration/1.0.0
info:
  contact:
    email: info@infiniteloop.ie
    x-twitter: webtropy
  description: Car Registration API, An API that retrieves car information from its numberplate in many countries worldwide, uncluding the USA, UK, India, Australia and most of Europe. A username and password is required to access the API, which can be obtained from www.carregistrationapi.com - Use https://www.regcheck.org.uk/api/json.aspx/ as the root of all API calls.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: Car Registration API
  version: 1.0.0
  x-logo:
    url: https://twitter.com/webtropy/profile_image?size=original
  x-origin:
    - format: swagger
      url: https://api.swaggerhub.com/apis/infiniteloopltd/CarRegistration/1.0.0
      version: "2.0"
  x-providerName: regcheck.org.uk
paths:
  /Check:
    get:
      description: |
        Gets details of a UK Vehicle
      operationId: Check
      parameters:
        - description: A registration number
          in: query
          name: searchString
          required: true
          type: string
      produces:
        - application/json
      responses:
        "200":
          description: vehicle information
          schema:
            items:
              $ref: "#/definitions/Car"
            type: array
        "500":
          description: bad input parameter
      summary: Gets details of a UK Vehicle
definitions:
  Car:
    type: object
