Skip to content

Commit 86b99d3

Browse files
committed
Merge pull request OAI#634 from OAI/issue-578
added clarification on namespaces, characters in definitions name
2 parents fe4d467 + 649d177 commit 86b99d3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

versions/3.0.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,18 @@ An object to hold data types that can be consumed and produced by operations. Th
20082008

20092009
Field Pattern | Type | Description
20102010
---|:---:|---
2011-
<a name="definitionsName"></a>{name} | [Schema Object](#schemaObject) | A single definition, mapping a "name" to the schema it defines.
2011+
<a name="definitionsName"></a>{name} | [Schema Object](#schemaObject) | A single definition, mapping a "name" to the schema it defines. The following characters are legal in the `definitionsName`: `a-zA-Z0-9.-_\`. All other characters, including extended ASCII characters, are not legal in the `definitionsName`. The name may be used to namespace the definitions--it is the tooling vendor's job to ensure that the namespace is honored.
2012+
2013+
Examples:
2014+
2015+
```
2016+
User
2017+
User_1
2018+
User_Name
2019+
user-name
2020+
my.org.User
2021+
my\org\User
2022+
```
20122023

20132024
##### Definitions Object Example
20142025

0 commit comments

Comments
 (0)