-
Notifications
You must be signed in to change notification settings - Fork 0
/
organization-v1.yaml
27 lines (25 loc) · 1.34 KB
/
organization-v1.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
openapi: 3.0.0
info:
title: Reusable components about organizations
version: ${project.version}
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers: []
paths: {}
components:
schemas:
NaceCode:
description: NACE activity code (international). The first two digits are division of activity. Each further digit specifies an additional level of detail within the category of the previous level. The meaning of the first four digits are standard and defined by EU. Further digits may vary from country to country.
type: string
pattern: '^\d{2}\d*$'
NaceBel2008Code:
description: Belgian NACE activity code of 2 up to 7 digits long. The meaning of the first four digits are standard across all countries. The last 3 digits are defined in the Belgian NACE 2008 list.
type: string
pattern: '^\d{2}\d{0,5}$'
# this is a more constrained version of the international NaceCode schema
NaceBel2008Length5Code:
description: Belgian NACE activity code of 5 digits long, as used for NSSO and for VAT purposes. The meaning of the first four digits are standard across all countries. The last digit is defined in the Belgian NACE 2008 list.
type: string
pattern: '^\d{5}$'
# this is a more constrained version of the variable-length NaceBel2008Code schema