Skip to content

Instantly share code, notes, and snippets.

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