-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathLicense.yaml
38 lines (36 loc) · 1 KB
/
License.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# (c) 2018 OpenTHC, Inc.
# This file is part of OpenTHC API released under MIT License
# SPDX-License-Identifier: MIT
#
# License Object
#
type: object
description: "A License is part of a Company and is a container for Inventory, Products, Variety, Section, B2B and B2C Transactions"
required: [ "id", "type", "name", "company" ]
properties:
id:
description: Global/Universal Unique Identifier
type: string
name:
description: Name of the License
type: string
code:
description: A Unique Identifier Code; typically a Government issued ID
type: string
type:
# $ref: '#/components/schemas/License_Type'
description: "Identifier of the License Type"
type: object
properties:
id:
description: "The License Type Identifier"
type: string
company:
description: Company Object which owns this license
type: object
properties:
id:
description: "The Company Identifier"
type: string
# $ref: '#/components/schemas/Company'