Skip to content

Instantly share code, notes, and snippets.

@Markbnj
Created April 22, 2016 19:46
Show Gist options
  • Save Markbnj/6e0acf2c3943acd3f2a5593590fe09ff to your computer and use it in GitHub Desktop.
Save Markbnj/6e0acf2c3943acd3f2a5593590fe09ff to your computer and use it in GitHub Desktop.
definitions:
Registration:
type: object
required:
- state
- plate_number
properties:
state:
type: string
description: Two letter state abbreviation code
pattern: '^[A-Z]{2}$'
plate_number:
type: string
description: The license plate number
minLength: 1
maxLength: 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment