Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gh-pages] draft format registry, add uuid - example for Ted/Marsh #1811

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions registries/_format/uuid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
owner: MikeRalphson
description: UUID v4 (RFC4122)
issue: 845
base_type: string
layout: default
---

# <a href="..">{{ page.collection }}</a>

## {{ page.slug }} - {{ page.description }}

Base type: `{{ page.base_type }}`.

The `{{page.slug}}` format represents a UUID v4 value, as defined by [RFC4122](https://tools.ietf.org/html/rfc4122)

### Example

```yaml
ItemUUID:
type: string
description: the UUID v4 value relating to the item.
format: uuid
example: f81d4fae-7dec-11d0-a765-00a0c91e6bf6
```

{% if page.issue %}
### GitHub Issue

* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
{% endif %}