Skip to content

Instantly share code, notes, and snippets.

@Markbnj
Created April 22, 2016 19:46
Embed
What would you like to do?
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